Bug 276129 - Crash in TagLib::ID3v2::FrameFactory::createFrame while scanning from Amarok
Summary: Crash in TagLib::ID3v2::FrameFactory::createFrame while scanning from Amarok
Status: RESOLVED WORKSFORME
Alias: None
Product: taglib
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 1.7
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Scott Wheeler
URL:
Keywords:
: 284282 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-06-20 15:35 UTC by Jure Repinc
Modified: 2021-01-03 04:34 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (17.29 KB, text/plain)
2011-11-14 14:17 UTC, Evg
Details
patch (562 bytes, text/plain)
2011-11-15 03:59 UTC, Scott Wheeler
Details
New crash information added by DrKonqi (20.54 KB, text/plain)
2011-11-15 06:18 UTC, Evg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jure Repinc 2011-06-20 15:35:33 UTC
Version:           1.7 (using KDE 4.6.4) 
OS:                Linux

I started Amarok 2.4.1 and while it was scanning the music collection it crashes. it appears the crash is in taglib. Here is the backtrace:
Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f1f14c52780 (LWP 31671))]

Thread 10 (Thread 0x7f1f0b231700 (LWP 31674)):
#0  0x0000003337c09ee4 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x000000333b042e5f in g_main_context_prepare (context=0x16fe0c0, priority=0x7f1f0b230ca8) at gmain.c:2764
#2  0x000000333b043cfd in g_main_context_iterate (context=0x16fe0c0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3072
#3  0x000000333b044379 in g_main_context_iteration (context=0x16fe0c0, may_block=1) at gmain.c:3155
#4  0x000000333c98ab16 in QEventDispatcherGlib::processEvents (this=0x16e6080, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x000000333c95f272 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x000000333c95f46f in QEventLoop::exec (this=0x7f1f0b230dd0, flags=...) at kernel/qeventloop.cpp:201
#7  0x000000333c877676 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x000000333c94245f in QInotifyFileSystemWatcherEngine::run (this=0x16e3620) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x000000333c87a095 in QThreadPrivate::start (arg=0x16e3620) at thread/qthread_unix.cpp:320
#10 0x0000003337c07e6c in start_thread () from /lib64/libpthread.so.0
#11 0x00000033370d533d in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f1f03fff700 (LWP 31675)):
#0  0x0000003337c0bd4c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000333c87a51b in wait (this=<value optimized out>, mutex=0x1dba060, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1dba060, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f1f16dea004 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1db9d50, th=0x1dba550) at /var/tmp/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f1f16dec56b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1dba180, th=0x1dba550) at /var/tmp/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f1f16deb42f in ThreadWeaver::ThreadRunHelper::run (this=0x7f1f03ffee20, parent=0x1db9d50, th=0x1dba550) at /var/tmp/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/threadweaver/Weaver/Thread.cpp:87
#6  0x00007f1f16deb4bb in ThreadWeaver::Thread::run (this=0x1dba550) at /var/tmp/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/threadweaver/Weaver/Thread.cpp:142
#7  0x000000333c87a095 in QThreadPrivate::start (arg=0x1dba550) at thread/qthread_unix.cpp:320
#8  0x0000003337c07e6c in start_thread () from /lib64/libpthread.so.0
#9  0x00000033370d533d in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f1f037fe700 (LWP 31676)):
#0  0x0000003337c0bd4c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000333c87a51b in wait (this=<value optimized out>, mutex=0x1dba060, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1dba060, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f1f16dea004 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1db9d50, th=0x1c4cdd0) at /var/tmp/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f1f16dec56b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1dba180, th=0x1c4cdd0) at /var/tmp/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f1f16dec584 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1dba180, th=0x1c4cdd0) at /var/tmp/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f1f16dec584 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1dba180, th=0x1c4cdd0) at /var/tmp/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f1f16dec584 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1dba180, th=0x1c4cdd0) at /var/tmp/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f1f16dec584 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1dba180, th=0x1c4cdd0) at /var/tmp/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007f1f16dec584 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1dba180, th=0x1c4cdd0) at /var/tmp/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x00007f1f16deb42f in ThreadWeaver::ThreadRunHelper::run (this=0x7f1f037fde20, parent=0x1db9d50, th=0x1c4cdd0) at /var/tmp/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/threadweaver/Weaver/Thread.cpp:87
#11 0x00007f1f16deb4bb in ThreadWeaver::Thread::run (this=0x1c4cdd0) at /var/tmp/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/threadweaver/Weaver/Thread.cpp:142
#12 0x000000333c87a095 in QThreadPrivate::start (arg=0x1c4cdd0) at thread/qthread_unix.cpp:320
#13 0x0000003337c07e6c in start_thread () from /lib64/libpthread.so.0
#14 0x00000033370d533d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f1f02ffd700 (LWP 31677)):
[KCrash Handler]
#6  TagLib::ID3v2::FrameFactory::createFrame (this=0x0, origData=<value optimized out>, tagHeader=0x7f1f061eb218) at /var/tmp/portage/media-libs/taglib-1.7/work/taglib-1.7/taglib/mpeg/id3v2/id3v2framefactory.cpp:140
#7  0x0000003345e3ef4a in TagLib::ID3v2::Tag::parse (this=0x7f1f02ffc160, origData=<value optimized out>) at /var/tmp/portage/media-libs/taglib-1.7/work/taglib-1.7/taglib/mpeg/id3v2/id3v2tag.cpp:443
#8  0x0000003345e3f1a5 in TagLib::ID3v2::Tag::read (this=0x7f1f02ffc160) at /var/tmp/portage/media-libs/taglib-1.7/work/taglib-1.7/taglib/mpeg/id3v2/id3v2tag.cpp:391
#9  0x0000003345e3f2cf in TagLib::ID3v2::Tag::Tag (this=0x7f1f02ffc160, file=0x7f1f061eeba0, tagOffset=0, factory=0x0) at /var/tmp/portage/media-libs/taglib-1.7/work/taglib-1.7/taglib/mpeg/id3v2/id3v2tag.cpp:89
#10 0x0000003345e55751 in TagLib::APE::Properties::findDescriptor (this=0x7f1f061ef320) at /var/tmp/portage/media-libs/taglib-1.7/work/taglib-1.7/taglib/ape/apeproperties.cpp:140
#11 0x0000003345e55dde in TagLib::APE::Properties::read (this=0x7f1f061ef320) at /var/tmp/portage/media-libs/taglib-1.7/work/taglib-1.7/taglib/ape/apeproperties.cpp:115
#12 0x0000003345e55f50 in TagLib::APE::Properties::Properties (this=0x7f1f061ef320, file=0x7f1f061eeba0, style=<value optimized out>) at /var/tmp/portage/media-libs/taglib-1.7/work/taglib-1.7/taglib/ape/apeproperties.cpp:69
#13 0x0000003345e55495 in TagLib::APE::File::read (this=0x7f1f061eeba0, readProperties=<value optimized out>) at /var/tmp/portage/media-libs/taglib-1.7/work/taglib-1.7/taglib/ape/apefile.cpp:236
#14 0x0000003345e5556a in TagLib::APE::File::File (this=0x7f1f061eeba0, file=<value optimized out>, readProperties=true, propertiesStyle=TagLib::AudioProperties::Fast) at /var/tmp/portage/media-libs/taglib-1.7/work/taglib-1.7/taglib/ape/apefile.cpp:92
#15 0x0000003345e74390 in TagLib::FileRef::create (fileName=0x7f1f061ef0c8 "/media/BlackBox/Glasba/Rosenberg_Trio(Live_at_the_North_Jazz_Sea_Festival)/15.Les Feuilles Mortes.ape", readAudioProperties=true, audioPropertiesStyle=TagLib::AudioProperties::Fast) at /var/tmp/portage/media-libs/taglib-1.7/work/taglib-1.7/taglib/fileref.cpp:262
#16 0x0000003345e7476f in TagLib::FileRef::FileRef (this=0x7f1f02ffc500, fileName=<value optimized out>, readAudioProperties=<value optimized out>, audioPropertiesStyle=<value optimized out>) at /var/tmp/portage/media-libs/taglib-1.7/work/taglib-1.7/taglib/fileref.cpp:81
#17 0x0000003350181c07 in Meta::Tag::getFileRef (path=<value optimized out>) at /var/tmp/portage/media-sound/amarok-2.4.1/work/amarok-2.4.1/shared/MetaTagLib.cpp:95
#18 0x0000003350182c78 in Meta::Tag::readTags (path=...) at /var/tmp/portage/media-sound/amarok-2.4.1/work/amarok-2.4.1/shared/MetaTagLib.cpp:175
#19 0x00000033501b3954 in MetaFile::Track::Private::readMetaData (this=0x7f1f061ed7d0) at /var/tmp/portage/media-sound/amarok-2.4.1/work/amarok-2.4.1/src/core-impl/meta/file/File_p.h:138
#20 0x00000033501b52f8 in MetaFile::Track::Track (this=0x7f1f061eeb40, url=...) at /var/tmp/portage/media-sound/amarok-2.4.1/work/amarok-2.4.1/src/core-impl/meta/file/File.cpp:188
#21 0x00007f1f0b246263 in Meta::UmsHandler::nextTrackToParse (this=<value optimized out>) at /var/tmp/portage/media-sound/amarok-2.4.1/work/amarok-2.4.1/src/core-impl/collections/umscollection/handler/UmsHandler.cpp:871
#22 0x000000335011b5cd in Meta::MediaDeviceHandler::privateParseTracks (this=0x2b039b0) at /var/tmp/portage/media-sound/amarok-2.4.1/work/amarok-2.4.1/src/core-impl/collections/mediadevicecollection/handler/MediaDeviceHandler.cpp:856
#23 0x000000335011c37d in Meta::ParseWorkerThread::run (this=0x173a480) at /var/tmp/portage/media-sound/amarok-2.4.1/work/amarok-2.4.1/src/core-impl/collections/mediadevicecollection/handler/MediaDeviceHandler.cpp:1297
#24 0x00007f1f16debbf1 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f1f02ffcda0, th=0x7f1f04038180, job=0x173a480) at /var/tmp/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/threadweaver/Weaver/Job.cpp:106
#25 0x00007f1f16debd1c in ThreadWeaver::Job::execute (this=0x173a480, th=0x7f1f04038180) at /var/tmp/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/threadweaver/Weaver/Job.cpp:135
#26 0x00007f1f16deb3ff in ThreadWeaver::ThreadRunHelper::run (this=0x7f1f02ffce20, parent=0x1db9d50, th=0x7f1f04038180) at /var/tmp/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/threadweaver/Weaver/Thread.cpp:95
#27 0x00007f1f16deb4bb in ThreadWeaver::Thread::run (this=0x7f1f04038180) at /var/tmp/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/threadweaver/Weaver/Thread.cpp:142
#28 0x000000333c87a095 in QThreadPrivate::start (arg=0x7f1f04038180) at thread/qthread_unix.cpp:320
#29 0x0000003337c07e6c in start_thread () from /lib64/libpthread.so.0
#30 0x00000033370d533d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f1f027fc700 (LWP 31678)):
#0  0x0000003337c0bd4c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000333c87a51b in wait (this=<value optimized out>, mutex=0x1dba060, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1dba060, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f1f16dea004 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1db9d50, th=0x1d6dad0) at /var/tmp/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f1f16dec56b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1dba180, th=0x1d6dad0) at /var/tmp/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f1f16dec584 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1dba180, th=0x1d6dad0) at /var/tmp/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f1f16dec584 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1dba180, th=0x1d6dad0) at /var/tmp/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f1f16deb42f in ThreadWeaver::ThreadRunHelper::run (this=0x7f1f027fbe20, parent=0x1db9d50, th=0x1d6dad0) at /var/tmp/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/threadweaver/Weaver/Thread.cpp:87
#8  0x00007f1f16deb4bb in ThreadWeaver::Thread::run (this=0x1d6dad0) at /var/tmp/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/threadweaver/Weaver/Thread.cpp:142
#9  0x000000333c87a095 in QThreadPrivate::start (arg=0x1d6dad0) at thread/qthread_unix.cpp:320
#10 0x0000003337c07e6c in start_thread () from /lib64/libpthread.so.0
#11 0x00000033370d533d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f1f01bd1700 (LWP 31679)):
#0  0x0000003337c0bd4c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000334dedbe9a in WTF::TCMalloc_PageHeap::scavengerThread (this=0x334e6ddfc0) at wtf/FastMalloc.cpp:2378
#2  0x000000334dedbf89 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<value optimized out>) at wtf/FastMalloc.cpp:1497
#3  0x0000003337c07e6c in start_thread () from /lib64/libpthread.so.0
#4  0x00000033370d533d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f1efb7fe700 (LWP 31683)):
#0  0x0000003337c0bd4c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000334c786262 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x334ca7ee80) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x000000334c786299 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<value optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x0000003337c07e6c in start_thread () from /lib64/libpthread.so.0
#4  0x00000033370d533d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f1ef68ff700 (LWP 31716)):
#0  0x0000003337c0bd4c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000333c87a51b in wait (this=<value optimized out>, mutex=0x1fe23f8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1fe23f8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x000000333e093f54 in QFileInfoGatherer::run (this=0x1fe23e8) at dialogs/qfileinfogatherer.cpp:214
#4  0x000000333c87a095 in QThreadPrivate::start (arg=0x1fe23e8) at thread/qthread_unix.cpp:320
#5  0x0000003337c07e6c in start_thread () from /lib64/libpthread.so.0
#6  0x00000033370d533d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f1ef03a2700 (LWP 31717)):
#0  0x00000033370cc7d3 in poll () from /lib64/libc.so.6
#1  0x000000333b043e60 in g_main_context_poll (context=0x2fc5e00, block=<value optimized out>, dispatch=1, self=<value optimized out>) at gmain.c:3405
#2  g_main_context_iterate (context=0x2fc5e00, block=<value optimized out>, dispatch=1, self=<value optimized out>) at gmain.c:3087
#3  0x000000333b044379 in g_main_context_iteration (context=0x2fc5e00, may_block=1) at gmain.c:3155
#4  0x000000333c98ab16 in QEventDispatcherGlib::processEvents (this=0x1f28890, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x000000333c95f272 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x000000333c95f46f in QEventLoop::exec (this=0x7f1ef03a1dd0, flags=...) at kernel/qeventloop.cpp:201
#7  0x000000333c877676 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x000000333c94245f in QInotifyFileSystemWatcherEngine::run (this=0x17d1730) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x000000333c87a095 in QThreadPrivate::start (arg=0x17d1730) at thread/qthread_unix.cpp:320
#10 0x0000003337c07e6c in start_thread () from /lib64/libpthread.so.0
#11 0x00000033370d533d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f1f14c52780 (LWP 31671)):
#0  0x0000003337c0bd4c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000333c87a51b in wait (this=<value optimized out>, mutex=0x16e6490, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x16e6490, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x000000333c879ddc in QThread::wait (this=<value optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:722
#4  0x000000333c935cf0 in QFileSystemWatcher::~QFileSystemWatcher (this=<value optimized out>, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:446
#5  0x000000333c935dc9 in QFileSystemWatcher::~QFileSystemWatcher (this=0x16e65f0, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:462
#6  0x000000333c971a21 in QObjectPrivate::deleteChildren (this=0x16e6550) at kernel/qobject.cpp:1955
#7  0x000000333c976fd9 in QObject::~QObject (this=0x16e3660, __in_chrg=<value optimized out>) at kernel/qobject.cpp:946
#8  0x00007f1f170a35e9 in Solid::Backends::Fstab::FstabWatcher::~FstabWatcher (this=0x16e3660, __in_chrg=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/solid/solid/backends/fstab/fstabwatcher.cpp:51
#9  0x0000003337037461 in ?? () from /lib64/libc.so.6
#10 0x00000033370374e5 in exit () from /lib64/libc.so.6
#11 0x000000333dc33688 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:772
#12 0x00007f1f17ecfdd8 in KApplication::xioErrhandler (this=0x7fff9cb1a030, dpy=0x10c9a70) at /var/tmp/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/kdeui/kernel/kapplication.cpp:419
#13 0x000000333904a01e in _XIOError (dpy=0x10c9a70) at /var/tmp/portage/x11-libs/libX11-1.4.3/work/libX11-1.4.3/src/XlibInt.c:1618
#14 0x000000333904793d in _XEventsQueued (dpy=0x10c9a70, mode=<value optimized out>) at /var/tmp/portage/x11-libs/libX11-1.4.3/work/libX11-1.4.3/src/xcb_io.c:307
#15 0x00000033390384bf in XEventsQueued (dpy=0x10c9a70, mode=2) at /var/tmp/portage/x11-libs/libX11-1.4.3/work/libX11-1.4.3/src/Pending.c:43
#16 0x000000333dc6a2ac in x11EventSourceCheck (s=0x10c7490) at kernel/qguieventdispatcher_glib.cpp:85
#17 0x000000333b0435a4 in g_main_context_check (context=0x10baf70, max_priority=2147483647, fds=<value optimized out>, n_fds=<value optimized out>) at gmain.c:2962
#18 0x000000333b043e7a in g_main_context_iterate (context=0x10baf70, block=<value optimized out>, dispatch=1, self=<value optimized out>) at gmain.c:3089
#19 0x000000333b044379 in g_main_context_iteration (context=0x10baf70, may_block=1) at gmain.c:3155
#20 0x000000333c98ab16 in QEventDispatcherGlib::processEvents (this=0xf431d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#21 0x000000333dc6a47e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#22 0x000000333c95f272 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#23 0x000000333c95f46f in QEventLoop::exec (this=0x7fff9cb19fc0, flags=...) at kernel/qeventloop.cpp:201
#24 0x000000333c963607 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#25 0x0000000000408c74 in main (argc=1, argv=0x7fff9cb1c638) at /var/tmp/portage/media-sound/amarok-2.4.1/work/amarok-2.4.1/src/main.cpp:288

