Bug 191366 - KNotify crashes on login only [qFatal, Phonon::Xine::XineStream::nullAudioPort, Phonon::Xine::XineStream::createStream]
Summary: KNotify crashes on login only [qFatal, Phonon::Xine::XineStream::nullAudioPor...
Status: RESOLVED FIXED
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: Xine backend (show other bugs)
Version: 4.3.1 (KDE 4.4)
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Matthias Kretz
URL:
Keywords:
: 195486 206567 207422 216770 220048 230421 230717 230718 243190 257061 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-02 18:14 UTC by David Broome
Modified: 2010-12-05 21:45 UTC (History)
14 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.4.3


Attachments
New crash information added by DrKonqi (11.89 KB, text/plain)
2010-02-20 20:49 UTC, Daniel Hahler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Broome 2009-05-02 18:14:35 UTC
Title: knotify crashes on login only

What I was doing when the application crashed:
Everytime I start KDE I am notified that knotified has crashed.

I have recompiled from trunk a few times (clearing the previous build enviroment each time) and I have tried with a new home settings (moved .kde)

Other that that notification which only shows when I log in, I have no noticable problems so I have delayed reporting it until now.

 -- Application and System information:
Application that crashed: knotify4
Version of the application: 4.0
KDE Version: 4.2.71 (KDE 4.2.71 (KDE 4.3 >= 20090428))
Qt Version: 4.5.1
Operating System: Linux 2.6.29-1-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

 -- Backtrace:
Application: KNotify (knotify4), signal: Aborted
[Current thread is 0 (LWP 2430)]

Thread 3 (Thread 0x7f201a475950 (LWP 2518)):
#0  0x00007f2024953e8d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f201a48aca1 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f202494ffaa in start_thread () from /lib/libpthread.so.0
#3  0x00007f20230792ed in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2019c74950 (LWP 2519)):
[KCrash Handler]
#5  0x00007f2022fdd115 in raise () from /lib/libc.so.6
#6  0x00007f2022fde633 in abort () from /lib/libc.so.6
#7  0x00007f2024bc8775 in qt_message_output () from /usr/lib/libQtCore.so.4
#8  0x00007f2024bc88bb in qFatal () from /usr/lib/libQtCore.so.4
#9  0x00007f201a6e9be3 in Phonon::Xine::XineStream::nullAudioPort (this=0x2739f30) at /media/sda7/kde-trunk/kdesupport/phonon/xine/xinestream.cpp:216
#10 0x00007f201a6eb8c3 in Phonon::Xine::XineStream::createStream (this=0x2739f30) at /media/sda7/kde-trunk/kdesupport/phonon/xine/xinestream.cpp:523
#11 0x00007f201a6f2a6e in Phonon::Xine::XineStream::event (this=0x2739f30, ev=0x2766c40) at /media/sda7/kde-trunk/kdesupport/phonon/xine/xinestream.cpp:1232
#12 0x00007f2023c824fd in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#13 0x00007f2023c8a77a in QApplication::notify () from /usr/lib/libQtGui.so.4
#14 0x00007f2025b16a8b in KApplication::notify (this=0x7fff2e126740, receiver=0x2739f30, event=0x2766c40) at /media/sda7/kde-trunk/kdelibs/kdeui/kernel/kapplication.cpp:307
#15 0x00007f2024cb8e5c in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#16 0x00007f2024cb9aca in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#17 0x00007f2024ce2843 in ?? () from /usr/lib/libQtCore.so.4
#18 0x00007f20205b7f7a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#19 0x00007f20205bb640 in ?? () from /usr/lib/libglib-2.0.so.0
#20 0x00007f20205bb7dc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#21 0x00007f2024ce24cf in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#22 0x00007f2024cb7702 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#23 0x00007f2024cb7acd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#24 0x00007f2024bcd7e8 in QThread::exec () from /usr/lib/libQtCore.so.4
#25 0x00007f201a6e590c in Phonon::Xine::XineThread::run (this=0x26f5ec0) at /media/sda7/kde-trunk/kdesupport/phonon/xine/xinethread.cpp:143
#26 0x00007f2024bd0742 in ?? () from /usr/lib/libQtCore.so.4
#27 0x00007f202494ffaa in start_thread () from /lib/libpthread.so.0
#28 0x00007f20230792ed in clone () from /lib/libc.so.6
#29 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2025fea760 (LWP 2430)):
#0  0x00007f2024953c09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f2024bcff5b in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007f2024bcb845 in QMutex::lock () from /usr/lib/libQtCore.so.4
#3  0x00007f201a6ea6a7 in Phonon::Xine::XineStream::closeBlocking (this=0x2739f30) at /media/sda7/kde-trunk/kdesupport/phonon/xine/xinestream.cpp:1538
#4  0x00007f201a6fe176 in ~MediaObject (this=0x27661c0) at /media/sda7/kde-trunk/kdesupport/phonon/xine/mediaobject.cpp:109
#5  0x00007f20256c610b in Phonon::MediaNodePrivate::deleteBackendObject (this=0x26f5df0) at /media/sda7/kde-trunk/kdesupport/phonon/phonon/medianode.cpp:81
#6  0x00007f20256d518d in ~FactoryPrivate (this=0x26f5790) at /media/sda7/kde-trunk/kdesupport/phonon/phonon/factory.cpp:193
#7  0x00007f2022fdfcbd in exit () from /lib/libc.so.6
#8  0x00007f2023cdfc58 in ?? () from /usr/lib/libQtGui.so.4
#9  0x00007f2025b164a8 in KApplication::xioErrhandler (this=0x7fff2e126740, dpy=0x2643ca0) at /media/sda7/kde-trunk/kdelibs/kdeui/kernel/kapplication.cpp:413
#10 0x00007f202289453e in _XIOError () from /usr/lib/libX11.so.6
#11 0x00007f202289b83f in ?? () from /usr/lib/libX11.so.6
#12 0x00007f202289c177 in _XEventsQueued () from /usr/lib/libX11.so.6
#13 0x00007f2022884e83 in XEventsQueued () from /usr/lib/libX11.so.6
#14 0x00007f2023d1ae97 in ?? () from /usr/lib/libQtGui.so.4
#15 0x00007f20205baf42 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#16 0x00007f20205bb35f in ?? () from /usr/lib/libglib-2.0.so.0
#17 0x00007f20205bb7dc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#18 0x00007f2024ce24cf in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#19 0x00007f2023d1ac7f in ?? () from /usr/lib/libQtGui.so.4
#20 0x00007f2024cb7702 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#21 0x00007f2024cb7acd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#22 0x00007f2024cb9d94 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#23 0x000000000040774b in main (argc=1, argv=0x7fff2e126ac8) at /media/sda7/kde-trunk/kdebase/runtime/knotify/main.cpp:73
Comment 1 David Broome 2009-05-02 18:22:19 UTC
OK, using the auto-generate form does not seem to grab the version or target.

I am using trunk - svn revision listed from kdebase is 962595.  

I am using Debian unstable with QT version 4.5.1 from the sid repos.

libc6 is 2.9-9
xine is 1.1.16.3-1

Looking at the bug report again and it looks like most of this is in the krash report.  Since the first couple lines mentioned libc6, xine, and QT, I provide the version numbers I am using (they are from Debian Sid as well.)
Comment 2 David Broome 2009-05-02 18:59:58 UTC
Actually, I think this is a sound card issue.

I open kopete and every time a message came, I got the error.

I do not use sounds for most things so I didn't connect that the error was due to the startup theme.

I will close this since knotify is correct when telling me there is an error - I just wish the error would give a better description than aborted :)
Comment 3 Dario Andres 2009-05-02 19:37:09 UTC
Mh, Knotify(nor Phonon, the multimedia system) should not crash even when the soundcard has a problem I guess. I'm reopening and reassigning to Phonon
Comment 4 Dario Andres 2009-09-07 01:25:19 UTC
*** Bug 206567 has been marked as a duplicate of this bug. ***
Comment 5 Myriam Schweingruber 2009-11-08 21:09:48 UTC
Confirmed by duplicates.
Comment 6 Myriam Schweingruber 2009-11-08 21:14:41 UTC
*** Bug 195486 has been marked as a duplicate of this bug. ***
Comment 7 Myriam Schweingruber 2009-11-16 11:25:44 UTC
*** Bug 214762 has been marked as a duplicate of this bug. ***
Comment 8 Myriam Schweingruber 2009-11-30 08:52:15 UTC
*** Bug 216770 has been marked as a duplicate of this bug. ***
Comment 9 Jonathan Thomas 2009-12-16 14:57:39 UTC
*** Bug 207422 has been marked as a duplicate of this bug. ***
Comment 10 Myriam Schweingruber 2009-12-25 10:41:44 UTC
Actually, a duplicate, too...

