Bug 321914 - Amarok crashes on close of any additional windows (such as tag editor, about Amarok, etc.)
Summary: Amarok crashes on close of any additional windows (such as tag editor, about ...
Status: RESOLVED DUPLICATE of bug 321972
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.7.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 2.8
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-03 16:06 UTC by telemetron
Modified: 2013-07-10 07:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description telemetron 2013-07-03 16:06:37 UTC
Application: amarok (2.7.1)
KDE Platform Version: 4.10.4
Qt Version: 4.8.4
Operating System: Linux 3.8.0-25-generic i686
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed:
Crash occurs on close of any additional window. 
Updating song rating from control on main screen does not crash, but opening the song details to edit the rating crashes when the window closes. 
Opening the About Amarok dialog and then closing it causes crash, so does opening and then closing configure amarok dialog and several other examples.
Running amarok --debug --nofork terminates with this message on crash:
The program 'amarok' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 4710 error_code 3 request_code 20 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

The crash can be reproduced every time.

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb0870b00 (LWP 4378))]

Thread 16 (Thread 0xad6ffb40 (LWP 4382)):
#0  0xb7798424 in __kernel_vsyscall ()
#1  0xb5638dcb in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb43ca2db in poll (__timeout=-1, __nfds=3, __fds=0xacd023a0) at /usr/include/i386-linux-gnu/bits/poll2.h:46
#3  g_poll (fds=0xacd023a0, nfds=3, timeout=-1) at /build/buildd/glib2.0-2.36.0/./glib/gpoll.c:132
#4  0xb43bb6d0 in g_main_context_poll (n_fds=3, fds=0xacd023a0, timeout=<optimized out>, context=0xad708dd8, priority=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3995
#5  g_main_context_iterate (context=0xad708dd8, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3696
#6  0xb43bbc2b in g_main_loop_run (loop=0xad707b28) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3895
#7  0xaef98bca in gdbus_shared_thread_func (user_data=0xad708e68) at /build/buildd/glib2.0-2.36.0/./gio/gdbusprivate.c:278
#8  0xb43e0fc3 in g_thread_proxy (data=0xad702ef0) at /build/buildd/glib2.0-2.36.0/./glib/gthread.c:798
#9  0xb46b5d78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#10 0xb56483de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 15 (Thread 0xa2b56b40 (LWP 4387)):
#0  0xb7798424 in __kernel_vsyscall ()
#1  0xb565b8e2 in clock_gettime () from /lib/i386-linux-gnu/libc.so.6
#2  0xb58d70d5 in do_gettime (frac=0xa2b55f60, sec=0xa2b55f58) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0xb59be80e in QTimerInfoList::updateCurrentTime (this=this@entry=0xa2201ebc) at kernel/qeventdispatcher_unix.cpp:354
#5  0xb59beb9a in QTimerInfoList::timerWait (this=0xa2201ebc, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#6  0xb59bd373 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xa2b5608c) at kernel/qeventdispatcher_glib.cpp:136
#7  0xb59bd40d in timerSourcePrepare (source=0xa2201e88, timeout=0xa2b5608c) at kernel/qeventdispatcher_glib.cpp:169
#8  0xb43bad21 in g_main_context_prepare (context=context@entry=0xa2200500, priority=priority@entry=0xa2b560f8) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3328
#9  0xb43bb5cf in g_main_context_iterate (context=context@entry=0xa2200500, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3681
#10 0xb43bb831 in g_main_context_iteration (context=0xa2200500, may_block=1) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3762
#11 0xb59bdc3f in QEventDispatcherGlib::processEvents (this=0xa2200488, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0xb598a3ec in QEventLoop::processEvents (this=this@entry=0xa2b56228, flags=...) at kernel/qeventloop.cpp:149
#13 0xb598a6e1 in QEventLoop::exec (this=this@entry=0xa2b56228, flags=...) at kernel/qeventloop.cpp:204
#14 0xb5875fec in QThread::exec (this=this@entry=0xa314690) at thread/qthread.cpp:542
#15 0xb5969f2d in QInotifyFileSystemWatcherEngine::run (this=0xa314690) at io/qfilesystemwatcher_inotify.cpp:256
#16 0xb5878b18 in QThreadPrivate::start (arg=0xa314690) at thread/qthread_unix.cpp:338
#17 0xb46b5d78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#18 0xb56483de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 14 (Thread 0xa189ab40 (LWP 4392)):
#0  0xb7798424 in __kernel_vsyscall ()
#1  0xb46b984b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb5655d7c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb58790f0 in wait (time=4294967295, this=0xa79a7f8) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=this@entry=0xa79a748, mutex=0xa629690, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb4e11a55 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa79a730, th=th@entry=0xa61b848) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb4e1498b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa5550b8, th=0xa61b848) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb4e1165a in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa79a730, th=th@entry=0xa61b848) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb4e14ae4 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa5550b8, th=0xa61b848) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb4e11553 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa79a730, th=0xa61b848, previous=0xa6f8b18) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb4e13324 in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0xa189a284, parent=0xa79a730, th=th@entry=0xa61b848) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb4e133da in ThreadWeaver::Thread::run (this=0xa61b848) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb5878b18 in QThreadPrivate::start (arg=0xa61b848) at thread/qthread_unix.cpp:338
#13 0xb46b5d78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#14 0xb56483de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 13 (Thread 0xa1099b40 (LWP 4393)):
#0  0xb7798424 in __kernel_vsyscall ()
#1  0xb46b984b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb5655d7c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb58790f0 in wait (time=4294967295, this=0xa79a7f8) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=this@entry=0xa79a748, mutex=0xa629690, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb4e11a55 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa79a730, th=th@entry=0xa6278e8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb4e1498b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa5550b8, th=0xa6278e8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb4e1165a in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa79a730, th=th@entry=0xa6278e8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb4e14ae4 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa5550b8, th=0xa6278e8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb4e11553 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa79a730, th=0xa6278e8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb4e14b00 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa5550b8, th=0xa6278e8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0xb4e11553 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa79a730, th=0xa6278e8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0xb4e14b00 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa5550b8, th=0xa6278e8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0xb4e11553 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa79a730, th=0xa6278e8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#14 0xb4e14b00 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa5550b8, th=0xa6278e8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#15 0xb4e11553 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa79a730, th=0xa6278e8, previous=0xa9f0900) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#16 0xb4e13324 in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0xa1099284, parent=0xa79a730, th=th@entry=0xa6278e8) at ../../../threadweaver/Weaver/Thread.cpp:87
#17 0xb4e133da in ThreadWeaver::Thread::run (this=0xa6278e8) at ../../../threadweaver/Weaver/Thread.cpp:142
#18 0xb5878b18 in QThreadPrivate::start (arg=0xa6278e8) at thread/qthread_unix.cpp:338
#19 0xb46b5d78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#20 0xb56483de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 12 (Thread 0xa04ffb40 (LWP 4395)):
#0  0xb7798424 in __kernel_vsyscall ()
#1  0xb46b984b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb5655d7c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb58790f0 in wait (time=4294967295, this=0xa79a7f8) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=this@entry=0xa79a748, mutex=0xa629690, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb4e11a55 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa79a730, th=th@entry=0xa623220) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb4e1498b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa5550b8, th=0xa623220) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb4e1165a in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa79a730, th=th@entry=0xa623220) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb4e14ae4 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa5550b8, th=0xa623220) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb4e11553 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa79a730, th=0xa623220, previous=0xb551ca0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb4e13324 in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0xa04ff284, parent=0xa79a730, th=th@entry=0xa623220) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb4e133da in ThreadWeaver::Thread::run (this=0xa623220) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb5878b18 in QThreadPrivate::start (arg=0xa623220) at thread/qthread_unix.cpp:338
#13 0xb46b5d78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#14 0xb56483de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 11 (Thread 0x9fcfeb40 (LWP 4396)):
#0  0xb7798424 in __kernel_vsyscall ()
#1  0xb46b984b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb5655d7c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb58790f0 in wait (time=4294967295, this=0xa79a7f8) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=this@entry=0xa79a748, mutex=0xa629690, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb4e11a55 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa79a730, th=th@entry=0xa62b968) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb4e1498b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa5550b8, th=0xa62b968) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb4e1165a in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa79a730, th=th@entry=0xa62b968) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb4e14ae4 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa5550b8, th=0xa62b968) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb4e11553 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa79a730, th=0xa62b968, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb4e14b00 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa5550b8, th=0xa62b968) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0xb4e11553 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa79a730, th=0xa62b968, previous=0xae0ec80) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0xb4e13324 in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x9fcfe284, parent=0xa79a730, th=th@entry=0xa62b968) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0xb4e133da in ThreadWeaver::Thread::run (this=0xa62b968) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0xb5878b18 in QThreadPrivate::start (arg=0xa62b968) at thread/qthread_unix.cpp:338
#15 0xb46b5d78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#16 0xb56483de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 10 (Thread 0x9ea62b40 (LWP 4402)):
#0  0xb7798424 in __kernel_vsyscall ()
#1  0xb46b984b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb5655d7c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb487f0ad in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0xb487f0df in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0xb46b5d78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0xb56483de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 9 (Thread 0xae04db40 (LWP 4587)):
#0  0xb7798424 in __kernel_vsyscall ()
#1  0xb46b984b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb5655d7c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb43ff126 in g_cond_wait (cond=0xad7b3150, mutex=0x91f4d8a8) at /build/buildd/glib2.0-2.36.0/./glib/gthread-posix.c:756
#4  0xb126e025 in gst_task_func (task=task@entry=0xad704d70) at gsttask.c:312
#5  0xb126efb8 in default_func (tdata=0x91f4d8b8, pool=0x9e4e320) at gsttaskpool.c:70
#6  0xb43e19d8 in g_thread_pool_thread_proxy (data=0x9f76dc0) at /build/buildd/glib2.0-2.36.0/./glib/gthreadpool.c:309
#7  0xb43e0fc3 in g_thread_proxy (data=0xa29e230) at /build/buildd/glib2.0-2.36.0/./glib/gthread.c:798
#8  0xb46b5d78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#9  0xb56483de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 8 (Thread 0x957bbb40 (LWP 4588)):
#0  0xb7798424 in __kernel_vsyscall ()
#1  0xb46b984b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb5655d7c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb43ff126 in g_cond_wait (cond=0xa0e1f50, mutex=0x9f89fe0) at /build/buildd/glib2.0-2.36.0/./glib/gthread-posix.c:756
#4  0xa72949a2 in gst_queue_loop (pad=0x9d6a8c8) at gstqueue.c:1252
#5  0xb126de10 in gst_task_func (task=task@entry=0x9e20d70) at gsttask.c:327
#6  0xb126efb8 in default_func (tdata=0xa2a16b0, pool=0x9e4e320) at gsttaskpool.c:70
#7  0xb43e19d8 in g_thread_pool_thread_proxy (data=0x9f76dc0) at /build/buildd/glib2.0-2.36.0/./glib/gthreadpool.c:309
#8  0xb43e0fc3 in g_thread_proxy (data=0xad730860) at /build/buildd/glib2.0-2.36.0/./glib/gthread.c:798
#9  0xb46b5d78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#10 0xb56483de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 7 (Thread 0x94fbab40 (LWP 4591)):
#0  0xb7798424 in __kernel_vsyscall ()
#1  0xb46b984b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb5655d7c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb43ff126 in g_cond_wait (cond=0xa0e2b40, mutex=0xa2a1588) at /build/buildd/glib2.0-2.36.0/./glib/gthread-posix.c:756
#4  0xa72949a2 in gst_queue_loop (pad=0xa294f08) at gstqueue.c:1252
#5  0xb126de10 in gst_task_func (task=task@entry=0x9e20ce8) at gsttask.c:327
#6  0xb126efb8 in default_func (tdata=0xa0f0818, pool=0x9e4e320) at gsttaskpool.c:70
#7  0xb43e19d8 in g_thread_pool_thread_proxy (data=0x9f76dc0) at /build/buildd/glib2.0-2.36.0/./glib/gthreadpool.c:309
#8  0xb43e0fc3 in g_thread_proxy (data=0xad730890) at /build/buildd/glib2.0-2.36.0/./glib/gthread.c:798
#9  0xb46b5d78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#10 0xb56483de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 6 (Thread 0x947b9b40 (LWP 4592)):
#0  0xb7798424 in __kernel_vsyscall ()
#1  0xb46b984b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb5655d7c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb43ff126 in g_cond_wait (cond=0xa0e3480, mutex=0xa0f0360) at /build/buildd/glib2.0-2.36.0/./glib/gthread-posix.c:756
#4  0xa72949a2 in gst_queue_loop (pad=0xa0d0000) at gstqueue.c:1252
#5  0xb126de10 in gst_task_func (task=task@entry=0x9e209b8) at gsttask.c:327
#6  0xb126efb8 in default_func (tdata=0xa21ef30, pool=0x9e4e320) at gsttaskpool.c:70
#7  0xb43e19d8 in g_thread_pool_thread_proxy (data=0x9f76dc0) at /build/buildd/glib2.0-2.36.0/./glib/gthreadpool.c:309
#8  0xb43e0fc3 in g_thread_proxy (data=0xad7308c0) at /build/buildd/glib2.0-2.36.0/./glib/gthread.c:798
#9  0xb46b5d78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#10 0xb56483de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 5 (Thread 0x93fb8b40 (LWP 4593)):
#0  0xb7798424 in __kernel_vsyscall ()
#1  0xb46b984b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb5655d7c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb43ff126 in g_cond_wait (cond=0xad7324a0, mutex=0xad731a10) at /build/buildd/glib2.0-2.36.0/./glib/gthread-posix.c:756
#4  0xb126e025 in gst_task_func (task=task@entry=0xad7049b8) at gsttask.c:312
#5  0xb126efb8 in default_func (tdata=0xad731a20, pool=0x9e4e320) at gsttaskpool.c:70
#6  0xb43e19d8 in g_thread_pool_thread_proxy (data=0x9f76dc0) at /build/buildd/glib2.0-2.36.0/./glib/gthreadpool.c:309
#7  0xb43e0fc3 in g_thread_proxy (data=0xad7308f0) at /build/buildd/glib2.0-2.36.0/./glib/gthread.c:798
#8  0xb46b5d78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#9  0xb56483de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0x937b7b40 (LWP 4594)):
#0  0xb7798424 in __kernel_vsyscall ()
#1  0xb46b984b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb5655d7c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb43ff126 in g_cond_wait (cond=0xad733880, mutex=0xad731948) at /build/buildd/glib2.0-2.36.0/./glib/gthread-posix.c:756
#4  0xb126e025 in gst_task_func (task=task@entry=0xad704a40) at gsttask.c:312
#5  0xb126efb8 in default_func (tdata=0xad731908, pool=0x9e4e320) at gsttaskpool.c:70
#6  0xb43e19d8 in g_thread_pool_thread_proxy (data=0x9f76dc0) at /build/buildd/glib2.0-2.36.0/./glib/gthreadpool.c:309
#7  0xb43e0fc3 in g_thread_proxy (data=0xad730920) at /build/buildd/glib2.0-2.36.0/./glib/gthread.c:798
#8  0xb46b5d78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#9  0xb56483de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0x92fb6b40 (LWP 5514)):
#0  0xb7798424 in __kernel_vsyscall ()
#1  0xb46b984b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb5655d7c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb43ff126 in g_cond_wait (cond=0xad7bcb30, mutex=0xad7b14b8) at /build/buildd/glib2.0-2.36.0/./glib/gthread-posix.c:756
#4  0xb126e025 in gst_task_func (task=task@entry=0xad704b50) at gsttask.c:312
#5  0xb126efb8 in default_func (tdata=0xad7b14e0, pool=0x9e4e320) at gsttaskpool.c:70
#6  0xb43e19d8 in g_thread_pool_thread_proxy (data=0x9f76dc0) at /build/buildd/glib2.0-2.36.0/./glib/gthreadpool.c:309
#7  0xb43e0fc3 in g_thread_proxy (data=0xad79e8c0) at /build/buildd/glib2.0-2.36.0/./glib/gthread.c:798
#8  0xb46b5d78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#9  0xb56483de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xa7ae5b40 (LWP 6442)):
#0  0xb7798424 in __kernel_vsyscall ()
#1  0xb5638dcb in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb3ff8d16 in ?? () from /usr/lib/i386-linux-gnu/libpulse.so.0
#3  0xb3fe708a in pa_mainloop_poll () from /usr/lib/i386-linux-gnu/libpulse.so.0
#4  0xb3fe78c9 in pa_mainloop_iterate () from /usr/lib/i386-linux-gnu/libpulse.so.0
#5  0xb3fe79a4 in pa_mainloop_run () from /usr/lib/i386-linux-gnu/libpulse.so.0
#6  0xb3ff8c9e in ?? () from /usr/lib/i386-linux-gnu/libpulse.so.0
#7  0xb1472eaa in ?? () from /usr/lib/i386-linux-gnu/pulseaudio/libpulsecommon-3.0.so
#8  0xb46b5d78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#9  0xb56483de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb0870b00 (LWP 4378)):
[KCrash Handler]
#7  0xb599d652 in QObject::metaObject (this=0xabc6c81c <devnull>) at .moc/release-shared/moc_qobject.cpp:95
#8  0xb59a512a in QObject::connect (sender=0xabc6c81c <devnull>, signal=0xb5a6b346 "2aboutToClose()", receiver=0xa7c92e4, method=0xb5a6b337 "1flushStream()", type=Qt::AutoConnection, type@entry=Qt::AutoCompatConnection) at kernel/qobject.cpp:2550
#9  0xb592b497 in setupDevice (device=0xabc6c81c <devnull>, stream=0xa6b3688, this=0xa7c92e4) at io/qtextstream.cpp:329
#10 QTextStream::QTextStream (this=0xa6b3688, device=0xabc6c81c <devnull>) at io/qtextstream.cpp:1032
#11 0xabc3684e in Stream (device=0xabc6c81c <devnull>, this=0xa6b3688) at /usr/include/qt4/QtCore/qdebug.h:65
#12 QDebug (device=0xabc6c81c <devnull>, this=0xbfbcd07c) at /usr/include/qt4/QtCore/qdebug.h:76
#13 nullDebug () at ../../gstreamer/debug_p.h:54
#14 0xabc36f1f in Debug::dbgstream (level=Debug::DEBUG_INFO) at ../../gstreamer/debug.cpp:148
#15 0xabc50afc in dbgstreamwrapper (level=Debug::DEBUG_INFO) at ../../gstreamer/debug.h:94
#16 debug () at ../../gstreamer/debug.h:96
#17 Phonon::Gstreamer::Pipeline::cb_state (bus=bus@entry=0x9e7dcd0, gstMessage=0xb3d3e88, data=data@entry=0xa254a50) at ../../gstreamer/pipeline.cpp:356
#18 0xb1214de2 in marshal_VOID__MINIOBJECT (closure=closure@entry=0x9f7eb58, return_value=return_value@entry=0x0, n_param_values=n_param_values@entry=2, param_values=param_values@entry=0xbfbcd250, invocation_hint=invocation_hint@entry=0xbfbcd1fc, marshal_data=marshal_data@entry=0x0) at gstbus.c:134
#19 0xb4253c36 in g_closure_invoke (closure=0x9f7eb58, return_value=return_value@entry=0x0, n_param_values=2, param_values=param_values@entry=0xbfbcd250, invocation_hint=invocation_hint@entry=0xbfbcd1fc) at /build/buildd/glib2.0-2.36.0/./gobject/gclosure.c:777
#20 0xb4265f9e in signal_emit_unlocked_R (node=node@entry=0x9f76850, detail=detail@entry=305, instance=instance@entry=0x9e7dcd0, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0xbfbcd250) at /build/buildd/glib2.0-2.36.0/./gobject/gsignal.c:3584
#21 0xb426dfa7 in g_signal_emit_valist (instance=instance@entry=0x9e7dcd0, signal_id=signal_id@entry=300, detail=detail@entry=305, var_args=0xbfbcd450 "\364\377,\261\320\334\347\t\210>=\v\222T!\261\320\334\347\t\210>=\v", var_args@entry=0xbfbcd44c "\210>=\v\364\377,\261\320\334\347\t\210>=\v\222T!\261\320\334\347\t\210>=\v") at /build/buildd/glib2.0-2.36.0/./gobject/gsignal.c:3328
#22 0xb426e233 in g_signal_emit (instance=instance@entry=0x9e7dcd0, signal_id=300, detail=305) at /build/buildd/glib2.0-2.36.0/./gobject/gsignal.c:3384
#23 0xb1215069 in gst_bus_sync_signal_handler (bus=bus@entry=0x9e7dcd0, message=message@entry=0xb3d3e88, data=data@entry=0x0) at gstbus.c:1145
#24 0xb1215492 in gst_bus_post (bus=bus@entry=0x9e7dcd0, message=message@entry=0xb3d3e88) at gstbus.c:322
#25 0xb12254dd in gst_element_post_message (element=element@entry=0xa2a0160, message=0xb3d3e88) at gstelement.c:1853
#26 0xb1225ee0 in _priv_gst_element_state_changed (element=element@entry=0xa2a0160, oldstate=oldstate@entry=GST_STATE_PLAYING, newstate=GST_STATE_PAUSED, pending=pending@entry=GST_STATE_NULL) at gstelement.c:2372
#27 0xb12268a1 in gst_element_continue_state (element=element@entry=0xa2a0160, ret=ret@entry=GST_STATE_CHANGE_SUCCESS) at gstelement.c:2437
#28 0xb12264af in gst_element_change_state (element=element@entry=0xa2a0160, transition=GST_STATE_CHANGE_PLAYING_TO_PAUSED) at gstelement.c:2798
#29 0xb1226e57 in gst_element_set_state_func (element=0xa2a0160, state=GST_STATE_NULL) at gstelement.c:2717
#30 0xb122616f in gst_element_set_state (element=0xa2a0160, state=GST_STATE_NULL) at gstelement.c:2618
#31 0xabc4aff0 in Phonon::Gstreamer::Pipeline::~Pipeline (this=0xa254a50, __in_chrg=<optimized out>) at ../../gstreamer/pipeline.cpp:224
#32 0xabc4b072 in Phonon::Gstreamer::Pipeline::~Pipeline (this=0xa254a50, __in_chrg=<optimized out>) at ../../gstreamer/pipeline.cpp:226
#33 0xabc422ee in Phonon::Gstreamer::MediaObject::~MediaObject (this=0xa29dac8, __in_chrg=<optimized out>) at ../../gstreamer/mediaobject.cpp:135
#34 0xabc426d2 in Phonon::Gstreamer::MediaObject::~MediaObject (this=0xa29dac8, __in_chrg=<optimized out>) at ../../gstreamer/mediaobject.cpp:138
#35 0xb4cb9cba in Phonon::MediaNodePrivate::deleteBackendObject (this=0x9eb9050) at ../../phonon/medianode.cpp:81
#36 0xb4ca4c4b in Phonon::FactoryPrivate::~FactoryPrivate (this=0x9f08df0, __in_chrg=<optimized out>) at ../../phonon/factory.cpp:236
#37 0xb4ca4f72 in Phonon::FactoryPrivate::~FactoryPrivate (this=0x9f08df0, __in_chrg=<optimized out>) at ../../phonon/factory.cpp:246
#38 0xb4ca49a2 in destroy () at ../../phonon/factory.cpp:87
#39 0xb4ca0e09 in Phonon::CleanUpGlobalStatic::~CleanUpGlobalStatic (this=0xb4cf05d0 <Phonon::._299::operator->()::cleanUpObject>, __in_chrg=<optimized out>) at ../../phonon/globalstatic_p.h:55
#40 0xb558a7c1 in ?? () from /lib/i386-linux-gnu/libc.so.6
#41 0xb558a84d in exit () from /lib/i386-linux-gnu/libc.so.6
#42 0xae9eb75a in gdk_x_error (display=0x9d83e60, error=0xbfbcd9fc) at /build/buildd/gtk+2.0-2.24.17/gdk/x11/gdkmain-x11.c:490
#43 0xb751d4a1 in KApplication::xErrhandler (this=0xbfbcea8c, dpy=dpy@entry=0x9d83e60, err_=err_@entry=0xbfbcd9fc) at ../../kdeui/kernel/kapplication.cpp:435
#44 0xb751d51c in kde_x_errhandler (dpy=0x9d83e60, err=0xbfbcd9fc) at ../../kdeui/kernel/kapplication.cpp:131
#45 0xb68d2a96 in _XError (dpy=dpy@entry=0x9d83e60, rep=rep@entry=0xb2ca560) at ../../src/XlibInt.c:1581
#46 0xb68cfa0e in handle_error (dpy=dpy@entry=0x9d83e60, err=0xb2ca560, in_XReply=in_XReply@entry=1) at ../../src/xcb_io.c:213
#47 0xb68d0839 in _XReply (dpy=dpy@entry=0x9d83e60, rep=rep@entry=0xbfbcdb20, extra=extra@entry=0, discard=discard@entry=0) at ../../src/xcb_io.c:699
#48 0xb68b5c1e in XGetWindowProperty (dpy=0x9d83e60, w=94372302, property=398, offset=0, length=1, delete=0, req_type=398, actual_type=0xbfbcdbe0, actual_format=0xbfbcdbe4, nitems=0xbfbcdbe8, bytesafter=0xbfbcdbec, prop=0xbfbcdbf0) at ../../src/GetProp.c:69
#49 0xb768548a in NETWinInfo::update (this=this@entry=0xbfbcdd24, dirty_props=dirty_props@entry=0xbfbcdca8) at ../../kdeui/windowmanagement/netwm.cpp:3962
#50 0xb7686b98 in NETWinInfo::event (this=this@entry=0xbfbcdd24, event=event@entry=0xbfbcde1c, properties=properties@entry=0xbfbcdd2c, properties_size=properties_size@entry=2) at ../../kdeui/windowmanagement/netwm.cpp:3925
#51 0xb767a205 in KWindowSystemPrivate::x11Event (this=0xa62c7d8, ev=0xbfbcde1c) at ../../kdeui/windowmanagement/kwindowsystem_x11.cpp:216
#52 0xb754d970 in publicX11Event (e=0xbfbcde1c, this=<optimized out>) at ../../kdeui/kernel/ksystemeventfilter.cpp:43
#53 KSystemEventFilterPrivate::filterEvent (this=0x9d63738, message=message@entry=0xbfbcde1c) at ../../kdeui/kernel/ksystemeventfilter.cpp:102
#54 0xb754d9f0 in _k_eventFilter (message=0xbfbcde1c) at ../../kdeui/kernel/ksystemeventfilter.cpp:91
#55 0xb597d474 in QAbstractEventDispatcher::filterEvent (this=0x9c61ea0, message=message@entry=0xbfbcde1c) at kernel/qabstracteventdispatcher.cpp:539
#56 0xb5fb6831 in x11EventSourceDispatch (s=s@entry=0x9d61f48, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:143
#57 0xb43bb3b3 in g_main_dispatch (context=0x9d62950, context@entry=0x9e16db8) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3054
#58 g_main_context_dispatch (context=context@entry=0x9d62950) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3630
#59 0xb43bb750 in g_main_context_iterate (context=context@entry=0x9d62950, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3701
#60 0xb43bb831 in g_main_context_iteration (context=0x9d62950, may_block=1) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3762
#61 0xb59bdc21 in QEventDispatcherGlib::processEvents (this=this@entry=0x9c61ea0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#62 0xb5fb6a0a in QGuiEventDispatcherGlib::processEvents (this=0x9c61ea0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#63 0xb598a3ec in QEventLoop::processEvents (this=this@entry=0xbfbce118, flags=...) at kernel/qeventloop.cpp:149
#64 0xb598a6e1 in QEventLoop::exec (this=this@entry=0xbfbce118, flags=...) at kernel/qeventloop.cpp:204
#65 0xb59903fa in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#66 0xb5efdfc4 in QApplication::exec () at kernel/qapplication.cpp:3828
#67 0x080500df in main (argc=1, argv=0xbfbceb74) at ../../src/main.cpp:329

