Bug 284097

Summary: Kate Bug
Product: [Applications] kate Reporter: Francisco <chicochicaogusmao>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.8.0
Sentry Crash Report:

Description Francisco 2011-10-15 13:33:15 UTC
Application: kate (3.6.5)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic i686
Distribution: Linux Mint 11 Katya

-- Information about the crash:
- What I was doing when the application crashed: just deleted 70 lines of code... Happened the same when I cuted the same amount to paste in another file.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
[Current thread is 1 (Thread 0xb785e710 (LWP 3005))]

Thread 4 (Thread 0xb7643b70 (LWP 3006)):
#0  0x0072e7b9 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0x0072f03a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x0072f92b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x0202a304 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#4  0x007582df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x009eee99 in start_thread (arg=0xb7643b70) at pthread_create.c:304
#6  0x001e073e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb4554b70 (LWP 3009)):
#0  0x00eae416 in __kernel_vsyscall ()
#1  0x009f348c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x001ee3fd in __pthread_cond_wait (cond=0x4ac22b0, mutex=0x4ac2298) at forward.c:139
#3  0x049a9817 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x4abd1c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0x049a9851 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x4abd1c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0x009eee99 in start_thread (arg=0xb4554b70) at pthread_create.c:304
#6  0x001e073e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb6e42b70 (LWP 3026)):
#0  0x00824d41 in clock_gettime (clock_id=1, tp=0xb6e42000) at ../sysdeps/unix/clock_gettime.c:116
#1  0x00bc5dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x00c924f2 in updateCurrentTime (this=0x895810c, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0x895810c, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x00c90d32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb6e420dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00c90dcd in timerSourcePrepare (source=0x89580d8, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x0072dfd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x0072ee63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x0072f524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x00c91577 in QEventDispatcherGlib::processEvents (this=0x88c83a0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x00c63289 in QEventLoop::processEvents (this=0xb6e42290, flags=...) at kernel/qeventloop.cpp:149
#12 0x00c63522 in QEventLoop::exec (this=0xb6e42290, flags=...) at kernel/qeventloop.cpp:201
#13 0x00b6d2a0 in QThread::exec (this=0x894f088) at thread/qthread.cpp:492
#14 0x00c44fdb in QInotifyFileSystemWatcherEngine::run (this=0x894f088) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x00b6fda2 in QThreadPrivate::start (arg=0x894f088) at thread/qthread_unix.cpp:320
#16 0x009eee99 in start_thread (arg=0xb6e42b70) at pthread_create.c:304
#17 0x001e073e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb785e710 (LWP 3005)):
[KCrash Handler]
#7  KateLineLayout::viewLineCount (this=0x0) at ../../kate/render/katelinelayout.cpp:173
#8  0x03023ef4 in KateLayoutCache::lastViewLine (this=0x867cb88, realLine=146) at ../../kate/render/katelayoutcache.cpp:457
#9  0x0307b340 in KateViewInternal::viewLineOffset (this=0x8678fd8, virtualCursor=..., offset=38, keepX=false) at ../../kate/view/kateviewinternal.cpp:1291
#10 0x0307dfef in KateViewInternal::makeVisible (this=0x8678fd8, c=..., endCol=0, force=false, center=false, calledExternally=false) at ../../kate/view/kateviewinternal.cpp:613
#11 0x0307faa4 in KateViewInternal::updateCursor (this=0x8678fd8, newCursor=..., force=true, center=false, calledExternally=false) at ../../kate/view/kateviewinternal.cpp:1825
#12 0x0307fdae in KateViewInternal::editEnd (this=0x8678fd8, editTagLineStart=67, editTagLineEnd=67, tagFrom=true) at ../../kate/view/kateviewinternal.cpp:3285
#13 0x03062399 in KateView::editEnd (this=0x864a678, editTagLineStart=67, editTagLineEnd=67, tagFrom=true) at ../../kate/view/kateview.cpp:1596
#14 0x02fe7aa4 in KateDocument::editEnd (this=0x8456e18) at ../../kate/document/katedocument.cpp:856
#15 0x03064f6e in KateView::removeSelectedText (this=0x864a678) at ../../kate/view/kateview.cpp:1794
#16 0x02fec5ff in KateDocument::backspace (this=0x8456e18, view=0x864a678, c=...) at ../../kate/document/katedocument.cpp:2727
#17 0x03077966 in KateViewInternal::doBackspace (this=0x8678fd8) at ../../kate/view/kateviewinternal.cpp:792
#18 0x03066363 in KateView::backspace (this=0x864a678) at ../../kate/view/kateview.cpp:2236
#19 0x0306ad67 in KateView::qt_metacall (this=0x864a678, _c=QMetaObject::InvokeMetaMethod, _id=49, _a=0xbfa3d1b8) at ./kateview.moc:373
#20 0x00c6a6ba in QMetaObject::metacall (object=0x864a678, cl=QMetaObject::InvokeMetaMethod, idx=88, argv=0xbfa3d1b8) at kernel/qmetaobject.cpp:237
#21 0x00c7a4ff in QMetaObject::activate (sender=0x85c77c8, m=0x190f3f8, local_signal_index=1, argv=0xbfa3d1b8) at kernel/qobject.cpp:3287
#22 0x00fd58d9 in QAction::triggered (this=0x85c77c8, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#23 0x00fd5b38 in QAction::activate (this=0x85c77c8, event=QAction::Trigger) at kernel/qaction.cpp:1257
#24 0x00fd5ce8 in QAction::event (this=0x85c77c8, e=0xbfa3d6d8) at kernel/qaction.cpp:1183
#25 0x01cb67c3 in KAction::event (this=0x85c77c8, event=0xbfa3d6d8) at ../../kdeui/actions/kaction.cpp:131
#26 0x00fdcd24 in QApplicationPrivate::notify_helper (this=0x8244438, receiver=0x85c77c8, e=0xbfa3d6d8) at kernel/qapplication.cpp:4462
#27 0x00fe18ce in QApplication::notify (this=0xbfa3e5b4, receiver=0x85c77c8, e=0xbfa3d6d8) at kernel/qapplication.cpp:3862
#28 0x01daa32a in KApplication::notify (this=0xbfa3e5b4, receiver=0x85c77c8, event=0xbfa3d6d8) at ../../kdeui/kernel/kapplication.cpp:311
#29 0x00c640bb in QCoreApplication::notifyInternal (this=0xbfa3e5b4, receiver=0x85c77c8, event=0xbfa3d6d8) at kernel/qcoreapplication.cpp:731
#30 0x01013997 in sendEvent (this=0x82444e4, e=0xbfa3db54) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QShortcutMap::dispatchEvent (this=0x82444e4, e=0xbfa3db54) at kernel/qshortcutmap.cpp:879
#32 0x01014e57 in QShortcutMap::tryShortcutEvent (this=0x82444e4, o=0x8678fd8, e=0xbfa3db54) at kernel/qshortcutmap.cpp:364
#33 0x00fe36f1 in QApplication::notify (this=0xbfa3e5b4, receiver=0x8678fd8, e=0xbfa3db54) at kernel/qapplication.cpp:3904
#34 0x01daa32a in KApplication::notify (this=0xbfa3e5b4, receiver=0x8678fd8, event=0xbfa3db54) at ../../kdeui/kernel/kapplication.cpp:311
#35 0x00c640bb in QCoreApplication::notifyInternal (this=0xbfa3e5b4, receiver=0x8678fd8, event=0xbfa3db54) at kernel/qcoreapplication.cpp:731
#36 0x00fdab3e in sendSpontaneousEvent (receiver=0x8678fd8, event=0xbfa3db54) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#37 qt_sendSpontaneousEvent (receiver=0x8678fd8, event=0xbfa3db54) at kernel/qapplication.cpp:5456
#38 0x0108f0cd in QKeyMapper::sendKeyEvent (keyWidget=0x8678fd8, grab=false, type=QEvent::KeyPress, code=16777219, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=22, nativeVirtualKey=65288, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1866
#39 0x0108f51e in QKeyMapperPrivate::translateKeyEvent (this=0x8267b40, keyWidget=0x8678fd8, event=0xbfa3e21c, grab=false) at kernel/qkeymapper_x11.cpp:1836
#40 0x01066f08 in QApplication::x11ProcessEvent (this=0xbfa3e5b4, event=0xbfa3e21c) at kernel/qapplication_x11.cpp:3573
#41 0x010935f4 in x11EventSourceDispatch (s=0x82477f8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#42 0x0072eaa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#43 0x0072f270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#44 0x0072f524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#45 0x00c9153c in QEventDispatcherGlib::processEvents (this=0x8204aa8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#46 0x010931e5 in QGuiEventDispatcherGlib::processEvents (this=0x8204aa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00c63289 in QEventLoop::processEvents (this=0xbfa3e4e4, flags=...) at kernel/qeventloop.cpp:149
#48 0x00c63522 in QEventLoop::exec (this=0xbfa3e4e4, flags=...) at kernel/qeventloop.cpp:201
#49 0x00c67ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#50 0x00fda8e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#51 0x00dec2dd in kdemain (argc=2, argv=0xbfa3ec24) at ../../../kate/app/katemain.cpp:377
#52 0x080485ab in main (argc=2, argv=0xbfa3ec24) at kate_dummy.cpp:3

Possible duplicates by query: bug 267976, bug 262427, bug 254701.

Reported using DrKonqi
Comment 1 Dominik Haumann 2011-10-15 14:15:22 UTC

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