Bug 247092 - Knotify4 segfault on each inbound Kopete message if notification sound enabled [@ Phonon::VLC::DeviceManager::updateDeviceList]
Summary: Knotify4 segfault on each inbound Kopete message if notification sound enabl...
Status: RESOLVED FIXED
Alias: None
Product: phonon-backend-vlc
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Martin Sandsmark
URL:
Keywords:
: 253760 255608 255644 271988 272751 316744 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-08 22:14 UTC by John Andersen
Modified: 2015-03-25 19:38 UTC (History)
12 users (show)

See Also:
Latest Commit:
Version Fixed In: 0.3.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Andersen 2010-08-08 22:14:16 UTC
Application: knotify4 (4.0)
KDE Platform Version: 4.4.4 (KDE 4.4.4) "release 2"
Qt Version: 4.6.3
Operating System: Linux 2.6.34-12-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
Turning on notification sound in kopete causes Knotify sound seg fault on any incoming message.

The crash can be reproduced every time.

 -- Backtrace:
Application: KNotify (knotify4), signal: Segmentation fault
[KCrash Handler]
#5  0x00007fd03b97b9ad in module_list_get () from /usr/lib64/libvlccore.so.5
#6  0x00007fd03bbe5ef5 in libvlc_audio_output_list_get (p_instance=<value optimized out>) at control/audio.c:72
#7  0x00007fd03be09545 in Phonon::VLC::DeviceManager::updateDeviceList() () from /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#8  0x00007fd03be092c5 in Phonon::VLC::DeviceManager::DeviceManager(Phonon::VLC::Backend*) () from /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#9  0x00007fd03be04751 in Phonon::VLC::Backend::Backend(QObject*, QList<QVariant> const&) () from /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#10 0x00007fd03be0434f in qt_plugin_instance () from /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#11 0x00007fd03c4cd6c2 in Phonon::KdePlatformPlugin::createBackend (this=<value optimized out>, newService=...) at /usr/src/debug/kdebase-runtime-4.4.4/phonon/platform_kde/kdeplatformplugin.cpp:155
#12 0x00007fd03c4ce43b in Phonon::KdePlatformPlugin::createBackend (this=0x779a80) at /usr/src/debug/kdebase-runtime-4.4.4/phonon/platform_kde/kdeplatformplugin.cpp:204
#13 0x00007fd047c43036 in Phonon::FactoryPrivate::createBackend (this=0x778410) at /usr/src/debug/phonon-4.4.2/phonon/factory.cpp:119
#14 0x00007fd047c4376f in Phonon::Factory::backend (createWhenNull=<value optimized out>) at /usr/src/debug/phonon-4.4.2/phonon/factory.cpp:438
#15 0x00007fd047c442e0 in Phonon::Factory::createAudioOutput (parent=0x777590) at /usr/src/debug/phonon-4.4.2/phonon/factory.cpp:343
#16 0x00007fd047c3d376 in Phonon::AudioOutputPrivate::createBackendObject (this=0x778480) at /usr/src/debug/phonon-4.4.2/phonon/audiooutput.cpp:133
#17 0x00007fd047c3a5d8 in Phonon::AudioOutputPrivate::init (this=0x778480, c=Phonon::NotificationCategory) at /usr/src/debug/phonon-4.4.2/phonon/audiooutput.cpp:106
#18 0x000000000040cec1 in Player (this=0x742818) at /usr/src/debug/kdebase-runtime-4.4.4/knotify/notifybysound.cpp:59
#19 PlayerPool::getPlayer (this=0x742818) at /usr/src/debug/kdebase-runtime-4.4.4/knotify/notifybysound.cpp:99
#20 0x000000000040d446 in NotifyBySound::notify (this=0x737620, eventId=63, config=<value optimized out>) at /usr/src/debug/kdebase-runtime-4.4.4/knotify/notifybysound.cpp:243
#21 0x0000000000408a02 in KNotify::emitEvent (this=0x7fff7d770d10, e=0x76a620) at /usr/src/debug/kdebase-runtime-4.4.4/knotify/knotify.cpp:179
#22 0x0000000000408f59 in KNotify::event (this=0x7fff7d770d10, event=<value optimized out>, appname=..., contexts=<value optimized out>, title=<value optimized out>, text=<value optimized out>, 
    image=..., actions=..., timeout=0, winId=62940016) at /usr/src/debug/kdebase-runtime-4.4.4/knotify/knotify.cpp:128
