Bug 200759

Summary: Kate crashed in background [delete, ~KFileDialog , ..., ~KateView]
Product: [Applications] kate Reporter: Sputnik <sputnikshock>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: andresbajotierra, christoph, finex, m.wege
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Sputnik 2009-07-19 13:54:04 UTC
Application that crashed: kate
Version of the application: 3.2.96
KDE Version: 4.2.96 (KDE 4.2.96 (KDE 4.3 RC2))
Qt Version: 4.5.1
Operating System: Linux 2.6.28-14-generic i686
Distribution: Ubuntu 9.04

 -- Backtrace:
Application: Kate (kate), signal: Aborted
[KCrash Handler]
#6  0xb7f83430 in __kernel_vsyscall ()
#7  0xb65e56d0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb65e7098 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb662324d in ?? () from /lib/tls/i686/cmov/libc.so.6
#10 0xb6629604 in ?? () from /lib/tls/i686/cmov/libc.so.6
#11 0xb662b5b6 in free () from /lib/tls/i686/cmov/libc.so.6
#12 0xb6835231 in operator delete () from /usr/lib/libstdc++.so.6
#13 0xb7e1d612 in ~KFileDialog (this=0xbf89e690) at /build/buildd/kde4libs-4.2.96/kio/kfile/kfiledialog.cpp:290
#14 0xb69bdbef in QObjectPrivate::deleteChildren (this=0x8e743f8) at kernel/qobject.cpp:1854
#15 0xb6ebebfb in ~QWidget (this=0x8fe6f50) at kernel/qwidget.cpp:1366
#16 0xb64760f9 in ~View (this=0x8fe6f50) at /build/buildd/kde4libs-4.2.96/interfaces/ktexteditor/ktexteditor.cpp:266
#17 0xb3fc9acf in ~KateView (this=0x8fe6f50) at /build/buildd/kde4libs-4.2.96/kate/view/kateview.cpp:290
#18 0xb69bdbef in QObjectPrivate::deleteChildren (this=0x8e740c8) at kernel/qobject.cpp:1854
#19 0xb6ebebfb in ~QWidget (this=0x8e76258) at kernel/qwidget.cpp:1366
#20 0xb72a1601 in ~QFrame (this=0x8e76258) at widgets/qframe.cpp:243
#21 0xb7311935 in ~QStackedWidget (this=0x8e76258) at widgets/qstackedwidget.cpp:152
#22 0xb69bdbef in QObjectPrivate::deleteChildren (this=0x8e73e50) at kernel/qobject.cpp:1854
#23 0xb6ebebfb in ~QWidget (this=0x8e8e2f8) at kernel/qwidget.cpp:1366
#24 0xb72a1601 in ~QFrame (this=0x8e8e2f8) at widgets/qframe.cpp:243
#25 0xb7b5d231 in ~KHBox (this=0x8e8e2f8) at /build/buildd/kde4libs-4.2.96/kdeui/widgets/khbox.cpp:51
#26 0xb7bb4881 in ~KVBox (this=0x8e8e2f8) at /build/buildd/kde4libs-4.2.96/kdeui/widgets/kvbox.cpp:29
#27 0xb7f436f5 in ?? () from /usr/lib/libkateinterfaces.so.4
#28 0xb69bdbef in QObjectPrivate::deleteChildren (this=0x8e71898) at kernel/qobject.cpp:1854
#29 0xb6ebebfb in ~QWidget (this=0x8e730f8) at kernel/qwidget.cpp:1366
#30 0xb72a1601 in ~QFrame (this=0x8e730f8) at widgets/qframe.cpp:243
#31 0xb730b59b in ~QSplitter (this=0x8e730f8) at widgets/qsplitter.cpp:1008
#32 0xb7f3da6f in ?? () from /usr/lib/libkateinterfaces.so.4
#33 0xb69bdbef in QObjectPrivate::deleteChildren (this=0x8e6b698) at kernel/qobject.cpp:1854
#34 0xb6ebebfb in ~QWidget (this=0x8e66230) at kernel/qwidget.cpp:1366
#35 0xb72a1601 in ~QFrame (this=0x8e66230) at widgets/qframe.cpp:243
#36 0xb7b5d231 in ~KHBox (this=0x8e66230) at /build/buildd/kde4libs-4.2.96/kdeui/widgets/khbox.cpp:51
#37 0xb7bb48d5 in ~KVBox (this=0x8e66230) at /build/buildd/kde4libs-4.2.96/kdeui/widgets/kvbox.cpp:29
#38 0xb7f59e0f in ?? () from /usr/lib/libkateinterfaces.so.4
#39 0xb7f335e4 in ?? () from /usr/lib/libkateinterfaces.so.4
#40 0xb69bd8d5 in qDeleteInEventHandler (o=0x6) at kernel/qobject.cpp:3822
#41 0xb69bf17b in QObject::event (this=0x8e62d98, e=0xb7f73dcc) at kernel/qobject.cpp:1101
#42 0xb6ec31c0 in QWidget::event (this=0x8e62d98, event=0x91df0a0) at kernel/qwidget.cpp:7918
#43 0xb72bea07 in QMainWindow::event (this=0x8e62d98, event=0x91df0a0) at widgets/qmainwindow.cpp:1402
#44 0xb7b75c87 in KMainWindow::event (this=0x8e62d98, ev=0x91df0a0) at /build/buildd/kde4libs-4.2.96/kdeui/widgets/kmainwindow.cpp:1094
#45 0xb7bbb57c in KXmlGuiWindow::event (this=0x8e62d98, ev=0x91df0a0) at /build/buildd/kde4libs-4.2.96/kdeui/xmlgui/kxmlguiwindow.cpp:131
#46 0xb7f320b3 in ?? () from /usr/lib/libkateinterfaces.so.4
#47 0xb6e6cbcc in QApplicationPrivate::notify_helper (this=0x8caede0, receiver=0x91df0a0, e=0x8e62d98) at kernel/qapplication.cpp:4057
#48 0xb6e74fc2 in QApplication::notify (this=0xbf8a0968, receiver=0x8e62d98, e=0x91df0a0) at kernel/qapplication.cpp:4022
#49 0xb7a914dd in KApplication::notify (this=0xbf8a0968, receiver=0x8e62d98, event=0x91df0a0) at /build/buildd/kde4libs-4.2.96/kdeui/kernel/kapplication.cpp:302
#50 0xb69ae7ab in QCoreApplication::notifyInternal (this=0xbf8a0968, receiver=0x8e62d98, event=0x91df0a0) at kernel/qcoreapplication.cpp:610
#51 0xb69af405 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8c97128) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#52 0xb69af5fd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#53 0xb69da58f in postEventSourceDispatch (s=0x8cb0f80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#54 0xb5d4bb88 in IA__g_main_context_dispatch (context=0x8cb0f00) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:1814
#55 0xb5d4f0eb in g_main_context_iterate (context=0x8cb0f00, block=1, dispatch=1, self=0x8caef38) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2448
#56 0xb5d4f268 in IA__g_main_context_iteration (context=0x8cb0f00, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#57 0xb69da1d8 in QEventDispatcherGlib::processEvents (this=0x8c96d10, flags={i = -1081483176}) at kernel/qeventdispatcher_glib.cpp:324
#58 0xb6f0e765 in QGuiEventDispatcherGlib::processEvents (this=0x8c96d10, flags={i = -1081483128}) at kernel/qguieventdispatcher_glib.cpp:202
#59 0xb69acdda in QEventLoop::processEvents (this=0xbf89e104, flags={i = -1081483064}) at kernel/qeventloop.cpp:149
#60 0xb69ad21a in QEventLoop::exec (this=0xbf89e104, flags={i = -1081482996}) at kernel/qeventloop.cpp:200
#61 0xb7da8c9b in KIO::NetAccess::enter_loop (this=0xbf89e170) at /build/buildd/kde4libs-4.2.96/kio/kio/netaccess.cpp:502
#62 0xb7da935f in KIO::NetAccess::synchronousRunInternal (this=0xbf89e170, job=0x91bf998, window=0x0, data=0x0, finalURL=0x0, metaData=0x0) at /build/buildd/kde4libs-4.2.96/kio/kio/netaccess.cpp:487
#63 0xb7da9a11 in KIO::NetAccess::synchronousRun (job=0x91bf998, window=0x0, data=0x0, finalURL=0x0, metaData=0x0) at /build/buildd/kde4libs-4.2.96/kio/kio/netaccess.cpp:277
#64 0xb5c653f4 in KFileWidget (this=0x8e6c8e8, _startDir=@0xbf89e604, parent=0xbf89e690) at /build/buildd/kde4libs-4.2.96/kfile/kfilewidget.cpp:590
#65 0xb3b5e44b in KFileModule::createFileWidget (this=0x8eecd48, startDir=@0xbf89e604, parent=0xbf89e690) at /build/buildd/kde4libs-4.2.96/kfile/kfilemodule.cpp:36
#66 0xb7e1e7ef in KFileDialog (this=0xbf89e690, startDir=@0xbf89e604, filter=@0xbf89e764, parent=0x8fe6f50, customWidget=0x0) at /build/buildd/kde4libs-4.2.96/kio/kfile/kfiledialog.cpp:238
#67 0xb7e1a34e in KEncodingFileDialog (this=0xbf89e690, startDir=@0xbf89e6c4, encoding=@0x8e53898, filter=@0xbf89e764, caption=@0xbf89e6c0, type=KFileDialog::Saving, parent=0x8fe6f50)
    at /build/buildd/kde4libs-4.2.96/kio/kfile/kencodingfiledialog.cpp:42
#68 0xb7e1aa45 in KEncodingFileDialog::getSaveUrlAndEncoding (encoding=@0x8e53898, dir=@0xbf89e768, filter=@0xbf89e764, parent=0x8fe6f50, caption=@0xbf89e760)
    at /build/buildd/kde4libs-4.2.96/kio/kfile/kencodingfiledialog.cpp:205
#69 0xb3f43a5d in KateDocument::documentSaveAs (this=0x8e0cfc0) at /build/buildd/kde4libs-4.2.96/kate/document/katedocument.cpp:5103
#70 0xb3f430f6 in KateDocument::qt_metacall (this=0x8e0cfc0, _c=QMetaObject::InvokeMetaMethod, _id=57, _a=0xbf89e8cc) at /build/buildd/kde4libs-4.2.96/obj-i486-linux-gnu/kate/katedocument.moc:317
#71 0xb69c4a58 in QMetaObject::activate (sender=0x90fd248, from_signal_index=5, to_signal_index=6, argv=0xbf89e8cc) at kernel/qobject.cpp:3120
#72 0xb69c4e90 in QMetaObject::activate (sender=0x90fd248, m=0xb76fff08, from_local_signal_index=1, to_local_signal_index=2, argv=0xbf89e8cc) at kernel/qobject.cpp:3214
#73 0xb6e66551 in QAction::triggered (this=0x90fd248, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#74 0xb6e67acf in QAction::activate (this=0x90fd248, event=QAction::Trigger) at kernel/qaction.cpp:1160
#75 0xb733ad12 in QToolButton::nextCheckState (this=0x6) at ../../include/QtGui/../../src/gui/kernel/qaction.h:203
#76 0xb7253573 in QAbstractButtonPrivate::click (this=0x91a29d8) at widgets/qabstractbutton.cpp:525
#77 0xb7253846 in QAbstractButton::mouseReleaseEvent (this=0x91a1068, e=0xbf89eed8) at widgets/qabstractbutton.cpp:1115
#78 0xb733b20c in QToolButton::mouseReleaseEvent (this=0x91a1068, e=0xbf89eed8) at widgets/qtoolbutton.cpp:709
#79 0xb6ec38c3 in QWidget::event (this=0x91a1068, event=0xbf89eed8) at kernel/qwidget.cpp:7521
#80 0xb725181e in QAbstractButton::event (this=0x91a1068, e=0xbf89eed8) at widgets/qabstractbutton.cpp:1077
#81 0xb733dc3a in QToolButton::event (this=0x91a1068, event=0xbf89eed8) at widgets/qtoolbutton.cpp:1151
#82 0xb6e6cbcc in QApplicationPrivate::notify_helper (this=0x8caede0, receiver=0x91a1068, e=0xbf89eed8) at kernel/qapplication.cpp:4057
#83 0xb6e75851 in QApplication::notify (this=0xbf8a0968, receiver=0x91a1068, e=0xbf89eed8) at kernel/qapplication.cpp:3759
#84 0xb7a914dd in KApplication::notify (this=0xbf8a0968, receiver=0x91a1068, event=0xbf89eed8) at /build/buildd/kde4libs-4.2.96/kdeui/kernel/kapplication.cpp:302
#85 0xb69ae7ab in QCoreApplication::notifyInternal (this=0xbf8a0968, receiver=0x91a1068, event=0xbf89eed8) at kernel/qcoreapplication.cpp:610
#86 0xb6e748be in QApplicationPrivate::sendMouseEvent (receiver=0x91a1068, event=0xbf89eed8, alienWidget=0x91a1068, nativeWidget=0x8e62d98, buttonDown=0xb7718aa0, lastMouseReceiver=@0xb7718aa4)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#87 0xb6ee4aee in QETWidget::translateMouseEvent (this=0x8e62d98, event=0xbf8a056c) at kernel/qapplication_x11.cpp:4448
#88 0xb6ee3ead in QApplication::x11ProcessEvent (this=0xbf8a0968, event=0xbf8a056c) at kernel/qapplication_x11.cpp:3444
#89 0xb6f0f06a in x11EventSourceDispatch (s=0x8cb1e68, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#90 0xb5d4bb88 in IA__g_main_context_dispatch (context=0x8cb0f00) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:1814
#91 0xb5d4f0eb in g_main_context_iterate (context=0x8cb0f00, block=1, dispatch=1, self=0x8caef38) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2448
#92 0xb5d4f268 in IA__g_main_context_iteration (context=0x8cb0f00, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#93 0xb69da1d8 in QEventDispatcherGlib::processEvents (this=0x8c96d10, flags={i = -1081473240}) at kernel/qeventdispatcher_glib.cpp:324
#94 0xb6f0e765 in QGuiEventDispatcherGlib::processEvents (this=0x8c96d10, flags={i = -1081473192}) at kernel/qguieventdispatcher_glib.cpp:202
#95 0xb69acdda in QEventLoop::processEvents (this=0xbf8a07d0, flags={i = -1081473128}) at kernel/qeventloop.cpp:149
#96 0xb69ad21a in QEventLoop::exec (this=0xbf8a07d0, flags={i = -1081473064}) at kernel/qeventloop.cpp:200
#97 0xb69af6c9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#98 0xb6e6ca47 in QApplication::exec () at kernel/qapplication.cpp:3526
#99 0xb7f7c86d in kdemain () from /usr/lib/libkdeinit4_kate.so
#100 0x08048672 in _start ()

