Bug 318788

Summary: menu bar crashes
Product: [Frameworks and Libraries] kded-appmenu Reporter: Thiago Jung Bauermann <thiago.bauermann>
Component: top menubarAssignee: Cédric Bellegarde <web>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thiago Jung Bauermann 2013-04-24 00:58:04 UTC
Application: kded4 ($Id$)
KDE Platform Version: 4.10.2
Qt Version: 4.8.2
Operating System: Linux 3.2.0-40-generic-pae i686
Distribution: Ubuntu 12.04.2 LTS

-- Information about the crash:
- What I was doing when the application crashed:

I was in the Kontact application, and I had the Zanshin component selected ("Todo Lists"). 

I use the separate app menu on top of the screen. My system was sluggish since it was under load,  and when I selected "Settings → Configure Kontact" in the menu bar it took a while for the configuration window to show up. Before it showed up, I clicked again on "Settings" and moved the mouse over the menu items. That's when kded crashed.

-- Backtrace:
Application: KDE Daemon (kdeinit4), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb769c740 (LWP 3954))]

Thread 3 (Thread 0xb40bbb40 (LWP 3966)):
#0  0x4a608dcd in __GI_clock_gettime (clock_id=1, tp=0xb40bafb8) at ../sysdeps/unix/clock_gettime.c:116
#1  0x41457925 in do_gettime (frac=0xb40bafb0, sec=0xb40bafa8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x41541c66 in QTimerInfoList::updateCurrentTime (this=0x9d871c4) at kernel/qeventdispatcher_unix.cpp:343
#4  0x41541fba in QTimerInfoList::timerWait (this=0x9d871c4, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0x41540863 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb40bb0bc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x415408fd in timerSourcePrepare (source=0x9d87190, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x4ff27872 in g_main_context_prepare (context=0x9d8d178, priority=0xb40bb118) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:2836
#8  0x4ff27faf in g_main_context_iterate (dispatch=1, block=1, context=0x9d8d178, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3126
#9  g_main_context_iterate (context=0x9d8d178, block=1, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#10 0x4ff28201 in g_main_context_iteration (context=0x9d8d178, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#11 0x41541327 in QEventDispatcherGlib::processEvents (this=0x9d8d0c8, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x4150cbed in QEventLoop::processEvents (this=0xb40bb240, flags=...) at kernel/qeventloop.cpp:149
#13 0x4150ce89 in QEventLoop::exec (this=0xb40bb240, flags=...) at kernel/qeventloop.cpp:204
#14 0x413f5f5c in QThread::exec (this=0x9d0fd20) at thread/qthread.cpp:501
#15 0x414ea23d in QInotifyFileSystemWatcherEngine::run (this=0x9d0fd20) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x413f93f0 in QThreadPrivate::start (arg=0x9d0fd20) at thread/qthread_unix.cpp:307
#17 0x4a5a8d4c in start_thread (arg=0xb40bbb40) at pthread_create.c:308
#18 0x4a4ddd3e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb5df5b40 (LWP 4474)):
#0  0xb77b5424 in __kernel_vsyscall ()
#1  0x4a4cf5f0 in __GI___poll (fds=0xb4c02278, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x4ff35a7b in g_poll (fds=0xb4c02278, nfds=1, timeout=-1) at /build/buildd/glib2.0-2.32.3/./glib/gpoll.c:132
#3  0x4ff280ae in g_main_context_poll (n_fds=1, fds=0xb4c02278, timeout=<optimized out>, context=0xb4c004e0, priority=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3440
#4  g_main_context_iterate (dispatch=1, block=1341348432, context=0xb4c004e0, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3141
#5  g_main_context_iterate (context=0xb4c004e0, block=1341348432, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#6  0x4ff28201 in g_main_context_iteration (context=0xb4c004e0, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#7  0x41541327 in QEventDispatcherGlib::processEvents (this=0xb4c00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#8  0x4150cbed in QEventLoop::processEvents (this=0xb5df5240, flags=...) at kernel/qeventloop.cpp:149
#9  0x4150ce89 in QEventLoop::exec (this=0xb5df5240, flags=...) at kernel/qeventloop.cpp:204
#10 0x413f5f5c in QThread::exec (this=0x9d29d80) at thread/qthread.cpp:501
#11 0x414ea23d in QInotifyFileSystemWatcherEngine::run (this=0x9d29d80) at io/qfilesystemwatcher_inotify.cpp:248
#12 0x413f93f0 in QThreadPrivate::start (arg=0x9d29d80) at thread/qthread_unix.cpp:307
#13 0x4a5a8d4c in start_thread (arg=0xb5df5b40) at pthread_create.c:308
#14 0x4a4ddd3e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb769c740 (LWP 3954)):
[KCrash Handler]
#7  0x4152327a in QMetaObject::changeGuard (ptr=0x9f469e8, o=0x9fe9ad8) at kernel/qobject.cpp:446
#8  0x435a407f in operator= (p=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:68
#9  QGraphicsProxyWidgetPrivate::sendWidgetMouseEvent (this=0x9f46890, event=0xbfbf3938) at graphicsview/qgraphicsproxywidget.cpp:284
#10 0x4358585f in QGraphicsItem::sceneEvent (this=0xa10fd50, event=0xbfbf3938) at graphicsview/qgraphicsitem.cpp:6741
#11 0x435e2f06 in QGraphicsWidget::sceneEvent (this=0xa10fd48, event=0xbfbf3938) at graphicsview/qgraphicswidget.cpp:1229
#12 0x435af07e in sendEvent (event=0xbfbf3938, item=0xa10fd50, this=<optimized out>) at graphicsview/qgraphicsscene.cpp:1221
#13 QGraphicsScenePrivate::sendEvent (this=0x9fecc68, item=0xa10fd50, event=0xbfbf3938) at graphicsview/qgraphicsscene.cpp:1197
#14 0x435afcb3 in QGraphicsScenePrivate::sendMouseEvent (this=0x9fecc68, mouseEvent=0xbfbf3938) at graphicsview/qgraphicsscene.cpp:1295
#15 0x435b0717 in QGraphicsScene::mouseReleaseEvent (this=0x9fb2d30, mouseEvent=0xbfbf3938) at graphicsview/qgraphicsscene.cpp:4128
#16 0x435bf0cc in QGraphicsScene::event (this=0x9fb2d30, event=0xbfbf3938) at graphicsview/qgraphicsscene.cpp:3458
#17 0x42f02574 in notify_helper (e=0xbfbf3938, receiver=0x9fb2d30, this=0x9c09488) at kernel/qapplication.cpp:4556
#18 QApplicationPrivate::notify_helper (this=0x9c09488, receiver=0x9fb2d30, e=0xbfbf3938) at kernel/qapplication.cpp:4528
#19 0x42f078dd in QApplication::notify (this=0xbfbf3938, receiver=0x9fb2d30, e=0xbfbf3938) at kernel/qapplication.cpp:4285
#20 0x4b7288c1 in KApplication::notify (this=0xbfbf48a0, receiver=0x9fb2d30, event=0xbfbf3938) at ../../kdeui/kernel/kapplication.cpp:311
#21 0x4150e34e in QCoreApplication::notifyInternal (this=0xbfbf48a0, receiver=0x9fb2d30, event=0xbfbf3938) at kernel/qcoreapplication.cpp:915
#22 0x42f003bd in sendSpontaneousEvent (event=0xbfbf3938, receiver=0x9fb2d30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#23 qt_sendSpontaneousEvent (receiver=0x9fb2d30, event=0xbfbf3938) at kernel/qapplication.cpp:5554
#24 0x435de148 in QGraphicsView::mouseReleaseEvent (this=0x9f528c0, event=0xbfbf4054) at graphicsview/qgraphicsview.cpp:3338
#25 0x42f5c77c in QWidget::event (this=0x9f528c0, event=0xbfbf4054) at kernel/qwidget.cpp:8371
#26 0x4337ab05 in QFrame::event (this=0x9f528c0, e=0xbfbf4054) at widgets/qframe.cpp:557
#27 0x4340d7c1 in QAbstractScrollArea::viewportEvent (this=0x9f528c0, e=0xbfbf4054) at widgets/qabstractscrollarea.cpp:1043
#28 0x435e140c in QGraphicsView::viewportEvent (this=0x9f528c0, event=0xbfbf4054) at graphicsview/qgraphicsview.cpp:2866
#29 0x4340fee6 in viewportEvent (this=<optimized out>, event=0xbfbf4054) at widgets/qabstractscrollarea_p.h:100
#30 eventFilter (e=0xbfbf4054, this=<optimized out>, o=<optimized out>) at widgets/qabstractscrollarea_p.h:116
#31 QAbstractScrollAreaFilter::eventFilter (this=0x9ec78f8, o=0x9fb2d68, e=0xbfbf4054) at widgets/qabstractscrollarea_p.h:115
#32 0x4150e4e6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9c09488, receiver=0x9fb2d68, event=0xbfbf4054) at kernel/qcoreapplication.cpp:1025
#33 0x42f02542 in notify_helper (e=0xbfbf4054, receiver=0x9fb2d68, this=0x9c09488) at kernel/qapplication.cpp:4552
#34 QApplicationPrivate::notify_helper (this=0x9c09488, receiver=0x9fb2d68, e=0xbfbf4054) at kernel/qapplication.cpp:4528
#35 0x42f085f4 in QApplication::notify (this=0x9c09488, receiver=0x9fb2d68, e=0xbfbf4054) at kernel/qapplication.cpp:4099
#36 0x4b7288c1 in KApplication::notify (this=0xbfbf48a0, receiver=0x9fb2d68, event=0xbfbf4054) at ../../kdeui/kernel/kapplication.cpp:311
#37 0x4150e34e in QCoreApplication::notifyInternal (this=0xbfbf48a0, receiver=0x9fb2d68, event=0xbfbf4054) at kernel/qcoreapplication.cpp:915
#38 0x42f03535 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#39 QApplicationPrivate::sendMouseEvent (receiver=0x9fb2d68, event=0xbfbf4054, alienWidget=0x9fb2d68, nativeWidget=0x9f528c0, buttonDown=0x43897474, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3167
#40 0x42f8f714 in QETWidget::translateMouseEvent (this=0x9f528c0, event=0xbfbf450c) at kernel/qapplication_x11.cpp:4617
#41 0x42f8e2ad in QApplication::x11ProcessEvent (this=0xbfbf48a0, event=0xbfbf450c) at kernel/qapplication_x11.cpp:3732
#42 0x42fbb59c in x11EventSourceDispatch (s=0x9c0bb30, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#43 0x4ff27d86 in g_main_dispatch (context=0x9c0a780) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:2539
#44 g_main_context_dispatch (context=0x9c0a780) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3075
#45 0x4ff28125 in g_main_context_iterate (dispatch=1, block=1341348432, context=0x9c0a780, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3146
#46 g_main_context_iterate (context=0x9c0a780, block=1341348432, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#47 0x4ff28201 in g_main_context_iteration (context=0x9c0a780, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#48 0x415412c7 in QEventDispatcherGlib::processEvents (this=0x9b94da8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#49 0x42fbb19a in QGuiEventDispatcherGlib::processEvents (this=0x9b94da8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x4150cbed in QEventLoop::processEvents (this=0xbfbf4804, flags=...) at kernel/qeventloop.cpp:149
#51 0x4150ce89 in QEventLoop::exec (this=0xbfbf4804, flags=...) at kernel/qeventloop.cpp:204
#52 0x4151288a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#53 0x42f00144 in QApplication::exec () at kernel/qapplication.cpp:3817
#54 0xb779db79 in kdemain (argc=1, argv=0x9bca370) at ../../kded/kded.cpp:924
#55 0x0804f85c in launch (argc=<optimized out>, _name=0x805259b "kded4", args=<optimized out>, cwd=0x0, envc=0, envs=<optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x805242a "0") at ../../kinit/kinit.cpp:738
#56 0x0804c9ef in main (argc=0, argv=0xbff00000, envp=0x0) at ../../kinit/kinit.cpp:1853

Reported using DrKonqi
Comment 1 Cédric Bellegarde 2013-05-17 08:49:00 UTC
I can reproduce this bug but no idea what is happening...
Comment 3 Jekyll Wu 2013-05-27 07:40:25 UTC
could the fix be backported to the 4.10 branch ?
Comment 4 Thiago Jung Bauermann 2013-05-27 20:31:32 UTC
Thanks!