Bug 203252 - kwrite crashes after adding/removing highlighting toolbar button
Summary: kwrite crashes after adding/removing highlighting toolbar button
Status: RESOLVED DUPLICATE of bug 200815
Alias: None
Product: kate
Classification: Applications
Component: kwrite (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-10 03:24 UTC by Jason Stubbs
Modified: 2009-09-21 00:48 UTC (History)
0 users

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 Jason Stubbs 2009-08-10 03:24:22 UTC
Application that crashed: kwrite
Version of the application: 4.3.00 (KDE 4.3.0)
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.30-gentoo-r4 x86_64

What I was doing when the application crashed:
After adding the "Highlighting" button to the "Main Toolbar <KatePartView>" toolbar, clicking "OK", opening up the list (which is empty) and then removing the button again, kwrite will invariably crash, although the traceback and timing of the crash is different each time.

 -- Backtrace:
Application: KWrite (kdeinit4), signal: Aborted
[KCrash Handler]
#5  0x00007ff891fac205 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007ff891fad723 in *__GI_abort () at abort.c:88
#7  0x00007ff89560c83d in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2042
#8  0x00007ff89560c950 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2241
#9  0x00007ff89563370e in QListData::realloc (this=0x7fff4f81b390, alloc=<value optimized out>) at tools/qlistdata.cpp:113
#10 0x00007ff8956338dd in QListData::append (this=0x7fff4f81b390) at tools/qlistdata.cpp:131
#11 0x00007ff892c1aadd in QList<QWidget*>::append (this=0x7fff4f81b390, t=@0x5fd7) at ../../include/QtCore/../../src/corelib/tools/qlist.h:429
#12 0x00007ff892c1106c in QApplication::allWidgets () at ../../include/QtCore/../../src/corelib/tools/qset.h:283
#13 0x00007ff892c110ca in QApplication::topLevelWidgets () at kernel/qapplication.cpp:1988
#14 0x00007ff892c178c3 in QApplicationPrivate::enterModal (widget=0x7fff4f81b6f0) at kernel/qapplication.cpp:2763
#15 0x00007ff892c5e79d in QWidgetPrivate::show_helper (this=0x20396d0) at kernel/qwidget.cpp:6761
#16 0x00007ff892c5ec12 in QWidget::setVisible (this=0x7fff4f81b6f0, visible=<value optimized out>) at kernel/qwidget.cpp:6975
#17 0x00007ff89301be4c in QDialog::setVisible (this=0x7fff4f81b6f0, visible=<value optimized out>) at dialogs/qdialog.cpp:706
#18 0x00007ff89301b45c in QDialog::exec (this=0x7fff4f81b6f0) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:473
#19 0x00007ff8897d6136 in KWrite::editToolbars (this=0x1af4360) at /var/tmp/portage/kde-base/kwrite-4.3.0/work/kwrite-4.3.0/kwrite/kwritemain.cpp:333
#20 0x00007ff8897dce3d in KWrite::qt_metacall (this=0x1af4360, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff4f81b890)
    at /var/tmp/portage/kde-base/kwrite-4.3.0/work/kwrite-4.3.0_build/kwrite/kwritemain.moc:109
#21 0x00007ff8956f7e85 in QMetaObject::activate (sender=0x1ecbda0, from_signal_index=<value optimized out>, to_signal_index=6, argv=0xffffffffffffffff) at kernel/qobject.cpp:3101
#22 0x00007ff892c0b847 in QAction::triggered (this=0x5fd7, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#23 0x00007ff892c0caa4 in QAction::activate (this=0x1ecbda0, event=<value optimized out>) at kernel/qaction.cpp:1160
#24 0x00007ff892f9371c in QMenuPrivate::activateCausedStack (this=0x2039e50, causedStack=@0x7fff4f81b9b0, action=0x1ecbda0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:967
#25 0x00007ff892f993eb in QMenuPrivate::activateAction (this=0x2039e50, action=0x1ecbda0, action_e=29613280, self=true) at widgets/qmenu.cpp:1060
#26 0x00007ff893cb6b41 in KMenu::mouseReleaseEvent (this=0x1c3dce0, e=0x7fff4f81c520) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/kdeui/widgets/kmenu.cpp:456
#27 0x00007ff892c5db30 in QWidget::event (this=0x1c3dce0, event=0x7fff4f81c520) at kernel/qwidget.cpp:7549
#28 0x00007ff892f9aa23 in QMenu::event (this=0x1c3dce0, e=0x7fff4f81c520) at widgets/qmenu.cpp:2353
#29 0x00007ff892c10c1d in QApplicationPrivate::notify_helper (this=0x1a08d30, receiver=0x1c3dce0, e=0x7fff4f81c520) at kernel/qapplication.cpp:4056
#30 0x00007ff892c19c51 in QApplication::notify (this=<value optimized out>, receiver=0x1c3dce0, e=0x7fff4f81c520) at kernel/qapplication.cpp:3758
#31 0x00007ff893be5cbb in KApplication::notify (this=0x7fff4f820a10, receiver=0x1c3dce0, event=0x7fff4f81c520)
    at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/kdeui/kernel/kapplication.cpp:302
#32 0x00007ff8956e5fc3 in QCoreApplication::notifyInternal (this=0x7fff4f820a10, receiver=0x1c3dce0, event=0x7fff4f81c520) at kernel/qcoreapplication.cpp:606
#33 0x00007ff892c18f18 in QApplicationPrivate::sendMouseEvent (receiver=0x1c3dce0, event=0x7fff4f81c520, alienWidget=0x0, nativeWidget=0x1c3dce0, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7ff893520ef0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#34 0x00007ff892c735ab in QETWidget::translateMouseEvent (this=0x1c3dce0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4338
#35 0x00007ff892c71f15 in QApplication::x11ProcessEvent (this=0x7fff4f820a10, event=0x7fff4f81df10) at kernel/qapplication_x11.cpp:3545
#36 0x00007ff892c96904 in x11EventSourceDispatch (s=0x1a0c430, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#37 0x00007ff8916acfd1 in IA__g_main_context_dispatch (context=0x1a0b520) at gmain.c:2144
#38 0x00007ff8916b06ad in g_main_context_iterate (context=0x1a0b520, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2778
#39 0x00007ff8916b086b in IA__g_main_context_iteration (context=0x1a0b520, may_block=1) at gmain.c:2841
#40 0x00007ff89570ab6f in QEventDispatcherGlib::processEvents (this=0x1a085c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#41 0x00007ff892c961cf in QGuiEventDispatcherGlib::processEvents (this=0x5fd7, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#42 0x00007ff8956e49c2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1333912064}) at kernel/qeventloop.cpp:149
#43 0x00007ff8956e4b5c in QEventLoop::exec (this=0x7fff4f81e240, flags={i = 1333912160}) at kernel/qeventloop.cpp:197
#44 0x00007ff892f9a8a7 in QMenu::exec (this=<value optimized out>, p=@0x7fff4f81eb60, action=0x0) at widgets/qmenu.cpp:1993
#45 0x00007ff893ce7430 in KToolBar::contextMenuEvent (this=0x1dcca80, event=0x7fff4f81eb40) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/kdeui/widgets/ktoolbar.cpp:763
#46 0x00007ff892c5de7e in QWidget::event (this=0x1dcca80, event=0x7fff4f81eb40) at kernel/qwidget.cpp:7708
#47 0x00007ff892fd3eab in QToolBar::event (this=0x1dcca80, event=0x7fff4f81eb40) at widgets/qtoolbar.cpp:1193
#48 0x00007ff892c10c1d in QApplicationPrivate::notify_helper (this=0x1a08d30, receiver=0x1dcca80, e=0x7fff4f81eb40) at kernel/qapplication.cpp:4056
#49 0x00007ff892c1a2d6 in QApplication::notify (this=<value optimized out>, receiver=0x1dcca80, e=0x7fff4f81eb40) at kernel/qapplication.cpp:3845
#50 0x00007ff893be5cbb in KApplication::notify (this=0x7fff4f820a10, receiver=0x1dcca80, event=0x7fff4f81eb40)
    at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/kdeui/kernel/kapplication.cpp:302
#51 0x00007ff8956e5fc3 in QCoreApplication::notifyInternal (this=0x7fff4f820a10, receiver=0x1dcca80, event=0x7fff4f81eb40) at kernel/qcoreapplication.cpp:606
#52 0x00007ff892c73a35 in QETWidget::translateMouseEvent (this=0x1af4360, event=<value optimized out>) at kernel/qapplication_x11.cpp:4410
#53 0x00007ff892c71f15 in QApplication::x11ProcessEvent (this=0x7fff4f820a10, event=0x7fff4f820560) at kernel/qapplication_x11.cpp:3545
#54 0x00007ff892c96904 in x11EventSourceDispatch (s=0x1a0c430, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#55 0x00007ff8916acfd1 in IA__g_main_context_dispatch (context=0x1a0b520) at gmain.c:2144
#56 0x00007ff8916b06ad in g_main_context_iterate (context=0x1a0b520, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2778
#57 0x00007ff8916b086b in IA__g_main_context_iteration (context=0x1a0b520, may_block=1) at gmain.c:2841
#58 0x00007ff89570ab6f in QEventDispatcherGlib::processEvents (this=0x1a085c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#59 0x00007ff892c961cf in QGuiEventDispatcherGlib::processEvents (this=0x5fd7, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#60 0x00007ff8956e49c2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1333921872}) at kernel/qeventloop.cpp:149
#61 0x00007ff8956e4b5c in QEventLoop::exec (this=0x7fff4f820890, flags={i = 1333921952}) at kernel/qeventloop.cpp:197
#62 0x00007ff8956e6b34 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#63 0x00007ff8897db689 in kdemain (argc=1, argv=0x19885d0) at /var/tmp/portage/kde-base/kwrite-4.3.0/work/kwrite-4.3.0/kwrite/kwritemain.cpp:782
#64 0x0000000000407706 in launch (argc=1, _name=0x19d8248 "/usr/bin/kwrite", args=<value optimized out>, cwd=0x0, envc=1, envs=0x19d826c "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x19d8275 "opteron246;1249865924;204770;3934_TIME9667648") at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/kinit/kinit.cpp:676
#65 0x0000000000407ee0 in handle_launcher_request (sock=7, who=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/kinit/kinit.cpp:1168
#66 0x000000000040843e in handle_requests (waitForPid=0) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/kinit/kinit.cpp:1361
#67 0x0000000000408aba in main (argc=2, argv=0x7fff4f822238, envp=0x7fff4f822250) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/kinit/kinit.cpp:1788

Reported using DrKonqi
Comment 1 Jason Stubbs 2009-08-10 03:26:03 UTC
Another traceback...

Application: KWrite (kdeinit4), signal: Aborted
[KCrash Handler]
#5  0x00007ff891fac205 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007ff891fad723 in *__GI_abort () at abort.c:88
#7  0x00007ff891fe7cf8 in __libc_message (do_abort=2, fmt=0x7ff892098ef8 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:170
#8  0x00007ff891fed468 in malloc_printerr (action=2, str=0x7ff892099028 "malloc(): memory corruption (fast)", ptr=<value optimized out>) at malloc.c:5994
#9  0x00007ff891ff0282 in _int_malloc (av=0x7ff8922caa00, bytes=16) at malloc.c:4172
#10 0x00007ff891ff1b48 in *__GI___libc_malloc (bytes=16) at malloc.c:3551
#11 0x00007ff890c3401b in _xcb_in_read (c=0x1a0d8e0) at xcb_in.c:194
#12 0x00007ff890c32c9a in _xcb_conn_wait (c=0x1a0d8e0, cond=<value optimized out>, vector=0x0, count=0x0) at xcb_conn.c:357
#13 0x00007ff890c34965 in xcb_wait_for_reply (c=0x1a0d8e0, request=253827, e=0x7fff4f81bf28) at xcb_in.c:344
#14 0x00007ff894a1b4d6 in _XReply (dpy=0x1a17190, rep=0x7fff4f81bf70, extra=0, discard=1) at xcb_io.c:366
#15 0x00007ff894a08e8e in XQueryPointer (dpy=0x1a17190, w=422, root=0x7fff4f81c018, child=0x7fff4f81c010, root_x=0x7fff4f81c034, root_y=0x7fff4f81c030, win_x=0x7fff4f81c02c, win_y=0x7fff4f81c028, 
    mask=0x7fff4f81c024) at QuPntr.c:50
#16 0x00007ff892c7c3ec in QCursor::x11Screen () at kernel/qcursor_x11.cpp:175
#17 0x00007ff892c652cd in QApplication::topLevelAt (p=@0x5fcb) at kernel/qapplication_x11.cpp:2915
#18 0x00007ff892c1340d in QApplication::widgetAt (p=@0x5fcb) at kernel/qapplication.cpp:1090
#19 0x00007ff892c191f8 in QApplicationPrivate::sendMouseEvent (receiver=0x1fff680, event=0x7fff4f81c520, alienWidget=0x0, nativeWidget=0x1fff680, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7ff893520ef0) at kernel/qapplication.cpp:2946
#20 0x00007ff892c735ab in QETWidget::translateMouseEvent (this=0x1fff680, event=<value optimized out>) at kernel/qapplication_x11.cpp:4338
#21 0x00007ff892c71f15 in QApplication::x11ProcessEvent (this=0x7fff4f820a10, event=0x7fff4f81df10) at kernel/qapplication_x11.cpp:3545
#22 0x00007ff892c96904 in x11EventSourceDispatch (s=0x1a0c450, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#23 0x00007ff8916acfd1 in IA__g_main_context_dispatch (context=0x1a0ad40) at gmain.c:2144
#24 0x00007ff8916b06ad in g_main_context_iterate (context=0x1a0ad40, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2778
#25 0x00007ff8916b086b in IA__g_main_context_iteration (context=0x1a0ad40, may_block=1) at gmain.c:2841
#26 0x00007ff89570ab6f in QEventDispatcherGlib::processEvents (this=0x1a085f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#27 0x00007ff892c961cf in QGuiEventDispatcherGlib::processEvents (this=0x5fcb, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#28 0x00007ff8956e49c2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1333912064}) at kernel/qeventloop.cpp:149
#29 0x00007ff8956e4b5c in QEventLoop::exec (this=0x7fff4f81e240, flags={i = 1333912160}) at kernel/qeventloop.cpp:197
#30 0x00007ff892f9a8a7 in QMenu::exec (this=<value optimized out>, p=@0x7fff4f81eb60, action=0x0) at widgets/qmenu.cpp:1993
#31 0x00007ff893ce7430 in KToolBar::contextMenuEvent (this=0x1ee38d0, event=0x7fff4f81eb40) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/kdeui/widgets/ktoolbar.cpp:763
#32 0x00007ff892c5de7e in QWidget::event (this=0x1ee38d0, event=0x7fff4f81eb40) at kernel/qwidget.cpp:7708
#33 0x00007ff892fd3eab in QToolBar::event (this=0x1ee38d0, event=0x7fff4f81eb40) at widgets/qtoolbar.cpp:1193
#34 0x00007ff892c10c1d in QApplicationPrivate::notify_helper (this=0x1a08d60, receiver=0x1ee38d0, e=0x7fff4f81eb40) at kernel/qapplication.cpp:4056
#35 0x00007ff892c1a2d6 in QApplication::notify (this=<value optimized out>, receiver=0x1ee38d0, e=0x7fff4f81eb40) at kernel/qapplication.cpp:3845
#36 0x00007ff893be5cbb in KApplication::notify (this=0x7fff4f820a10, receiver=0x1ee38d0, event=0x7fff4f81eb40)
    at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/kdeui/kernel/kapplication.cpp:302
