Bug 287123

Summary: Amarok crashes when closes
Product: [Applications] amarok Reporter: Dmitry Bergstein <dmitry.bergstein>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 2.4.3   
Target Milestone: 2.6   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dmitry Bergstein 2011-11-21 02:06:54 UTC
Application: amarok (2.4.3)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.1.0-1.dmz.2-liquorix-amd64 x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
Close Amarok.
Maybe, it's linkd with pulseaudio troubles, but I not shure.

The crash can be reproduced every time.

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f154c8f27a0 (LWP 13458))]

Thread 9 (Thread 0x7f1523e37700 (LWP 13463)):
#0  unixCheckClockType () at tools/qelapsedtimer_unix.cpp:87
#1  0x00007f1549afc059 in do_gettime (frac=0x7f1523e36b38, sec=0x7f1523e36b30) at tools/qelapsedtimer_unix.cpp:120
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x00007f1549bbe6ed in QTimerInfoList::updateCurrentTime (this=0x25d4ea0) at kernel/qeventdispatcher_unix.cpp:339
#4  0x00007f1549bbea33 in QTimerInfoList::timerWait (this=0x25d4ea0, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x00007f1549bbd44c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f1523e36c1c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00007f1549bbd4f5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x00007f1543fa9ff2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f1543faadfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f1543fab429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f1549bbdf3e in QEventDispatcherGlib::processEvents (this=0x25d3b70, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#11 0x00007f1549b91cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007f1549b91ef7 in QEventLoop::exec (this=0x7f1523e36db0, flags=...) at kernel/qeventloop.cpp:201
#13 0x00007f1549aa927f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#14 0x00007f1549b74cbf in QInotifyFileSystemWatcherEngine::run (this=0x25a4250) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x00007f1549aabd05 in QThreadPrivate::start (arg=0x25a4250) at thread/qthread_unix.cpp:331
#16 0x00007f1545a4fefc in start_thread (arg=0x7f1523e37700) at pthread_create.c:304
#17 0x00007f154924b89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f1521a1a700 (LWP 13464)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1549aac1ab in wait (time=18446744073709551615, this=0x279fc40) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x279fe60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f1546fe0864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x279faa0, th=0x27a0350) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f1546fe2e0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x279ff80, th=0x27a0350) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f1546fe2e24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x279ff80, th=0x27a0350) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f1546fe1ccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f1521a19e00, parent=0x279faa0, th=0x27a0350) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f1546fe1d5b in ThreadWeaver::Thread::run (this=0x27a0350) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f1549aabd05 in QThreadPrivate::start (arg=0x27a0350) at thread/qthread_unix.cpp:331
#9  0x00007f1545a4fefc in start_thread (arg=0x7f1521a1a700) at pthread_create.c:304
#10 0x00007f154924b89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f151afbf700 (LWP 13465)):
#0  0x00007f154923f773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f1543faaf68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1543fab429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1549bbdf3e in QEventDispatcherGlib::processEvents (this=0x29a94b0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f1549b91cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1549b91ef7 in QEventLoop::exec (this=0x7f151afbedb0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f1549aa927f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f1549b74cbf in QInotifyFileSystemWatcherEngine::run (this=0x29a5810) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f1549aabd05 in QThreadPrivate::start (arg=0x29a5810) at thread/qthread_unix.cpp:331
#9  0x00007f1545a4fefc in start_thread (arg=0x7f151afbf700) at pthread_create.c:304
#10 0x00007f154924b89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f151a5a2700 (LWP 13466)):
[KCrash Handler]
#6  hash (n=<optimized out>, p=<optimized out>) at tools/qhash.cpp:81
#7  qHash (key=...) at tools/qhash.cpp:95
#8  0x00007f154a03aa71 in QHash<QString, QString>::findNode (this=0x271f350, akey=..., ahp=0x0) at /usr/include/qt4/QtCore/qhash.h:880
#9  0x00007f154a038e25 in value (akey=..., this=0x271f350) at /usr/include/qt4/QtCore/qhash.h:607
#10 KMimeTypeRepository::resolveAlias (this=<optimized out>, mime=...) at ../../kdecore/services/kmimetyperepository.cpp:86
#11 0x00007f154a038e54 in KMimeTypeRepository::canonicalName (this=<optimized out>, mime=...) at ../../kdecore/services/kmimetyperepository.cpp:91
#12 0x00007f154a02e7b5 in KMimeType::is (this=<optimized out>, mimeTypeName=...) at ../../kdecore/services/kmimetype.cpp:535
#13 0x00007f152acd4e53 in Meta::UmsHandler::addPath (this=0x3645550, path=...) at ../../../../../src/core-impl/collections/umscollection/handler/UmsHandler.cpp:406
#14 0x00007f152acd5034 in Meta::UmsHandler::prepareToParseTracks (this=0x3645550) at ../../../../../src/core-impl/collections/umscollection/handler/UmsHandler.cpp:842
#15 0x00007f154b6bd6e5 in Meta::MediaDeviceHandler::privateParseTracks (this=0x3645550) at ../../src/core-impl/collections/mediadevicecollection/handler/MediaDeviceHandler.cpp:845
#16 0x00007f154b6be8fd in Meta::ParseWorkerThread::run (this=0x25dacd0) at ../../src/core-impl/collections/mediadevicecollection/handler/MediaDeviceHandler.cpp:1289
#17 0x00007f1546fe2491 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f151a5a1d80, th=0x2ab65d0, job=0x25dacd0) at ../../../threadweaver/Weaver/Job.cpp:106
#18 0x00007f1546fe25bc in ThreadWeaver::Job::execute (this=0x25dacd0, th=0x2ab65d0) at ../../../threadweaver/Weaver/Job.cpp:135
#19 0x00007f1546fe1c9f in ThreadWeaver::ThreadRunHelper::run (this=0x7f151a5a1e00, parent=0x279faa0, th=0x2ab65d0) at ../../../threadweaver/Weaver/Thread.cpp:95
#20 0x00007f1546fe1d5b in ThreadWeaver::Thread::run (this=0x2ab65d0) at ../../../threadweaver/Weaver/Thread.cpp:142
#21 0x00007f1549aabd05 in QThreadPrivate::start (arg=0x2ab65d0) at thread/qthread_unix.cpp:331
#22 0x00007f1545a4fefc in start_thread (arg=0x7f151a5a2700) at pthread_create.c:304
#23 0x00007f154924b89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#24 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f1519b96700 (LWP 13467)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1549aac1ab in wait (time=18446744073709551615, this=0x279fc40) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x279fe60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f1546fe0864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x279faa0, th=0x2982870) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f1546fe2e0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x279ff80, th=0x2982870) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f1546fe2e24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x279ff80, th=0x2982870) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f1546fe2e24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x279ff80, th=0x2982870) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f1546fe2e24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x279ff80, th=0x2982870) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f1546fe1ccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f1519b95e00, parent=0x279faa0, th=0x2982870) at ../../../threadweaver/Weaver/Thread.cpp:87
#9  0x00007f1546fe1d5b in ThreadWeaver::Thread::run (this=0x2982870) at ../../../threadweaver/Weaver/Thread.cpp:142
#10 0x00007f1549aabd05 in QThreadPrivate::start (arg=0x2982870) at thread/qthread_unix.cpp:331
#11 0x00007f1545a4fefc in start_thread (arg=0x7f1519b96700) at pthread_create.c:304
#12 0x00007f154924b89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f1519395700 (LWP 13468)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1549aac1ab in wait (time=18446744073709551615, this=0x279fc40) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x279fe60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f1546fe0864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x279faa0, th=0x2a305e0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f1546fe2e0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x279ff80, th=0x2a305e0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f1546fe2e24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x279ff80, th=0x2a305e0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f1546fe2e24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x279ff80, th=0x2a305e0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f1546fe1ccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f1519394e00, parent=0x279faa0, th=0x2a305e0) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007f1546fe1d5b in ThreadWeaver::Thread::run (this=0x2a305e0) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007f1549aabd05 in QThreadPrivate::start (arg=0x2a305e0) at thread/qthread_unix.cpp:331
#10 0x00007f1545a4fefc in start_thread (arg=0x7f1519395700) at pthread_create.c:304
#11 0x00007f154924b89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f1513fff700 (LWP 13469)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1540a05c2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f1540a05d59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f1545a4fefc in start_thread (arg=0x7f1513fff700) at pthread_create.c:304
#4  0x00007f154924b89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f15123bb700 (LWP 13473)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f154602bfe2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f154602c019 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f1545a4fefc in start_thread (arg=0x7f15123bb700) at pthread_create.c:304
#4  0x00007f154924b89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f154c8f27a0 (LWP 13458)):
#0  0x00007f154923f773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f15448b74f2 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f15448b7a3f in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f15448b7ac4 in xcb_writev () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007f154b0b6597 in _XSend () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#5  0x00007f154b0b6acb in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#6  0x00007f154b0b21f3 in XSync () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#7  0x00007f154a61150e in qt_cleanup () at kernel/qapplication_x11.cpp:2723
#8  0x00007f154a59cea4 in QApplication::~QApplication (this=0x7fff4580f6a0, __in_chrg=<optimized out>) at kernel/qapplication.cpp:1185
#9  0x00007f154b8e7afb in App::~App (this=0x7fff4580f6a0, __in_chrg=<optimized out>) at ../../src/App.cpp:188
#10 0x000000000040917a in main (argc=1, argv=0x7fff45811ca8) at ../../src/main.cpp:287

Possible duplicates by query: bug 286903, bug 285710, bug 285580, bug 285299, bug 284850.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2011-11-21 08:33:13 UTC
This is already solved in the upcoming Amarok 2.5.0

*** This bug has been marked as a duplicate of bug 232051 ***