Bug 248935 - knotify crash when reporting NMI messages using plasma-netbook
Summary: knotify crash when reporting NMI messages using plasma-netbook
Status: RESOLVED LATER
Alias: None
Product: Phonon
Classification: Unclassified
Component: general (show other bugs)
Version: 4.4.2 (KDE 4.5)
Platform: openSUSE RPMs Linux
: NOR crash (vote)
Target Milestone: ---
Assignee: Martin Sandsmark
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-24 22:11 UTC by Nico Kruber
Modified: 2010-09-29 11:27 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 Nico Kruber 2010-08-24 22:11:32 UTC
Application: knotify4 (4.0)
KDE Platform Version: 4.5.00 (KDE 4.5.0)
Qt Version: 4.6.3
Operating System: Linux 2.6.34-12-desktop i686
Distribution: "openSUSE 11.3 (i586)"

-- Information about the crash:
- What I was doing when the application crashed:
ktorrent was keeping the network and disk busy (at least a bit) and the kernel was reporting the following 3 messages:
----------------
Message from syslogd@nico-netbook at Aug 24 22:04:08 ...
 kernel:[ 2135.125644] Uhhuh. NMI received for unknown reason b1 on CPU 0.

Message from syslogd@nico-netbook at Aug 24 22:04:08 ...
 kernel:[ 2135.125662] You have some hardware problem, likely on the PCI bus.

Message from syslogd@nico-netbook at Aug 24 22:04:08 ...
 kernel:[ 2135.125672] Dazed and confused, but trying to continue
----------------
this is not the first time this happens on my netbook but normally nothing changes and I can work with it just as usual...

I saw the messages from knotify but then it crashed

- Custom settings of the application:
I'm using the plasma-netbook shell if this is relevant...

-- Backtrace:
Application: KNotify (knotify4), signal: Aborted
[Current thread is 1 (Thread 0xb5610710 (LWP 3603))]

