Bug 266611

Summary: Knotify4 crashed when phonon-vlc backend is activated
Product: [Frameworks and Libraries] phonon-backend-vlc Reporter: Balcaen John <balcaen.john>
Component: generalAssignee: Harald Sitter <sitter>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bcooksley, fabo, jb, martin.sandsmark, myriam
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mageia RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Balcaen John 2011-02-18 15:46:08 UTC
Version:           unspecified (using KDE 4.6.0) 
OS:                Linux

I was using gstreamer backend & decided to give a try to phonon backend.
When switching knotify crashed after i click on apply.

Reproducible: Sometimes

Steps to Reproduce:
Switch from gstreamer backend to vlc backend
click on apply

Actual Results:  
Knotify is crashing

Expected Results:  
Knotify should not crash

VLC is 1.1.7, phonon is 4.4.4 & phonon-vlc is 0.3.2

Crash info from drkonqui

Application: KNotify (knotify4), signal: Segmentation fault
[KCrash Handler]
#6  libvlc_media_player_new (instance=0x0) at control/media_player.c:362
#7  0x00007fb3b0c0670d in Phonon::VLC::VLCMediaObject::VLCMediaObject (this=0x1a4e890, parent=<value optimized out>) at /usr/src/debug/phonon-backend-vlc-0.3.2/vlc/vlcmediaobject.cpp:54
#8  0x00007fb3b0bf61f8 in Phonon::VLC::Backend::createObject (this=0x1a476f0, c=<value optimized out>, parent=0x1adefa0, args=<value optimized out>)
    at /usr/src/debug/phonon-backend-vlc-0.3.2/vlc/backend.cpp:134
#9  0x00007fb3c803cc3f in Phonon::Factory::createMediaObject (parent=0x1adefa0) at /usr/src/debug/phonon-4.4.4/phonon/factory.cpp:342
#10 0x00007fb3c802b706 in Phonon::MediaObjectPrivate::createBackendObject (this=0x1a5eff0) at /usr/src/debug/phonon-4.4.4/phonon/mediaobject.cpp:47
#11 0x00007fb3c803c619 in Phonon::FactoryPrivate::phononBackendChanged (this=0x1660b80) at /usr/src/debug/phonon-4.4.4/phonon/factory.cpp:306
#12 0x00007fb3c803ce62 in Phonon::FactoryPrivate::qt_metacall (this=0x1660b80, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffdf9ef120)
    at /usr/src/debug/phonon-4.4.4/build/phonon/factory.moc:77
#13 0x00007fb3c6762e5e in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:919
#14 0x00007fb3c676d8ef in QDBusCallDeliveryEvent::placeMetaCall (this=0x7fb3b0e14810, object=0xb0) at qdbusintegrator_p.h:103
#15 0x00007fb3c641f0be in QObject::event (this=0x1660b80, e=0x0) at kernel/qobject.cpp:1211
#16 0x00007fb3c704021c in QApplicationPrivate::notify_helper (this=0x1538510, receiver=0x1660b80, e=0x1a3db40) at kernel/qapplication.cpp:4445
#17 0x00007fb3c704799d in QApplication::notify (this=0x7fffdf9efc40, receiver=0x1660b80, e=0x1a3db40) at kernel/qapplication.cpp:4324
#18 0x00007fb3c84a5c76 in KApplication::notify (this=0x7fffdf9efc40, receiver=0x1660b80, event=0x1a3db40) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#19 0x00007fb3c640cc3c in QCoreApplication::notifyInternal (this=0x7fffdf9efc40, receiver=0x1660b80, event=0x1a3db40) at kernel/qcoreapplication.cpp:732
#20 0x00007fb3c6410adb in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1511b00) at kernel/qcoreapplication.h:215
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1511b00) at kernel/qcoreapplication.cpp:1373
#22 0x00007fb3c6439253 in sendPostedEvents (s=0x15430e0) at kernel/qcoreapplication.h:220
#23 postEventSourceDispatch (s=0x15430e0) at kernel/qeventdispatcher_glib.cpp:277
#24 0x00007fb3c349dd70 in g_main_dispatch (context=0x1543000) at gmain.c:2149
#25 g_main_context_dispatch (context=0x1543000) at gmain.c:2702
#26 0x00007fb3c34a1cb8 in g_main_context_iterate (context=0x1543000, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2780
#27 0x00007fb3c34a1e6c in g_main_context_iteration (context=0x1543000, may_block=1) at gmain.c:2843
#28 0x00007fb3c6438d93 in QEventDispatcherGlib::processEvents (this=0x15111f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#29 0x00007fb3c70f204e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007fb3c640b962 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#31 0x00007fb3c640bd4c in QEventLoop::exec (this=0x7fffdf9efb60, flags=) at kernel/qeventloop.cpp:201
#32 0x00007fb3c6410d19 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#33 0x00000000004097df in _start ()
Comment 1 Harald Sitter 2011-02-18 16:41:49 UTC

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