#23 0x0000000000409278 in KNotifyAdaptor::event (this=0x735700, event=..., fromApp=..., contexts=<value optimized out>, title=..., text=..., image=..., actions=..., timeout=0, winId=62940016)
    at /usr/src/debug/kdebase-runtime-4.4.4/knotify/knotify.cpp:236
#24 0x0000000000409adb in KNotifyAdaptor::qt_metacall (this=0x735700, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fff7d76ffc0) at /usr/src/debug/kdebase-runtime-4.4.4/build/knotify/knotify.moc:227
#25 0x00007fd047565188 in ?? () from /usr/lib64/libQtDBus.so.4
#26 0x00007fd047567245 in ?? () from /usr/lib64/libQtDBus.so.4
#27 0x00007fd047567aae in ?? () from /usr/lib64/libQtDBus.so.4
#28 0x00007fd047567cf8 in ?? () from /usr/lib64/libQtDBus.so.4
#29 0x00007fd04723f509 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#30 0x00007fd04661f4d4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#31 0x00007fd046627aca in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#32 0x00007fd047fe1c06 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#33 0x00007fd04722de4c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#34 0x00007fd0472315ba in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#35 0x00007fd047256173 in ?? () from /usr/lib64/libQtCore.so.4
#36 0x00007fd042a9da93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#37 0x00007fd042a9e270 in ?? () from /usr/lib64/libglib-2.0.so.0
#38 0x00007fd042a9e510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#39 0x00007fd04725667f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#40 0x00007fd0466c014e in ?? () from /usr/lib64/libQtGui.so.4
#41 0x00007fd04722d292 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#42 0x00007fd04722d495 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#43 0x00007fd04723188b in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#44 0x0000000000407f3f in main (argc=1, argv=0x7fff7d7710d8) at /usr/src/debug/kdebase-runtime-4.4.4/knotify/main.cpp:73

Possible duplicates by query: bug 240328.

Reported using DrKonqi
Comment 1 John Andersen 2010-08-08 23:44:52 UTC
Simply uninstalling phonon-vlc 0.2-2010080201.2 (x86_64) solved problem.

Leaving it unresolved so that attention is called to this problem.
Comment 2 Jean-Baptiste Kempf 2010-10-17 20:01:06 UTC
Hmm, indeed.
Fix incoming on git.
Comment 3 Myriam Schweingruber 2010-10-17 20:21:22 UTC
Fixed by this commit:

Jean-Baptiste Kempf master * r0.2.0-105-gde1a69c /vlc/devicemanager.cpp: 

 Avoid a crash if the vlcinstance wasn't created yet.
Comment 4 Myriam Schweingruber 2010-10-17 20:36:12 UTC
*** Bug 253760 has been marked as a duplicate of this bug. ***
Comment 5 Jean-Baptiste Kempf 2010-10-30 11:46:00 UTC
*** Bug 255644 has been marked as a duplicate of this bug. ***
Comment 6 Jean-Baptiste Kempf 2010-10-30 11:46:11 UTC
*** Bug 255608 has been marked as a duplicate of this bug. ***
Comment 7 Myriam Schweingruber 2011-04-27 21:32:54 UTC
Reassigning to the new bugzilla product for better bug tracing of the various
backends. Sorry for the noise.
Comment 8 Myriam Schweingruber 2011-05-01 16:16:30 UTC
*** Bug 271988 has been marked as a duplicate of this bug. ***
Comment 9 Myriam Schweingruber 2011-05-10 02:14:40 UTC
*** Bug 272751 has been marked as a duplicate of this bug. ***
Comment 10 Myriam Schweingruber 2013-04-13 07:48:11 UTC
*** Bug 316744 has been marked as a duplicate of this bug. ***
Comment 11 Nicholas O'Connor 2015-03-25 19:38:26 UTC
KDE 4.14.6, whenever anything tries to use phonon (system settings, knotify, etc), it crashes with a segfault. Resolved by removing the phonon-vlc plugin.

Clearly a regression.