Bug 304301

Summary: Possible duplicate of bug 297031
Product: [Unmaintained] muon Reporter: Fernando Selles <sellesf>
Component: notifierAssignee: Jonathan Thomas <echidnaman>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Fernando Selles 2012-07-30 21:18:15 UTC
Application: kded4 ($Id$)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-27-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
Running Software Updates unattended, with Mozilla Firefox (14.0.1) waiting in the background with Google Maps; when I returned to the computer, the crash window was up.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KDE Dæmon (kdeinit4), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f4700dc9780 (LWP 2432))]

Thread 4 (Thread 0x7f46e3ae4700 (LWP 2435)):
#0  0x00007f46fe5f3b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f46fb70a036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f46fb70a164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f46ffa42426 in QEventDispatcherGlib::processEvents (this=0x7f46dc0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f46ffa11c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f46ffa11ed7 in QEventLoop::exec (this=0x7f46e3ae3d40, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f46ff910fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f46ff913fcb in QThreadPrivate::start (arg=0xf89b30) at thread/qthread_unix.cpp:298
#8  0x00007f46ef1cbb74 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#9  0x00007f46fbfe0e9a in start_thread (arg=0x7f46e3ae4700) at pthread_create.c:308
#10 0x00007f46fe5ff4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f46e32e3700 (LWP 2440)):
#0  0x00007fff74b518de in ?? ()
#1  0x00007f46fb9bb15d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007f46ff96abb4 in do_gettime (frac=0x7f46e32e2ad8, sec=0x7f46e32e2ad0) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f46ffa42b8d in QTimerInfoList::updateCurrentTime (this=0x7f46d4002660) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007f46ffa42ec3 in QTimerInfoList::timerWait (this=0x7f46d4002660, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007f46ffa4197c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f46e32e2bac) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f46ffa41a25 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f46fb709846 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f46fb709f5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f46fb70a164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f46ffa42426 in QEventDispatcherGlib::processEvents (this=0x7f46d40008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007f46ffa11c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f46ffa11ed7 in QEventLoop::exec (this=0x7f46e32e2d10, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f46ff910fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007f46ff9f19ff in QInotifyFileSystemWatcherEngine::run (this=0xfcefe0) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007f46ff913fcb in QThreadPrivate::start (arg=0xfcefe0) at thread/qthread_unix.cpp:298
#17 0x00007f46ef1cbb74 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#18 0x00007f46fbfe0e9a in start_thread (arg=0x7f46e32e3700) at pthread_create.c:308
#19 0x00007f46fe5ff4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f46d3a91700 (LWP 2625)):
#0  0x00007f46fbfe405d in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x130fd40) at pthread_mutex_unlock.c:290
#2  0x00007f46fb7455d1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f46fb709efc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f46fb70a49a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f46d3d7a406 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007f46fb72b9e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f46ef1cbb74 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#8  0x00007f46fbfe0e9a in start_thread (arg=0x7f46d3a91700) at pthread_create.c:308
#9  0x00007f46fe5ff4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4700dc9780 (LWP 2432)):
[KCrash Handler]
#6  0x00007f46fe543445 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f46fe546bab in __GI_abort () at abort.c:91
#8  0x00007f46fe580e2e in __libc_message (do_abort=2, fmt=0x7f46fe68759c "*** %s ***: %s terminated\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:201
#9  0x00007f46fe616007 in __GI___fortify_fail (msg=0x7f46fe687533 "buffer overflow detected") at fortify_fail.c:32
#10 0x00007f46fe614f00 in __GI___chk_fail () at chk_fail.c:29
#11 0x00007f46fe615fbe in __fdelt_chk (d=<optimized out>) at fdelt_chk.c:26
#12 0x00007f46ff9ed4d4 in QProcessPrivate::waitForStarted (this=<optimized out>, msecs=-1) at io/qprocess_unix.cpp:1038
#13 0x00007f46ff9a84c3 in QProcess::waitForFinished (this=0x7fff74ac41c0, msecs=-1) at io/qprocess.cpp:1752
#14 0x00007f46ffe84f62 in KProcess::execute (this=0x7fff74ac41c0, msecs=-1) at ../../kdecore/io/kprocess.cpp:350
#15 0x00007f46d06e047f in ?? () from /usr/lib/kde4/kded_muon-notifier.so
#16 0x00007f46d06e0517 in ?? () from /usr/lib/kde4/kded_muon-notifier.so
#17 0x00007f46ffa27281 in QMetaObject::activate (sender=0x152bd60, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff74ac4470) at kernel/qobject.cpp:3547
#18 0x00007f46ffe7aa62 in KDirWatch::dirty (this=<optimized out>, _t1=...) at ./kdirwatch.moc:113
#19 0x00007f46ffa2c446 in QObject::event (this=0x152bd60, e=<optimized out>) at kernel/qobject.cpp:1195
#20 0x00007f46fed95894 in notify_helper (e=0x14327c0, receiver=0x152bd60, this=0xc9c6c0) at kernel/qapplication.cpp:4559
#21 QApplicationPrivate::notify_helper (this=0xc9c6c0, receiver=0x152bd60, e=0x14327c0) at kernel/qapplication.cpp:4531
#22 0x00007f46fed9a713 in QApplication::notify (this=0x7fff74ac4df0, receiver=0x152bd60, e=0x14327c0) at kernel/qapplication.cpp:4420
#23 0x00007f47007ad9e6 in KApplication::notify (this=0x7fff74ac4df0, receiver=0x152bd60, event=0x14327c0) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x00007f46ffa12e9c in QCoreApplication::notifyInternal (this=0x7fff74ac4df0, receiver=0x152bd60, event=0x14327c0) at kernel/qcoreapplication.cpp:876
#25 0x00007f46ffa16c6a in sendEvent (event=0x14327c0, receiver=0x152bd60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xb962b0) at kernel/qcoreapplication.cpp:1500
#27 0x00007f46ffa41f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#28 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#29 0x00007f46fb709d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f46fb70a0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f46fb70a164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f46ffa423bf in QEventDispatcherGlib::processEvents (this=0xb987d0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#33 0x00007f46fee3dd5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f46ffa11c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007f46ffa11ed7 in QEventLoop::exec (this=0x7fff74ac4d80, flags=...) at kernel/qeventloop.cpp:204
#36 0x00007f46ffa16f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#37 0x00007f46eab18e55 in kdemain (argc=1, argv=0xcd5300) at ../../kded/kded.cpp:924
#38 0x00000000004086a4 in launch (argc=1, _name=0x40b497 "kded4", args=<optimized out>, cwd=0x0, envc=<optimized out>, envs=<optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x40b31e "0") at ../../kinit/kinit.cpp:746
#39 0x0000000000405a59 in main (argc=4, argv=0x7fff00000001, envp=0x7fff74ac5f80) at ../../kinit/kinit.cpp:1861

This bug may be a duplicate of or related to bug 297031.

Possible duplicates by query: bug 303502, bug 301541, bug 299471, bug 297031.

Reported using DrKonqi
Comment 1 Jonathan Thomas 2012-09-25 23:45:22 UTC
*** Bug 304487 has been marked as a duplicate of this bug. ***
Comment 2 Jonathan Thomas 2012-09-25 23:46:04 UTC
Buffer overflow in QProcess, nothing that can be done by Muon.
Comment 3 Christoph Feck 2012-09-26 01:22:29 UTC
QProcess doesn't overflow itself. The issue here is that some kded module leaks file descriptors. This doesn't mean the bug has to be in the muon module. See also bug 306908.

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