Bug 231107 - Kate crash while editing a new file
Summary: Kate crash while editing a new file
Status: RESOLVED DUPLICATE of bug 230001
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-17 15:31 UTC by Kay Abendroth
Modified: 2010-03-17 21:44 UTC (History)
1 user (show)

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 Kay Abendroth 2010-03-17 15:31:59 UTC
Version:            (using KDE 4.4.1)
OS:                Linux
Installed from:    Archlinux Packages

I had a new file open (didn't save it before) and was editing this file (removing some lines of text) when suddenly kate crashed.


Application: Kate (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7ff8f0c02760 (LWP 32519))]

Thread 6 (Thread 0x7ff8dbf29710 (LWP 32520)):
#0  0x00007ff8eee6707c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ff8dc266406 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7ff8dc543080) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007ff8dc266449 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7ff8dc55114c) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007ff8eee6281a in start_thread () from /lib/libpthread.so.0
#4  0x00007ff8edc30c7d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ff8d98de710 (LWP 25290)):
#0  0x00007ff8eee6707c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ff8ef0f257b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x541a678, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x541a678, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ff8ee88a496 in QFileInfoGatherer::run (this=<value optimized out>) at dialogs/qfileinfogatherer.cpp:203
#4  0x00007ff8ef0f15b5 in QThreadPrivate::start (arg=0x541a668) at thread/qthread_unix.cpp:248
#5  0x00007ff8eee6281a in start_thread () from /lib/libpthread.so.0
#6  0x00007ff8edc30c7d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ff8d2bc9710 (LWP 25291)):
#0  0x00007ff8edc28483 in poll () from /lib/libc.so.6
#1  0x00007ff8ea633a0c in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#2  0x00007ff8ea633d50 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ff8ef20f0e6 in QEventDispatcherGlib::processEvents (this=0x541eda0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007ff8ef1e4522 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007ff8ef1e48fc in QEventLoop::exec (this=0x7ff8d2bc8de0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007ff8ef0eebb9 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007ff8ef1c4ec8 in QInotifyFileSystemWatcherEngine::run (this=0x541b230) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007ff8ef0f15b5 in QThreadPrivate::start (arg=0x541b230) at thread/qthread_unix.cpp:248
#9  0x00007ff8eee6281a in start_thread () from /lib/libpthread.so.0
#10 0x00007ff8edc30c7d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff8d23c8710 (LWP 23897)):
#0  0x00007ff8eee6707c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ff8ef0f257b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x19bf1548, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x19bf1548, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ff8ee88a496 in QFileInfoGatherer::run (this=<value optimized out>) at dialogs/qfileinfogatherer.cpp:203
#4  0x00007ff8ef0f15b5 in QThreadPrivate::start (arg=0x19bf1538) at thread/qthread_unix.cpp:248
#5  0x00007ff8eee6281a in start_thread () from /lib/libpthread.so.0
#6  0x00007ff8edc30c7d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff8d1bc7710 (LWP 23898)):
#0  0x00007ff8eee66420 in pthread_mutex_unlock () from /lib/libpthread.so.0
#1  0x00007ff8ea62ed6e in g_main_context_query () from /usr/lib/libglib-2.0.so.0
#2  0x00007ff8ea6338e1 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#3  0x00007ff8ea633d50 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007ff8ef20f0e6 in QEventDispatcherGlib::processEvents (this=0x19bf41a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007ff8ef1e4522 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007ff8ef1e48fc in QEventLoop::exec (this=0x7ff8d1bc6de0, flags=) at kernel/qeventloop.cpp:201
#7  0x00007ff8ef0eebb9 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007ff8ef1c4ec8 in QInotifyFileSystemWatcherEngine::run (this=0x19bf29d0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007ff8ef0f15b5 in QThreadPrivate::start (arg=0x19bf29d0) at thread/qthread_unix.cpp:248
#10 0x00007ff8eee6281a in start_thread () from /lib/libpthread.so.0
#11 0x00007ff8edc30c7d in clone () from /lib/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff8f0c02760 (LWP 32519)):
[KCrash Handler]
#5  KateLineLayout::viewLineCount (this=0x0) at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.4.1/kate/render/katelinelayout.cpp:173
#6  0x00007ff8dc8a4a1a in KateLayoutCache::viewLine (this=0x5b4d590, realCursor=...) at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.4.1/kate/render/katelayoutcache.cpp:395
#7  0x00007ff8dc907193 in KateViewInternal::viewLineOffset (this=0x5c59c30, virtualCursor=..., offset=0, keepX=<value optimized out>)
    at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.4.1/kate/view/kateviewinternal.cpp:1351
#8  0x00007ff8dc90a32b in KateViewInternal::makeVisible (this=0x5c59c30, c=..., endCol=-1, force=false, center=<value optimized out>, calledExternally=false)
    at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.4.1/kate/view/kateviewinternal.cpp:663
#9  0x00007ff8dc90aa89 in KateViewInternal::updateCursor (this=0x5c59c30, newCursor=<value optimized out>, force=<value optimized out>, center=false, calledExternally=<value optimized out>)
    at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.4.1/kate/view/kateviewinternal.cpp:1914
#10 0x00007ff8dc90b669 in KateViewInternal::editEnd (this=0x5c59c30, editTagLineStart=<value optimized out>, editTagLineEnd=<value optimized out>, tagFrom=<value optimized out>)
    at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.4.1/kate/view/kateviewinternal.cpp:3399