Possible duplicates by query: bug 321844, bug 321777, bug 321531, bug 321276, bug 314991.

Reported using DrKonqi
Comment 1 telemetron 2013-07-03 16:12:14 UTC
Quick google search suggests this may be related to KDE and recent update to Raring... I don't use many KDE applications on a regular basis and can't confirm this.
Comment 2 Myriam Schweingruber 2013-07-03 18:06:01 UTC
The problem is with the phonon-backend-gstreamer,  not with amarok

*** This bug has been marked as a duplicate of bug 293951 ***
Comment 3 telemetron 2013-07-03 20:59:28 UTC
Switching to the VLC backend does not resolve the issue.
Previously was told that the gstreamer backend was causing a different issue, switching to the VLC backend didn't resolve those either (disabling the Wikipedia plugin finally made it stop), but the VLC backend had issues too, and I was told that that set of issues was resolved in one of the latest updates.
Not clear why the phonon backend would cause Amarok to close unexpectedly on a dialog close and throw an X error, regardless of current audio state (the crash occurs whether audio is playing or not), and why backtrace and symptom description bear no resemblance between this and the 'duplicate' bug.
Hoping that this draws attention to what must be a serious bug if it has continued to be unresolved for more than a year and apparently keeps some people from even being able to start their media players, also hoping that whatever gets done to resolve that other guy's issue by some freak miracle also resolves mine.
Comment 4 Myriam Schweingruber 2013-07-03 23:09:14 UTC
(In reply to comment #3)
...
> Not clear why the phonon backend would cause Amarok to close unexpectedly on
> a dialog close and throw an X error, regardless of current audio state (the
> crash occurs whether audio is playing or not), and why backtrace and symptom
> description bear no resemblance between this and the 'duplicate' bug.

Please see this line in the crash report: 
#17 Phonon::Gstreamer::Pipeline::cb_state (bus=bus@entry=0x9e7dcd0, gstMessage=0xb3d3e88, data=data@entry=0xa254a50) at ../../gstreamer/pipeline.cpp:356

That's where the crash happens, and it is the same in the master bug. Your other comments are unrelated as you are clearly mixing different issues here.
Comment 5 Myriam Schweingruber 2013-07-10 07:34:30 UTC
This is a downstream bug in the Qt version Ubuntu ships

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