Bug 161572 - phonon crashes for each sound
Summary: phonon crashes for each sound
Status: RESOLVED DUPLICATE of bug 155066
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: Xine backend (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Matthias Kretz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-03 20:42 UTC by Jos van den Oever
Modified: 2008-06-02 21:46 UTC (History)
1 user (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 Jos van den Oever 2008-05-03 20:42:16 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          4.2.3 (Ubuntu 4.2.3-2ubuntu7) Target: x86_64-linux-gnu
OS:                Linux

When running KDE4 over NX, there seems to be a problem with the xine plugins.
No plugin is loaded and this triggers an assert in Phonon, causing a crash.
What should happen is that Phonon should check for the module and fail gracefully.
It show a yes/no dialog saying: You audio setup is faulty. Do you want to switch off audio?
Since this crash happens over and over, the only viable way out is to switch off audio notifications, but even then, phonon might crash whenever an application tries to play a sound via phonon.


Application: KNotify (knotify4), signal SIGABRT
[Thread debugging using libthread_db enabled]
[New Thread 0x7f9172d28780 (LWP 6654)]
[New Thread 0x41d25950 (LWP 6656)]
[New Thread 0x41524950 (LWP 6655)]
[KCrash handler]
#5  0x00007f916db02095 in raise () from /lib/libc.so.6
#6  0x00007f916db03af0 in abort () from /lib/libc.so.6
#7  0x00007f91724c2868 in qt_message_output (msgType=QtFatalMsg, 
    buf=0x41d21b90 "ASSERT: \"s_instance->m_nullPort\" in file /home/kde-devel/src/KDE/kdebase/runtime/phonon/xine/xineengine.cpp, line 258")
    at /home/kde-devel/src/qt-copy/src/corelib/global/qglobal.cpp:2058
#8  0x00007f91724c2989 in qFatal (
    msg=0x7f9172611238 "ASSERT: \"%s\" in file %s, line %d")
    at /home/kde-devel/src/qt-copy/src/corelib/global/qglobal.cpp:2260
#9  0x00007f91724c2dd1 in qt_assert (
    assertion=0x7f9168908c89 "s_instance->m_nullPort", 
    file=0x7f91689088c8 "/home/kde-devel/src/KDE/kdebase/runtime/phonon/xine/xineengine.cpp", line=258)
    at /home/kde-devel/src/qt-copy/src/corelib/global/qglobal.cpp:1828
#10 0x00007f91688dcf51 in Phonon::Xine::XineEngine::nullPort ()
    at /home/kde-devel/src/KDE/kdebase/runtime/phonon/xine/xineengine.cpp:258
#11 0x00007f91688e32e5 in Phonon::Xine::XineStream::createStream (
    this=0x7b5e00)
    at /home/kde-devel/src/KDE/kdebase/runtime/phonon/xine/xinestream.cpp:379
#12 0x00007f91688e673a in Phonon::Xine::XineStream::event (this=0x7b5e00, 
    ev=0x7bbe90)
    at /home/kde-devel/src/KDE/kdebase/runtime/phonon/xine/xinestream.cpp:959
#13 0x00007f9170436cdb in QApplicationPrivate::notify_helper (this=0x641be0, 
    receiver=0x7b5e00, e=0x7bbe90)
    at /home/kde-devel/src/qt-copy/src/gui/kernel/qapplication.cpp:3766
#14 0x00007f9170436fea in QApplication::notify (this=0x7fff7ad52f00, 
    receiver=0x7b5e00, e=0x7bbe90)
    at /home/kde-devel/src/qt-copy/src/gui/kernel/qapplication.cpp:3360
#15 0x00007f916f5e82be in KApplication::notify (this=0x7fff7ad52f00, 
    receiver=0x7b5e00, event=0x7bbe90)
    at /home/kde-devel/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#16 0x00007f91725bbcf6 in QCoreApplication::notifyInternal (
    this=0x7fff7ad52f00, receiver=0x7b5e00, event=0x7bbe90)
    at /home/kde-devel/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583
#17 0x00007f91725bf6f9 in QCoreApplication::sendEvent (receiver=0x7b5e00, 
    event=0x7bbe90)
    at ../../include/QtCore/../../../../src/qt-copy/src/corelib/kernel/qcoreapplication.h:215
#18 0x00007f91725bc26d in QCoreApplicationPrivate::sendPostedEvents (
    receiver=0x0, event_type=0, data=0x72de70)
    at /home/kde-devel/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1195
#19 0x00007f91725bc434 in QCoreApplication::sendPostedEvents (receiver=0x0, 
    event_type=0)
    at /home/kde-devel/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1091
#20 0x00007f91725eb97d in QCoreApplication::sendPostedEvents ()
    at ../../include/QtCore/../../../../src/qt-copy/src/corelib/kernel/qcoreapplication.h:220
#21 0x00007f91725eabcb in postEventSourceDispatch (s=0x7b5c80)
    at /home/kde-devel/src/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:211
#22 0x00007f916c955262 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#23 0x00007f916c958516 in ?? () from /usr/lib/libglib-2.0.so.0
#24 0x00007f916c9589af in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#25 0x00007f91725e9f18 in QEventDispatcherGlib::processEvents (this=0x7ba850, 
    flags=@0x41d24e70)
    at /home/kde-devel/src/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:325
#26 0x00007f91725b8e40 in QEventLoop::processEvents (this=0x41d24f30, 
    flags=@0x41d24ef0)
    at /home/kde-devel/src/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#27 0x00007f91725b903c in QEventLoop::exec (this=0x41d24f30, flags=@0x41d24f50)
    at /home/kde-devel/src/qt-copy/src/corelib/kernel/qeventloop.cpp:196
#28 0x00007f91724c9356 in QThread::exec (this=0x7ad5b0)
    at /home/kde-devel/src/qt-copy/src/corelib/thread/qthread.cpp:433
#29 0x00007f91688d995a in Phonon::Xine::XineThread::run (this=0x7ad5b0)
    at /home/kde-devel/src/KDE/kdebase/runtime/phonon/xine/xinethread.cpp:111
#30 0x00007f91724cd200 in QThreadPrivate::start (arg=0x7ad5b0)
    at /home/kde-devel/src/qt-copy/src/corelib/thread/qthread_unix.cpp:190
#31 0x00007f91722453f7 in start_thread () from /lib/libpthread.so.0
#32 0x00007f916dba7b2d in clone () from /lib/libc.so.6
#33 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9172d28780 (LWP 6654)):
#0  0x00007f9172249b99 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00007f91724cdb77 in QWaitConditionPrivate::wait (this=0x7b77e0, 
    time=18446744073709551615)
    at /home/kde-devel/src/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:88
#2  0x00007f91724cd6d6 in QWaitCondition::wait (this=0x7ad5d0, mutex=0x7ad5c0, 
    time=18446744073709551615)
    at /home/kde-devel/src/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:265
#3  0x00007f91688d9f95 in Phonon::Xine::XineThread::newStream ()
    at /home/kde-devel/src/KDE/kdebase/runtime/phonon/xine/xinethread.cpp:62
#4  0x00007f91688f4752 in MediaObject (this=0x7be110, parent=0x7bbe60)
    at /home/kde-devel/src/KDE/kdebase/runtime/phonon/xine/mediaobject.cpp:65
#5  0x00007f91688f98eb in Phonon::Xine::Backend::createObject (this=0x7636a0, 
    c=Phonon::BackendInterface::MediaObjectClass, parent=0x7bbe60, 
    args=@0x7fff7ad51720)
    at /home/kde-devel/src/KDE/kdebase/runtime/phonon/xine/backend.cpp:103
#6  0x00007f916ef4a212 in Phonon::Factory::createMediaObject (parent=0x7bbe60)
    at /home/kde-devel/src/KDE/kdelibs/phonon/factory.cpp:279
#7  0x00007f916ef3847b in Phonon::MediaObjectPrivate::createBackendObject (
    this=0x7bc720) at /home/kde-devel/src/KDE/kdelibs/phonon/mediaobject.cpp:46
#8  0x00007f916ef3a900 in Phonon::MediaNodePrivate::backendObject (
    this=0x7bc720) at /home/kde-devel/src/KDE/kdelibs/phonon/medianode.cpp:60
#9  0x00007f916ef3c71b in Phonon::Path::reconnect (this=0x7fff7ad519e0, 
    source=0x7bbe70, sink=0x7bc550)
    at /home/kde-devel/src/KDE/kdelibs/phonon/path.cpp:150
#10 0x00007f916ef3cc72 in Phonon::createPath (source=0x7bbe70, sink=0x7bc550)
    at /home/kde-devel/src/KDE/kdelibs/phonon/path.cpp:384
#11 0x000000000040f328 in Player (this=0x7bc5b0)
    at /home/kde-devel/src/KDE/kdebase/runtime/knotify/notifybysound.cpp:57
#12 0x000000000040cfc7 in PlayerPool::getPlayer (this=0x6fd5d8)
    at /home/kde-devel/src/KDE/kdebase/runtime/knotify/notifybysound.cpp:94
#13 0x000000000040d331 in NotifyBySound::notify (this=0x6f98c0, eventId=8, 
    config=0x702848)
    at /home/kde-devel/src/KDE/kdebase/runtime/knotify/notifybysound.cpp:222
#14 0x00000000004070ac in KNotify::emitEvent (this=0x7fff7ad52ed0, e=0x702840)
    at /home/kde-devel/src/KDE/kdebase/runtime/knotify/knotify.cpp:175
#15 0x000000000040755e in KNotify::event (this=0x7fff7ad52ed0, 
    event=@0x6787e0, appname=@0x678ca0, contexts=@0x7fff7ad51db0, 
    text=@0x7016d0, pixmap=@0x7fff7ad51d50, actions=@0x70d410, winId=0)
    at /home/kde-devel/src/KDE/kdebase/runtime/knotify/knotify.cpp:125
#16 0x0000000000407812 in KNotifyAdaptor::event (this=0x6ffad0, 
    event=@0x6787e0, fromApp=@0x678ca0, contexts=@0x6fccf0, text=@0x7016d0, 
    image=@0x708010, actions=@0x70d410, winId=0)
    at /home/kde-devel/src/KDE/kdebase/runtime/knotify/knotify.cpp:234
#17 0x00000000004080c4 in KNotifyAdaptor::qt_metacall (this=0x6ffad0, 
    _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fff7ad51fc0)
    at /home/kde-devel/build/KDE/kdebase/runtime/knotify/knotify.moc:208
#18 0x00007f916f194229 in QDBusConnectionPrivate::deliverCall (this=0x639310, 
    object=0x6ffad0, msg=@0x7077d0, metaTypes=@0x637c60, slotIdx=8)
    at /home/kde-devel/src/qt-copy/src/dbus/qdbusintegrator.cpp:865
#19 0x00007f916f194dd4 in QDBusConnectionPrivate::activateCall (this=0x639310, 
    object=0x6ffad0, flags=273, msg=@0x7077d0)
    at /home/kde-devel/src/qt-copy/src/dbus/qdbusintegrator.cpp:777
#20 0x00007f916f195918 in QDBusConnectionPrivate::activateObject (
    this=0x639310, node=@0x7077a8, msg=@0x7077d0, pathStartPos=7)
    at /home/kde-devel/src/qt-copy/src/dbus/qdbusintegrator.cpp:1298
#21 0x00007f916f195b4e in QDBusActivateObjectEvent::placeMetaCall (
    this=0x707760)
    at /home/kde-devel/src/qt-copy/src/dbus/qdbusintegrator.cpp:1411
