Bug 236295

Summary: Amarok Crashes on Close
Product: [Applications] amarok Reporter: Valorie Zimmerman <valorie.zimmerman>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 2.3-GIT   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Valorie Zimmerman 2010-05-04 11:18:14 UTC
Application: amarok (2.3-GIT)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
This has been happening for weeks, and tonight I had time to file a bug report. I build Amarok from source, most recently yesterday. I quit using the menu entry, and Amarok immediately crashes.

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

Thread 9 (Thread 0x7fb4a723c710 (LWP 4145)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb4db19b7d2 in Thread () from /usr/lib/libvlccore.so.4
#2  0x00007fb4eb9a89ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fb4ed55e69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fb4a5567710 (LWP 4148)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fb4a5566a80 in ?? ()
#2  0x00007fffb93d5852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 7 (Thread 0x7fb49d4b8710 (LWP 4149)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb4e890aca6 in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007fb4e890ace9 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007fb4eb9a89ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007fb4ed55e69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fb49b8ba710 (LWP 4150)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb4edd9f72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x28abf50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x28abf50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fb4ea3f3026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x28aa400, th=0x28ac380) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb4ea3f56ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x28aae40, th=0x28ac380) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb4ea3f56c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x28aae40, th=0x28ac380) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fb4ea3f56c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x28aae40, th=0x28ac380) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fb4ea3f56c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x28aae40, th=0x28ac380) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007fb4ea3f56c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x28aae40, th=0x28ac380) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007fb4ea3f3bff in ThreadWeaver::ThreadRunHelper::run (this=0x7fb49b8b9de0, parent=0x28aa400, th=0x28ac380) at ../../../threadweaver/Weaver/Thread.cpp:87
#10 0x00007fb4ea3f4168 in ThreadWeaver::Thread::run (this=0x28ac380) at ../../../threadweaver/Weaver/Thread.cpp:142
#11 0x00007fb4edd9e775 in QThreadPrivate::start (arg=0x28ac380) at thread/qthread_unix.cpp:248
#12 0x00007fb4eb9a89ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#13 0x00007fb4ed55e69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fb49b0b9710 (LWP 4151)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb4edd9f72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x28abf50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x28abf50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fb4ea3f3026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x28aa400, th=0x28acc10) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb4ea3f56ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x28aae40, th=0x28acc10) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb4ea3f3bff in ThreadWeaver::ThreadRunHelper::run (this=0x7fb49b0b8de0, parent=0x28aa400, th=0x28acc10) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fb4ea3f4168 in ThreadWeaver::Thread::run (this=0x28acc10) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fb4edd9e775 in QThreadPrivate::start (arg=0x28acc10) at thread/qthread_unix.cpp:248
#8  0x00007fb4eb9a89ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007fb4ed55e69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fb49a8b8710 (LWP 4152)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb4edd9f72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x28abf50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x28abf50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fb4ea3f3026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x28aa400, th=0x292ff60) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb4ea3f56ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x28aae40, th=0x292ff60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb4ea3f56c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x28aae40, th=0x292ff60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fb4ea3f3bff in ThreadWeaver::ThreadRunHelper::run (this=0x7fb49a8b7de0, parent=0x28aa400, th=0x292ff60) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007fb4ea3f4168 in ThreadWeaver::Thread::run (this=0x292ff60) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007fb4edd9e775 in QThreadPrivate::start (arg=0x292ff60) at thread/qthread_unix.cpp:248
#9  0x00007fb4eb9a89ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fb4ed55e69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fb49a0b7710 (LWP 4153)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb4edd9f72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x28abf50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x28abf50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fb4ea3f3026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x28aa400, th=0x2c4a380) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb4ea3f56ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x28aae40, th=0x2c4a380) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb4ea3f56c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x28aae40, th=0x2c4a380) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fb4ea3f56c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x28aae40, th=0x2c4a380) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fb4ea3f3bff in ThreadWeaver::ThreadRunHelper::run (this=0x7fb49a0b6de0, parent=0x28aa400, th=0x2c4a380) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007fb4ea3f4168 in ThreadWeaver::Thread::run (this=0x2c4a380) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007fb4edd9e775 in QThreadPrivate::start (arg=0x2c4a380) at thread/qthread_unix.cpp:248
#10 0x00007fb4eb9a89ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007fb4ed55e69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb496492710 (LWP 4162)):
#0  0x00007fb4ed52235d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fb4ed5221d0 in __sleep (seconds=<value optimized out>) at ../sysdeps/unix/sysv/linux/sleep.c:138
#2  0x00007fb4e9c5e237 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fb4e9f3c220) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2308
#3  0x00007fb4e9c5e2e9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fb496491dc0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#4  0x00007fb4eb9a89ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007fb4ed55e69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb4f072c780 (LWP 4142)):
[KCrash Handler]
#5  __pthread_mutex_lock (mutex=0x620069006c0000) at pthread_mutex_lock.c:50
#6  0x00007fb4ecb0a0b7 in XrmDestroyDatabase (db=0xcb26b0) at ../../src/Xrm.c:2642
#7  0x00007fb4ecaf495d in _XFreeDisplayStructure (dpy=0xcc03e0) at ../../src/OpenDis.c:839
#8  0x00007fb4ecadfe7f in XCloseDisplay (dpy=0xcc03e0) at ../../src/ClDisplay.c:82
#9  0x00007fb4ee882935 in qt_cleanup () at kernel/qapplication_x11.cpp:2623
#10 0x00007fb4ee81066c in ~QApplication (this=0x7fffb930de40, __in_chrg=<value optimized out>) at kernel/qapplication.cpp:1084
#11 0x00007fb4ef8b8ef1 in ~App (this=0x7fffb930de40, __in_chrg=<value optimized out>) at /home/valorie/kde/src/amarok/src/App.cpp:282
#12 0x000000000040afd7 in main (argc=2, argv=0x7fffb930fd98) at /home/valorie/kde/src/amarok/src/main.cpp:237

Reported using DrKonqi
Comment 1 Mikko C. 2010-05-08 10:25:37 UTC
not an amarok crash. Either QT or X:
bug 235999 has the same backtrace

[KCrash Handler]
#5  __pthread_mutex_lock (mutex=0x620069006c0000) at pthread_mutex_lock.c:50
#6  0x00007fb4ecb0a0b7 in XrmDestroyDatabase (db=0xcb26b0) at
../../src/Xrm.c:2642
#7  0x00007fb4ecaf495d in _XFreeDisplayStructure (dpy=0xcc03e0) at
../../src/OpenDis.c:839
#8  0x00007fb4ecadfe7f in XCloseDisplay (dpy=0xcc03e0) at
../../src/ClDisplay.c:82
#9  0x00007fb4ee882935 in qt_cleanup () at kernel/qapplication_x11.cpp:2623
#10 0x00007fb4ee81066c in ~QApplication (this=0x7fffb930de40, __in_chrg=<value
optimized out>) at kernel/qapplication.cpp:1084

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