Bug 294006 - Knotify always crashes when showing notifications [@ Phonon::Gstreamer::MediaNode::linkMediaNodeList]
Summary: Knotify always crashes when showing notifications [@ Phonon::Gstreamer::Media...
Status: RESOLVED WORKSFORME
Alias: None
Product: phonon-backend-gstreamer
Classification: Unmaintained
Component: general (show other bugs)
Version: 4.7.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Harald Sitter
URL:
Keywords: regression
: 299697 299834 299874 300223 300630 303324 305193 306093 307362 307816 317026 325143 325436 332687 332845 383328 392517 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-02-13 17:06 UTC by Claes
Modified: 2021-01-03 04:34 UTC (History)
19 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (11.86 KB, text/plain)
2012-10-25 08:29 UTC, andreas.davour
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Claes 2012-02-13 17:06:02 UTC
Application: knotify4 (4.0)
KDE Platform Version: 4.8.00 (4.8.0
Qt Version: 4.8.0
Operating System: Linux 3.2.5-3.fc16.x86_64 x86_64
Distribution: "Fedora release 16 (Verne)"

-- Information about the crash:
- What I was doing when the application crashed:
E g searching in Okular and reaches end of document
      KDiskFree notifies about critical free space

The crash can be reproduced every time.

-- Backtrace:
Application: KNotify (knotify4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f060f7da840 (LWP 14040))]

Thread 3 (Thread 0x7f060581f700 (LWP 14041)):
#0  0x00007fffb6dff70c in ?? ()
#1  0x00007fffb6dff959 in ?? ()
#2  0x0000003de00041f1 in __GI_clock_gettime (clock_id=1, tp=0x7f060581ea80) at ../sysdeps/unix/clock_gettime.c:100
#3  0x0000003de90d22e4 in do_gettime (frac=0x7f060581ea98, sec=0x7f060581ea90) at tools/qelapsedtimer_unix.cpp:123
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#5  0x0000003de91a84cd in QTimerInfoList::updateCurrentTime (this=0x7f06000020d0) at kernel/qeventdispatcher_unix.cpp:343
#6  0x0000003de91a8803 in QTimerInfoList::timerWait (this=0x7f06000020d0, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#7  0x0000003de91a729c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f060581eb7c) at kernel/qeventdispatcher_glib.cpp:136
#8  0x0000003de91a7345 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#9  0x0000003ddf044062 in g_main_context_prepare (context=0x7f06000009a0, priority=0x7f060581ebe8) at gmain.c:2762
#10 0x0000003ddf044e6d in g_main_context_iterate (context=0x7f06000009a0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3069
#11 0x0000003ddf04549c in g_main_context_iteration (context=0x7f06000009a0, may_block=1) at gmain.c:3152
#12 0x0000003de91a7dc6 in QEventDispatcherGlib::processEvents (this=0x7f06000008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#13 0x0000003de9178182 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#14 0x0000003de91783d7 in QEventLoop::exec (this=0x7f060581ed10, flags=...) at kernel/qeventloop.cpp:204
#15 0x0000003de9078b27 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#16 0x0000003de9157e7f in QInotifyFileSystemWatcherEngine::run (this=0x17e6780) at io/qfilesystemwatcher_inotify.cpp:248
#17 0x0000003de907bb6b in QThreadPrivate::start (arg=0x17e6780) at thread/qthread_unix.cpp:298
#18 0x0000003ddf807d90 in start_thread (arg=0x7f060581f700) at pthread_create.c:309
#19 0x0000003ddf4ef48d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f05fbffe700 (LWP 14124)):
#0  0x0000003ddf4e6af3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003df7e2c08f in poll_func (ufds=0x7f05f00013c0, nfds=2, timeout=-1, userdata=0x1cbe280) at pulse/thread-mainloop.c:75
#2  0x0000003df7e1df06 in pa_mainloop_poll (m=0x1b320c0) at pulse/mainloop.c:879
#3  0x0000003df7e1e539 in pa_mainloop_iterate (m=0x1b320c0, block=<optimized out>, retval=0x0) at pulse/mainloop.c:961
#4  0x0000003df7e1e5f0 in pa_mainloop_run (m=0x1b320c0, retval=0x0) at pulse/mainloop.c:979
#5  0x0000003df7e2c03f in thread (userdata=0x1916d10) at pulse/thread-mainloop.c:94
#6  0x0000003df8638be8 in internal_thread_func (userdata=0x1b32340) at pulsecore/thread-posix.c:83
#7  0x0000003ddf807d90 in start_thread (arg=0x7f05fbffe700) at pthread_create.c:309
#8  0x0000003ddf4ef48d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f060f7da840 (LWP 14040)):
[KCrash Handler]
#6  Phonon::Gstreamer::MediaNode::linkMediaNodeList (this=0x1d3cdc0, list=..., bin=0x1b4c170, tee=0x0, fakesink=0x0, src=0x0) at /usr/src/debug/phonon-backend-gstreamer-4.5.90/gstreamer/medianode.cpp:352
#7  0x00007f0604be4539 in Phonon::Gstreamer::MediaNode::link (this=0x1d3cdc0) at /usr/src/debug/phonon-backend-gstreamer-4.5.90/gstreamer/medianode.cpp:382
#8  0x00007f0604be72db in loadingComplete (this=0x1d3cda0) at /usr/src/debug/phonon-backend-gstreamer-4.5.90/gstreamer/mediaobject.cpp:371
#9  Phonon::Gstreamer::MediaObject::handleStateChange (this=0x1d3cda0, oldState=<optimized out>, newState=GST_STATE_READY) at /usr/src/debug/phonon-backend-gstreamer-4.5.90/gstreamer/mediaobject.cpp:504
#10 0x00007f0604be9294 in qt_static_metacall (_a=0x7fffb6d55a80, _id=29, _o=0x1d3cda0, _c=<optimized out>) at /usr/src/debug/phonon-backend-gstreamer-4.5.90/x86_64-redhat-linux-gnu/gstreamer/moc_mediaobject.cpp:142
#11 Phonon::Gstreamer::MediaObject::qt_static_metacall (_o=0x1d3cda0, _c=<optimized out>, _id=29, _a=0x7fffb6d55a80) at /usr/src/debug/phonon-backend-gstreamer-4.5.90/x86_64-redhat-linux-gnu/gstreamer/moc_mediaobject.cpp:107
#12 0x0000003de918cce1 in QMetaObject::activate (sender=0x1d005a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffb6d55a80) at kernel/qobject.cpp:3547
#13 0x00007f0604bee78f in Phonon::Gstreamer::Pipeline::stateChanged (this=<optimized out>, _t1=GST_STATE_NULL, _t2=GST_STATE_READY) at /usr/src/debug/phonon-backend-gstreamer-4.5.90/x86_64-redhat-linux-gnu/gstreamer/moc_pipeline.cpp:182
#14 0x00007f0604beee33 in Phonon::Gstreamer::Pipeline::cb_state (bus=<optimized out>, gstMessage=<optimized out>, data=0x1d005a0) at /usr/src/debug/phonon-backend-gstreamer-4.5.90/gstreamer/pipeline.cpp:355
#15 0x0000003de1c0ea24 in g_closure_invoke (closure=0x1d4e1b0, return_value=0x0, n_param_values=2, param_values=0x1d46b20, invocation_hint=<optimized out>) at gclosure.c:774
#16 0x0000003de1c20d17 in signal_emit_unlocked_R (node=<optimized out>, detail=244, instance=0x191ea70, emission_return=0x0, instance_and_params=0x1d46b20) at gsignal.c:3272
#17 0x0000003de1c2a141 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=<optimized out>) at gsignal.c:3003
#18 0x0000003de1c2a2e2 in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>) at gsignal.c:3060
#19 0x0000003df723227a in gst_bus_sync_signal_handler (bus=0x191ea70, message=0x1d47a70, data=<optimized out>) at gstbus.c:1137
#20 0x0000003df7232698 in gst_bus_post (bus=0x191ea70, message=0x1d47a70) at gstbus.c:321
#21 0x0000003df7240f7a in gst_element_post_message (element=0x1d49730, message=0x1d47a70) at gstelement.c:1820
#22 0x0000003df7242173 in gst_element_continue_state (element=0x1d49730, ret=<optimized out>) at gstelement.c:2385
#23 0x0000003df7241dcf in gst_element_change_state (element=0x1d49730, transition=<optimized out>) at gstelement.c:2755
#24 0x0000003df7242732 in gst_element_set_state_func (element=0x1d49730, state=GST_STATE_PLAYING) at gstelement.c:2674
#25 0x00007f0604bedcaa in Phonon::Gstreamer::Pipeline::setState (this=0x1d005a0, state=GST_STATE_PLAYING) at /usr/src/debug/phonon-backend-gstreamer-4.5.90/gstreamer/pipeline.cpp:223
#26 0x000000000040e80b in play (file=..., this=0x1831010) at /usr/src/debug/kde-runtime-4.8.0/knotify/notifybysound.cpp:63
#27 NotifyBySound::notify (this=0x18364d0, eventId=8, config=<optimized out>) at /usr/src/debug/kde-runtime-4.8.0/knotify/notifybysound.cpp:245
#28 0x000000000040b3ad in KNotify::emitEvent (this=0x7fffb6d57680, e=0x18603c0) at /usr/src/debug/kde-runtime-4.8.0/knotify/knotify.cpp:230
#29 0x000000000040c1a4 in KNotify::event (this=0x7fffb6d57680, event=<optimized out>, appname=..., contexts=<optimized out>, title=<optimized out>, text=<optimized out>, image=..., actions=..., timeout=-1, winId=123732213) at /usr/src/debug/kde-runtime-4.8.0/knotify/knotify.cpp:149
#30 0x000000000040c8fe in KNotifyAdaptor::event (this=0x184f6e0, event=..., fromApp=..., contexts=<optimized out>, title=..., text=..., image=..., actions=..., timeout=-1, winId=123732213) at /usr/src/debug/kde-runtime-4.8.0/knotify/knotify.cpp:289
#31 0x000000000040cae8 in qt_static_metacall (_a=0x7fffb6d569e0, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kde-runtime-4.8.0/x86_64-redhat-linux-gnu/knotify/knotify.moc:218
#32 KNotifyAdaptor::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fffb6d569e0) at /usr/src/debug/kde-runtime-4.8.0/x86_64-redhat-linux-gnu/knotify/knotify.moc:208
#33 0x000000000040cbcb in KNotifyAdaptor::qt_metacall (this=0x184f6e0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffb6d569e0) at /usr/src/debug/kde-runtime-4.8.0/x86_64-redhat-linux-gnu/knotify/knotify.moc:260
#34 0x0000003de9622d8b in QDBusConnectionPrivate::deliverCall (this=0x16b2ec0, object=0x184f6e0, msg=..., metaTypes=..., slotIdx=8) at qdbusintegrator.cpp:947
#35 0x0000003de9623ecd in QDBusConnectionPrivate::activateCall (this=0x16b2ec0, object=0x184f6e0, flags=273, msg=...) at qdbusintegrator.cpp:857
#36 0x0000003de962482b in QDBusConnectionPrivate::activateObject (this=0x16b2ec0, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1423
#37 0x0000003de962491b in QDBusActivateObjectEvent::placeMetaCall (this=0x17ffb30) at qdbusintegrator.cpp:1537
#38 0x0000003de9191f16 in QObject::event (this=0x7fffb6d57680, e=<optimized out>) at kernel/qobject.cpp:1195
#39 0x0000003ded5c9994 in notify_helper (e=0x17ffb30, receiver=0x7fffb6d57680, this=0x16c7c00) at kernel/qapplication.cpp:4550
#40 QApplicationPrivate::notify_helper (this=0x16c7c00, receiver=0x7fffb6d57680, e=0x17ffb30) at kernel/qapplication.cpp:4522
#41 0x0000003ded5ce813 in QApplication::notify (this=0x7fffb6d576b0, receiver=0x7fffb6d57680, e=0x17ffb30) at kernel/qapplication.cpp:4411
#42 0x0000003883050eb6 in KApplication::notify (this=0x7fffb6d576b0, receiver=0x7fffb6d57680, event=0x17ffb30) at /usr/src/debug/kdelibs-4.8.0/kdeui/kernel/kapplication.cpp:311
#43 0x0000003de917904c in QCoreApplication::notifyInternal (this=0x7fffb6d576b0, receiver=0x7fffb6d57680, event=0x17ffb30) at kernel/qcoreapplication.cpp:876
#44 0x0000003de917cada in sendEvent (event=0x17ffb30, receiver=0x7fffb6d57680) at kernel/qcoreapplication.h:231
#45 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1699600) at kernel/qcoreapplication.cpp:1500
#46 0x0000003de91a7933 in sendPostedEvents () at kernel/qcoreapplication.h:236
#47 postEventSourceDispatch (s=0x16ccd90) at kernel/qeventdispatcher_glib.cpp:279
#48 0x0000003ddf044acd in g_main_dispatch (context=0x16ccca0) at gmain.c:2441
#49 g_main_context_dispatch (context=0x16ccca0) at gmain.c:3011
#50 0x0000003ddf0452c8 in g_main_context_iterate (context=0x16ccca0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#51 0x0000003ddf04549c in g_main_context_iteration (context=0x16ccca0, may_block=1) at gmain.c:3152
#52 0x0000003de91a7d5f in QEventDispatcherGlib::processEvents (this=0x169aee0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#53 0x0000003ded66c66e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#54 0x0000003de9178182 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#55 0x0000003de91783d7 in QEventLoop::exec (this=0x7fffb6d57610, flags=...) at kernel/qeventloop.cpp:204
#56 0x0000003de917cdd5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#57 0x00000000004097c7 in main (argc=1, argv=0x7fffb6d57a38) at /usr/src/debug/kde-runtime-4.8.0/knotify/main.cpp:73

Reported using DrKonqi
Comment 1 Torrie Fischer 2012-02-13 21:53:20 UTC
This is a rather curious crash, due to this bit:

#25 0x00007f0604bedcaa in Phonon::Gstreamer::Pipeline::setState(this=0x1d005a0, state=GST_STATE_PLAYING) at /usr/src/debug/phonon-backend-gstreamer-4.5.90/gstreamer/pipeline.cpp:223
#26 0x000000000040e80b in play (file=..., this=0x1831010) at /usr/src/debug/kde-runtime-4.8.0/knotify/notifybysound.cpp:63

Somehow, KNotify is jumping directly into pgst itself.

Have you updated packages immediately prior to this crash? If so, please try logging in/out and see if the problem persists.

Otherwise, please generate a debug log for us:

http://techbase.kde.org/Development/Tutorials/Debugging/Phonon

Thanks!
Comment 2 Claes 2012-02-14 18:23:23 UTC
No, I have had the same behavior for a month or more.

Is this the debug log you want?:


[claes@Claes-laptop-Samsung ~]$ export PHONON_DEBUG=5
[claes@Claes-laptop-Samsung ~]$ export PHONON_PULSEAUDIO_DEBUG=5
[claes@Claes-laptop-Samsung ~]$ export PHONON_VLC_DEBUG=5
[claes@Claes-laptop-Samsung ~]$  export PHONON_GST_DEBUG=5
[claes@Claes-laptop-Samsung ~]$ export PHONON_XINE_DEBUG=5
[claes@Claes-laptop-Samsung ~]$ okular
okular(12879)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "Message did not receive a reply (timeout by message bus)" 
okular(12879)/kdeui (kdelibs) KXMLGUIClient::~KXMLGUIClient: 0x1d436f0 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes. 
[claes@Claes-laptop-Samsung ~]$
Comment 3 Myriam Schweingruber 2012-02-14 19:32:18 UTC
Thank you for the fast feedback.
Comment 4 Christoph Feck 2012-02-14 19:32:32 UTC
notifybysound.cpp:63

inline void play(const QString &file) { media->setCurrentSource(file); media->enqueue(Phonon::MediaSource()); media->play(); }

KNotify doesn't directly "jump" into pgst, it simply calls Phonon. It is possible the backtrace looks different, because stack got corrupted prior to the crash.
Comment 5 Christoph Feck 2012-02-15 06:48:23 UTC
Setting status correctly (confusion happened due to comment collision :)
Comment 6 Rex Dieter 2012-02-18 16:12:55 UTC
Might be worth testing this update,
https://admin.fedoraproject.org/updates/FEDORA-2012-1931/phonon-backend-gstreamer-4.6.0-1.fc16

wait a day or 2 (not pushed yet), then try (as root):
yum --enablerepo=updates-testing update phonon-backend-gstreamer
Comment 7 Rex Dieter 2012-02-18 16:13:53 UTC
oh, ignore my comment about waiting, the infrastructure hero's pushed it yesterday without me even noticing yet.
Comment 8 Myriam Schweingruber 2012-02-18 22:09:39 UTC
Setting status correctly.
Comment 9 Claes 2012-02-19 19:01:12 UTC
Still the same behaviour (Knotify always crashes)


Installed Packages
phonon-backend-gstreamer.x86_64                        2:4.6.0-1.fc16                         @updates-testing
Available Packages
phonon-backend-gstreamer.i686                          2:4.5.90-3.fc16                        updates         
[claes@Claes-laptop-Samsung ~]$ export PHONON_DEBUG=5
[claes@Claes-laptop-Samsung ~]$ export PHONON_PULSEAUDIO_DEBUG=5
[claes@Claes-laptop-Samsung ~]$ export PHONON_VLC_DEBUG=5
[claes@Claes-laptop-Samsung ~]$ export PHONON_GST_DEBUG=5
[claes@Claes-laptop-Samsung ~]$ export PHONON_XINE_DEBUG=5
[claes@Claes-laptop-Samsung ~]$ okular
okular(10723)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "Message did not receive a reply (timeout by message bus)" 
okular(10723)/kdeui (kdelibs) KXMLGUIClient::~KXMLGUIClient: 0x2241710 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes. 
[claes@Claes-laptop-Samsung ~]$
Comment 10 Myriam Schweingruber 2012-02-20 13:17:48 UTC
Thank you for the feedback.
Comment 11 Olumuyiwa Taiwo 2012-03-06 09:06:36 UTC
I have the same behaviour - KNotify crashes every time when showing notifications.  This started happening after I updated from Fedora 15 to 16 using yum.  Below is the crash output:

Application: KNotify (knotify4), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb76f4780 (LWP 2310))]