*** This bug has been marked as a duplicate of bug 180214 ***
Comment 11 Jonathan Thomas 2009-12-25 16:01:10 UTC
Different backtrace/assert, these are separate crashes.
Comment 12 Jonathan Thomas 2009-12-25 16:01:35 UTC
*** Bug 220048 has been marked as a duplicate of this bug. ***
Comment 13 Daniel Hahler 2010-02-20 20:49:32 UTC
Created attachment 40966 [details]
New crash information added by DrKonqi

I've been reporting another bug, started Quassel (IRC client) and notifications popped up (because of nick registration and such), this apparently made KNotify/Phonon crash.
Comment 14 Dario Andres 2010-02-20 20:53:04 UTC
New backtrace form the last crash (KDE SC 4.4.0):
#8  0x006d4a42 in *__GI_abort () at abort.c:92
#9  0x0048626c in qt_message_output (msgType=QtFatalMsg, buf=0xb45337a0 "ASSERT: \"m_nullAudioPort\" in file ../../xine/xinestream.cpp, line 216") at global/qglobal.cpp:2250
#10 0x0048643a in qt_message (msgType=<value optimized out>, msg=0x5f92bc "ASSERT: \"%s\" in file %s, line %d", ap=0xb56597e4 "zXy\003\337Wy\003\330") at global/qglobal.cpp:2296
#11 0x00486549 in qFatal (msg=0x5f92bc "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2479
#12 0x004865d5 in qt_assert (assertion=0x379587a "m_nullAudioPort", file=0x37957df "../../xine/xinestream.cpp", line=216) at global/qglobal.cpp:2013
#13 0x03756d57 in Phonon::Xine::XineStream::nullAudioPort (this=0xb4558d50) at ../../xine/xinestream.cpp:216
#14 0x037598a4 in Phonon::Xine::XineStream::createStream (this=0xb4558d50) at ../../xine/xinestream.cpp:523
#15 0x0375f38a in Phonon::Xine::XineStream::event (this=0xb4558d50, ev=0x98dbdd0) at ../../xine/xinestream.cpp:1232
Comment 15 Frank Reininghaus 2010-03-14 15:13:08 UTC
*** Bug 230421 has been marked as a duplicate of this bug. ***
Comment 16 Frank Reininghaus 2010-03-14 15:13:20 UTC
*** Bug 230718 has been marked as a duplicate of this bug. ***
Comment 17 Frank Reininghaus 2010-03-14 15:13:30 UTC
*** Bug 230717 has been marked as a duplicate of this bug. ***
Comment 18 Myriam Schweingruber 2010-04-06 09:58:42 UTC
Set correct version. Is this still valid with KDE SC 4.4.2?
Comment 19 Myriam Schweingruber 2010-05-03 10:13:53 UTC
Closing for lack of feedback. Please only reopen this report if you can reproduce it with KDE SC 4.4.2/Phonon 4.4.0 or later.
Comment 20 Christoph Feck 2010-06-29 21:11:52 UTC
Bug 243190 is from 4.5 RC 1. Not sure what Phonon version is used, though.
Comment 21 Christoph Feck 2010-06-29 21:12:17 UTC
*** Bug 243190 has been marked as a duplicate of this bug. ***
Comment 22 Christoph Feck 2010-11-16 15:07:56 UTC
Bug 257061 is from 4.4.5. I suggest to reopen this?
Comment 23 Christoph Feck 2010-11-16 15:08:18 UTC
*** Bug 257061 has been marked as a duplicate of this bug. ***
Comment 24 Dario Andres 2010-11-16 21:44:26 UTC
[Comment from a bug triager]
It could make sense to reopen this bug report. Additionally, bug 247461 describes a different issue with the same backtrace, so that case could also be added here.