Summary: | Kate crashes immediately via File->Quit | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Vadym Krevs <vkrevs> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | andreaswuest, apatrza1, msnkipa, niko.sams, stavares, vtomasr5 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Vadym Krevs
2009-04-08 16:11:24 UTC
Then try other debugging tools (valgrind, kdebug output) or find someone that can reproduce this and doesn't have a broken backtrace. Without more information this bugreprort is completely useless. Or a developer like your self could run kate and select File->Quit instead of posting rude comments. ==4220== Invalid read of size 8 ==4220== at 0x6EE0E62: (within /usr/lib64/libQtGui.so.4.5.0) ==4220== by 0x6EE6FED: (within /usr/lib64/libQtGui.so.4.5.0) ==4220== by 0x5E5FBE0: KMenu::mouseReleaseEvent(QMouseEvent*) (in /usr/lib64/libkdeui.so.5.2.0) ==4220== by 0x6B23DEC: QWidget::event(QEvent*) (in /usr/lib64/libQtGui.so.4.5.0) ==4220== by 0x6EE97AA: QMenu::event(QEvent*) (in /usr/lib64/libQtGui.so.4.5.0) ==4220== by 0x6AD2E8C: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib64/libQtGui.so.4.5.0) ==4220== by 0x6ADB7F9: QApplication::notify(QObject*, QEvent*) (in /usr/lib64/libQtGui.so.4.5.0) ==4220== by 0x5D94F8A: KApplication::notify(QObject*, QEvent*) (in /usr/lib64/libkdeui.so.5.2.0) ==4220== by 0x7D1EF3B: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib64/libQtCore.so.4.5.0) ==4220== by 0x6ADAA47: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) (in /usr/lib64/libQtGui.so.4.5.0) ==4220== by 0x6B444C3: (within /usr/lib64/libQtGui.so.4.5.0) ==4220== by 0x6B42F77: QApplication::x11ProcessEvent(_XEvent*) (in /usr/lib64/libQtGui.so.4.5.0) ==4220== Address 0x10549578 is 8 bytes inside a block of size 704 free'd ==4220== at 0x4C241AD: operator delete(void*) (vg_replace_malloc.c:342) ==4220== by 0x7D360AA: QObject::~QObject() (in /usr/lib64/libQtCore.so.4.5.0) ==4220== by 0x6B1F29E: QWidget::~QWidget() (in /usr/lib64/libQtGui.so.4.5.0) ==4220== by 0x6EE2548: QMenu::~QMenu() (in /usr/lib64/libQtGui.so.4.5.0) ==4220== by 0x5E6018A: KMenu::~KMenu() (in /usr/lib64/libkdeui.so.5.2.0) ==4220== by 0x7D2D990: QObjectPrivate::deleteChildren() (in /usr/lib64/libQtCore.so.4.5.0) ==4220== by 0x6B1F0F1: QWidget::~QWidget() (in /usr/lib64/libQtGui.so.4.5.0) ==4220== by 0x5E5DAEC: KMainWindow::~KMainWindow() (in /usr/lib64/libkdeui.so.5.2.0) ==4220== by 0x527A678: (within /usr/lib64/libkateinterfaces.so.4.2.0) ==4220== by 0x526561F: KateApp::shutdownKate(KateMainWindow*) (in /usr/lib64/libkateinterfaces.so.4.2.0) ==4220== by 0x527FC34: (within /usr/lib64/libkateinterfaces.so.4.2.0) ==4220== by 0x7D349C1: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib64/libQtCore.so.4.5.0) ==4220== ==4220== Invalid read of size 8 ==4220== at 0x6EDF95A: QMenu::findIdForAction(QAction*) const (in /usr/lib64/libQtGui.so.4.5.0) ==4220== by 0x6EE0E6A: (within /usr/lib64/libQtGui.so.4.5.0) ==4220== by 0x6EE6FED: (within /usr/lib64/libQtGui.so.4.5.0) ==4220== by 0x5E5FBE0: KMenu::mouseReleaseEvent(QMouseEvent*) (in /usr/lib64/libkdeui.so.5.2.0) ==4220== by 0x6B23DEC: QWidget::event(QEvent*) (in /usr/lib64/libQtGui.so.4.5.0) ==4220== by 0x6EE97AA: QMenu::event(QEvent*) (in /usr/lib64/libQtGui.so.4.5.0) ==4220== by 0x6AD2E8C: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib64/libQtGui.so.4.5.0) ==4220== by 0x6ADB7F9: QApplication::notify(QObject*, QEvent*) (in /usr/lib64/libQtGui.so.4.5.0) ==4220== by 0x5D94F8A: KApplication::notify(QObject*, QEvent*) (in /usr/lib64/libkdeui.so.5.2.0) ==4220== by 0x7D1EF3B: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib64/libQtCore.so.4.5.0) ==4220== by 0x6ADAA47: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) (in /usr/lib64/libQtGui.so.4.5.0) ==4220== by 0x6B444C3: (within /usr/lib64/libQtGui.so.4.5.0) ==4220== Address 0xfd57fe8 is 8 bytes inside a block of size 24 free'd ==4220== at 0x4C241AD: operator delete(void*) (vg_replace_malloc.c:342) ==4220== by 0x7D2D990: QObjectPrivate::deleteChildren() (in /usr/lib64/libQtCore.so.4.5.0) ==4220== by 0x7D36006: QObject::~QObject() (in /usr/lib64/libQtCore.so.4.5.0) ==4220== by 0x5CC6AA5: KActionCollection::~KActionCollection() (in /usr/lib64/libkdeui.so.5.2.0) ==4220== by 0x5E9F7DB: KXMLGUIClient::~KXMLGUIClient() (in /usr/lib64/libkdeui.so.5.2.0) ==4220== by 0x527A697: (within /usr/lib64/libkateinterfaces.so.4.2.0) ==4220== by 0x526561F: KateApp::shutdownKate(KateMainWindow*) (in /usr/lib64/libkateinterfaces.so.4.2.0) ==4220== by 0x527FC34: (within /usr/lib64/libkateinterfaces.so.4.2.0) ==4220== by 0x7D349C1: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib64/libQtCore.so.4.5.0) ==4220== by 0x6ACCEF6: QAction::triggered(bool) (in /usr/lib64/libQtGui.so.4.5.0) ==4220== by 0x6ACE36F: QAction::activate(QAction::ActionEvent) (in /usr/lib64/libQtGui.so.4.5.0) ==4220== by 0x6EE0FCB: (within /usr/lib64/libQtGui.so.4.5.0) ==4220== ==4220== Invalid read of size 4 ==4220== at 0x6EDF95E: QMenu::findIdForAction(QAction*) const (in /usr/lib64/libQtGui.so.4.5.0) ==4220== by 0x6EE0E6A: (within /usr/lib64/libQtGui.so.4.5.0) ==4220== by 0x6EE6FED: (within /usr/lib64/libQtGui.so.4.5.0) ==4220== by 0x5E5FBE0: KMenu::mouseReleaseEvent(QMouseEvent*) (in /usr/lib64/libkdeui.so.5.2.0) ==4220== by 0x6B23DEC: QWidget::event(QEvent*) (in /usr/lib64/libQtGui.so.4.5.0) ==4220== by 0x6EE97AA: QMenu::event(QEvent*) (in /usr/lib64/libQtGui.so.4.5.0) ==4220== by 0x6AD2E8C: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib64/libQtGui.so.4.5.0) ==4220== by 0x6ADB7F9: QApplication::notify(QObject*, QEvent*) (in /usr/lib64/libQtGui.so.4.5.0) ==4220== by 0x5D94F8A: KApplication::notify(QObject*, QEvent*) (in /usr/lib64/libkdeui.so.5.2.0) ==4220== by 0x7D1EF3B: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib64/libQtCore.so.4.5.0) ==4220== by 0x6ADAA47: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) (in /usr/lib64/libQtGui.so.4.5.0) ==4220== by 0x6B444C3: (within /usr/lib64/libQtGui.so.4.5.0) ==4220== Address 0x130 is not stack'd, malloc'd or (recently) free'd KCrash: Application 'kate' crashing... sock_file=/home/vadymk/.kde4/socket-stal-dev-lx1/kdeinit4__0 valgrind trace provided How should I produce a backtrace or valgrind log if I can't reproduce the problem? And looking at the backtrace and the comment about gdb producing garbage backtrace this seems to be simply a broken Qt installation. There's most probably some kind of binary incompatibility. Is this a package, if so I suggest to complain to the package developers. If you've built yourself then remove the installed files, remove your builddirectories and start a new build from scratch. *** Bug 189237 has been marked as a duplicate of this bug. *** Hmm, this seems to happen only with trunk, not with my 4.2 (checkout is pre 4.2.2 iirc)/Qt4.4. Vadym are you running KDE 4.2.2 on Qt4.5? I can reproduce this with KDE trunk (same backtrace) I can reproduce this bug on KDE 4.2.2 qith Qt 4.5.0-2 of Debian testing/unstable. I've installed kdebase-runtime-dbg package. Aplicación: Kate (kate), señal SIGSEGV 0x00007f21cadbc8a0 in __nanosleep_nocancel () from /lib/libc.so.6 Current language: auto; currently c Thread 1 (Thread 0x7f21cb357750 (LWP 6294)): [KCrash Handler] #5 0x00007f21ca6df00e in QMenu::findIdForAction (this=0x2810600, act=0x26d9ac0) at widgets/qmenu.cpp:3157 #6 0x00007f21ca6e051b in QMenuPrivate::activateCausedStack (this=0x272f1c0, causedStack=@0x7fffd34922e0, action=0x26d9ac0, action_e=QAction::Trigger, self=224) at widgets/qmenu.cpp:965 #7 0x00007f21ca6e664e in QMenuPrivate::activateAction (this=0x272f1c0, action=0x26d9ac0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1058 #8 0x00007f21c54c3431 in KMenu::mouseReleaseEvent (this=0x2817ea0, e=0x7fffd3492e00) at ../../kdeui/widgets/kmenu.cpp:454 #9 0x00007f21ca3097cf in QWidget::event (this=0x2817ea0, event=0x7fffd3492e00) at kernel/qwidget.cpp:7516 #10 0x00007f21ca6e8e0b in QMenu::event (this=0x2817ea0, e=0x7fffd3492e00) at widgets/qmenu.cpp:2351 #11 0x00007f21ca2b867d in QApplicationPrivate::notify_helper (this=0x243cab0, receiver=0x2817ea0, e=0x7fffd3492e00) at kernel/qapplication.cpp:4084 #12 0x00007f21ca2c0fca in QApplication::notify (this=<value optimized out>, receiver=0x2817ea0, e=0x7fffd3492e00) at kernel/qapplication.cpp:3786 #13 0x00007f21c53f311b in KApplication::notify (this=0x7fffd3493be0, receiver=0x2817ea0, event=0x7fffd3492e00) at ../../kdeui/kernel/kapplication.cpp:307 #14 0x00007f21c9473c4c in QCoreApplication::notifyInternal (this=0x7fffd3493be0, receiver=0x2817ea0, event=0x7fffd3492e00) at kernel/qcoreapplication.cpp:602 #15 0x00007f21ca2c0218 in QApplicationPrivate::sendMouseEvent (receiver=0x2817ea0, event=0x7fffd3492e00, alienWidget=0x0, nativeWidget=0x2817ea0, buttonDown=<value optimized out>, lastMouseReceiver=@0x7f21cad1aeb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216 #16 0x00007f21ca329e64 in QETWidget::translateMouseEvent (this=0x2817ea0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4359 #17 0x00007f21ca328de8 in QApplication::x11ProcessEvent (this=0x7fffd3493be0, event=0x7fffd3493790) at kernel/qapplication_x11.cpp:3543 #18 0x00007f21ca350fa4 in x11EventSourceDispatch (s=0x2440250, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #19 0x00007f21c7e47afb in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #20 0x00007f21c7e4b2bd in ?? () from /usr/lib/libglib-2.0.so.0 #21 0x00007f21c7e4b47b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #22 0x00007f21c949d29f in QEventDispatcherGlib::processEvents (this=0x24383d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323 #23 0x00007f21ca35074f in QGuiEventDispatcherGlib::processEvents (this=0x2810600, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202 #24 0x00007f21c94724f2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -750175616}) at kernel/qeventloop.cpp:149 #25 0x00007f21c94728bd in QEventLoop::exec (this=0x7fffd3493ac0, flags={i = -750175536}) at kernel/qeventloop.cpp:200 #26 0x00007f21c9474b84 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880 #27 0x00007f21cb075b85 in kdemain (argc=1, argv=0x7fffd3494dc8) at ../../../kate/app/katemain.cpp:250 #28 0x00007f21cad3c5a6 in __libc_start_main (main=0x4006f0 <main>, argc=1, ubp_av=0x7fffd3494dc8, init=0x400720 <__libc_csu_init>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffd3494db8) at libc-start.c:222 #29 0x0000000000400629 in _start () at ../sysdeps/x86_64/elf/start.S:113 *** Bug 189423 has been marked as a duplicate of this bug. *** *** Bug 190465 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 185708 *** *** Bug 195636 has been marked as a duplicate of this bug. *** |