Summary: | [steps] Kate crashed while attempting to modify a MIME type [KMimeTypeChooserPrivate::_k_slotCurrentChanged, ..., QTreeWidget::currentItemChanged, ..., KMimeTypeChooserPrivate::loadMimeTypes] | ||
---|---|---|---|
Product: | [Unmaintained] kio | Reporter: | pathematica |
Component: | general | Assignee: | David Faure <faure> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | andresbajotierra, chaos-ad, linedubeth, sreejiththulaseedharan |
Priority: | NOR | Keywords: | testcase |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdelibs/7f142675d588fd3223afcf791e0256f69f566308 | Version Fixed In: | 4.10.1 |
Sentry Crash Report: |
Description
pathematica
2010-08-31 11:42:02 UTC
This crash also reproduced when using kate as part of KDevelop [Comment from a bug triager] I can reproduce this crash here using KDE SC 4.5.3 Steps to reproduce: - Open Kate - Go to Settings/Configure Kate - Go to Open/Save - Go to the Modes & Filetypes tab The selected Filetype in the ComboBox is "Normal". The fields below are empty. - Press the "magic wand" button near the "MIME types" line edit, near the bottom of the dialog - In the new dialog, look for the "MATLAB script/function" item in the list (it is inside the "text" class item) - Click the "Edit" button on the bottom of the dialog A KEditFileType dialog appears - Change the description of the type (it may be any string; the reporter suggested "Octave script/function") - Click Apply or OK Kate will crash on background while the file types are being updated The KEditFileType dialog will properly close after that - Backtrace (KDE SC 4.5.3): Application: Kate (kdeinit4), signal: Segmentation fault [KCrash Handler] #7 0xb58ea160 in KMimeTypeChooserPrivate::_k_slotCurrentChanged (this=0xa266420, item=0x0) at /home/dario/ArchPKG/abs/kdelibs/src/kdelibs-4.5.3/kio/kio/kmimetypechooser.cpp:220 #8 0xb58eb582 in KMimeTypeChooser::qt_metacall (this=0xa266480, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfde97a4) at /home/dario/ArchPKG/abs/kdelibs/src/build/kio/kmimetypechooser.moc:77 #9 0xb6fd3c4a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #10 0xb6fe3a9f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #11 0xb6b06ab9 in QTreeWidget::currentItemChanged(QTreeWidgetItem*, QTreeWidgetItem*) () from /usr/lib/libQtGui.so.4 #12 0xb6b06b6a in ?? () from /usr/lib/libQtGui.so.4 #13 0xb6b0f7ef in QTreeWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4 #14 0xb6fd3c4a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #15 0xb6fe3a9f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #16 0xb6ae33a9 in QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib/libQtGui.so.4 #17 0xb6ae7340 in QItemSelectionModel::clear() () from /usr/lib/libQtGui.so.4 #18 0xb6b0991d in QTreeWidget::clear() () from /usr/lib/libQtGui.so.4 #19 0xb58eac9b in KMimeTypeChooserPrivate::loadMimeTypes (this=0xa266420, _selectedMimeTypes=...) at /home/dario/ArchPKG/abs/kdelibs/src/kdelibs-4.5.3/kio/kio/kmimetypechooser.cpp:133 #20 0xb58eb4ba in KMimeTypeChooserPrivate::_k_slotSycocaDatabaseChanged (this=0xa266420, changedResources=...) at /home/dario/ArchPKG/abs/kdelibs/src/kdelibs-4.5.3/kio/kio/kmimetypechooser.cpp:226 #21 0xb58eb560 in KMimeTypeChooser::qt_metacall (this=0xa266480, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfde9be8) at /home/dario/ArchPKG/abs/kdelibs/src/build/kio/kmimetypechooser.moc:78 #22 0xb6fd3c4a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #23 0xb6fe3a9f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #24 0xb72df0e3 in KSycoca::databaseChanged (this=0x9c80078, _t1=...) at /home/dario/ArchPKG/abs/kdelibs/src/build/kdecore/ksycoca.moc:98 #25 0xb72e074b in KSycoca::notifyDatabaseChanged (this=0x9c80078, changeList=...) at /home/dario/ArchPKG/abs/kdelibs/src/kdelibs-4.5.3/kdecore/sycoca/ksycoca.cpp:361 #26 0xb72e07dd in KSycoca::qt_metacall (this=0x9c80078, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfde9ce4) at /home/dario/ArchPKG/abs/kdelibs/src/build/kdecore/ksycoca.moc:80 #27 0xb604798a in ?? () from /usr/lib/libQtDBus.so.4 #28 0xb60533d7 in ?? () from /usr/lib/libQtDBus.so.4 #29 0xb6fe294f in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4 #30 0xb6508854 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #31 0xb650d43e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #32 0xb764addb in KApplication::notify (this=0xbfdeca04, receiver=0x9c80078, event=0x9ccb138) at /home/dario/ArchPKG/abs/kdelibs/src/kdelibs-4.5.3/kdeui/kernel/kapplication.cpp:310 #33 0xb6fcd5cb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #34 0xb6fd11e5 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4 #35 0xb6fd13bd in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4 #36 0xb6ffaa34 in ?? () from /usr/lib/libQtCore.so.4 #37 0xb5dd5b72 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #38 0xb5dd6350 in ?? () from /usr/lib/libglib-2.0.so.0 #39 0xb5dd6604 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #40 0xb6ffabac in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #41 0xb65ba265 in ?? () from /usr/lib/libQtGui.so.4 #42 0xb6fcc789 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #43 0xb6fcca2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #44 0xb6a2d073 in QDialog::exec() () from /usr/lib/libQtGui.so.4 #45 0xb0dac0c8 in ModeConfigPage::showMTDlg (this=0xa164480) at /home/dario/ArchPKG/abs/kdelibs/src/kdelibs-4.5.3/kate/mode/katemodeconfigpage.cpp:291 #46 0xb0dadc2b in ModeConfigPage::qt_metacall (this=0xa164480, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfdea758) at /home/dario/ArchPKG/abs/kdelibs/src/build/kate/katemodeconfigpage.moc:93 #47 0xb6fd3c4a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #48 0xb6fe3a9f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #49 0xb6bfd8d9 in QAbstractButton::clicked(bool) () from /usr/lib/libQtGui.so.4 #50 0xb690e219 in ?? () from /usr/lib/libQtGui.so.4 #51 0xb690fad4 in ?? () from /usr/lib/libQtGui.so.4 #52 0xb690fd8e in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4 #53 0xb69e28cc in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4 #54 0xb656155a in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #55 0xb690edce in QAbstractButton::event(QEvent*) () from /usr/lib/libQtGui.so.4 #56 0xb69e404a in QToolButton::event(QEvent*) () from /usr/lib/libQtGui.so.4 #57 0xb6508854 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #58 0xb650ddf9 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #59 0xb764addb in KApplication::notify (this=0xbfdeca04, receiver=0xa1ae1f8, event=0xbfdeaf98) at /home/dario/ArchPKG/abs/kdelibs/src/kdelibs-4.5.3/kdeui/kernel/kapplication.cpp:310 #60 0xb6fcd5cb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #61 0xb65097c7 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4 #62 0xb659232c in ?? () from /usr/lib/libQtGui.so.4 #63 0xb6590eaf in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4 #64 0xb65ba652 in ?? () from /usr/lib/libQtGui.so.4 #65 0xb5dd5b72 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #66 0xb5dd6350 in ?? () from /usr/lib/libglib-2.0.so.0 #67 0xb5dd6604 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #68 0xb6ffabac in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #69 0xb65ba265 in ?? () from /usr/lib/libQtGui.so.4 #70 0xb6fcc789 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #71 0xb6fcca2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #72 0xb6a2d073 in QDialog::exec() () from /usr/lib/libQtGui.so.4 #73 0xb3594810 in ?? () from /usr/lib/libkateinterfaces.so.4 #74 0xb3594861 in ?? () from /usr/lib/libkateinterfaces.so.4 #75 0xb359c11d in ?? () from /usr/lib/libkateinterfaces.so.4 #76 0xb6fd3c4a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #77 0xb6fe3a9f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #78 0xb65016a9 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4 #79 0xb650190b in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4 #80 0xb6999dfd in ?? () from /usr/lib/libQtGui.so.4 #81 0xb69a08e3 in ?? () from /usr/lib/libQtGui.so.4 #82 0xb69a17be in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4 #83 0xb773d4cc in KMenu::mouseReleaseEvent (this=0x9e504f8, e=0xbfdec208) at /home/dario/ArchPKG/abs/kdelibs/src/kdelibs-4.5.3/kdeui/widgets/kmenu.cpp:471 #84 0xb656155a in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #85 0xb69a1c97 in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4 #86 0xb6508854 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #87 0xb650ddf9 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #88 0xb764addb in KApplication::notify (this=0xbfdeca04, receiver=0x9e504f8, event=0xbfdec208) at /home/dario/ArchPKG/abs/kdelibs/src/kdelibs-4.5.3/kdeui/kernel/kapplication.cpp:310 #89 0xb6fcd5cb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #90 0xb65097c7 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4 #91 0xb6592504 in ?? () from /usr/lib/libQtGui.so.4 #92 0xb6590eaf in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4 #93 0xb65ba652 in ?? () from /usr/lib/libQtGui.so.4 #94 0xb5dd5b72 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #95 0xb5dd6350 in ?? () from /usr/lib/libglib-2.0.so.0 #96 0xb5dd6604 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #97 0xb6ffabac in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #98 0xb65ba265 in ?? () from /usr/lib/libQtGui.so.4 #99 0xb6fcc789 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #100 0xb6fcca2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #101 0xb6fd147f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #102 0xb65066a7 in QApplication::exec() () from /usr/lib/libQtGui.so.4 #103 0xb57bf395 in kdemain () from /usr/lib/libkdeinit4_kate.so #104 0x0804e932 in launch (argc=2, _name=0x9befadc "/usr/bin/kate", args=<value optimized out>, cwd=0x0, envc=1, envs=<value optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x9befb02 "zephyrStation;1290357391;353070;7619_TIME13954095") at /home/dario/ArchPKG/abs/kdelibs/src/kdelibs-4.5.3/kinit/kinit.cpp:723 #105 0x0804f6cd in handle_launcher_request (sock=<value optimized out>, who=0x1 <Address 0x1 out of bounds>) at /home/dario/ArchPKG/abs/kdelibs/src/kdelibs-4.5.3/kinit/kinit.cpp:1215 #106 0x0804fa6c in handle_requests (waitForPid=0) at /home/dario/ArchPKG/abs/kdelibs/src/kdelibs-4.5.3/kinit/kinit.cpp:1408 #107 0x0804ffd3 in main (argc=0, argv=0xbfde97c4, envp=0xbfde97c8) at /home/dario/ArchPKG/abs/kdelibs/src/kdelibs-4.5.3/kinit/kinit.cpp:1892 *** Bug 287132 has been marked as a duplicate of this bug. *** Git commit 7f142675d588fd3223afcf791e0256f69f566308 by David Faure. Committed on 07/02/2013 at 18:52. Pushed by dfaure into branch 'KDE/4.10'. Fix crash when current item is null FIXED-IN: 4.10.1 M +1 -1 kio/kio/kmimetypechooser.cpp http://commits.kde.org/kdelibs/7f142675d588fd3223afcf791e0256f69f566308 |