[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    [Bug 249601] New: Kate crashed whilst attempting to modify a MIME type
From:       <pathematica () gmail ! com>
Date:       2010-08-31 9:42:05
Message-ID: bug-249601-4792 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=249601

           Summary: Kate crashed whilst attempting to modify a MIME type
           Product: kate
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kwrite-devel@kde.org
        ReportedBy: pathematica@gmail.com


Application: kate (3.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-24-generic i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
I was running Kate from Gnome over Ubuntu 10.04. I was creating Octave scripts
which had suffix *.m. I was seeking a way to make Kate automatically recognise
*.m files as Octave (rather than MATLAB) so that it would automatically apply
appropriate highlighting (I can obtain the correct highlighting for Octave
files individually - I was trying to find a way to make this apply to all files
of this type). I was in "Settings|Configure
Kate|Open/Save|Modes&Filetypes|MIMEtypes" I had edited the entry "MATLAB
script/function" to "Octave script/function". The crash occurred (reproducibly)
on pressing either "OK" or "Apply". I apologise if I was misguided in my
attempt to associate *.m files with Octave in this way and I was trying to do
something that might appear dumb to those with more insight!

The crash can be reproduced every time.

 -- Backtrace:
Application: Kate (kate), signal: Segmentation fault
[KCrash Handler]
#6  0x06a1595f in KMimeTypeChooserPrivate::_k_slotCurrentChanged
(this=0xb0e30a8, item=0x0) at ../../kio/kio/kmimetypechooser.cpp:220
#7  0x06a17cd2 in KMimeTypeChooser::qt_metacall (this=0xb3d8b90,
_c=QMetaObject::InvokeMetaMethod, _id=28, _a=0xbf920414) at
./kmimetypechooser.moc:77
#8  0x06529c9a in QMetaObject::metacall (object=0xb3d8b90, cl=3214017556,
idx=28, argv=0xbf920414) at kernel/qmetaobject.cpp:237
#9  0x065383d5 in QMetaObject::activate (sender=0xb0f8190, m=0x18d0510,
local_signal_index=8, argv=0xbf920414) at kernel/qobject.cpp:3293
#10 0x015ba2e9 in QTreeWidget::currentItemChanged (this=0xb0f8190, _t1=0x0,
_t2=0xb28b278) at .moc/release-shared/moc_qtreewidget.cpp:256
#11 0x015bca35 in QTreeWidgetPrivate::_q_emitCurrentItemChanged
(this=0xb1fe430, current=..., previous=...) at itemviews/qtreewidget.cpp:2283
#12 0x015c6aef in QTreeWidget::qt_metacall (this=0xb0f8190,
_c=QMetaObject::InvokeMetaMethod, _id=23, _a=0xbf920574) at
.moc/release-shared/moc_qtreewidget.cpp:157
#13 0x06529c9a in QMetaObject::metacall (object=0xb0f8190, cl=3214017556,
idx=111, argv=0xbf920574) at kernel/qmetaobject.cpp:237
#14 0x065383d5 in QMetaObject::activate (sender=0xb1a80d8, m=0x18cfe30,
local_signal_index=1, argv=0xbf920574) at kernel/qobject.cpp:3293
#15 0x015955a9 in QItemSelectionModel::currentChanged (this=0xb1a80d8, _t1=...,
_t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:159
#16 0x0159ad46 in QItemSelectionModel::clear (this=0xb1a80d8) at
itemviews/qitemselectionmodel.cpp:1112
#17 0x015bc0fd in QTreeWidget::clear (this=0xb0f8190) at
itemviews/qtreewidget.cpp:3262
#18 0x06a16750 in KMimeTypeChooserPrivate::loadMimeTypes (this=0xb0e30a8,
_selectedMimeTypes=...) at ../../kio/kio/kmimetypechooser.cpp:133
#19 0x06a1775e in KMimeTypeChooserPrivate::_k_slotSycocaDatabaseChanged
(this=0xb0e30a8, changedResources=...) at
../../kio/kio/kmimetypechooser.cpp:226
#20 0x06a17cb0 in KMimeTypeChooser::qt_metacall (this=0xb3d8b90,
_c=QMetaObject::InvokeMetaMethod, _id=29, _a=0xbf9208f8) at
./kmimetypechooser.moc:78
#21 0x06529c9a in QMetaObject::metacall (object=0xb3d8b90, cl=3214017556,
idx=29, argv=0xbf9208f8) at kernel/qmetaobject.cpp:237
#22 0x065383d5 in QMetaObject::activate (sender=0x9fb4ba8, m=0x3668f0,
local_signal_index=1, argv=0xbf9208f8) at kernel/qobject.cpp:3293
#23 0x002efb73 in KSycoca::databaseChanged (this=0x9fb4ba8, _t1=...) at
./ksycoca.moc:98
#24 0x002efec8 in KSycoca::notifyDatabaseChanged (this=0x9fb4ba8,
changeList=...) at ../../kdecore/sycoca/ksycoca.cpp:360
#25 0x002eff75 in KSycoca::qt_metacall (this=0x9fb4ba8,
_c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbf920a9c) at ./ksycoca.moc:80
#26 0x0038cb34 in QDBusConnectionPrivate::deliverCall (this=0x9e83810,
object=0x9fb4ba8, msg=..., metaTypes=..., slotIdx=6) at qdbusintegrator.cpp:904
#27 0x00397ea7 in QDBusCallDeliveryEvent::placeMetaCall (this=0xa4eb130,
object=0x9fb4ba8) at qdbusintegrator_p.h:101
#28 0x065353fe in QObject::event (this=0x9fb4ba8, e=0xa4eb130) at
kernel/qobject.cpp:1248
#29 0x00f9a4dc in QApplicationPrivate::notify_helper (this=0x9e89c78,
receiver=0x9fb4ba8, e=0xa4eb130) at kernel/qapplication.cpp:4300
#30 0x00fa105e in QApplication::notify (this=0xbf923764, receiver=0x9fb4ba8,
e=0xa4eb130) at kernel/qapplication.cpp:3704
#31 0x02e1bf2a in KApplication::notify (this=0xbf923764, receiver=0x9fb4ba8,
event=0xa4eb130) at ../../kdeui/kernel/kapplication.cpp:302
#32 0x06524a3b in QCoreApplication::notifyInternal (this=0xbf923764,
receiver=0x9fb4ba8, event=0xa4eb130) at kernel/qcoreapplication.cpp:704
#33 0x06527473 in QCoreApplication::sendEvent (receiver=0x0, event_type=0,
data=0x9e6b2c0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#34 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x9e6b2c0) at kernel/qcoreapplication.cpp:1345
#35 0x065275dd in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0) at kernel/qcoreapplication.cpp:1238
#36 0x06550adf in QCoreApplication::sendPostedEvents (s=0x9e8bab0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#37 postEventSourceDispatch (s=0x9e8bab0) at
kernel/qeventdispatcher_glib.cpp:276
#38 0x0048e5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#39 0x004922d8 in ?? () from /lib/libglib-2.0.so.0
#40 0x004924b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#41 0x065505d5 in QEventDispatcherGlib::processEvents (this=0x9e6b4a0,
flags=...) at kernel/qeventdispatcher_glib.cpp:412
#42 0x0105a135 in QGuiEventDispatcherGlib::processEvents (this=0x9e6b4a0,
flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x06523059 in QEventLoop::processEvents (this=0xbf9212c0, flags=) at
kernel/qeventloop.cpp:149
#44 0x065234aa in QEventLoop::exec (this=0xbf9212c0, flags=...) at
kernel/qeventloop.cpp:201
#45 0x014d94f3 in QDialog::exec (this=0xbf921338) at dialogs/qdialog.cpp:546
#46 0x04889ce9 in ModeConfigPage::showMTDlg (this=0xb3a1e98) at
../../kate/mode/katemodeconfigpage.cpp:288
#47 0x0488a063 in ModeConfigPage::qt_metacall (this=0xb3a1e98,
_c=QMetaObject::InvokeMetaMethod, _id=41, _a=0xbf9214d8) at
./katemodeconfigpage.moc:93
#48 0x06529c9a in QMetaObject::metacall (object=0xb3a1e98, cl=3214017556,
idx=41, argv=0xbf9214d8) at kernel/qmetaobject.cpp:237
#49 0x065383d5 in QMetaObject::activate (sender=0xb3aa9d8, m=0x18d58c4,
local_signal_index=2, argv=0xbf9214d8) at kernel/qobject.cpp:3293
#50 0x016c5479 in QAbstractButton::clicked (this=0xb3aa9d8, _t1=false) at
.moc/release-shared/moc_qabstractbutton.cpp:206
#51 0x013a4ea9 in QAbstractButtonPrivate::emitClicked (this=0xb3ab028) at
widgets/qabstractbutton.cpp:546
#52 0x013a5cf4 in QAbstractButtonPrivate::click (this=0xb3ab028) at
widgets/qabstractbutton.cpp:539
#53 0x013a5fae in QAbstractButton::mouseReleaseEvent (this=0xb3aa9d8,
e=0xbf921c20) at widgets/qabstractbutton.cpp:1121
#54 0x0148909c in QToolButton::mouseReleaseEvent (this=0xb3aa9d8, e=0xbf921c20)
at widgets/qtoolbutton.cpp:721
#55 0x00ff87f8 in QWidget::event (this=0xb3aa9d8, event=0xbf921c20) at
kernel/qwidget.cpp:7998
#56 0x013a4d4e in QAbstractButton::event (this=0xb3aa9d8, e=0x0) at
widgets/qabstractbutton.cpp:1080
#57 0x0148bbca in QToolButton::event (this=0xb3aa9d8, event=0xbf921c20) at
widgets/qtoolbutton.cpp:1163
#58 0x00f9a4dc in QApplicationPrivate::notify_helper (this=0x9e89c78,
receiver=0xb3aa9d8, e=0xbf921c20) at kernel/qapplication.cpp:4300
#59 0x00fa19f7 in QApplication::notify (this=0xbf923764, receiver=0xb3aa9d8,
e=0xbf921c20) at kernel/qapplication.cpp:3865
#60 0x02e1bf2a in KApplication::notify (this=0xbf923764, receiver=0xb3aa9d8,
event=0xbf921c20) at ../../kdeui/kernel/kapplication.cpp:302
#61 0x06524a3b in QCoreApplication::notifyInternal (this=0xbf923764,
receiver=0xb3aa9d8, event=0xbf921c20) at kernel/qcoreapplication.cpp:704
#62 0x00fa0952 in QCoreApplication::sendEvent (receiver=0xb3aa9d8,
event=0xbf921c20, alienWidget=0xb3aa9d8, nativeWidget=0xaf2e950,
buttonDown=0x18de058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#63 QApplicationPrivate::sendMouseEvent (receiver=0xb3aa9d8, event=0xbf921c20,
alienWidget=0xb3aa9d8, nativeWidget=0xaf2e950, buttonDown=0x18de058,
lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#64 0x0102c088 in QETWidget::translateMouseEvent (this=0xaf2e950,
event=0xbf92213c) at kernel/qapplication_x11.cpp:4368
#65 0x0102b511 in QApplication::x11ProcessEvent (this=0xbf923764,
event=0xbf92213c) at kernel/qapplication_x11.cpp:3379
#66 0x0105a60a in x11EventSourceDispatch (s=0x9e8bdf8, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#67 0x0048e5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#68 0x004922d8 in ?? () from /lib/libglib-2.0.so.0
#69 0x004924b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#70 0x065505d5 in QEventDispatcherGlib::processEvents (this=0x9e6b4a0,
flags=...) at kernel/qeventdispatcher_glib.cpp:412
#71 0x0105a135 in QGuiEventDispatcherGlib::processEvents (this=0x9e6b4a0,
flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#72 0x06523059 in QEventLoop::processEvents (this=0xbf922430, flags=) at
kernel/qeventloop.cpp:149
#73 0x065234aa in QEventLoop::exec (this=0xbf922430, flags=...) at
kernel/qeventloop.cpp:201
#74 0x014d94f3 in QDialog::exec (this=0xaf2e950) at dialogs/qdialog.cpp:546
#75 0x00b22483 in KateMainWindow::slotConfigure (this=0xa0929f8) at
../../../kate/app/katemainwindow.cpp:731
#76 0x00b2bc0d in KateMainWindow::qt_metacall (this=0xa0929f8,
_c=QMetaObject::InvokeMetaMethod, _id=55, _a=0xbf9225c8) at
./katemainwindow.moc:177
#77 0x06529c9a in QMetaObject::metacall (object=0xa0929f8, cl=3214017556,
idx=55, argv=0xbf9225c8) at kernel/qmetaobject.cpp:237
#78 0x065383d5 in QMetaObject::activate (sender=0xa0c2a30, m=0x18c2d58,
local_signal_index=1, argv=0xbf9225c8) at kernel/qobject.cpp:3293
#79 0x00f93bd9 in QAction::triggered (this=0xa0c2a30, _t1=false) at
.moc/release-shared/moc_qaction.cpp:263
#80 0x00f95dcc in QAction::activate (this=0xa0c2a30, event=QAction::Trigger) at
kernel/qaction.cpp:1255
#81 0x0143960c in QMenuPrivate::activateCausedStack (this=0xa1bba28,
causedStack=..., action=0xa0c2a30, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:1011
#82 0x0143fabb in QMenuPrivate::activateAction (this=0xa1bba28,
action=0xa0c2a30, action_e=QAction::Trigger, self=<value optimized out>) at
widgets/qmenu.cpp:1103
#83 0x01440ac7 in QMenu::mouseReleaseEvent (this=0xa1b43a8, e=0xbf922e60) at
widgets/qmenu.cpp:2312
#84 0x02f11f65 in KMenu::mouseReleaseEvent (this=0xa1b43a8, e=0xbf922e60) at
../../kdeui/widgets/kmenu.cpp:471
#85 0x00ff87f8 in QWidget::event (this=0xa1b43a8, event=0xbf922e60) at
kernel/qwidget.cpp:7998
#86 0x014420cc in QMenu::event (this=0xa1b43a8, e=0xbf922e60) at
widgets/qmenu.cpp:2414
#87 0x00f9a4dc in QApplicationPrivate::notify_helper (this=0x9e89c78,
receiver=0xa1b43a8, e=0xbf922e60) at kernel/qapplication.cpp:4300
#88 0x00fa19f7 in QApplication::notify (this=0xbf923764, receiver=0xa1b43a8,
e=0xbf922e60) at kernel/qapplication.cpp:3865
#89 0x02e1bf2a in KApplication::notify (this=0xbf923764, receiver=0xa1b43a8,
event=0xbf922e60) at ../../kdeui/kernel/kapplication.cpp:302
#90 0x06524a3b in QCoreApplication::notifyInternal (this=0xbf923764,
receiver=0xa1b43a8, event=0xbf922e60) at kernel/qcoreapplication.cpp:704
#91 0x00fa0952 in QCoreApplication::sendEvent (receiver=0xa1b43a8,
event=0xbf922e60, alienWidget=0x0, nativeWidget=0xa1b43a8,
buttonDown=0x18de058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#92 QApplicationPrivate::sendMouseEvent (receiver=0xa1b43a8, event=0xbf922e60,
alienWidget=0x0, nativeWidget=0xa1b43a8, buttonDown=0x18de058,
lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#93 0x0102c5cf in QETWidget::translateMouseEvent (this=0xa1b43a8,
event=0xbf92337c) at kernel/qapplication_x11.cpp:4302
#94 0x0102b511 in QApplication::x11ProcessEvent (this=0xbf923764,
event=0xbf92337c) at kernel/qapplication_x11.cpp:3379
#95 0x0105a60a in x11EventSourceDispatch (s=0x9e8bdf8, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#96 0x0048e5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#97 0x004922d8 in ?? () from /lib/libglib-2.0.so.0
#98 0x004924b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#99 0x065505d5 in QEventDispatcherGlib::processEvents (this=0x9e6b4a0,
flags=...) at kernel/qeventdispatcher_glib.cpp:412
#100 0x0105a135 in QGuiEventDispatcherGlib::processEvents (this=0x9e6b4a0,
flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#101 0x06523059 in QEventLoop::processEvents (this=0xbf923674, flags=) at
kernel/qeventloop.cpp:149
#102 0x065234aa in QEventLoop::exec (this=0xbf923674, flags=...) at
kernel/qeventloop.cpp:201
#103 0x0652769f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#104 0x00f9a577 in QApplication::exec () at kernel/qapplication.cpp:3579
#105 0x0063da65 in kdemain (argc=3, argv=0xbf923e04) at
../../../kate/app/katemain.cpp:377
#106 0x080485fb in main (argc=3, argv=0xbf923e04) at kate_dummy.cpp:3

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic