Bug 297041 - Kate crash on file close
Summary: Kate crash on file close
Status: RESOLVED DUPLICATE of bug 248926
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-29 14:12 UTC by Tor Bellino
Modified: 2012-03-29 18:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tor Bellino 2012-03-29 14:12:07 UTC
Application: kate (3.8.1)
KDE Platform Version: 4.8.1 (4.8.1)
Qt Version: 4.8.0
Operating System: Linux 3.2.0-20-generic-pae i686
Distribution: Ubuntu precise (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
Closing a file.

- Custom settings of the application:
"terminal tool view" plugin enabled. Is shows a console window inside Kate.

-- Backtrace:
Application: Kate (kate), signal: Aborted
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb4d6e980 (LWP 2142))]

Thread 4 (Thread 0xb200ab40 (LWP 2145)):
#0  0xb77aa424 in __kernel_vsyscall ()
#1  0xb5f0096b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb76d93dc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb226f009 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0xb226f04f in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0xb5efcd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0xb76cbace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xb01aab40 (LWP 2202)):
#0  0xb5424dcd in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0xb60efda5 in do_gettime (frac=0xb01a9fb0, sec=0xb01a9fa8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb61d99a6 in QTimerInfoList::updateCurrentTime (this=0xaf802074) at kernel/qeventdispatcher_unix.cpp:343
#4  0xb61d9cfa in QTimerInfoList::timerWait (this=0xaf802074, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0xb61d85a3 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb01aa0bc) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb61d863d in timerSourcePrepare (source=0xaf802040, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb5e29802 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb5e2a00f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb5e2a261 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb61d9067 in QEventDispatcherGlib::processEvents (this=0xaf800468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0xb61a4c8d in QEventLoop::processEvents (this=0xb01aa240, flags=...) at kernel/qeventloop.cpp:149
#12 0xb61a4f29 in QEventLoop::exec (this=0xb01aa240, flags=...) at kernel/qeventloop.cpp:204
#13 0xb608e94c in QThread::exec (this=0x914aca8) at thread/qthread.cpp:501
#14 0xb61822dd in QInotifyFileSystemWatcherEngine::run (this=0x914aca8) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb6091de0 in QThreadPrivate::start (arg=0x914aca8) at thread/qthread_unix.cpp:298
#16 0xb5efcd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0xb76cbace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xaf2b8b40 (LWP 2969)):
#0  0xb5efedc8 in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#1  0xb76d95f4 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#2  0xb5e696e0 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb5e29302 in g_main_context_release () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb5e2a0b8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb5e2a261 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb61d9067 in QEventDispatcherGlib::processEvents (this=0xae900468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0xb61a4c8d in QEventLoop::processEvents (this=0xaf2b8240, flags=...) at kernel/qeventloop.cpp:149
#8  0xb61a4f29 in QEventLoop::exec (this=0xaf2b8240, flags=...) at kernel/qeventloop.cpp:204
#9  0xb608e94c in QThread::exec (this=0xaeda588) at thread/qthread.cpp:501
#10 0xb61822dd in QInotifyFileSystemWatcherEngine::run (this=0xaeda588) at io/qfilesystemwatcher_inotify.cpp:248
#11 0xb6091de0 in QThreadPrivate::start (arg=0xaeda588) at thread/qthread_unix.cpp:298
#12 0xb5efcd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#13 0xb76cbace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb4d6e980 (LWP 2142)):
[KCrash Handler]
#7  0xb77aa424 in __kernel_vsyscall ()
#8  0xb760f1ef in raise () from /lib/i386-linux-gnu/libc.so.6
#9  0xb7612835 in abort () from /lib/i386-linux-gnu/libc.so.6
#10 0xb764a2fa in ?? () from /lib/i386-linux-gnu/libc.so.6
#11 0xb7654e42 in ?? () from /lib/i386-linux-gnu/libc.so.6
#12 0xb5fee51f in operator delete(void*) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#13 0xb591140a in KTextEditor::MovingCursor::~MovingCursor (this=0xa2bb79c, __in_chrg=<optimized out>) at ../../../interfaces/ktexteditor/movingcursor.cpp:36
#14 0xb241af4b in qDeleteAll<QSet<Kate::TextCursor*>::const_iterator> (end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#15 qDeleteAll<QSet<Kate::TextCursor*> > (c=<synthetic pointer>) at /usr/include/qt4/QtCore/qalgorithms.h:330
#16 Kate::TextBuffer::~TextBuffer (this=0xa77ed48, __in_chrg=<optimized out>) at ../../part/buffer/katetextbuffer.cpp:86
#17 0xb2496db0 in KateBuffer::~KateBuffer (this=0xa77ed48, __in_chrg=<optimized out>) at ../../part/document/katebuffer.cpp:85
#18 0xb2496de2 in KateBuffer::~KateBuffer (this=0xa77ed48, __in_chrg=<optimized out>) at ../../part/document/katebuffer.cpp:93
#19 0xb61bb491 in QObjectPrivate::deleteChildren (this=0x98132c8) at kernel/qobject.cpp:1908
#20 0xb61c0c01 in QObject::~QObject (this=0xaece120, __in_chrg=<optimized out>) at kernel/qobject.cpp:927
#21 0xb58b2bc4 in KParts::Part::~Part (this=0xaece120, __vtt_parm=0xb263eed0, __in_chrg=<optimized out>) at ../../kparts/part.cpp:190
#22 0xb58b3f2c in KParts::ReadOnlyPart::~ReadOnlyPart (this=0xaece120, __vtt_parm=0xb263eecc, __in_chrg=<optimized out>) at ../../kparts/part.cpp:460
#23 0xb58b4070 in KParts::ReadWritePart::~ReadWritePart (this=0xaece120, __vtt_parm=0xb263eec8, __in_chrg=<optimized out>) at ../../kparts/part.cpp:773
#24 0xb58ffbb3 in KTextEditor::Document::~Document (this=0xaece120, __vtt_parm=0xb263eec4, __in_chrg=<optimized out>) at ../../../interfaces/ktexteditor/document.cpp:135
#25 0xb247a6af in KateDocument::~KateDocument (this=0xaece120, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../part/document/katedocument.cpp:266
#26 0xb247a822 in KateDocument::~KateDocument (this=0xaece120, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../part/document/katedocument.cpp:306
#27 0xb67f17fc in KateDocManager::deleteDoc (this=0x8c472d8, doc=0xaece120) at ../../../kate/app/katedocmanager.cpp:178
#28 0xb67f2618 in KateDocManager::closeDocument (this=0x8c472d8, doc=0xaece120, closeUrl=true) at ../../../kate/app/katedocmanager.cpp:323
#29 0xb680207d in KateViewManager::slotDocumentClose (this=0x8d372e0, document=0xaece120) at ../../../kate/app/kateviewmanager.cpp:267
#30 0xb68037d3 in KateViewManager::slotDocumentClose (this=0x8d372e0) at ../../../kate/app/kateviewmanager.cpp:276
#31 0xb61bce31 in QMetaObject::activate (sender=0x8d3e7c8, m=0xb75bf3f8, local_signal_index=1, argv=0xbfa134a8) at kernel/qobject.cpp:3547
#32 0xb6c4280d in QAction::triggered (this=0x8d3e7c8, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#33 0xb6c42aab in QAction::activate (this=0x8d3e7c8, event=QAction::Trigger) at kernel/qaction.cpp:1257
#34 0xb714e810 in trigger (this=<optimized out>) at ../../include/QtGui/../../src/gui/kernel/qaction.h:218
#35 QToolButton::nextCheckState (this=0x8d853a8) at widgets/qtoolbutton.cpp:1144
#36 0xb7076057 in QAbstractButtonPrivate::click (this=0x8d85420) at widgets/qabstractbutton.cpp:528
#37 0xb7076356 in QAbstractButton::mouseReleaseEvent (this=0x8d853a8, e=0xbfa13ba4) at widgets/qabstractbutton.cpp:1121
#38 0xb714e8ad in QToolButton::mouseReleaseEvent (this=0x8d853a8, e=0xbfa13ba4) at widgets/qtoolbutton.cpp:718
#39 0xb6ca3ffc in QWidget::event (this=0x8d853a8, event=0xbfa13ba4) at kernel/qwidget.cpp:8361
#40 0xb70755f9 in QAbstractButton::event (this=0x8d853a8, e=0xbfa13ba4) at widgets/qabstractbutton.cpp:1080
#41 0xb714ffdc in QToolButton::event (this=0x8d853a8, event=0xbfa13ba4) at widgets/qtoolbutton.cpp:1160
#42 0xb6c49d24 in notify_helper (e=0xbfa13ba4, receiver=0x8d853a8, this=0x8b46ef8) at kernel/qapplication.cpp:4555
#43 QApplicationPrivate::notify_helper (this=0x8b46ef8, receiver=0x8d853a8, e=0xbfa13ba4) at kernel/qapplication.cpp:4527
#44 0xb6c4fe74 in QApplication::notify (this=0x8b46ef8, receiver=0x8d853a8, e=0xbfa13ba4) at kernel/qapplication.cpp:4098
#45 0xb6574801 in KApplication::notify (this=0xbfa14420, receiver=0x8d853a8, event=0xbfa13ba4) at ../../kdeui/kernel/kapplication.cpp:311
#46 0xb61a60fe in QCoreApplication::notifyInternal (this=0xbfa14420, receiver=0x8d853a8, event=0xbfa13ba4) at kernel/qcoreapplication.cpp:876
#47 0xb6c4ace5 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#48 QApplicationPrivate::sendMouseEvent (receiver=0x8d853a8, event=0xbfa13ba4, alienWidget=0x8d853a8, nativeWidget=0x8e50b00, buttonDown=0xb75dccf4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3166
#49 0xb6cd6ec4 in QETWidget::translateMouseEvent (this=0x8e50b00, event=0xbfa1405c) at kernel/qapplication_x11.cpp:4617
#50 0xb6cd5a5d in QApplication::x11ProcessEvent (this=0xbfa14420, event=0xbfa1405c) at kernel/qapplication_x11.cpp:3732
#51 0xb6d02c9c in x11EventSourceDispatch (s=0x8b4a300, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#52 0xb5e29d7a in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#53 0xb5e2a185 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#54 0xb5e2a261 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#55 0xb61d9007 in QEventDispatcherGlib::processEvents (this=0x8b1fed8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#56 0xb6d0289a in QGuiEventDispatcherGlib::processEvents (this=0x8b1fed8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#57 0xb61a4c8d in QEventLoop::processEvents (this=0xbfa14354, flags=...) at kernel/qeventloop.cpp:149
#58 0xb61a4f29 in QEventLoop::exec (this=0xbfa14354, flags=...) at kernel/qeventloop.cpp:204
#59 0xb61aa63a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#60 0xb6c478c4 in QApplication::exec () at kernel/qapplication.cpp:3816
#61 0xb77a1905 in kdemain (argc=3, argv=0xbfa14a84) at ../../../kate/app/katemain.cpp:377
#62 0x080484fb in main (argc=3, argv=0xbfa14a84) at kate_dummy.cpp:3

Possible duplicates by query: bug 283528.

Reported using DrKonqi
Comment 1 Dominik Haumann 2012-03-29 18:00:18 UTC
Can you reproduce?

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