Bug 186870

Summary: Kate crashes with SIGSEGV on exit
Product: [Applications] kate Reporter: Nils Larsson <ni1s>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nils Larsson 2009-03-11 16:00:10 UTC
Version:            (using KDE 4.2.1)
Compiler:          gcc version 4.3.3 (Gentoo 4.3.3 p1.0, pie-10.1.5) 
OS:                Linux
Installed from:    Gentoo Packages

When I exit Kate(Qt: 4.5.0,KDE: 4.2.1 (KDE 4.2.1), Kate: 3.2.1) it crashes, regardles of a file opened or not. 

The KDE crash handler produces the following backtrace,
Application: Kate (kate), signal SIGSEGV

Thread 1 (Thread 0xb5db78e0 (LWP 12265)):
[KCrash Handler]
#6  0xb74b9ae2 in QMenu::findIdForAction (this=0x83a2b00, act=0x82ed2d0) at widgets/qmenu.cpp:3157
#7  0xb74bb2fd in QMenuPrivate::activateCausedStack (this=0x81ddfd8, causedStack=@0xbfda9368, action=0x82ed2d0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:965
#8  0xb74c18e1 in QMenuPrivate::activateAction (this=0x81ddfd8, action=0x82ed2d0, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1058
#9  0xb74c2656 in QMenu::mouseReleaseEvent (this=0x839b768, e=0xbfda9a8c) at widgets/qmenu.cpp:2252
#10 0xb7b97255 in KMenu::mouseReleaseEvent (this=0x839b768, e=0xbfda9a8c) at /tmp/portage/portage/kde-base/kdelibs-4.2.1/work/kdelibs-4.2.1/kdeui/widgets/kmenu.cpp:454
#11 0xb710899a in QWidget::event (this=0x839b768, event=0xbfda9a8c) at kernel/qwidget.cpp:7516
#12 0xb74c30f9 in QMenu::event (this=0x839b768, e=0xbfda9a8c) at widgets/qmenu.cpp:2351
#13 0xb70b6da4 in QApplicationPrivate::notify_helper (this=0x80d4410, receiver=0x839b768, e=0xbfda9a8c) at kernel/qapplication.cpp:4084
#14 0xb70bf0e4 in QApplication::notify (this=0xbfdaa3c8, receiver=0x839b768, e=0xbfda9a8c) at kernel/qapplication.cpp:3786
#15 0xb7ab23cd in KApplication::notify (this=0xbfdaa3c8, receiver=0x839b768, event=0xbfda9a8c) at /tmp/portage/portage/kde-base/kdelibs-4.2.1/work/kdelibs-4.2.1/kdeui/kernel/kapplication.cpp:307
#16 0xb6c6e73a in QCoreApplication::notifyInternal (this=0xbfdaa3c8, receiver=0x839b768, event=0xbfda9a8c) at kernel/qcoreapplication.cpp:598
#17 0xb70c0553 in QApplicationPrivate::sendMouseEvent (receiver=0x839b768, event=0xbfda9a8c, alienWidget=0x0, nativeWidget=0x839b768, buttonDown=0xb7798a40, lastMouseReceiver=@0xb7798a44)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#18 0xb711fa17 in QETWidget::translateMouseEvent (this=0x839b768, event=0xbfda9fdc) at kernel/qapplication_x11.cpp:4359
#19 0xb711e813 in QApplication::x11ProcessEvent (this=0xbfdaa3c8, event=0xbfda9fdc) at kernel/qapplication_x11.cpp:3543
#20 0xb7144df2 in x11EventSourceDispatch (s=0x80d7230, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#21 0xb6098087 in IA__g_main_context_dispatch (context=0x80d5d10) at gmain.c:2012
#22 0xb609b753 in g_main_context_iterate (context=0x80d5d10, block=1, dispatch=1, self=0x80d45b8) at gmain.c:2645
#23 0xb609b911 in IA__g_main_context_iteration (context=0x80d5d10, may_block=1) at gmain.c:2708
#24 0xb6c95fc8 in QEventDispatcherGlib::processEvents (this=0x80d13b8, flags={i = -1076190824}) at kernel/qeventdispatcher_glib.cpp:323
#25 0xb71445e5 in QGuiEventDispatcherGlib::processEvents (this=0x80d13b8, flags={i = -1076190776}) at kernel/qguieventdispatcher_glib.cpp:202
#26 0xb6c6cf0a in QEventLoop::processEvents (this=0xbfdaa230, flags={i = -1076190712}) at kernel/qeventloop.cpp:149
#27 0xb6c6d0c2 in QEventLoop::exec (this=0xbfdaa230, flags={i = -1076190664}) at kernel/qeventloop.cpp:196
#28 0xb6c6f2b1 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#29 0xb70b6c17 in QApplication::exec () at kernel/qapplication.cpp:3553
#30 0xb7f89935 in kdemain (argc=1, argv=0xbfdaa934) at /tmp/portage/portage/kde-base/kate-4.2.1/work/kate-4.2.1/kate/app/katemain.cpp:250
#31 0x080487b2 in main (argc=0, argv=0x0) at /tmp/portage/portage/kde-base/kate-4.2.1/work/kate_build/kate/app/kate_dummy.cpp:3
Comment 1 Dario Andres 2009-03-11 23:23:26 UTC
Thanks for reporting

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