Reproducible: Didn't try

Steps to Reproduce:
1. Started Amarok
2. Let it scan music folders

Actual Results:  
Amarok crashes

Expected Results:  
Amarok should not crash
Comment 1 Jure Repinc 2011-06-28 11:14:19 UTC
Well I have to update this to say it is reproducible every time. And it looks like it has problems with *.ape files (at least that's the last mentioned file in the output of "amarok -d").
Comment 2 Myriam Schweingruber 2011-10-17 22:27:14 UTC
*** Bug 284282 has been marked as a duplicate of this bug. ***
Comment 3 Scott Wheeler 2011-10-27 19:06:05 UTC
Could you email a copy of "/media/BlackBox/Glasba/Rosenberg_Trio(Live_at_the_North_Jazz_Sea_Festival)/15.Les
Feuilles Mortes.ape" to wheeler@kde.org (and lalinsky@gmail.com)?
Comment 4 Evg 2011-11-14 14:17:56 UTC
Created attachment 65658 [details]
New crash information added by DrKonqi

amarok (2.4.3) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4

- What I was doing when the application crashed:

I'm tryed to play ape file. VLC player also crash. I tried two backends (gstreamer & vlc) result is the same.

-- Backtrace (Reduced):
#6  0x00007fbc7e31df90 in TagLib::ID3v2::FrameFactory::createFrame(TagLib::ByteVector const&, TagLib::ID3v2::Header*) const () from /usr/lib/libtag.so.1
#7  0x00007fbc7e31f29a in TagLib::ID3v2::Tag::parse(TagLib::ByteVector const&) () from /usr/lib/libtag.so.1
#8  0x00007fbc7e31f535 in TagLib::ID3v2::Tag::read() () from /usr/lib/libtag.so.1
#9  0x00007fbc7e31f65b in TagLib::ID3v2::Tag::Tag(TagLib::File*, long, TagLib::ID3v2::FrameFactory const*) () from /usr/lib/libtag.so.1
#10 0x00007fbc7e336511 in TagLib::APE::Properties::findDescriptor() () from /usr/lib/libtag.so.1
Comment 5 Evg 2011-11-14 14:31:57 UTC
But I can play the file in wine+foobar2000.

amarok: END__: virtual void Playlist::Dock::polish() [Took: 0.005s] 
amarok: setting layout to QRectF(0,0 702x30) 
amarok: BEGIN: virtual void ContextDock::polish() 
amarok: END__: virtual void ContextDock::polish() [Took: 0s] 
amarok: BEGIN: void Playlist::PrettyListView::slotPlaylistActiveTrackChanged() 
amarok:   BEGIN: void Playlist::PrettyListView::scrollToActiveTrack() 
amarok:   END__: void Playlist::PrettyListView::scrollToActiveTrack() [Took: 0s] 
amarok: END__: void Playlist::PrettyListView::slotPlaylistActiveTrackChanged() [Took: 0s] 
amarok: BEGIN: virtual void Playlist::PrettyListView::dropEvent(QDropEvent*) 
amarok:   BEGIN: virtual bool Playlist::Model::dropMimeData(const QMimeData*, Qt::DropAction, int, int, const QModelIndex&) 
amarok:     [Playlist::Model] this is _something_ with a url.... 
amarok:     Drop from external source or file browser 
kmimetype filetype guessing failed for /media/Storage/Snowly/-/Heavenly/Unknown Album/01-Heavenly - The Dark Memories.ape 
KCrash: Application 'amarok' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
Comment 6 Scott Wheeler 2011-11-15 03:58:50 UTC
This bug basically makes sense to me (patch attached), though curiously I can't reproduce it.  I'm also not sure why there would have been an ID3v2 tag constructed with a null FrameFactory passed in in the first place. Lukas, any idea?
Comment 7 Scott Wheeler 2011-11-15 03:59:38 UTC
Created attachment 65687 [details]
patch
Comment 8 Evg 2011-11-15 06:18:16 UTC
Created attachment 65689 [details]
New crash information added by DrKonqi

amarok (2.4.3) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4

I just took git, patched it and installed. That didn't help.

-- Backtrace (Reduced):
#6  0x00007fe8bb91af90 in TagLib::ID3v2::FrameFactory::createFrame(TagLib::ByteVector const&, TagLib::ID3v2::Header*) const () from /usr/lib/libtag.so.1
#7  0x00007fe8bb91c29a in TagLib::ID3v2::Tag::parse(TagLib::ByteVector const&) () from /usr/lib/libtag.so.1
#8  0x00007fe8bb91c535 in TagLib::ID3v2::Tag::read() () from /usr/lib/libtag.so.1
#9  0x00007fe8bb91c65b in TagLib::ID3v2::Tag::Tag(TagLib::File*, long, TagLib::ID3v2::FrameFactory const*) () from /usr/lib/libtag.so.1
#10 0x00007fe8bb933511 in TagLib::APE::Properties::findDescriptor() () from /usr/lib/libtag.so.1
Comment 9 Lukáš Lalinský 2011-11-15 07:01:51 UTC
I'll have a look at it today. Not sure yet why it's null.
Comment 10 Scott Wheeler 2011-11-15 10:30:55 UTC
Since you're building from source anyway, could you try a couple of things:

• Building with debugging symbols that give a line number (i.e. using the GCC flags -O0 -g3)

• Reproducing it with the tagreader command line tool that's in taglib/examples
Comment 11 Evg 2011-11-15 21:16:06 UTC
user@computer:~/Downloads/taglib/taglib/examples$ ./tagreader '/media/Storage/Snowly/-/Dark Moor/Unknown Album/DaMoo05.ape'
******************** "/media/Storage/Snowly/-/Dark Moor/Unknown Album/DaMoo05.ape" ********************
-- TAG --
title   - "DaMoo05"
artist  - "Dark Moor"
album   - ""
year    - "0"
comment - ""
track   - "0"
genre   - ""
-- AUDIO --
bitrate     - 919
sample rate - 44100
channels    - 2
length      - 50:31
user@computer:~/Downloads/taglib/taglib/examples$ ./tagreader '/media/Storage/Snowly/-/Heavenly/Unknown Album/01-Heavenly - The Dark Memories.ape'
******************** "/media/Storage/Snowly/-/Heavenly/Unknown Album/01-Heavenly - The Dark Memories.ape" ********************
-- TAG --
title   - "01-Heavenly - The Dark Memories"
artist  - "Heavenly"
album   - ""
year    - "0"
comment - ""
track   - "0"
genre   - ""
-- AUDIO --
bitrate     - 1064
sample rate - 44100
channels    - 2
Comment 12 Scott Wheeler 2011-11-15 22:01:51 UTC
Hmm, interesting.  That leads me to suspect that it's something specific that Amarok is doing that's causing problems.
Comment 13 Evg 2011-11-18 03:30:09 UTC
I have no idea what's happened, but I can't reproduce the bug anymore.
Comment 14 Jure Repinc 2012-04-01 08:11:09 UTC
I also just asked my father if he still gets a crash (I'm far away from the computer with the bug currently) and he says that there is no crash anymore. So it really might be something wrong in Amarok.
Comment 15 Justin Zobel 2020-12-04 03:20:07 UTC
Thank you for the report, Jure.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 16 Bug Janitor Service 2020-12-19 04:34:38 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 17 Bug Janitor Service 2021-01-03 04:34:08 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!