[kdelibs] [Bug 314025] New: Appmenu cause kded crash if when application is closing and mouse still do something on the top screen menu

Weng Xuetian wengxt at gmail.com
Mon Jan 28 13:23:09 GMT 2013


https://bugs.kde.org/show_bug.cgi?id=314025

            Bug ID: 314025
           Summary: Appmenu cause kded crash if when application is
                    closing and mouse still do something on the top screen
                    menu
    Classification: Unclassified
           Product: kdelibs
           Version: unspecified
          Platform: Chakra
                OS: Linux
            Status: CONFIRMED
          Severity: crash
          Priority: NOR
         Component: kded
          Assignee: unassigned-bugs at kde.org
          Reporter: wengxt at gmail.com

Application: kded4 ($Id$)
KDE Platform Version: 4.9.98
Qt Version: 4.8.4
Operating System: Linux 3.6.6-1-CHAKRA x86_64
Distribution: "Chakra"

-- Information about the crash:
Way to reproduce this bug:
1. sleep 10; kwrite
2. keep mouse on the menu of kwrite.
3. wait kwrite to be killed
4. menu is still there and click on it will cause crash.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE 守护进程 (kded4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f8c0a813780 (LWP 30080))]

Thread 4 (Thread 0x7f8beca30700 (LWP 30084)):
#0  0x00007f8c0a16e05f in poll () from /lib/libc.so.6
#1  0x00007f8c046b4264 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f8c046b4384 in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#3  0x00007f8c07ffccb6 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#4  0x00007f8c07fcd66f in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#5  0x00007f8c07fcd8f8 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#6  0x00007f8c07ecf6d0 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f8c07fadfef in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f8c07ed265c in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f8c04e72e0e in start_thread () from /lib/libpthread.so.0
#10 0x00007f8c0a1761dd in clone () from /lib/libc.so.6

Thread 3 (Thread 0x7f8be1054700 (LWP 30086)):
#0  0x00007f8c0a16e05f in poll () from /lib/libc.so.6
#1  0x00007f8c046b4264 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f8c046b4384 in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#3  0x00007f8c07ffccb6 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#4  0x00007f8c07fcd66f in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#5  0x00007f8c07fcd8f8 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#6  0x00007f8c07ecf6d0 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f8c07ed265c in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f8c04e72e0e in start_thread () from /lib/libpthread.so.0
#9  0x00007f8c0a1761dd in clone () from /lib/libc.so.6

