Bug 205651

Summary: crashed when changing multimedia backend
Product: [Frameworks and Libraries] Phonon Reporter: Greg Martyn <greg.martyn>
Component: generalAssignee: Harald Sitter <sitter>
Status: RESOLVED DUPLICATE    
Severity: crash CC: asherbina, cfeck, fedorahat13, gm.bkmagee, hugh.kde.bugs, kretz, lenz99, marsu1, martin.sandsmark, myriam, Sroka.Steven, wg3w
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Greg Martyn 2009-08-30 07:28:23 UTC
Application that crashed: knotify4
Version of the application: 4.0
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.29.6-217.2.16.fc11.x86_64 x86_64
Distribution: "Fedora release 11 (Leonidas)"

What I was doing when the application crashed:
I changed the multimedia backend from gstreamer to xine in system settings, then hit apply. Dragon player and knotify immediately crashed.

 -- Backtrace:
Application: KNotify (knotify4), signal: Aborted
pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
220		movq	%rax, %r14
[Current thread is 1 (Thread 0x7f782779e820 (LWP 3010))]

Thread 3 (Thread 0x7f7815204910 (LWP 3660)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f78141855c1 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003729e0686a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x00000037292de39d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f780bffe910 (LWP 3661)):
[KCrash Handler]
#5  0x00000037292332f5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x0000003729234b20 in *__GI_abort () at abort.c:88
#7  0x00007f78292a9194 in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2042
#8  0x00007f78292a92e6 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2241
#9  0x00007f78143ec797 in Phonon::Xine::XineStream::event (this=0x7f7804001490, ev=0x103e320) at /usr/src/debug/phonon-4.3.1/xine/xinestream.cpp:1369
#10 0x00007f78285f169c in QApplicationPrivate::notify_helper (this=0xc74640, receiver=0x7f7804001490, e=0x103e320) at kernel/qapplication.cpp:4056
#11 0x00007f78285f86ce in QApplication::notify (this=0x7fff697ebfc0, receiver=0x7f7804001490, e=0x103e320) at kernel/qapplication.cpp:4021
#12 0x00007f7829f84296 in KApplication::notify (this=0x7fff697ebfc0, receiver=0x7f7804001490, event=0x103e320) at /usr/src/debug/kdelibs-4.3.0/kdeui/kernel/kapplication.cpp:302
#13 0x00007f7829396cbc in QCoreApplication::notifyInternal (this=0x7fff697ebfc0, receiver=0x7f7804001490, event=0x103e320) at kernel/qcoreapplication.cpp:610
#14 0x00007f78293978c8 in QCoreApplication::sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:213
#15 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1247
#16 0x00007f78293bf743 in QCoreApplication::sendPostedEvents () at kernel/qcoreapplication.h:218
#17 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:210
#18 0x000000372aa37abe in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#19 0x000000372aa3b278 in ?? () from /lib64/libglib-2.0.so.0
#20 0x000000372aa3b3a0 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#21 0x00007f78293bf3b6 in QEventDispatcherGlib::processEvents (this=0x7f7804001470, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#22 0x00007f78293955f2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 36}) at kernel/qeventloop.cpp:149
#23 0x00007f78293959c4 in QEventLoop::exec (this=0x7f780bffdf30, flags={i = 0}) at kernel/qeventloop.cpp:201
#24 0x00007f78292adf6b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#25 0x00007f78143deb4e in Phonon::Xine::XineThread::run (this=0xe56ea0) at /usr/src/debug/phonon-4.3.1/xine/xinethread.cpp:143
#26 0x00007f78292b0cd5 in QThreadPrivate::start (arg=0xe56ea0) at thread/qthread_unix.cpp:188
#27 0x0000003729e0686a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#28 0x00000037292de39d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#29 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f782779e820 (LWP 3010)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f78292b0765 in thread_sleep (ti=0x7fff697ebad0) at thread/qthread_unix.cpp:297
#2  0x00007f78292b08d0 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:323
#3  0x00007f7814402d0a in Phonon::Xine::Backend::~Backend (this=0xf20520, __in_chrg=<value optimized out>) at /usr/src/debug/phonon-4.3.1/xine/backend.cpp:108
#4  0x000000373fc30a6f in Phonon::FactoryPrivate::~FactoryPrivate (this=0xdd0d30, __in_chrg=<value optimized out>) at /usr/src/debug/phonon-4.3.1/phonon/factory.cpp:199
#5  0x00000037292367f2 in __run_exit_handlers (status=<value optimized out>, status=<value optimized out>, listp=<value optimized out>, run_list_atexit=<value optimized out>) at exit.c:78
#6  *__GI_exit (status=<value optimized out>, status=<value optimized out>, listp=<value optimized out>, run_list_atexit=<value optimized out>) at exit.c:100
#7  0x00007f782864ca58 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:707
#8  0x00007f7829f83c78 in KApplication::xioErrhandler (this=0x7fff697ebfc0, dpy=0xc9a7a0) at /usr/src/debug/kdelibs-4.3.0/kdeui/kernel/kapplication.cpp:408
#9  0x000000372b244c4e in _XIOError () from /usr/lib64/libX11.so.6
#10 0x000000372b24c505 in ?? () from /usr/lib64/libX11.so.6
#11 0x000000372b24cdb7 in _XEventsQueued () from /usr/lib64/libX11.so.6
#12 0x000000372b235c7b in XEventsQueued () from /usr/lib64/libX11.so.6
#13 0x00007f7828684657 in x11EventSourcePrepare (s=0xc6f1f0, timeout=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:79
#14 0x000000372aa3aa9a in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#15 0x000000372aa3ae71 in ?? () from /lib64/libglib-2.0.so.0
#16 0x000000372aa3b3a0 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#17 0x00007f78293bf3b6 in QEventDispatcherGlib::processEvents (this=0xc48880, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#18 0x00007f782868442e in QGuiEventDispatcherGlib::processEvents (this=0x7fff697eba54, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#19 0x00007f78293955f2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 36}) at kernel/qeventloop.cpp:149
#20 0x00007f78293959c4 in QEventLoop::exec (this=0x7fff697ebee0, flags={i = 0}) at kernel/qeventloop.cpp:201
#21 0x00007f7829397b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#22 0x0000000000406fe7 in _start ()

