Bug 301355 - kate crashes while trying to choose the mimetypes of a mode
Summary: kate crashes while trying to choose the mimetypes of a mode
Status: RESOLVED DUPLICATE of bug 274425
Alias: None
Product: kio
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: 4.8
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-07 13:17 UTC by gabriele monfardini
Modified: 2013-07-04 23:07 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gabriele monfardini 2012-06-07 13:17:29 UTC
Application: kate (3.8.3)
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-25-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:

I was editing PHP(HTML) mode, trying various combination of variables (remove trailing spaces, changing selection colors and some other).
Then I click to see the dialog to choose the associated mimetype, and kate crashes

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5b73af9780 (LWP 4134))]

Thread 4 (Thread 0x7f5b60881700 (LWP 4135)):
#0  0x00007f5b73447b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f5b7056f036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5b7056f164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5b71331426 in QEventDispatcherGlib::processEvents (this=0x7f5b5c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f5b71300c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f5b71300ed7 in QEventLoop::exec (this=0x7f5b60880dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f5b711fffa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f5b712e09ff in QInotifyFileSystemWatcherEngine::run (this=0xcbd5a0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f5b71202fcb in QThreadPrivate::start (arg=0xcbd5a0) at thread/qthread_unix.cpp:298
#9  0x00007f5b70a3be9a in start_thread (arg=0x7f5b60881700) at pthread_create.c:308
#10 0x00007f5b734534bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f5b5bf5a700 (LWP 4136)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f5b615b5222 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f5b615b5259 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f5b70a3be9a in start_thread (arg=0x7f5b5bf5a700) at pthread_create.c:308
#4  0x00007f5b734534bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f5b59e83700 (LWP 4139)):
#0  0x00007f5b73447b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f5b7056f036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5b7056f164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5b71331426 in QEventDispatcherGlib::processEvents (this=0x7f5b540008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f5b71300c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f5b71300ed7 in QEventLoop::exec (this=0x7f5b59e82dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f5b711fffa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f5b712e09ff in QInotifyFileSystemWatcherEngine::run (this=0xf9cf90) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f5b71202fcb in QThreadPrivate::start (arg=0xf9cf90) at thread/qthread_unix.cpp:298
#9  0x00007f5b70a3be9a in start_thread (arg=0x7f5b59e83700) at pthread_create.c:308
#10 0x00007f5b734534bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5b73af9780 (LWP 4134)):
[KCrash Handler]
#6  d_func (this=0x0) at ../../kdecore/sycoca/ksycocaentry.h:154
#7  KSycocaEntry::name (this=0x0) at ../../kdecore/sycoca/ksycocaentry.cpp:159
#8  0x00007f5b6d5ab7ac in KMimeTypeChooserPrivate::loadMimeTypes (this=0xf5f2f0, _selectedMimeTypes=...) at ../../kio/kio/kmimetypechooser.cpp:142
#9  0x00007f5b6d5ac42d in KMimeTypeChooser::KMimeTypeChooser (this=0xcda3a0, text=..., selMimeTypes=..., defaultGroup=..., groupsToShow=..., visuals=7, parent=0x7fff07c629f0) at ../../kio/kio/kmimetypechooser.cpp:97
#10 0x00007f5b6d5ac7bd in KMimeTypeChooserDialog::KMimeTypeChooserDialog (this=0x7fff07c629f0, caption=..., text=..., selMimeTypes=..., defaultGroup=..., parent=<optimized out>) at ../../kio/kio/kmimetypechooser.cpp:325
#11 0x00007f5b61c24c62 in ModeConfigPage::showMTDlg (this=0x15ed490) at ../../part/mode/katemodeconfigpage.cpp:306
#12 0x00007f5b71316281 in QMetaObject::activate (sender=0x1707ab0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff07c62c70) at kernel/qobject.cpp:3547
#13 0x00007f5b72eeec72 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#14 0x00007f5b72c2ca4e in QAbstractButtonPrivate::emitClicked (this=<optimized out>) at widgets/qabstractbutton.cpp:548
#15 0x00007f5b72c2dd8b in QAbstractButtonPrivate::click (this=0x170f8d0) at widgets/qabstractbutton.cpp:541
#16 0x00007f5b72c2dffc in QAbstractButton::mouseReleaseEvent (this=0x1707ab0, e=0x7fff07c63550) at widgets/qabstractbutton.cpp:1123
#17 0x00007f5b72ceb5da in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:718
#18 0x00007f5b728af144 in QWidget::event (this=0x1707ab0, event=0x7fff07c63550) at kernel/qwidget.cpp:8362
#19 0x00007f5b7285e894 in notify_helper (e=0x7fff07c63550, receiver=0x1707ab0, this=0x70e5f0) at kernel/qapplication.cpp:4559
#20 QApplicationPrivate::notify_helper (this=0x70e5f0, receiver=0x1707ab0, e=0x7fff07c63550) at kernel/qapplication.cpp:4531
#21 0x00007f5b728640bf in QApplication::notify (this=<optimized out>, receiver=0x1707ab0, e=0x7fff07c63550) at kernel/qapplication.cpp:4102
#22 0x00007f5b71b0cbb6 in KApplication::notify (this=0x7fff07c65ca0, receiver=0x1707ab0, event=0x7fff07c63550) at ../../kdeui/kernel/kapplication.cpp:311
#23 0x00007f5b71301e9c in QCoreApplication::notifyInternal (this=0x7fff07c65ca0, receiver=0x1707ab0, event=0x7fff07c63550) at kernel/qcoreapplication.cpp:876
#24 0x00007f5b7285f862 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#25 QApplicationPrivate::sendMouseEvent (receiver=0x1707ab0, event=0x7fff07c63550, alienWidget=0x1707ab0, nativeWidget=0xa7f020, buttonDown=0x1707ab0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#26 0x00007f5b728debf5 in QETWidget::translateMouseEvent (this=0xa7f020, event=<optimized out>) at kernel/qapplication_x11.cpp:4617
#27 0x00007f5b728ddbae in QApplication::x11ProcessEvent (this=0x7fff07c65ca0, event=0x7fff07c63e20) at kernel/qapplication_x11.cpp:3732
#28 0x00007f5b729070d2 in x11EventSourceDispatch (s=0x70df80, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#29 0x00007f5b7056ed53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f5b7056f0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f5b7056f164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f5b713313bf in QEventDispatcherGlib::processEvents (this=0x6d4b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#33 0x00007f5b72906d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f5b71300c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007f5b71300ed7 in QEventLoop::exec (this=0x7fff07c641c0, flags=...) at kernel/qeventloop.cpp:204
#36 0x00007f5b72d2e936 in QDialog::exec (this=0xa7f020) at dialogs/qdialog.cpp:554
#37 0x00007f5b71f77db0 in KateMainWindow::showPluginConfigPage (this=0xae4c40, configpageinterface=0x0, id=0) at ../../../kate/app/katemainwindow.cpp:687
#38 0x00007f5b71f7d8da in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=0xae4c40, _c=<optimized out>) at ./katemainwindow.moc:168
#39 KateMainWindow::qt_static_metacall (_o=0xae4c40, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./katemainwindow.moc:157
#40 0x00007f5b71316281 in QMetaObject::activate (sender=0xb90610, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff07c643a0) at kernel/qobject.cpp:3547
#41 0x00007f5b72858132 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#42 0x00007f5b7285831f in QAction::activate (this=0xb90610, event=<optimized out>) at kernel/qaction.cpp:1257
#43 0x00007f5b72caa119 in QMenuPrivate::activateCausedStack (this=0xbee1a0, causedStack=..., action=0xb90610, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1028
#44 0x00007f5b72cb0272 in QMenuPrivate::activateAction (this=0xbee1a0, action=0xb90610, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1120
#45 0x00007f5b71bcd4a0 in KMenu::mouseReleaseEvent (this=0xb93370, e=0x7fff07c64f70) at ../../kdeui/widgets/kmenu.cpp:464
#46 0x00007f5b728af144 in QWidget::event (this=0xb93370, event=0x7fff07c64f70) at kernel/qwidget.cpp:8362
#47 0x00007f5b72cb180b in QMenu::event (this=0xb93370, e=0x7fff07c64f70) at widgets/qmenu.cpp:2469
#48 0x00007f5b7285e894 in notify_helper (e=0x7fff07c64f70, receiver=0xb93370, this=0x70e5f0) at kernel/qapplication.cpp:4559
#49 QApplicationPrivate::notify_helper (this=0x70e5f0, receiver=0xb93370, e=0x7fff07c64f70) at kernel/qapplication.cpp:4531
#50 0x00007f5b728640bf in QApplication::notify (this=<optimized out>, receiver=0xb93370, e=0x7fff07c64f70) at kernel/qapplication.cpp:4102
#51 0x00007f5b71b0cbb6 in KApplication::notify (this=0x7fff07c65ca0, receiver=0xb93370, event=0x7fff07c64f70) at ../../kdeui/kernel/kapplication.cpp:311
#52 0x00007f5b71301e9c in QCoreApplication::notifyInternal (this=0x7fff07c65ca0, receiver=0xb93370, event=0x7fff07c64f70) at kernel/qcoreapplication.cpp:876
#53 0x00007f5b7285f862 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#54 QApplicationPrivate::sendMouseEvent (receiver=0xb93370, event=0x7fff07c64f70, alienWidget=0x0, nativeWidget=0xb93370, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#55 0x00007f5b728df2c1 in QETWidget::translateMouseEvent (this=0xb93370, event=<optimized out>) at kernel/qapplication_x11.cpp:4551
#56 0x00007f5b728ddbae in QApplication::x11ProcessEvent (this=0x7fff07c65ca0, event=0x7fff07c65840) at kernel/qapplication_x11.cpp:3732
#57 0x00007f5b729070d2 in x11EventSourceDispatch (s=0x70df80, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#58 0x00007f5b7056ed53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#59 0x00007f5b7056f0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#60 0x00007f5b7056f164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#61 0x00007f5b713313bf in QEventDispatcherGlib::processEvents (this=0x6d4b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#62 0x00007f5b72906d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#63 0x00007f5b71300c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#64 0x00007f5b71300ed7 in QEventLoop::exec (this=0x7fff07c65be0, flags=...) at kernel/qeventloop.cpp:204
#65 0x00007f5b71305f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#66 0x00007f5b737240d5 in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../../kate/app/katemain.cpp:377
#67 0x00007f5b7338276d in __libc_start_main (main=0x400630 <main(int, char**)>, argc=1, ubp_av=0x7fff07c671d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff07c671c8) at libc-start.c:226
#68 0x0000000000400661 in _start ()

Reported using DrKonqi
Comment 1 Dominik Haumann 2012-06-07 14:24:53 UTC
Other bug reports with similar backtrace (KSycocaEntry::name (this=0x0)):
- https://bugs.kde.org/show_bug.cgi?id=265778
- https://bugs.kde.org/show_bug.cgi?id=272867
- https://bugs.kde.org/show_bug.cgi?id=274425
Comment 2 Dawit Alemayehu 2013-07-04 23:07:40 UTC

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