Thread 2 (Thread 0x7f8bda174700 (LWP 30092)):
#0  0x00007f8c0a16a0fd in read () from /lib/libc.so.6
#1  0x00007f8c046eeecf in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f8c046b3cfa in g_main_context_check () from
/usr/lib/libglib-2.0.so.0
#3  0x00007f8c046b4202 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00007f8c046b4384 in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#5  0x00007f8c07ffccb6 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#6  0x00007f8c07fcd66f in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#7  0x00007f8c07fcd8f8 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#8  0x00007f8c07ecf6d0 in QThread::exec() () from /usr/lib/libQtCore.so.4
#9  0x00007f8c07fadfef in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007f8c07ed265c in ?? () from /usr/lib/libQtCore.so.4
#11 0x00007f8c04e72e0e in start_thread () from /lib/libpthread.so.0
#12 0x00007f8c0a1761dd in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7f8c0a813780 (LWP 30080)):
[KCrash Handler]
#5  0x0000000000000000 in ?? ()
#6  0x00007f8c07fe4a71 in QObject::disconnect(QObject const*, char const*,
QObject const*, char const*) () from /usr/lib/libQtCore.so.4
#7  0x00007f8bdac30823 in MenuWidget::showMenu (this=0x120c7d0) at
/chakra/desktop-unstable/kde-workspace/src/kde-workspace-4.9.98/appmenu/menuwidget.cpp:275
#8  0x00007f8bdac31009 in MenuWidget::slotButtonClicked (this=0x120c7d0) at
/chakra/desktop-unstable/kde-workspace/src/kde-workspace-4.9.98/appmenu/menuwidget.cpp:198
#9  0x00007f8c07fe513f in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) () from /usr/lib/libQtCore.so.4
#10 0x00007f8bf7687db5 in ?? () from /usr/lib/libplasma.so.3
#11 0x00007f8c07fe513f in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) () from /usr/lib/libQtCore.so.4
#12 0x00007f8c09282e92 in QAbstractButton::clicked(bool) () from
/usr/lib/libQtGui.so.4
#13 0x00007f8c08fd7c9e in ?? () from /usr/lib/libQtGui.so.4
#14 0x00007f8c08fd84d0 in ?? () from /usr/lib/libQtGui.so.4
#15 0x00007f8c08fd873c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
from /usr/lib/libQtGui.so.4
#16 0x00007f8c090929aa in QToolButton::mouseReleaseEvent(QMouseEvent*) () from
/usr/lib/libQtGui.so.4
#17 0x00007f8c08c8d619 in QWidget::event(QEvent*) () from
/usr/lib/libQtGui.so.4
#18 0x00007f8c08c3dd4c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQtGui.so.4
#19 0x00007f8c08c42a2b in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQtGui.so.4
#20 0x00007f8c099362d6 in KApplication::notify (this=0x7fff152af5d0,
receiver=0x13b6ef0, event=0x12f6290) at
/home/saber/Develop/kdelibs/kdeui/kernel/kapplication.cpp:311
#21 0x00007f8c07fce91e in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib/libQtCore.so.4
#22 0x00007f8c08c3eb8b in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from
/usr/lib/libQtGui.so.4
#23 0x00007f8c091faba4 in ?? () from /usr/lib/libQtGui.so.4
#24 0x00007f8c091da879 in QGraphicsItem::sceneEvent(QEvent*) () from
/usr/lib/libQtGui.so.4
#25 0x00007f8c09203690 in ?? () from /usr/lib/libQtGui.so.4
#26 0x00007f8c09204085 in
QGraphicsScene::mouseReleaseEvent(QGraphicsSceneMouseEvent*) () from
/usr/lib/libQtGui.so.4
#27 0x00007f8c09216dcc in QGraphicsScene::event(QEvent*) () from
/usr/lib/libQtGui.so.4
#28 0x00007f8c08c3dd4c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQtGui.so.4
#29 0x00007f8c08c421ca in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQtGui.so.4
#30 0x00007f8c099362d6 in KApplication::notify (this=0x7fff152af5d0,
receiver=0xf9f610, event=0x7fff152adf10) at
/home/saber/Develop/kdelibs/kdeui/kernel/kapplication.cpp:311
#31 0x00007f8c07fce91e in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib/libQtCore.so.4
#32 0x00007f8c0922d161 in QGraphicsView::mouseReleaseEvent(QMouseEvent*) ()
from /usr/lib/libQtGui.so.4
#33 0x00007f8c08c8d619 in QWidget::event(QEvent*) () from
/usr/lib/libQtGui.so.4
#34 0x00007f8c09018b56 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#35 0x00007f8c092305db in QGraphicsView::viewportEvent(QEvent*) () from
/usr/lib/libQtGui.so.4
#36 0x00007f8c07fcea86 in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
from /usr/lib/libQtCore.so.4
#37 0x00007f8c08c3dd1c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQtGui.so.4
#38 0x00007f8c08c42a2b in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQtGui.so.4
#39 0x00007f8c099362d6 in KApplication::notify (this=0x7fff152af5d0,
receiver=0x129af10, event=0x7fff152ae840) at
/home/saber/Develop/kdelibs/kdeui/kernel/kapplication.cpp:311
#40 0x00007f8c07fce91e in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib/libQtCore.so.4
#41 0x00007f8c08c3eb8b in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from
/usr/lib/libQtGui.so.4
#42 0x00007f8c08cb9754 in ?? () from /usr/lib/libQtGui.so.4
#43 0x00007f8c08cb8051 in QApplication::x11ProcessEvent(_XEvent*) () from
/usr/lib/libQtGui.so.4
#44 0x00007f8c08cddd32 in ?? () from /usr/lib/libQtGui.so.4
#45 0x00007f8c046b3eac in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#46 0x00007f8c046b42c8 in ?? () from /usr/lib/libglib-2.0.so.0
#47 0x00007f8c046b4384 in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#48 0x00007f8c07ffcc96 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#49 0x00007f8c08cdd9be in ?? () from /usr/lib/libQtGui.so.4
#50 0x00007f8c07fcd66f in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#51 0x00007f8c07fcd8f8 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#52 0x00007f8c07fd2598 in QCoreApplication::exec() () from
/usr/lib/libQtCore.so.4
#53 0x00007f8c0a43b2e0 in kdemain () from /usr/lib/libkdeinit4_kded4.so
#54 0x00007f8c0a0b3455 in __libc_start_main () from /lib/libc.so.6
#55 0x0000000000400651 in _start ()

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list