Reported using DrKonqi
Comment 1 Willy Gommel 2010-06-17 23:42:14 UTC
Created attachment 48092 [details]
New crash information added by DrKonqi

I had just changed my audio backend from gstreamer to xine when this crash occurred.

Thank you very much for your assistance! :)
Comment 2 Christoph Feck 2010-06-24 02:16:40 UTC
*** Bug 242640 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Feck 2010-06-28 09:57:32 UTC
*** Bug 242996 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Feck 2010-07-08 22:17:44 UTC
*** Bug 243960 has been marked as a duplicate of this bug. ***
Comment 5 Christoph Feck 2010-07-14 18:59:39 UTC
*** Bug 244551 has been marked as a duplicate of this bug. ***
Comment 6 HughDaniel 2011-04-09 08:04:59 UTC
Created attachment 58736 [details]
New crash information added by DrKonqi

knotify4 (4.0) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:

Amorak was not playing sounds (or even advancing) and so I changed from phonon to Xine, as soon as I hit apply the crash happened.

-- Backtrace (Reduced):
#11 0x00007ff1efbad6fc in Phonon::Xine::XineStream::event (this=0xf73c00, ev=0xdad910) at ../../xine/xinestream.cpp:1384
#12 0x00007ff20784e9e4 in QApplicationPrivate::notify_helper (this=0xd29a90, receiver=0xf73c00, e=0xdad910) at kernel/qapplication.cpp:4462
#13 0x00007ff2078533aa in QApplication::notify (this=<value optimized out>, receiver=0xf73c00, e=0xdad910) at kernel/qapplication.cpp:4341
#14 0x00007ff208ccd866 in KApplication::notify (this=0x7fffc5aea140, receiver=0xf73c00, event=0xdad910) at ../../kdeui/kernel/kapplication.cpp:311
#15 0x00007ff206c1849c in QCoreApplication::notifyInternal (this=0x7fffc5aea140, receiver=0xf73c00, event=0xdad910) at kernel/qcoreapplication.cpp:731
Comment 7 Steven Sroka 2011-05-03 02:56:53 UTC
Created attachment 59561 [details]
New crash information added by DrKonqi

knotify4 (4.0) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:
Exactly what is said above: Changing phonon backend from Gstreamer to Xine

