Bug 247474 - KNotify crashed after quitting System Settings
Summary: KNotify crashed after quitting System Settings
Status: RESOLVED DUPLICATE of bug 210427
Alias: None
Product: phonon-backend-gstreamer
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Colin Guthrie
URL:
Keywords:
: 252716 252984 254543 261892 269556 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-12 09:18 UTC by Tim McKenzie
Modified: 2011-04-27 21:17 UTC (History)
9 users (show)

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 Tim McKenzie 2010-08-12 09:18:13 UTC
Application: knotify4 (4.0)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.33.6-147.2.4.fc13.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
I was testing some sound settings, and had Multimedia open in System Settings, occasionally pressing its "Test" button.  I don't think I changed anything, but when I went to quit, it asked me if I wanted to apply or discard changes.  I think I chose to apply, and then this crash happened.

 -- Backtrace:
Application: KNotify (knotify4), signal: Aborted
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f2835c30820 (LWP 2144))]

Thread 6 (Thread 0x7f281af59710 (LWP 2375)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f282206b934 in gst_data_queue_pop (queue=0x7f281401ebb0 [GstDataQueue], item=0x7f281af58c38) at gstdataqueue.c:479
#2  0x00007f2819895da5 in gst_multi_queue_loop (pad=<value optimized out>) at gstmultiqueue.c:1030
#3  0x00007f282230019e in gst_task_func (task=0x7f280c02a3c0 [GstTask]) at gsttask.c:271
#4  0x00007f283113bd4b in g_thread_pool_thread_proxy (data=<value optimized out>) at gthreadpool.c:315
#5  0x00007f2831139e84 in g_thread_create_proxy (data=0x17074f0) at gthread.c:1893
#6  0x00007f2834486761 in start_thread (arg=0x7f281af59710) at pthread_create.c:301
#7  0x00007f2832bb94ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7f281b95a710 (LWP 2376)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f28223001d8 in gst_task_func (task=0x170a250 [GstTask]) at gsttask.c:259
#2  0x00007f283113bd4b in g_thread_pool_thread_proxy (data=<value optimized out>) at gthreadpool.c:315
#3  0x00007f2831139e84 in g_thread_create_proxy (data=0x7f2814014350) at gthread.c:1893
#4  0x00007f2834486761 in start_thread (arg=0x7f281b95a710) at pthread_create.c:301
#5  0x00007f2832bb94ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f28135fe710 (LWP 2378)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f28223001d8 in gst_task_func (task=0x170a150 [GstTask]) at gsttask.c:259
#2  0x00007f283113bd4b in g_thread_pool_thread_proxy (data=<value optimized out>) at gthreadpool.c:315
#3  0x00007f2831139e84 in g_thread_create_proxy (data=0x7f280c026a90) at gthread.c:1893
#4  0x00007f2834486761 in start_thread (arg=0x7f28135fe710) at pthread_create.c:301
#5  0x00007f2832bb94ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f2812bfd710 (LWP 2379)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f28223001d8 in gst_task_func (task=0x170a350 [GstTask]) at gsttask.c:259
#2  0x00007f283113bd4b in g_thread_pool_thread_proxy (data=<value optimized out>) at gthreadpool.c:315
#3  0x00007f2831139e84 in g_thread_create_proxy (data=0x7f280c023e80) at gthread.c:1893
#4  0x00007f2834486761 in start_thread (arg=0x7f2812bfd710) at pthread_create.c:301
#5  0x00007f2832bb94ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f2813fff710 (LWP 2380)):
#0  __pthread_mutex_lock_full (mutex=0x1706940) at pthread_mutex_lock.c:303
#1  0x00007f282e483cae in pa_mutex_lock (m=<value optimized out>) at pulsecore/mutex-posix.c:90
#2  0x00007f2830ebfc19 in poll_func (ufds=<value optimized out>, nfds=1, timeout=-1, userdata=0x1706940) at pulse/thread-mainloop.c:76
#3  0x00007f2830eafae6 in pa_mainloop_poll (m=0x16d8a40) at pulse/mainloop.c:879
#4  0x00007f2830eb0ec9 in pa_mainloop_iterate (m=0x16d8a40, block=<value optimized out>, retval=0x0) at pulse/mainloop.c:961
#5  0x00007f2830eb0f80 in pa_mainloop_run (m=0x16d8a40, retval=0x0) at pulse/mainloop.c:979
#6  0x00007f2830ebfa0b in thread (userdata=0x1706970) at pulse/thread-mainloop.c:94
#7  0x00007f282e484878 in internal_thread_func (userdata=0x1707350) at pulsecore/thread-posix.c:72
#8  0x00007f2834486761 in start_thread (arg=0x7f2813fff710) at pthread_create.c:301
#9  0x00007f2832bb94ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f2835c30820 (LWP 2144)):
[KCrash Handler]
#5  0x00007f2832b0a9a5 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f2832b0c185 in abort () at abort.c:92
#7  0x00007f282e46c80f in memblock_free (b=0x7f28085ff040) at pulsecore/memblock.c:557
#8  pa_memblock_unref (b=0x7f28085ff040) at pulsecore/memblock.c:594
#9  0x00007f2830ebccfa in stream_free (s=0x7f27f8003a50) at pulse/stream.c:229
#10 pa_stream_unref (s=0x7f27f8003a50) at pulse/stream.c:256
#11 0x00007f281a34c392 in gst_pulsering_destroy_stream (pbuf=0x1686340 [GstPulseSinkRingBuffer]) at pulsesink.c:270
#12 0x00007f281a34c3e9 in gst_pulseringbuffer_release (buf=<value optimized out>) at pulsesink.c:879
#13 0x00007f2821a0ee26 in gst_ring_buffer_release (buf=0x1686340 [GstPulseSinkRingBuffer]) at gstringbuffer.c:907
#14 0x00007f2821a1691b in gst_base_audio_sink_change_state (element=0x140d800 [GstPulseSink], transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstbaseaudiosink.c:1879
#15 0x00007f281a34cd0c in gst_pulsesink_change_state (element=0x140d800 [GstPulseSink], transition=GST_STATE_CHANGE_PAUSED_TO_READY) at pulsesink.c:2517
#16 0x00007f28222bd4ac in gst_element_change_state (element=0x140d800 [GstPulseSink], transition=<value optimized out>) at gstelement.c:2546
#17 0x00007f28222c0623 in gst_element_set_state_func (element=0x140d800 [GstPulseSink], state=GST_STATE_READY) at gstelement.c:2502
#18 0x00007f28222ae249 in gst_bin_element_set_state (element=0x168e000 [GstBin], transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstbin.c:2136
#19 gst_bin_change_state_func (element=0x168e000 [GstBin], transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstbin.c:2435
#20 0x00007f28222bd4ac in gst_element_change_state (element=0x168e000 [GstBin], transition=<value optimized out>) at gstelement.c:2546
#21 0x00007f28222c0623 in gst_element_set_state_func (element=0x168e000 [GstBin], state=GST_STATE_NULL) at gstelement.c:2502
#22 0x00007f2822a31cfa in Phonon::Gstreamer::AudioOutput::~AudioOutput (this=0x1412420, __in_chrg=<value optimized out>) at /usr/src/debug/phonon-4.4.2/gstreamer/audiooutput.cpp:91
#23 0x00007f2822a31d79 in Phonon::Gstreamer::AudioOutput::~AudioOutput (this=0x1412420, __in_chrg=<value optimized out>) at /usr/src/debug/phonon-4.4.2/gstreamer/audiooutput.cpp:94
#24 0x00007f2835207524 in Phonon::MediaNodePrivate::deleteBackendObject (this=0x1401570) at /usr/src/debug/phonon-4.4.2/phonon/medianode.cpp:81
#25 0x00007f2835219122 in Phonon::FactoryPrivate::phononBackendChanged (this=0x14014a0) at /usr/src/debug/phonon-4.4.2/phonon/factory.cpp:281
#26 0x00007f28352193f2 in Phonon::FactoryPrivate::qt_metacall (this=0x14014a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1fb86130)
    at /usr/src/debug/phonon-4.4.2/x86_64-redhat-linux-gnu/phonon/factory.moc:77
#27 0x00007f2834b1feb6 in QDBusConnectionPrivate::deliverCall (this=0x12ca930, object=0x14014a0, msg=..., metaTypes=..., slotIdx=7) at qdbusintegrator.cpp:904
#28 0x00007f2834b2a18f in QDBusCallDeliveryEvent::placeMetaCall (this=<value optimized out>, object=<value optimized out>) at qdbusintegrator_p.h:101
#29 0x00007f28347fdf31 in QObject::event (this=0x14014a0, e=0x13844d0) at kernel/qobject.cpp:1248
#30 0x00007f28337a339c in QApplicationPrivate::notify_helper (this=0x12dbe20, receiver=0x14014a0, e=0x13844d0) at kernel/qapplication.cpp:4306
#31 0x00007f28337a965b in QApplication::notify (this=<value optimized out>, receiver=0x14014a0, e=0x13844d0) at kernel/qapplication.cpp:4189
#32 0x00007f283564e016 in KApplication::notify (this=0x7fff1fb86c50, receiver=0x14014a0, event=0x13844d0) at /usr/src/debug/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#33 0x00007f28347eeddc in QCoreApplication::notifyInternal (this=0x7fff1fb86c50, receiver=0x14014a0, event=0x13844d0) at kernel/qcoreapplication.cpp:726
#34 0x00007f28347f0ed4 in sendEvent (receiver=0x0, event_type=0, data=0x12b3830) at kernel/qcoreapplication.h:215
#35 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x12b3830) at kernel/qcoreapplication.cpp:1367
#36 0x00007f2834814d23 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#37 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#38 0x00007f2831110d02 in g_main_dispatch (context=0x12e0d20) at gmain.c:1960
#39 IA__g_main_context_dispatch (context=0x12e0d20) at gmain.c:2513
#40 0x00007f2831114ae8 in g_main_context_iterate (context=0x12e0d20, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#41 0x00007f2831114c9c in IA__g_main_context_iteration (context=0x12e0d20, may_block=1) at gmain.c:2654
#42 0x00007f2834814863 in QEventDispatcherGlib::processEvents (this=0x12b2f20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#43 0x00007f283384284e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007f28347ed822 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#45 0x00007f28347edaec in QEventLoop::exec (this=0x7fff1fb86b70, flags=...) at kernel/qeventloop.cpp:201
#46 0x00007f28347f11bb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#47 0x00000000004076cf in main (argc=1, argv=0x7fff1fb86fe8) at /usr/src/debug/kdebase-runtime-4.4.5/knotify/main.cpp:73

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2010-08-14 16:29:16 UTC
The problem is in Pulse, not in Phonon. Colin?
Comment 2 Colin Guthrie 2010-08-14 18:19:18 UTC
I've a funny feeling this is a GStreamer bug... can't recall off hand, but I'd recommend testing with git version of gst-plugins-good and seeing if you can still replicate this.
Comment 3 Myriam Schweingruber 2010-10-18 23:56:08 UTC
*** Bug 254543 has been marked as a duplicate of this bug. ***
Comment 4 Myriam Schweingruber 2010-10-18 23:56:50 UTC
*** Bug 252984 has been marked as a duplicate of this bug. ***
Comment 5 Myriam Schweingruber 2010-10-18 23:57:36 UTC
*** Bug 252716 has been marked as a duplicate of this bug. ***
Comment 6 Myriam Schweingruber 2011-01-04 15:22:17 UTC
*** Bug 261892 has been marked as a duplicate of this bug. ***
Comment 7 Harald Sitter 2011-01-05 19:00:59 UTC
Are you sure you did not change anything? That sort of crash happens when one switches the Phonon backend around. Also see bug 210427
Comment 8 willicat 2011-01-05 21:13:22 UTC
No, this is one of serveral numbers of this kind of crash. I made no changes in the soundserver-settings. But I will check your idea. Thanks.
Comment 9 Myriam Schweingruber 2011-03-31 11:30:29 UTC
*** Bug 269556 has been marked as a duplicate of this bug. ***
Comment 10 Harald Sitter 2011-03-31 13:34:35 UTC
        /**
         * This is called via DBUS when the user changes the Phonon Backend.
         */
#ifndef QT_NO_DBUS
        void phononBackendChanged();
#endif //QT_NO_DBUS


Note that this particular function shows up in the backtrace so I *really* think this is a duplicate.

*** This bug has been marked as a duplicate of bug 210427 ***
Comment 11 Myriam Schweingruber 2011-04-27 21:17:44 UTC
reassigning to the new bugzilla product for better bug tracing of the various backends. Sorry for the noise.