Reported using DrKonqi
Comment 1 FiNeX 2009-07-19 19:22:45 UTC
Did you have another kate istance already started?
Comment 2 Sputnik 2009-07-19 19:59:49 UTC
Yes, that's true!

Kate opened several times in background. I would love to allow only one instance - but didn't find a trigger for it...
Comment 3 Dario Andres 2009-08-23 01:28:40 UTC
Bug 204692 looks related to this. 
- Were you trying to open some file dialog (to load or save some file on a remote place).
- Did it freezed and then crashed ? or did it just crashed ?
Thanks
Comment 4 Sputnik 2009-08-23 08:29:02 UTC
Hello Dario,

It's already some time ago. 

My cirumstances have been that I configured my Browser (a version of Opera) to open textfiles with kate. My browser interpretated this a bit strange and on some websites it opened several textfiles in the background. Some only with two letters as content.

The result for kate was in this case that it had to open several textfiles at once. And this time kate crashed! 

I've had that configuration some time... But kate only crahed once because of it. The other times I could close it manually.
Comment 5 Dario Andres 2009-10-01 00:52:46 UTC
- Did this happened any other time recently ? Thanks
Comment 6 Sputnik 2009-10-01 01:02:03 UTC
I don't think so. - But I stopped the behavior of opening lots of kate instances. So if it's related to it the chance minimizes to happen again...

Thanks!
Comment 7 Christoph Cullmann 2010-02-16 12:38:57 UTC
Ok, but as we can't reproduce it, we close this now.
Comment 8 Myriam Schweingruber 2011-11-25 22:03:22 UTC
*** Bug 209042 has been marked as a duplicate of this bug. ***