-- Backtrace (Reduced):
#11 0x00007fb527c616fc in Phonon::Xine::XineStream::event (this=0xfcfe00, ev=0x7fb52807e340) at ../../xine/xinestream.cpp:1384
#12 0x00007fb5412489e4 in QApplicationPrivate::notify_helper (this=0xd7b7b0, receiver=0xfcfe00, e=0x7fb52807e340) at kernel/qapplication.cpp:4462
#13 0x00007fb54124d3aa in QApplication::notify (this=<value optimized out>, receiver=0xfcfe00, e=0x7fb52807e340) at kernel/qapplication.cpp:4341
#14 0x00007fb5426c7866 in KApplication::notify (this=0x7fff1d669760, receiver=0xfcfe00, event=0x7fb52807e340) at ../../kdeui/kernel/kapplication.cpp:311
#15 0x00007fb54061249c in QCoreApplication::notifyInternal (this=0x7fff1d669760, receiver=0xfcfe00, event=0x7fb52807e340) at kernel/qcoreapplication.cpp:731
Comment 8 marsu1 2011-05-17 00:21:14 UTC
Created attachment 60066 [details]
New crash information added by DrKonqi

knotify4 (4.0) on KDE Platform 4.6.3 (4.6.3) using Qt 4.7.2

- What I was doing when the application crashed:

I was switching the Phonon-backend from Gstream to xine to see if there are differences between the two

-- Backtrace (Reduced):
#11 0x00007f754e38a6fc in Phonon::Xine::XineStream::event (this=0x2b9ee90, ev=0x2b641e0) at ../../xine/xinestream.cpp:1384
#12 0x00007f7561e3d9e4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#13 0x00007f7561e423aa in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#14 0x00007f75632bd196 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#15 0x00007f756120749c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
Comment 9 Steven Sroka 2011-05-28 04:52:40 UTC
Created attachment 60404 [details]
New crash information added by DrKonqi

knotify4 (4.0) on KDE Platform 4.6.3 (4.6.3) using Qt 4.7.2

- What I was doing when the application crashed:

I was switching Phonon backends from Gstreamer to Xine.

-- Backtrace (Reduced):
#11 0x00007fc062ff36fc in Phonon::Xine::XineStream::event (this=0xce1a60, ev=0x94e6b0) at ../../xine/xinestream.cpp:1384
#12 0x00007fc07a8f69e4 in QApplicationPrivate::notify_helper (this=0x6e5db0, receiver=0xce1a60, e=0x94e6b0) at kernel/qapplication.cpp:4462
#13 0x00007fc07a8fb3aa in QApplication::notify (this=<value optimized out>, receiver=0xce1a60, e=0x94e6b0) at kernel/qapplication.cpp:4341
#14 0x00007fc07bd76196 in KApplication::notify (this=0x7fff8c1861b0, receiver=0xce1a60, event=0x94e6b0) at ../../kdeui/kernel/kapplication.cpp:311
#15 0x00007fc079cc049c in QCoreApplication::notifyInternal (this=0x7fff8c1861b0, receiver=0xce1a60, event=0x94e6b0) at kernel/qcoreapplication.cpp:731
Comment 10 Christoph Feck 2011-05-30 14:22:12 UTC
We are still (or again?) getting this crash with recent KDE versions (see previous comments).
Comment 11 Harald Sitter 2011-05-30 14:42:04 UTC
It is fixed in Phonon git master

*** This bug has been marked as a duplicate of bug 210427 ***
Comment 12 marsu1 2011-06-04 00:06:36 UTC
Hallo Harald,

that doesn't help me because there seems to be no update for Kubuntu
10.10 / KDE 4.6.2?



Am 30.05.2011 14:42, schrieb Harald Sitter:
> https://bugs.kde.org/show_bug.cgi?id=205651
>
>
> Harald Sitter <sitter@kde.org> changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|NEW                         |RESOLVED
>          Resolution|                            |DUPLICATE
>
>
>
>
> --- Comment #11 from Harald Sitter <sitter kde org>  2011-05-30 14:42:04 ---
> It is fixed in Phonon git master
>
> *** This bug has been marked as a duplicate of bug 210427 ***
>
Comment 13 Harald Sitter 2011-06-04 00:28:59 UTC
I shall hope you do not change your backend every hour, so I do not quite see how it would be a critical issue really.