Thread 14 (Thread 0xad28fb70 (LWP 4324)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5dc1452 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb61012a4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb245f1d7 in metronom_sync_loop () from /usr/lib/libxine.so.1
#4  0xb5dbcb25 in start_thread () from /lib/libpthread.so.0
#5  0xb60f346e in clone () from /lib/libc.so.6

Thread 13 (Thread 0xaca8eb70 (LWP 4325)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb61015b3 in __lll_lock_wait_private () from /lib/libc.so.6
#2  0xb609435f in _L_lock_10260 () from /lib/libc.so.6
#3  0xb6092ad6 in free () from /lib/libc.so.6
#4  0xb77ae635 in _dl_deallocate_tls () from /lib/ld-linux.so.2
#5  0xb5dbbc21 in __free_stacks () from /lib/libpthread.so.0
#6  0xb5dbbd28 in __deallocate_stack () from /lib/libpthread.so.0
#7  0xb5dbdbbc in pthread_join () from /lib/libpthread.so.0
#8  0xb24758d0 in xine_event_dispose_queue () from /usr/lib/libxine.so.1
#9  0xb24fd8ba in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#10 0xb63b3c64 in QApplicationPrivate::notify_helper (this=0x8093610, receiver=0x837d428, e=0x813f740) at kernel/qapplication.cpp:4302
#11 0xb63bbbf7 in QApplication::notify (this=0xbf860d20, receiver=0x837d428, e=0x813f740) at kernel/qapplication.cpp:3706
#12 0xb749e2c1 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#13 0xb6e5ee0e in QCoreApplication::notifyInternal (this=0xbf860d20, receiver=0x837d428, event=0x813f740) at kernel/qcoreapplication.cpp:726
#14 0xb6e629b4 in sendEvent (receiver=0x0, event_type=0, data=0x8128a38) at kernel/qcoreapplication.h:215
#15 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8128a38) at kernel/qcoreapplication.cpp:1367
#16 0xb6e62b9c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1260
#17 0xb6e8a83d in sendPostedEvents (s=0x81ad238) at kernel/qcoreapplication.h:220
#18 postEventSourceDispatch (s=0x81ad238) at kernel/qeventdispatcher_glib.cpp:276
#19 0xb5aa6b49 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#20 0xb5aa7350 in ?? () from /usr/lib/libglib-2.0.so.0
#21 0xb5aa760e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#22 0xb6e8ad4b in QEventDispatcherGlib::processEvents (this=0x8136fb8, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#23 0xb6e5e11d in QEventLoop::processEvents (this=0xaca8e2c0, flags=...) at kernel/qeventloop.cpp:149
#24 0xb6e5e319 in QEventLoop::exec (this=0xaca8e2c0, flags=...) at kernel/qeventloop.cpp:201
#25 0xb6d62403 in QThread::exec (this=0x81ad6c8) at thread/qthread.cpp:487
#26 0xb24f7dc8 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#27 0xb6d6504f in QThreadPrivate::start (arg=0x81ad6c8) at thread/qthread_unix.cpp:248
#28 0xb5dbcb25 in start_thread () from /lib/libpthread.so.0
#29 0xb60f346e in clone () from /lib/libc.so.6

Thread 12 (Thread 0xac28db70 (LWP 4326)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb60e875e in poll () from /lib/libc.so.6
#2  0xb5d56606 in ?? () from /usr/lib/libpulse.so.0
#3  0xb5d452aa in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0xb5d45aa7 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0xb5d45b84 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0xb5d5658e in ?? () from /usr/lib/libpulse.so.0
#7  0xb58b8dd3 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#8  0xb5dbcb25 in start_thread () from /lib/libpthread.so.0
#9  0xb60f346e in clone () from /lib/libc.so.6

Thread 11 (Thread 0xa7a8bb70 (LWP 4327)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5dc1125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb610124c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb2472180 in ao_loop () from /usr/lib/libxine.so.1
#4  0xb5dbcb25 in start_thread () from /lib/libpthread.so.0
#5  0xb60f346e in clone () from /lib/libc.so.6

Thread 10 (Thread 0xa64ffb70 (LWP 4339)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5dc1452 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb61012a4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb245f1d7 in metronom_sync_loop () from /usr/lib/libxine.so.1
#4  0xb5dbcb25 in start_thread () from /lib/libpthread.so.0
#5  0xb60f346e in clone () from /lib/libc.so.6

Thread 9 (Thread 0xa41feb70 (LWP 7899)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb60e875e in poll () from /lib/libc.so.6
#2  0xb5d56606 in ?? () from /usr/lib/libpulse.so.0
#3  0xb5d452aa in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0xb5d45aa7 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0xb5d45b84 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0xb5d5658e in ?? () from /usr/lib/libpulse.so.0
#7  0xb58b8dd3 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#8  0xb5dbcb25 in start_thread () from /lib/libpthread.so.0
#9  0xb60f346e in clone () from /lib/libc.so.6

Thread 8 (Thread 0xa39fdb70 (LWP 7900)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5dc1125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb610124c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb2472180 in ao_loop () from /usr/lib/libxine.so.1
#4  0xb5dbcb25 in start_thread () from /lib/libpthread.so.0
#5  0xb60f346e in clone () from /lib/libc.so.6

Thread 7 (Thread 0x9b29ab70 (LWP 7906)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5dc1452 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb61012a4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb245f1d7 in metronom_sync_loop () from /usr/lib/libxine.so.1
#4  0xb5dbcb25 in start_thread () from /lib/libpthread.so.0
#5  0xb60f346e in clone () from /lib/libc.so.6

Thread 6 (Thread 0x98f02b70 (LWP 7907)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb61015b3 in __lll_lock_wait_private () from /lib/libc.so.6
#2  0xb609435f in _L_lock_10260 () from /lib/libc.so.6
#3  0xb6092ad6 in free () from /lib/libc.so.6
#4  0xb5d5d947 in pa_xfree () from /usr/lib/libpulse.so.0
#5  0xb5d46856 in ?? () from /usr/lib/libpulse.so.0
#6  0xb5d47ec5 in pa_proplist_clear () from /usr/lib/libpulse.so.0
#7  0xb5d48176 in pa_proplist_free () from /usr/lib/libpulse.so.0
#8  0xb5d4cd55 in pa_stream_unref () from /usr/lib/libpulse.so.0
#9  0xb5d4dda1 in ?? () from /usr/lib/libpulse.so.0
#10 0xb58a40fd in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#11 0xb58a46e6 in pa_pdispatch_run () from /usr/lib/libpulsecommon-0.9.21.so
#12 0xb5d3278d in ?? () from /usr/lib/libpulse.so.0
#13 0xb58a9aa4 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#14 0xb5893f42 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#15 0xb5d455e9 in pa_mainloop_dispatch () from /usr/lib/libpulse.so.0
#16 0xb5d45ab3 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#17 0xb5d45b84 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#18 0xb5d5658e in ?? () from /usr/lib/libpulse.so.0
#19 0xb58b8dd3 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#20 0xb5dbcb25 in start_thread () from /lib/libpthread.so.0
#21 0xb60f346e in clone () from /lib/libc.so.6

Thread 5 (Thread 0x94700b70 (LWP 7908)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5dc1125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb610124c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb2472180 in ao_loop () from /usr/lib/libxine.so.1
#4  0xb5dbcb25 in start_thread () from /lib/libpthread.so.0
#5  0xb60f346e in clone () from /lib/libc.so.6

Thread 4 (Thread 0x938ffb70 (LWP 7909)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5dc1452 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb61012a4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb246dc41 in video_out_loop () from /usr/lib/libxine.so.1
#4  0xb5dbcb25 in start_thread () from /lib/libpthread.so.0
#5  0xb60f346e in clone () from /lib/libc.so.6

Thread 3 (Thread 0x92d15b70 (LWP 7910)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5dc1125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb610124c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb24633a4 in fifo_buffer_get () from /usr/lib/libxine.so.1
#4  0xb2469a25 in video_decoder_loop () from /usr/lib/libxine.so.1
#5  0xb5dbcb25 in start_thread () from /lib/libpthread.so.0
#6  0xb60f346e in clone () from /lib/libc.so.6

Thread 2 (Thread 0x92514b70 (LWP 7911)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5dc1125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb610124c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb24633a4 in fifo_buffer_get () from /usr/lib/libxine.so.1
#4  0xb246ac45 in audio_decoder_loop () from /usr/lib/libxine.so.1
#5  0xb5dbcb25 in start_thread () from /lib/libpthread.so.0
#6  0xb60f346e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5610710 (LWP 3603)):
[KCrash Handler]
#7  0xffffe424 in __kernel_vsyscall ()
#8  0xb604b7ff in raise () from /lib/libc.so.6
#9  0xb604d140 in abort () from /lib/libc.so.6
#10 0xb6087fd7 in __libc_message () from /lib/libc.so.6
#11 0xb608dffb in malloc_printerr () from /lib/libc.so.6
#12 0xb60904da in _int_malloc () from /lib/libc.so.6
#13 0xb609262a in malloc () from /lib/libc.so.6
#14 0xb6d5ff1b in qMalloc (size=56) at global/qmalloc.cpp:55
#15 0xb6db3eaf in QString::realloc (this=0xbf85ffec, alloc=18) at tools/qstring.cpp:1219
#16 0xb6f938db in operator+= (connection=0x8088ac0, msg=0xa263b238, needle=0xa655cfc8, haystack=..., isScriptable=false, isAdaptor=true, path=...) at ../../src/corelib/tools/qstring.h:262
#17 operator+ (connection=0x8088ac0, msg=0xa263b238, needle=0xa655cfc8, haystack=..., isScriptable=false, isAdaptor=true, path=...) at ../../src/corelib/tools/qstring.h:1012
#18 huntAndEmit (connection=0x8088ac0, msg=0xa263b238, needle=0xa655cfc8, haystack=..., isScriptable=false, isAdaptor=true, path=...) at qdbusintegrator.cpp:581
#19 0xb6f9393c in huntAndEmit (connection=0x8088ac0, msg=0xa263b238, needle=0xa655cfc8, haystack=..., isScriptable=false, isAdaptor=true, path=...) at qdbusintegrator.cpp:581
#20 0xb6f944ee in QDBusConnectionPrivate::relaySignal (this=0x8086650, obj=0x0, mo=0xbf860124, signalId=0, args=...) at qdbusintegrator.cpp:1172
#21 0xb6fdb45e in QDBusConnectionPrivate::qt_metacall (this=0x8086650, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf86026c) at .moc/release-shared/moc_qdbusconnection_p.cpp:102
#22 0xb6e64efd in QMetaObject::metacall (object=0x8086650, cl=QMetaObject::InvokeMetaMethod, idx=11, argv=0xbf86026c) at kernel/qmetaobject.cpp:237
#23 0xb6e73fe8 in QMetaObject::activate (sender=0x820b2f0, m=0xb6ff3ae4, local_signal_index=2, argv=0xbf86026c) at kernel/qobject.cpp:3295
#24 0xb6fbda2d in QDBusAdaptorConnector::relaySignal (this=0x820b2f0, _t1=0xa655cfc8, _t2=0xb736fd84, _t3=7, _t4=...) at qdbusabstractadaptor.cpp:377
#25 0xb6fbe299 in QDBusAdaptorConnector::relay (this=0x820b2f0, senderObj=0x8627108, lastSignalIdx=7, argv=0xbf86040c) at qdbusabstractadaptor.cpp:306
#26 0xb6fbe32a in QDBusAdaptorConnector::relaySlot (this=0x820b2f0, argv=0xbf86040c) at qdbusabstractadaptor.cpp:268
#27 0xb6fbe39b in QDBusAdaptorConnector::qt_metacall (this=0x820b2f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf86040c) at qdbusabstractadaptor.cpp:364
#28 0xb6e64efd in QMetaObject::metacall (object=0x820b2f0, cl=QMetaObject::InvokeMetaMethod, idx=4, argv=0xbf86040c) at kernel/qmetaobject.cpp:237
#29 0xb6e73fe8 in QMetaObject::activate (sender=0x8627108, m=0xb736fd84, local_signal_index=3, argv=0x0) at kernel/qobject.cpp:3295
#30 0xb735d9c5 in ?? () from /usr/lib/libphonon.so.4
#31 0xb733a738 in ?? () from /usr/lib/libphonon.so.4
#32 0xb733a7e2 in ?? () from /usr/lib/libphonon.so.4
#33 0xb733533d in Phonon::MediaNode::~MediaNode() () from /usr/lib/libphonon.so.4
#34 0xb733a426 in Phonon::AbstractAudioOutput::~AbstractAudioOutput() () from /usr/lib/libphonon.so.4
#35 0xb733dd43 in ?? () from /usr/lib/libphonon.so.4
#36 0xb6e70483 in qDeleteInEventHandler (o=0xa655cfc8) at kernel/qobject.cpp:4001
#37 0xb6e71968 in QObject::event (this=0xa655cfc8, e=0x84f33e8) at kernel/qobject.cpp:1231
#38 0xb63b3c64 in QApplicationPrivate::notify_helper (this=0x8093610, receiver=0xa655cfc8, e=0x84f33e8) at kernel/qapplication.cpp:4302
#39 0xb63bbbf7 in QApplication::notify (this=0xbf860d20, receiver=0xa655cfc8, e=0x84f33e8) at kernel/qapplication.cpp:3706
#40 0xb749e2c1 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#41 0xb6e5ee0e in QCoreApplication::notifyInternal (this=0xbf860d20, receiver=0xa655cfc8, event=0x84f33e8) at kernel/qcoreapplication.cpp:726
#42 0xb6e629b4 in sendEvent (receiver=0x0, event_type=0, data=0x806ec38) at kernel/qcoreapplication.h:215
#43 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x806ec38) at kernel/qcoreapplication.cpp:1367
#44 0xb6e62b9c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1260
#45 0xb6e8a83d in sendPostedEvents (s=0x8090910) at kernel/qcoreapplication.h:220
#46 postEventSourceDispatch (s=0x8090910) at kernel/qeventdispatcher_glib.cpp:276
#47 0xb5aa6b49 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#48 0xb5aa7350 in ?? () from /usr/lib/libglib-2.0.so.0
#49 0xb5aa760e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#50 0xb6e8ad4b in QEventDispatcherGlib::processEvents (this=0x8072648, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#51 0xb646419a in QGuiEventDispatcherGlib::processEvents (this=0x8072648, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#52 0xb6e5e11d in QEventLoop::processEvents (this=0xbf860c64, flags=...) at kernel/qeventloop.cpp:149
#53 0xb6e5e319 in QEventLoop::exec (this=0xbf860c64, flags=...) at kernel/qeventloop.cpp:201
#54 0xb6e62c70 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#55 0xb63b1164 in QApplication::exec () at kernel/qapplication.cpp:3581
#56 0x0804f3af in _start ()

Possible duplicates by query: bug 223899.

Reported using DrKonqi
Comment 1 Christoph Feck 2010-08-24 22:20:19 UTC
When allocating 56 bytes of memory causes an assert, then it is because of memory corruption, which could have happened anywhere, not just in the functions visible in the backtrace. Thus, the bugreport is useless without a valgrind log or steps to reproduce.

Reassigning this to Phonon for inspection, but it may also be related to the fact that Thread #13 is in free() while Thread #1 is in malloc(), which would mean you use a buggy (non-thread-safe) glibc.
Comment 2 Myriam Schweingruber 2010-08-25 19:35:03 UTC
Please install debugging symbols for phonon and glibc and try to reproduce this crash.
Comment 3 Nico Kruber 2010-08-26 08:09:45 UTC
didn't see that there are unknown functions from libphonon.so.4 and DrKonqi didn't offer me to install any
Comment 4 Myriam Schweingruber 2010-08-26 12:09:22 UTC
Well, then have a look at the OpenSuSE repositories. See also http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports#Preparing_your_KDE_packages
Comment 5 Nico Kruber 2010-08-26 15:23:36 UTC
hmm, my last message seems to have been cut short - I remember having written more ... :P
I just haven't had a thorough look at the backtrace and DrKonqi normally offers an "install debug symbols" button if any (important) debug symbols are missing (at least on openSUSE) -> I'll look more thoroughly through the backtrace for my next bugreports
Comment 6 Myriam Schweingruber 2010-09-29 11:02:31 UTC
Did you try to reproduce this bug since?
Comment 7 Nico Kruber 2010-09-29 11:18:12 UTC
so far, nothing has crashed when NMIs have been received (which already is quite rare)
Comment 8 Myriam Schweingruber 2010-09-29 11:27:12 UTC
Closing for now, please reopen if you can reproduce this again.