| Summary: | kate crashes when clicking on "find in files" in the keyboard shortcuts dialog | ||
|---|---|---|---|
| Product: | [Unmaintained] kdelibs | Reporter: | Peter Szabados <peet21> |
| Component: | kdeui | Assignee: | kdelibs bugs <kdelibs-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | andresbajotierra |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Peter Szabados
2009-01-16 22:44:47 UTC
Important things: What KDE version (or SVN revision) are you using? May you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? Thanks :) Well:
I've been able to reproduce the crash using:
Qt: 4.4.3 + qt-copy-patches-910240
KDE: 4.2.60 (KDE 4.2.60 (KDE 4.3 >= 20090106))
kdelibs svn rev. 911862 / kdebase svn rev. 911862
kdesdk svn rev. 905676 (a bit old)
on ArchLinux x86_64 - Kernel 2.6.28
Backtrace:
Application: Kate (kate), signal SIGABRT
0x00007f731bcf8fd0 in __nanosleep_nocancel () from /lib/libc.so.6
Thread 1 (Thread 0x7f731f88a750 (LWP 5203)):
[KCrash Handler]
#5 0x00007f731bc8c0c5 in raise () from /lib/libc.so.6
#6 0x00007f731bc8d5e3 in abort () from /lib/libc.so.6
#7 0x00007f731c9c50a5 in qt_message_output () from /usr/lib/libQtCore.so.4
#8 0x00007f731c9c51c7 in qFatal () from /usr/lib/libQtCore.so.4
#9 0x00007f731e78d425 in KShortcutsEditorDelegate::itemActivated (this=0x1b604b0, index={r = 664585104, c = 32767, p = 0x7fff279cc190, m = 0xffffffff})
at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/dialogs/kshortcutseditordelegate.cpp:156
#10 0x00007f731e797789 in KShortcutsEditorDelegate::qt_metacall (this=0x1b604b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff279cc4c0)
at /home/kde-devel/kde/build/KDE/kdelibs/kdeui/kshortcutsdialog_p.moc:84
#11 0x00007f731caaed30 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#12 0x00007f731d9db005 in QAbstractItemView::clicked () from /usr/lib/libQtGui.so.4
#13 0x00007f731d9e752e in QAbstractItemView::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#14 0x00007f731d6275ec in QWidget::event () from /usr/lib/libQtGui.so.4
#15 0x00007f731d9e7ded in QAbstractItemView::viewportEvent () from /usr/lib/libQtGui.so.4
#16 0x00007f731da194bc in QTreeView::viewportEvent () from /usr/lib/libQtGui.so.4
#17 0x00007f731ca9c6f8 in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/libQtCore.so.4
#18 0x00007f731d5da4bc in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#19 0x00007f731d5e10fe in QApplication::notify () from /usr/lib/libQtGui.so.4
#20 0x00007f731e7f663b in KApplication::notify (this=0x7fff279cfac0, receiver=0x1a14d90, event=0x7fff279cd340) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#21 0x00007f731ca9d401 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#22 0x00007f731d5e24a8 in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#23 0x00007f731d638b6c in ?? () from /usr/lib/libQtGui.so.4
#24 0x00007f731d637ce9 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#25 0x00007f731d65b794 in ?? () from /usr/lib/libQtGui.so.4
#26 0x00007f7317654aa2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0x00007f731765821d in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#28 0x00007f73176583db in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#29 0x00007f731cac18cf in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#30 0x00007f731d65b04f in ?? () from /usr/lib/libQtGui.so.4
#31 0x00007f731ca9bd72 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#32 0x00007f731ca9bf05 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#33 0x00007f731d995b3f in QDialog::exec () from /usr/lib/libQtGui.so.4
#34 0x00007f731e7978bd in KShortcutsDialog::configure (this=0x1453, saveSettings=83) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/dialogs/kshortcutsdialog.cpp:150
#35 0x00007f731f35f512 in KateMainWindow::editKeys (this=0x17ac8f8) at /home/kde-devel/kde/src/KDE/kdesdk/kate/app/katemainwindow.cpp:694
#36 0x00007f731f366c05 in KateMainWindow::qt_metacall (this=0x15a2d50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff279ce1e0)
at /home/kde-devel/kde/build/KDE/kdesdk/kate/app/katemainwindow.moc:169
#37 0x00007f731caaed30 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#38 0x00007f731d5d5367 in QAction::triggered () from /usr/lib/libQtGui.so.4
#39 0x00007f731d5d5b24 in QAction::activate () from /usr/lib/libQtGui.so.4
#40 0x00007f731d91b203 in ?? () from /usr/lib/libQtGui.so.4
#41 0x00007f731e8cc701 in KMenu::mouseReleaseEvent (this=0x1704ef0, e=0x7fff279cedb0) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/widgets/kmenu.cpp:454
#42 0x00007f731d6275ec in QWidget::event () from /usr/lib/libQtGui.so.4
#43 0x00007f731d91c72b in QMenu::event () from /usr/lib/libQtGui.so.4
#44 0x00007f731d5da4ed in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#45 0x00007f731d5e10fe in QApplication::notify () from /usr/lib/libQtGui.so.4
#46 0x00007f731e7f663b in KApplication::notify (this=0x7fff279cfac0, receiver=0x1704ef0, event=0x7fff279cedb0) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#47 0x00007f731ca9d401 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#48 0x00007f731d5e24a8 in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#49 0x00007f731d638d1b in ?? () from /usr/lib/libQtGui.so.4
#50 0x00007f731d637ce9 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#51 0x00007f731d65b794 in ?? () from /usr/lib/libQtGui.so.4
#52 0x00007f7317654aa2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#53 0x00007f731765821d in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#54 0x00007f73176583db in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#55 0x00007f731cac18cf in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#56 0x00007f731d65b04f in ?? () from /usr/lib/libQtGui.so.4
#57 0x00007f731ca9bd72 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#58 0x00007f731ca9bf05 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#59 0x00007f731ca9e065 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#60 0x00007f731f5b1ca5 in kdemain (argc=1, argv=0x7fff279d0ca8) at /home/kde-devel/kde/src/KDE/kdesdk/kate/app/katemain.cpp:250
#61 0x00007f731bc78546 in __libc_start_main () from /lib/libc.so.6
#62 0x0000000000400749 in _start ()
The assert is "oldItem"
---
Looks like a KDEUI bug
I use the KDE 4.2 RC1 version. Sorry I can't produce a more complete backtrace. Proposed patch: http://reviewboard.kde.org/r/717/ SVN commit 970308 by darioandres: Prevent a crash when opening the editor for shorcuts in another group different of the one which is currently open. BUG: 181024 M +2 -2 kshortcutseditordelegate.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=970308 SVN commit 970309 by darioandres: Backport to 4.2branch of: SVN commit 970308 by darioandres: Prevent a crash when opening the editor for shorcuts in another group different of the one which is currently open. CCBUG: 181024 M +2 -2 kshortcutseditordelegate.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=970309 |