#37 0x00007ff8956e5fc3 in QCoreApplication::notifyInternal (this=0x7fff4f820a10, receiver=0x1ee38d0, event=0x7fff4f81eb40) at kernel/qcoreapplication.cpp:606
#38 0x00007ff892c73a35 in QETWidget::translateMouseEvent (this=0x1af41c0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4410
#39 0x00007ff892c71f15 in QApplication::x11ProcessEvent (this=0x7fff4f820a10, event=0x7fff4f820560) at kernel/qapplication_x11.cpp:3545
#40 0x00007ff892c96904 in x11EventSourceDispatch (s=0x1a0c450, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#41 0x00007ff8916acfd1 in IA__g_main_context_dispatch (context=0x1a0ad40) at gmain.c:2144
#42 0x00007ff8916b06ad in g_main_context_iterate (context=0x1a0ad40, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2778
#43 0x00007ff8916b086b in IA__g_main_context_iteration (context=0x1a0ad40, may_block=1) at gmain.c:2841
#44 0x00007ff89570ab6f in QEventDispatcherGlib::processEvents (this=0x1a085f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#45 0x00007ff892c961cf in QGuiEventDispatcherGlib::processEvents (this=0x5fcb, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#46 0x00007ff8956e49c2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1333921872}) at kernel/qeventloop.cpp:149
#47 0x00007ff8956e4b5c in QEventLoop::exec (this=0x7fff4f820890, flags={i = 1333921952}) at kernel/qeventloop.cpp:197
#48 0x00007ff8956e6b34 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#49 0x00007ff8897db689 in kdemain (argc=1, argv=0x19895c0) at /var/tmp/portage/kde-base/kwrite-4.3.0/work/kwrite-4.3.0/kwrite/kwritemain.cpp:782
#50 0x0000000000407706 in launch (argc=1, _name=0x19d8248 "/usr/bin/kwrite", args=<value optimized out>, cwd=0x0, envc=1, envs=0x19d826c "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x19d8275 "opteron246;1249865651;217337;3934_TIME9394634") at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/kinit/kinit.cpp:676
#51 0x0000000000407ee0 in handle_launcher_request (sock=7, who=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/kinit/kinit.cpp:1168
#52 0x000000000040843e in handle_requests (waitForPid=0) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/kinit/kinit.cpp:1361
#53 0x0000000000408aba in main (argc=2, argv=0x7fff4f822238, envp=0x7fff4f822250) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/kinit/kinit.cpp:1788
Comment 2 Jason Stubbs 2009-09-21 00:48:43 UTC

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