#11 0x00007ff8dc863a21 in KateDocument::editEnd (this=0x223b2e0) at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.4.1/kate/document/katedocument.cpp:981
#12 0x00007ff8dc86a750 in KateDocument::removeText (this=0x223b2e0, _range=<value optimized out>, block=<value optimized out>)
    at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.4.1/kate/document/katedocument.cpp:825
#13 0x00007ff8dc86c28a in KateDocument::backspace (this=0x223b2e0, view=<value optimized out>, c=<value optimized out>)
    at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.4.1/kate/document/katedocument.cpp:2910
#14 0x00007ff8dc8f1d0c in KateView::backspace (this=0x48b3960) at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.4.1/kate/view/kateview.cpp:2295
#15 0x00007ff8dc8f654d in KateView::qt_metacall (this=0x48b3960, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffb29021a0)
    at /home/phil/kdemod/core/kdelibs/src/build/kate/kateview.moc:373
#16 0x00007ff8ef1f895f in QMetaObject::activate (sender=0x5364850, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293
#17 0x00007ff8ee380852 in QAction::triggered (this=0x0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#18 0x00007ff8ee3828cb in QAction::activate (this=0x5364850, event=<value optimized out>) at kernel/qaction.cpp:1255
#19 0x00007ff8ee3841d7 in QAction::event (this=0x0, e=<value optimized out>) at kernel/qaction.cpp:1181
#20 0x00007ff8ef656a0d in KAction::event (this=0x0, event=0x7fffb2902810) at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.4.1/kdeui/actions/kaction.cpp:129
#21 0x00007ff8ee38695c in QApplicationPrivate::notify_helper (this=0x1a25630, receiver=0x5364850, e=0x7fffb2902810) at kernel/qapplication.cpp:4300
#22 0x00007ff8ee38cf4b in QApplication::notify (this=0x7fffb2903e20, receiver=0x5364850, e=0x7fffb2902810) at kernel/qapplication.cpp:4183
#23 0x00007ff8ef72ad96 in KApplication::notify (this=0x7fffb2903e20, receiver=0x5364850, event=0x7fffb2902810) at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.4.1/kdeui/kernel/kapplication.cpp:302
#24 0x00007ff8ef1e5bfc in QCoreApplication::notifyInternal (this=0x7fffb2903e20, receiver=0x5364850, event=0x7fffb2902810) at kernel/qcoreapplication.cpp:704
#25 0x00007ff8ee3c2676 in QCoreApplication::sendEvent (this=<value optimized out>, e=0x7fffb2902e10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7fffb2902e10) at kernel/qshortcutmap.cpp:879
#27 0x00007ff8ee3c4477 in QShortcutMap::tryShortcutEvent (this=0x1a25758, o=<value optimized out>, e=0x7fffb2902e10) at kernel/qshortcutmap.cpp:364
#28 0x00007ff8ee38ea93 in QApplication::notify (this=0x7fffb2903e20, receiver=0x5c59c30, e=0x7fffb2902e10) at kernel/qapplication.cpp:3746
#29 0x00007ff8ef72ad96 in KApplication::notify (this=0x7fffb2903e20, receiver=0x5c59c30, event=0x7fffb2902e10) at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.4.1/kdeui/kernel/kapplication.cpp:302
#30 0x00007ff8ef1e5bfc in QCoreApplication::notifyInternal (this=0x7fffb2903e20, receiver=0x5c59c30, event=0x7fffb2902e10) at kernel/qcoreapplication.cpp:704
#31 0x00007ff8ee43004a in QKeyMapper::sendKeyEvent (keyWidget=0x5c59c30, grab=<value optimized out>, type=QEvent::KeyPress, code=16777219, modifiers=<value optimized out>, text=..., 
    autorepeat=false, count=1, nativeScanCode=22, nativeVirtualKey=65288, nativeModifiers=16) at kernel/qkeymapper_x11.cpp:1861
#32 0x00007ff8ee4325a1 in QKeyMapperPrivate::translateKeyEvent (this=0x1a4f340, keyWidget=0x5c59c30, event=<value optimized out>, grab=240) at kernel/qkeymapper_x11.cpp:1831
#33 0x00007ff8ee40adb4 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffb29039c0) at kernel/qapplication_x11.cpp:3394
#34 0x00007ff8ee435712 in x11EventSourceDispatch (s=0x1a27c50, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#35 0x00007ff8ea63026e in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#36 0x00007ff8ea633c28 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#37 0x00007ff8ea633d50 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#38 0x00007ff8ef20f093 in QEventDispatcherGlib::processEvents (this=0x1a23c60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#39 0x00007ff8ee43530e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007ff8ef1e4522 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#41 0x00007ff8ef1e48fc in QEventLoop::exec (this=0x7fffb2903ce0, flags=) at kernel/qeventloop.cpp:201
#42 0x00007ff8ef1e863b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#43 0x00007ff8e2a9ae1d in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /home/phil/kdemod/core/kdesdk/src/kdesdk-4.4.1/kate/app/katemain.cpp:377
#44 0x000000000040707e in launch (argc=2, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=16, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x19ebab6 "kay;1267696160;521398;32272_TIME2333946985") at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.4.1/kinit/kinit.cpp:717
#45 0x0000000000407c4d in handle_launcher_request (sock=8, who=<value optimized out>) at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.4.1/kinit/kinit.cpp:1209
#46 0x00000000004081f0 in handle_requests (waitForPid=0) at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.4.1/kinit/kinit.cpp:1402
#47 0x00000000004088fa in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.4.1/kinit/kinit.cpp:1841
Comment 1 Dominik Haumann 2010-03-17 21:44:51 UTC
known issue.

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