#22 0x00007f91725ceab3 in QObject::event (this=0x7fff7ad52ed0, e=0x707760)
    at /home/kde-devel/src/qt-copy/src/corelib/kernel/qobject.cpp:1137
#23 0x00007f9170436cdb in QApplicationPrivate::notify_helper (this=0x641be0, 
    receiver=0x7fff7ad52ed0, e=0x707760)
    at /home/kde-devel/src/qt-copy/src/gui/kernel/qapplication.cpp:3766
#24 0x00007f9170436fea in QApplication::notify (this=0x7fff7ad52f00, 
    receiver=0x7fff7ad52ed0, e=0x707760)
    at /home/kde-devel/src/qt-copy/src/gui/kernel/qapplication.cpp:3360
#25 0x00007f916f5e82be in KApplication::notify (this=0x7fff7ad52f00, 
    receiver=0x7fff7ad52ed0, event=0x707760)
    at /home/kde-devel/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#26 0x00007f91725bbcf6 in QCoreApplication::notifyInternal (
    this=0x7fff7ad52f00, receiver=0x7fff7ad52ed0, event=0x707760)
    at /home/kde-devel/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583
#27 0x00007f91725bf6f9 in QCoreApplication::sendEvent (
    receiver=0x7fff7ad52ed0, event=0x707760)
    at ../../include/QtCore/../../../../src/qt-copy/src/corelib/kernel/qcoreapplication.h:215
#28 0x00007f91725bc26d in QCoreApplicationPrivate::sendPostedEvents (
    receiver=0x0, event_type=0, data=0x61e410)
    at /home/kde-devel/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1195
#29 0x00007f91725bc434 in QCoreApplication::sendPostedEvents (receiver=0x0, 
    event_type=0)
    at /home/kde-devel/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1091
#30 0x00007f91725eb97d in QCoreApplication::sendPostedEvents ()
    at ../../include/QtCore/../../../../src/qt-copy/src/corelib/kernel/qcoreapplication.h:220
#31 0x00007f91725eabcb in postEventSourceDispatch (s=0x6450b0)
    at /home/kde-devel/src/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:211
#32 0x00007f916c955262 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#33 0x00007f916c958516 in ?? () from /usr/lib/libglib-2.0.so.0
#34 0x00007f916c9589af in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#35 0x00007f91725e9f18 in QEventDispatcherGlib::processEvents (this=0x6348a0, 
    flags=@0x7fff7ad52d00)
    at /home/kde-devel/src/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:325
#36 0x00007f91704d8527 in QGuiEventDispatcherGlib::processEvents (
    this=0x6348a0, flags=@0x7fff7ad52d60)
    at /home/kde-devel/src/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007f91725b8e40 in QEventLoop::processEvents (this=0x7fff7ad52e20, 
    flags=@0x7fff7ad52de0)
    at /home/kde-devel/src/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#38 0x00007f91725b903c in QEventLoop::exec (this=0x7fff7ad52e20, 
    flags=@0x7fff7ad52e40)
    at /home/kde-devel/src/qt-copy/src/corelib/kernel/qeventloop.cpp:196
#39 0x00007f91725bc540 in QCoreApplication::exec ()
    at /home/kde-devel/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:845
#40 0x00007f9170436a3c in QApplication::exec ()
    at /home/kde-devel/src/qt-copy/src/gui/kernel/qapplication.cpp:3298
#41 0x0000000000406816 in main (argc=1, argv=0x7fff7ad53288)
    at /home/kde-devel/src/KDE/kdebase/runtime/knotify/main.cpp:68
#0  0x00007f9172249b99 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
Comment 1 Matthias Kretz 2008-06-02 17:17:22 UTC

*** This bug has been marked as a duplicate of 154902 ***
Comment 2 Matthias Kretz 2008-06-02 21:45:26 UTC
huh, whatever happened here was not what I intended. Copy and paste error it seems...
Comment 3 Matthias Kretz 2008-06-02 21:46:50 UTC

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