Thread 2 (Thread 0xb607ab40 (LWP 2311)):
#0  g_main_context_prepare (context=0xb57004e0, priority=0xb607a0c8) at gmain.c:2711
#1  0x41d93a08 in g_main_context_iterate (context=0xb57004e0, block=1, dispatch=1, self=0xb5700d70) at gmain.c:3069
#2  0x41d9401f in g_main_context_iteration (context=0xb57004e0, may_block=1) at gmain.c:3152
#3  0x447b0317 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x4477c4ee in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x4477c799 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x44664b2c in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x4475935e in ?? () from /usr/lib/libQtCore.so.4
#8  0x446680b1 in ?? () from /usr/lib/libQtCore.so.4
#9  0x41a52cd3 in start_thread (arg=0xb607ab40) at pthread_create.c:309
#10 0x4195ba2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb76f4780 (LWP 2310)):
[KCrash Handler]
#7  elf_machine_rela_relative (reloc_addr_arg=0x7287f315, l_addr=1897177088, reloc=<optimized out>) at ../sysdeps/i386/dl-machine.h:644
#8  elf_dynamic_do_Rela (skip_ifunc=0, nrelative=558093, relsize=6782952, reladdr=<optimized out>, map=0x9ce3fd0, lazy=<optimized out>) at do-rel.h:121
#9  _dl_relocate_object (scope=0x9ce4188, reloc_mode=1, consider_profiling=0) at dl-reloc.c:265
#10 0x418533ab in dl_open_worker (a=0xbf9000a0) at dl-open.c:338
#11 0x4184ed0f in _dl_catch_error (objname=0xbf9000c4, errstring=0xbf9000c8, mallocedp=0xbf9000cf, operate=0x41853100 <dl_open_worker>, args=0xbf9000a0) at dl-error.c:178
#12 0x41852d06 in _dl_open (file=0x9cda780 "/usr/lib/kde4/plugins/phonon_backend/phonon_gstreamer.so", mode=-2147483647, caller_dlopen=0x4476e913, nsid=-2, argc=1, argv=0xbf901834, env=0x9c9b0d8) at dl-open.c:575
#13 0x41a45c09 in dlopen_doit (a=0xbf900270) at dlopen.c:67
#14 0x4184ed0f in _dl_catch_error (objname=0x9b40ed4, errstring=0x9b40ed8, mallocedp=0x9b40ed0, operate=0x41a45b70 <dlopen_doit>, args=0xbf900270) at dl-error.c:178
#15 0x41a463ba in _dlerror_run (operate=0x41a45b70 <dlopen_doit>, args=0xbf900270) at dlerror.c:164
#16 0x41a45cb7 in __dlopen (file=0x9cda780 "/usr/lib/kde4/plugins/phonon_backend/phonon_gstreamer.so", mode=1) at dlopen.c:88
#17 0x4476e913 in ?? () from /usr/lib/libQtCore.so.4
#18 0x4476ad84 in ?? () from /usr/lib/libQtCore.so.4
#19 0x4476b14e in ?? () from /usr/lib/libQtCore.so.4
#20 0x4475f8e3 in QPluginLoader::load() () from /usr/lib/libQtCore.so.4
#21 0x4475f91b in QPluginLoader::instance() () from /usr/lib/libQtCore.so.4
#22 0xb640cf8c in ?? () from /usr/lib/kde4/plugins/phonon_platform/kde.so
#23 0xb640db18 in ?? () from /usr/lib/kde4/plugins/phonon_platform/kde.so
#24 0xb7752358 in ?? () from /usr/lib/libphonon.so.4
#25 0xb7753e2b in Phonon::Factory::backend(bool) () from /usr/lib/libphonon.so.4
#26 0xb7754687 in ?? () from /usr/lib/libphonon.so.4
#27 0xb7748339 in ?? () from /usr/lib/libphonon.so.4
#28 0xb77440c4 in ?? () from /usr/lib/libphonon.so.4
#29 0x08054694 in _start ()
Comment 12 Rex Dieter 2012-03-07 15:16:30 UTC
This last backtrace in comment #11 is our favorite "glibc dlopen'ing nvidia libGL" crash, unrelated to this report.
Comment 13 Olumuyiwa Taiwo 2012-03-07 21:39:05 UTC
(In reply to comment #12)
> This last backtrace in comment #11 is our favorite "glibc dlopen'ing nvidia
> libGL" crash, unrelated to this report.

Sorry but your comment is not very helpful. Is this a libGL issue or a a nvidia issue? I've used the nouveau driver and the behaviour is the same.
Comment 14 Rex Dieter 2012-03-07 22:43:18 UTC
you *sure* you don't have nvidia's libGL.so on your system at all?

Anyway, here's at least the downstream report,
https://bugzilla.redhat.com/show_bug.cgi?id=737223

there's one in bugs.kde.org too, but I can't find it atm.

(Regardless, your crash is not related to this one, really)
Comment 15 Christoph Feck 2012-03-07 23:32:07 UTC
See bug 286388.
Comment 16 Olumuyiwa Taiwo 2012-03-08 09:50:51 UTC
(In reply to comment #14)
> you *sure* you don't have nvidia's libGL.so on your system at all?
> 
> Anyway, here's at least the downstream report,
> https://bugzilla.redhat.com/show_bug.cgi?id=737223
> 
> there's one in bugs.kde.org too, but I can't find it atm.
> 
> (Regardless, your crash is not related to this one, really)

Thanks for the pointers.
Comment 17 Myriam Schweingruber 2012-05-10 10:28:03 UTC
*** Bug 299697 has been marked as a duplicate of this bug. ***
Comment 18 Jekyll Wu 2012-05-12 12:06:25 UTC
*** Bug 299834 has been marked as a duplicate of this bug. ***
Comment 19 Jekyll Wu 2012-05-12 12:06:39 UTC
*** Bug 299874 has been marked as a duplicate of this bug. ***
Comment 20 Jekyll Wu 2012-05-18 08:36:29 UTC
*** Bug 300223 has been marked as a duplicate of this bug. ***
Comment 21 Jekyll Wu 2012-05-25 21:03:50 UTC
*** Bug 300630 has been marked as a duplicate of this bug. ***
Comment 22 Jekyll Wu 2012-07-10 19:33:50 UTC
*** Bug 303324 has been marked as a duplicate of this bug. ***
Comment 23 Myriam Schweingruber 2012-07-30 20:42:53 UTC
Is this still valid with version 4.6.1 of the phonon-backend-gstreamer?
Comment 24 lplotkin 2012-08-02 02:36:58 UTC
I don't have 4.6.1 installed anywhere, but it's still a 100% reproduce problem with any notification with ubuntu-proposed phonon-backend-gstreamer 4.7.0 and kde 4.8.4
Comment 25 Harald Sitter 2012-08-03 11:55:45 UTC
Good grief that is spooky code.

Trever, MediaNode needs to be redone and/or documented, it makes me go :O

Incidentally enough the crash is straight forward:

#6  Phonon::Gstreamer::MediaNode::linkMediaNodeList (this=0x1d3cdc0, list=..., bin=0x1b4c170, tee=0x0, fakesink=0x0, src=0x0) at /usr/src/debug/phonon-backend-gstreamer-4.5.90/gstreamer/medianode.cpp:352

tee=0x0

line 352:
if (!GST_ELEMENT_PARENT(tee)) {

fix:
must check for tee == NULL.

additional considerations:
- what to do when it is null
- why is it null to begin with? earlier assert needed perhaps?
Comment 26 Jekyll Wu 2012-08-15 12:05:01 UTC
*** Bug 305193 has been marked as a duplicate of this bug. ***
Comment 27 Christoph Feck 2012-08-31 17:20:02 UTC
*** Bug 306093 has been marked as a duplicate of this bug. ***
Comment 28 Torrie Fischer 2012-09-22 10:12:54 UTC
While the crash is straightforward, the reasons for it are a bit mysterious.

m_audioTee is set to non-null in the constructor when the MediaNode is an AudioSource. linkMediaNodeList() is also only called with m_audioTee when the MediaNode is an AudioSource, where it is safe to assume that m_audioTee was previously setup in the constructor.

Somewhere, the stack is getting corrupted and things are jumping around.
Comment 29 Jekyll Wu 2012-10-04 08:50:56 UTC
*** Bug 307816 has been marked as a duplicate of this bug. ***
Comment 30 Myriam Schweingruber 2012-10-19 13:30:41 UTC
*** Bug 307362 has been marked as a duplicate of this bug. ***
Comment 31 andreas.davour 2012-10-25 08:29:54 UTC
Created attachment 74785 [details]
New crash information added by DrKonqi

knotify4 (4.0) on KDE Platform 4.9.2 using Qt 4.8.2

- What I was doing when the application crashed:

Whatever. As soon as knotify pops up, it crashes. It's totally hosed.

-- Backtrace (Reduced):
#6  Phonon::Gstreamer::MediaNode::linkMediaNodeList (this=this@entry=0x1c96080, list=..., bin=0x1aa8170 [GstBin], tee=tee@entry=0x0, fakesink=fakesink@entry=0x0, src=src@entry=0x0) at /usr/src/debug/phonon-backend-gstreamer-4.6.2/gstreamer/medianode.cpp:352
#7  0x00007f1694364341 in Phonon::Gstreamer::MediaNode::link (this=0x1c96080) at /usr/src/debug/phonon-backend-gstreamer-4.6.2/gstreamer/medianode.cpp:382
#8  0x00007f1694366162 in Phonon::Gstreamer::MediaObject::loadingComplete (this=this@entry=0x1c96060) at /usr/src/debug/phonon-backend-gstreamer-4.6.2/gstreamer/mediaobject.cpp:404
#9  0x00007f1694367c18 in Phonon::Gstreamer::MediaObject::handleStateChange (this=this@entry=0x1c96060, oldState=GST_STATE_NULL, newState=GST_STATE_READY) at /usr/src/debug/phonon-backend-gstreamer-4.6.2/gstreamer/mediaobject.cpp:549
#10 0x00007f169436a14d in qt_static_metacall (_a=0x7fffab624e60, _id=29, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/phonon-backend-gstreamer-4.6.2/x86_64-redhat-linux-gnu/gstreamer/moc_mediaobject.cpp:141
Comment 32 andreas.davour 2013-01-07 12:25:50 UTC
Anything happening on this bug? It crashes roughly 12 times an hour for me, which makes the whole of KDE unusable. I have switched to GNOME but it's painful and I'd like to switch back.
Comment 33 Jekyll Wu 2013-01-07 12:42:01 UTC
(In reply to comment #32)
> Anything happening on this bug? It crashes roughly 12 times an hour for me,
> which makes the whole of KDE unusable. I have switched to GNOME but it's
> painful and I'd like to switch back.

Use the vlc backend before this problem is solved.
Comment 34 Christoph Feck 2013-01-07 19:16:45 UTC
Personally, I have configured knotify4 to use an external player (mplayer) to play notification sounds. This way, I avoid all phonon, gstreamer, pulseaudio, alsa, etc. issues. See System Settings > Notifications > Player Settings tab.
Comment 35 andreas.davour 2013-01-08 07:53:56 UTC
(In reply to comment #33)
> (In reply to comment #32)
> > Anything happening on this bug? It crashes roughly 12 times an hour for me,
> > which makes the whole of KDE unusable. I have switched to GNOME but it's
> > painful and I'd like to switch back.
> 
> Use the vlc backend before this problem is solved.

(In reply to comment #33)
> (In reply to comment #32)
> > Anything happening on this bug? It crashes roughly 12 times an hour for me,
> > which makes the whole of KDE unusable. I have switched to GNOME but it's
> > painful and I'd like to switch back.
> 
> Use the vlc backend before this problem is solved.

Excellent! Now I'm heaven. The latest KDE is super.
Comment 36 Jekyll Wu 2013-03-19 13:17:04 UTC
*** Bug 317026 has been marked as a duplicate of this bug. ***
Comment 37 Jekyll Wu 2013-09-21 12:10:43 UTC
*** Bug 325143 has been marked as a duplicate of this bug. ***
Comment 38 Harald Sitter 2013-09-23 10:47:27 UTC
Git commit 45f810a4b9463bf3fb42f4de0c4bccee5379d827 by Harald Sitter.
Committed on 23/09/2013 at 10:47.
Pushed by sitter into branch 'master'.

assert when we have no tee in an A/V medianode

theory right now is that gstreamer is kaput and fails to factorize the
tee, outside MN nothing accesses the tee so the only way it could become
0x0 (assuming correct construction) is destruction. however since objects
are destructed through the main thread threading problems ought not be the
issue here.

At the very least we'll have an explicit assert so the casual code reader
knows what is going wrong.

M  +4    -0    gstreamer/medianode.cpp

http://commits.kde.org/phonon-gstreamer/45f810a4b9463bf3fb42f4de0c4bccee5379d827
Comment 39 Harald Sitter 2013-09-23 10:49:46 UTC
Oh, FWIW, iff gstreamer in fact is broken so that it cannot construct objects from plugins phonon gstreamer master should prevent the crash in general as the Backend super class will refuse to construct any Phonon backing object when corruption was detected.
Comment 40 Jekyll Wu 2013-09-29 21:04:33 UTC
*** Bug 325436 has been marked as a duplicate of this bug. ***
Comment 41 Jekyll Wu 2014-03-28 01:16:11 UTC
*** Bug 332687 has been marked as a duplicate of this bug. ***
Comment 42 Jekyll Wu 2014-04-01 07:51:40 UTC
*** Bug 332845 has been marked as a duplicate of this bug. ***
Comment 43 Myriam Schweingruber 2014-08-10 09:56:39 UTC
Most recent backtrace, from bug 332845:

Thread 1 (Thread 0x7f6466e5a800 (LWP 18876)):
[KCrash Handler]
#5  0x00007f645ff2162a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f645ff21989 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f645fbe9925 in pad_compare_name (pad1=0x27c0000, name=0x7f643e745e72 "sink") at gstelement.c:933
#8  0x00007f645fedc401 in g_list_find_custom () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f645fbeb808 in gst_element_get_static_pad (element=0x27da190, name=0x7f643e745e72 "sink") at gstelement.c:963
#10 0x00007f643e724487 in Phonon::Gstreamer::MediaNode::addOutput (this=this@entry=0x23d8500, output=0x221ba18, tee=tee@entry=0x26c9c20) at ../../gstreamer/medianode.cpp:269
#11 0x00007f643e724756 in Phonon::Gstreamer::MediaNode::linkMediaNodeList (this=this@entry=0x23d8500, list=..., bin=<optimized out>, tee=tee@entry=0x26c9c20, src=src@entry=0x27487c0) at ../../gstreamer/medianode.cpp:310
#12 0x00007f643e72483e in Phonon::Gstreamer::MediaNode::link (this=0x23d8500) at ../../gstreamer/medianode.cpp:322
#13 0x00007f643e724901 in Phonon::Gstreamer::MediaNode::buildGraph (this=0x23d8500) at ../../gstreamer/medianode.cpp:90
#14 0x00007f643e725432 in Phonon::Gstreamer::MediaNode::connectNode (this=this@entry=0x23d8500, obj=obj@entry=0x221ba00) at ../../gstreamer/medianode.cpp:178
#15 0x00007f643e71ae53 in Phonon::Gstreamer::Backend::connectNodes (this=<optimized out>, source=0x23d84e0, sink=0x221ba00) at ../../gstreamer/backend.cpp:428
#16 0x00007f64659b0a1d in Phonon::PathPrivate::executeTransaction (this=<optimized out>, disconnections=..., connections=...) at ../../phonon/path.cpp:330
#17 0x00007f64659b119d in Phonon::Path::reconnect (this=this@entry=0x7fffbafd8f20, source=source@entry=0x27f1c60, sink=sink@entry=0x2805e10) at ../../phonon/path.cpp:195
#18 0x00007f64659b1b7d in Phonon::createPath (source=source@entry=0x27f1c60, sink=sink@entry=0x2805e10) at ../../phonon/path.cpp:434
#19 0x00007f64659a6db2 in Phonon::createPlayer (category=Phonon::NotificationCategory, source=...) at ../../phonon/mediaobject.cpp:773
#20 0x000000000041d58f in _start ()
Comment 44 Christoph Feck 2017-08-13 11:21:34 UTC
*** Bug 383328 has been marked as a duplicate of this bug. ***
Comment 45 Christoph Feck 2018-04-27 00:41:15 UTC
*** Bug 392517 has been marked as a duplicate of this bug. ***
Comment 46 Justin Zobel 2020-12-04 04:56:47 UTC
Thank you for the report.

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 47 Bug Janitor Service 2020-12-19 04:34:41 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 48 Bug Janitor Service 2021-01-03 04:34:10 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!