Bug 294666 - python cut docsstring with last quotes """ that ending docsstring
Summary: python cut docsstring with last quotes """ that ending docsstring
Status: RESOLVED DUPLICATE of bug 294750
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-23 09:43 UTC by Tomasz Narloch
Modified: 2012-03-22 22:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.8.2


Attachments
New crash information added by DrKonqi (16.80 KB, text/plain)
2012-02-23 10:10 UTC, Tomasz Narloch
Details
Attachment to the previous comment (418.65 KB, text/plain)
2012-02-28 22:08 UTC, Tomasz Narloch
Details
Attachment to previous comment katelogs2.txt (381.21 KB, text/plain)
2012-02-28 22:09 UTC, Tomasz Narloch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Narloch 2012-02-23 09:43:04 UTC
Application: kate (3.6.5)
KDE Platform Version: 4.6.5 (4.6.5) (Compiled from sources)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-13-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
Open python file with more that 1000 lines, one class with lots of methods.
collapse all methods. 

1) Choice one from middle and  uncollapse it and change docstring.
After delete last chars of docstring with quotes """ (few lines) editor automatically uncollapsed bottom methods. Next I correct docstring and collapse below  methods again.

2) Repeat above (1) a few times .
3) Crash

I will try to do lots of that tests because there is not the same bug on every time.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Kate (kate), signal: Aborted
[Current thread is 1 (Thread 0x7f0262344780 (LWP 1981))]

Thread 4 (Thread 0x7f024ed73700 (LWP 1982)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f02502822a2 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f025059b180) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f02502822d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f02505a9254) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f025be64d8c in start_thread (arg=0x7f024ed73700) at pthread_create.c:304
#4  0x00007f025dcd204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f024bc9d700 (LWP 1983)):
#0  0x00007f025a7b79f0 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f025a7b83a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f025a7b8639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f025e8a7446 in QEventDispatcherGlib::processEvents (this=0x182e920, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f025e87b882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f025e87babc in QEventLoop::exec (this=0x7f024bc9cdd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f025e792924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f025e85dc2f in QInotifyFileSystemWatcherEngine::run (this=0x1649300) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f025e795175 in QThreadPrivate::start (arg=0x1649300) at thread/qthread_unix.cpp:320
#9  0x00007f025be64d8c in start_thread (arg=0x7f024bc9d700) at pthread_create.c:304
#10 0x00007f025dcd204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f024b298700 (LWP 2024)):
#0  idleTimerSourcePrepare (source=<value optimized out>, timeout=0x7f024b297c4c) at kernel/qeventdispatcher_glib.cpp:207
#1  0x00007f025a7b70a2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f025a7b7f9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f025a7b8639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f025e8a7446 in QEventDispatcherGlib::processEvents (this=0x14cb710, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f025e87b882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f025e87babc in QEventLoop::exec (this=0x7f024b297dd0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f025e792924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007f025e85dc2f in QInotifyFileSystemWatcherEngine::run (this=0x195f760) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f025e795175 in QThreadPrivate::start (arg=0x195f760) at thread/qthread_unix.cpp:320
#10 0x00007f025be64d8c in start_thread (arg=0x7f024b298700) at pthread_create.c:304
#11 0x00007f025dcd204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0262344780 (LWP 1981)):
[KCrash Handler]
#6  0x00007f025dc1fd05 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f025dc23ab6 in abort () at abort.c:92
#8  0x00007f025e78bad4 in qt_message_output (msgType=<value optimized out>, buf=<value optimized out>) at global/qglobal.cpp:2282
#9  0x00007f025e78bc8f in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7f025e8db0a8 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fff2bc86390) at global/qglobal.cpp:2328
#10 0x00007f025e78be31 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2511
#11 0x00007f024fd6f25b in QVector<KateCodeFoldingNode*>::realloc (this=0x1978368, asize=2, aalloc=0) at /usr/include/qt4/QtCore/qvector.h:446
#12 0x00007f024fd6f632 in QVector<KateCodeFoldingNode*>::detach_helper (this=0x1978368) at /usr/include/qt4/QtCore/qvector.h:325
#13 0x00007f024fd701d8 in QVector<KateCodeFoldingNode*>::detach (this=0x1978368) at /usr/include/qt4/QtCore/qvector.h:134
#14 0x00007f024fd6f014 in QVector<KateCodeFoldingNode*>::data (this=0x1978368) at /usr/include/qt4/QtCore/qvector.h:139
#15 0x00007f024fd6df48 in QVector<KateCodeFoldingNode*>::operator[] (this=0x1978368, i=0) at /usr/include/qt4/QtCore/qvector.h:348
#16 0x00007f024fd67766 in KateCodeFoldingNode::removeEndDescending (this=0x1978330, deletedNode=0x193f500) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:257
#17 0x00007f024fd678db in KateCodeFoldingNode::removeChild (this=0x1978330, deletedNode=0x193f500) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:303
#18 0x00007f024fd68b68 in KateCodeFoldingTree::deleteEndNode (this=0x12b37c0, deletedNode=0x193f500) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:602
#19 0x00007f024fd6dd2b in KateCodeFoldingTree::deleteNode (this=0x12b37c0, deletedNode=0x193f500) at /home/tomek2/kde/kate/part/syntax/katecodefolding.h:353
#20 0x00007f024fd6c40f in KateCodeFoldingTree::updateMapping (this=0x12b37c0, line=235, newColumns=..., virtualNodeIndex=-1, virtualColumn=0) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:1552
#21 0x00007f024fd6c04a in KateCodeFoldingTree::updateLine (this=0x12b37c0, line=235, regionChanges=0x7fff2bc86760, updated=0x7fff2bc867c4, changed=true, colsChanged=false) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:1478
#22 0x00007f024fcf8dc0 in KateBuffer::doHighlight (this=0x12b36f0, startLine=195, endLine=259, invalidate=false) at /home/tomek2/kde/kate/part/document/katebuffer.cpp:706
#23 0x00007f024fcf7c1c in KateBuffer::ensureHighlighted (this=0x12b36f0, line=195) at /home/tomek2/kde/kate/part/document/katebuffer.cpp:250
#24 0x00007f024fce7ec3 in KateDocument::kateTextLine (this=0x12ba880, i=195) at /home/tomek2/kde/kate/part/document/katedocument.cpp:4772
#25 0x00007f024fd31ff7 in KateLineLayout::textLine (this=0x1981ec0, reloadForce=false) at /home/tomek2/kde/kate/part/render/katelinelayout.cpp:67
#26 0x00007f024fd28544 in KateRenderer::layoutLine (this=0x1555830, lineLayout=..., maxwidth=1314, cacheLayout=false) at /home/tomek2/kde/kate/part/render/katerenderer.cpp:838
#27 0x00007f024fd2dcf5 in KateLayoutCache::line (this=0x155a2e0, realLine=195, virtualLine=76) at /home/tomek2/kde/kate/part/render/katelayoutcache.cpp:318
#28 0x00007f024fd8c230 in KateViewInternal::viewLineOffset (this=0x1557310, virtualCursor=..., offset=35, keepX=false) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:1327
#29 0x00007f024fd88f71 in KateViewInternal::makeVisible (this=0x1557310, c=..., endCol=6, force=false, center=false, calledExternally=false) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:619
#30 0x00007f024fd8f189 in KateViewInternal::updateCursor (this=0x1557310, newCursor=..., force=true, center=false, calledExternally=false) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:1844
#31 0x00007f024fd89615 in KateViewInternal::slotRegionVisibilityChanged (this=0x1557310) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:674
#32 0x00007f024fd862cd in KateViewInternal::qt_metacall (this=0x1557310, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0x7fff2bc870f0) at /home/tomek2/kde/build/part/kateviewinternal.moc:130
#33 0x00007f025e8915f8 in QMetaObject::activate (sender=0x12b37c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#34 0x00007f024fc63ad7 in KateCodeFoldingTree::regionVisibilityChanged (this=0x12b37c0) at /home/tomek2/kde/build/part/moc_katecodefolding.cpp:121
#35 0x00007f024fd6bbed in KateCodeFoldingTree::unfoldNode (this=0x12b37c0, node=0x1cd1a40) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:1382
#36 0x00007f024fd68b20 in KateCodeFoldingTree::deleteNodeFromMap (this=0x12b37c0, node=0x1cd1a40) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:592
#37 0x00007f024fd68bcc in KateCodeFoldingTree::deleteStartNode (this=0x12b37c0, deletedNode=0x1cd1a40) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:617
#38 0x00007f024fd6dd16 in KateCodeFoldingTree::deleteNode (this=0x12b37c0, deletedNode=0x1cd1a40) at /home/tomek2/kde/kate/part/syntax/katecodefolding.h:353
#39 0x00007f024fd6c40f in KateCodeFoldingTree::updateMapping (this=0x12b37c0, line=221, newColumns=..., virtualNodeIndex=-1, virtualColumn=0) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:1552
#40 0x00007f024fd6c04a in KateCodeFoldingTree::updateLine (this=0x12b37c0, line=221, regionChanges=0x7fff2bc87480, updated=0x7fff2bc874e4, changed=true, colsChanged=false) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:1478
#41 0x00007f024fcf8dc0 in KateBuffer::doHighlight (this=0x12b36f0, startLine=195, endLine=259, invalidate=false) at /home/tomek2/kde/kate/part/document/katebuffer.cpp:706
#42 0x00007f024fcf7c1c in KateBuffer::ensureHighlighted (this=0x12b36f0, line=195) at /home/tomek2/kde/kate/part/document/katebuffer.cpp:250
#43 0x00007f024fce7ec3 in KateDocument::kateTextLine (this=0x12ba880, i=195) at /home/tomek2/kde/kate/part/document/katedocument.cpp:4772
#44 0x00007f024fd31ff7 in KateLineLayout::textLine (this=0x199e2c0, reloadForce=false) at /home/tomek2/kde/kate/part/render/katelinelayout.cpp:67
#45 0x00007f024fd28544 in KateRenderer::layoutLine (this=0x1555830, lineLayout=..., maxwidth=1314, cacheLayout=false) at /home/tomek2/kde/kate/part/render/katerenderer.cpp:838
#46 0x00007f024fd2dcf5 in KateLayoutCache::line (this=0x155a2e0, realLine=195, virtualLine=76) at /home/tomek2/kde/kate/part/render/katelayoutcache.cpp:318
#47 0x00007f024fd8c230 in KateViewInternal::viewLineOffset (this=0x1557310, virtualCursor=..., offset=35, keepX=false) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:1327
#48 0x00007f024fd88f71 in KateViewInternal::makeVisible (this=0x1557310, c=..., endCol=6, force=false, center=false, calledExternally=false) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:619
#49 0x00007f024fd8f189 in KateViewInternal::updateCursor (this=0x1557310, newCursor=..., force=true, center=false, calledExternally=false) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:1844
#50 0x00007f024fd89615 in KateViewInternal::slotRegionVisibilityChanged (this=0x1557310) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:674
#51 0x00007f024fd862cd in KateViewInternal::qt_metacall (this=0x1557310, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0x7fff2bc87e10) at /home/tomek2/kde/build/part/kateviewinternal.moc:130
#52 0x00007f025e8915f8 in QMetaObject::activate (sender=0x12b37c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#53 0x00007f024fc63ad7 in KateCodeFoldingTree::regionVisibilityChanged (this=0x12b37c0) at /home/tomek2/kde/build/part/moc_katecodefolding.cpp:121
#54 0x00007f024fd6bbed in KateCodeFoldingTree::unfoldNode (this=0x12b37c0, node=0x1c384e0) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:1382
#55 0x00007f024fd68b20 in KateCodeFoldingTree::deleteNodeFromMap (this=0x12b37c0, node=0x1c384e0) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:592
#56 0x00007f024fd68bcc in KateCodeFoldingTree::deleteStartNode (this=0x12b37c0, deletedNode=0x1c384e0) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:617
#57 0x00007f024fd6dd16 in KateCodeFoldingTree::deleteNode (this=0x12b37c0, deletedNode=0x1c384e0) at /home/tomek2/kde/kate/part/syntax/katecodefolding.h:353
#58 0x00007f024fd6c3c4 in KateCodeFoldingTree::updateMapping (this=0x12b37c0, line=200, newColumns=..., virtualNodeIndex=-1, virtualColumn=0) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:1544
#59 0x00007f024fd6c04a in KateCodeFoldingTree::updateLine (this=0x12b37c0, line=200, regionChanges=0x7fff2bc881a0, updated=0x7fff2bc88204, changed=true, colsChanged=false) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:1478
#60 0x00007f024fcf8dc0 in KateBuffer::doHighlight (this=0x12b36f0, startLine=195, endLine=259, invalidate=false) at /home/tomek2/kde/kate/part/document/katebuffer.cpp:706
#61 0x00007f024fcf7c1c in KateBuffer::ensureHighlighted (this=0x12b36f0, line=195) at /home/tomek2/kde/kate/part/document/katebuffer.cpp:250
#62 0x00007f024fce7ec3 in KateDocument::kateTextLine (this=0x12ba880, i=195) at /home/tomek2/kde/kate/part/document/katedocument.cpp:4772
#63 0x00007f024fcd4230 in KateDocument::editUnWrapLine (this=0x12ba880, line=194, removeLine=true, length=0) at /home/tomek2/kde/kate/part/document/katedocument.cpp:1197
#64 0x00007f024fcd22e5 in KateDocument::removeText (this=0x12ba880, _range=..., block=false) at /home/tomek2/kde/kate/part/document/katedocument.cpp:714
#65 0x00007f024fd7fe95 in KateView::removeSelectedText (this=0x1555ed0) at /home/tomek2/kde/kate/part/view/kateview.cpp:1850
#66 0x00007f024fcdc119 in KateDocument::backspace (this=0x12ba880, view=0x1555ed0, c=...) at /home/tomek2/kde/kate/part/document/katedocument.cpp:2760
#67 0x00007f024fd8a2fb in KateViewInternal::doBackspace (this=0x1557310) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:799
#68 0x00007f024fd8248f in KateView::backspace (this=0x1555ed0) at /home/tomek2/kde/kate/part/view/kateview.cpp:2294
#69 0x00007f024fd713c3 in KateView::qt_metacall (this=0x1555ed0, _c=QMetaObject::InvokeMetaMethod, _id=49, _a=0x7fff2bc88890) at /home/tomek2/kde/build/part/kateview.moc:376
#70 0x00007f025e8915f8 in QMetaObject::activate (sender=0x16240c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff2bc88890) at kernel/qobject.cpp:3287
#71 0x00007f025f9f5122 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#72 0x00007f025f9f530f in QAction::activate (this=0x16240c0, event=<value optimized out>) at kernel/qaction.cpp:1257
#73 0x00007f025f9f547f in QAction::event (this=<value optimized out>, e=<value optimized out>) at kernel/qaction.cpp:1183
#74 0x00007f026064074a in KAction::event (this=<value optimized out>, event=0x7fff2bc88ed0) at ../../kdeui/actions/kaction.cpp:131
#75 0x00007f025f9fb9f4 in QApplicationPrivate::notify_helper (this=0xfd6c70, receiver=0x16240c0, e=0x7fff2bc88ed0) at kernel/qapplication.cpp:4462
#76 0x00007f025fa003ba in QApplication::notify (this=<value optimized out>, receiver=0x16240c0, e=0x7fff2bc88ed0) at kernel/qapplication.cpp:4341
#77 0x00007f026071f6c6 in KApplication::notify (this=0x7fff2bc8a3d0, receiver=0x16240c0, event=0x7fff2bc88ed0) at ../../kdeui/kernel/kapplication.cpp:311
#78 0x00007f025e87c49c in QCoreApplication::notifyInternal (this=0x7fff2bc8a3d0, receiver=0x16240c0, event=0x7fff2bc88ed0) at kernel/qcoreapplication.cpp:731
#79 0x00007f025fa2dbf0 in sendEvent (this=<value optimized out>, e=0x7fff2bc894a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#80 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7fff2bc894a0) at kernel/qshortcutmap.cpp:879
#81 0x00007f025fa2f098 in QShortcutMap::tryShortcutEvent (this=0xfd6d98, o=<value optimized out>, e=0x7fff2bc894a0) at kernel/qshortcutmap.cpp:364
#82 0x00007f025fa01d25 in QApplication::notify (this=0x7fff2bc8a3d0, receiver=0x1557310, e=0x7fff2bc894a0) at kernel/qapplication.cpp:3904
#83 0x00007f026071f6c6 in KApplication::notify (this=0x7fff2bc8a3d0, receiver=0x1557310, event=0x7fff2bc894a0) at ../../kdeui/kernel/kapplication.cpp:311
#84 0x00007f025e87c49c in QCoreApplication::notifyInternal (this=0x7fff2bc8a3d0, receiver=0x1557310, event=0x7fff2bc894a0) at kernel/qcoreapplication.cpp:731
#85 0x00007f025faa13d9 in QKeyMapper::sendKeyEvent (keyWidget=0x1557310, grab=<value optimized out>, type=QEvent::KeyPress, code=16777219, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=22, nativeVirtualKey=65288, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1866
#86 0x00007f025faa1856 in QKeyMapperPrivate::translateKeyEvent (this=0x10199f0, keyWidget=0x1557310, event=0x7fff2bc8a030, grab=false) at kernel/qkeymapper_x11.cpp:1836
#87 0x00007f025fa7c72f in QApplication::x11ProcessEvent (this=0x7fff2bc8a3d0, event=0x7fff2bc8a030) at kernel/qapplication_x11.cpp:3573
#88 0x00007f025faa5842 in x11EventSourceDispatch (s=0xfdbb90, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#89 0x00007f025a7b7bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#90 0x00007f025a7b83a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#91 0x00007f025a7b8639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#92 0x00007f025e8a73ef in QEventDispatcherGlib::processEvents (this=0xf7f4f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#93 0x00007f025faa54de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#94 0x00007f025e87b882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#95 0x00007f025e87babc in QEventLoop::exec (this=0x7fff2bc8a330, flags=...) at kernel/qeventloop.cpp:201
#96 0x00007f025e87fecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#97 0x00007f0261f642ab in kdemain (argc=1, argv=0x7fff2bc8b918) at /home/tomek2/kde/kate/kate/app/katemain.cpp:377
#98 0x0000000000400846 in main (argc=1, argv=0x7fff2bc8b918) at /home/tomek2/kde/build/kate/app/kate_dummy.cpp:3

This bug may be a duplicate of or related to bug 281181.

Possible duplicates by query: bug 293934, bug 292592, bug 282995.

Reported using DrKonqi
Comment 1 Tomasz Narloch 2012-02-23 09:45:42 UTC
$ valgrind --track-origins=yes --num-callers=25 kde/run.sh kate
==1977== Memcheck, a memory error detector
==1977== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==1977== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==1977== Command: kde/run.sh kate
==1977== 
kbuildsycoca4 running...
QDBusObjectPath: invalid path ""
ASSERT: "asize <= aalloc" in file /usr/include/qt4/QtCore/qvector.h, line 446
KCrash: Application 'kate' crashing...
Comment 2 Tomasz Narloch 2012-02-23 10:10:15 UTC
Created attachment 69031 [details]
New crash information added by DrKonqi

kate (3.6.5) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.2

- What I was doing when the application crashed:

The same as similar bug reported by me before.

$ valgrind --track-origins=yes --num-callers=25 kde/run.sh kate
==2458== Memcheck, a memory error detector
==2458== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==2458== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==2458== Command: kde/run.sh kate
==2458== 
kbuildsycoca4 running...
ASSERT: "asize <= aalloc" in file /usr/include/qt4/QtCore/qvector.h, line 446
KCrash: Application 'kate' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/tomek2/.kde/socket-x/kdeinit4__0
QSocketNotifier: Invalid socket 12 and type 'Read', disabling...
QSocketNotifier: Invalid socket 16 and type 'Read', disabling...

-- Backtrace (Reduced):
#11 0x00007f5458ce925b in QVector<KateCodeFoldingNode*>::realloc (this=0x2861698, asize=44434592, aalloc=0) at /usr/include/qt4/QtCore/qvector.h:446
[...]
#14 0x00007f5458ce9014 in QVector<KateCodeFoldingNode*>::data (this=0x2861698) at /usr/include/qt4/QtCore/qvector.h:139
#15 0x00007f5458ce7f48 in QVector<KateCodeFoldingNode*>::operator[] (this=0x2861698, i=0) at /usr/include/qt4/QtCore/qvector.h:348
#16 0x00007f5458ce1766 in KateCodeFoldingNode::removeEndDescending (this=0x2861660, deletedNode=0x27cb410) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:257
#17 0x00007f5458ce18db in KateCodeFoldingNode::removeChild (this=0x2861660, deletedNode=0x27cb410) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:303
Comment 3 Dominik Haumann 2012-02-23 17:45:15 UTC
Tomas, can you please quickly build Kate by following http://kate-editor.org/get-it/ and check, whether it still crashes then?
Comment 4 Tomasz Narloch 2012-02-23 21:05:20 UTC
W dniu 23.02.2012 18:45, Dominik Haumann pisze:
> https://bugs.kde.org/show_bug.cgi?id=294666
>
>
> Dominik Haumann<dhaumann@kde.org>  changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>               Status|UNCONFIRMED                 |NEEDSINFO
>           Resolution|                            |WAITINGFORINFO
>
>
>
>
> --- Comment #3 from Dominik Haumann<dhaumann kde org>   2012-02-23 17:45:15 ---
> Tomas, can you please quickly build Kate by following
> http://kate-editor.org/get-it/ and check, whether it still crashes then?
>

I tried, but:

/home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h:46:1: warning: ‘CodeCompletionModelControllerInterface4’ is deprecated (declared at /home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h:32)
/home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h:46:1: warning: ‘CodeCompletionModelControllerInterface4’ is deprecated (declared at /home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h:32)
/home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h:46:1: warning: ‘CodeCompletionModelControllerInterface4’ is deprecated (declared at /home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h:32)
/home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h: In function ‘T qobject_cast(QObject*) [with T = KTextEditor::CodeCompletionModelControllerInterface4*]’:
/home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h:46:1: warning: ‘CodeCompletionModelControllerInterface4’ is deprecated (declared at /home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h:32)
/home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h: At global scope:
/home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h:46:1: warning: ‘CodeCompletionModelControllerInterface4’ is deprecated (declared at /home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h:32)
/home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h:46:1: warning: ‘CodeCompletionModelControllerInterface4’ is deprecated (declared at /home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h:32)
/home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h: In function ‘T qobject_cast(const QObject*) [with T = KTextEditor::CodeCompletionModelControllerInterface4*]’:
/home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h:46:1: warning: ‘CodeCompletionModelControllerInterface4’ is deprecated (declared at /home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h:32)
[ 28%] Building CXX object part/CMakeFiles/katepartinterfaces.dir/view/kateviewinternal.o
/home/tomek2/kde/kate/part/view/kateviewinternal.cpp: In member function ‘KTextEditor::Cursor KateViewInternal::viewLineOffset(const KTextEditor::Cursor&, int, bool)’:
/home/tomek2/kde/kate/part/view/kateviewinternal.cpp:1315:7: warning: comparison between signed and unsigned integer expressions
/home/tomek2/kde/kate/part/view/kateviewinternal.cpp: In member function ‘void KateViewInternal::updateSelection(const KTextEditor::Cursor&, bool)’:
/home/tomek2/kde/kate/part/view/kateviewinternal.cpp:1796:45: error: ‘TextSelectionChanged’ is not a member of ‘QAccessible’
/home/tomek2/kde/kate/part/view/kateviewinternal.cpp: In member function ‘void KateViewInternal::cursorMoved()’:
/home/tomek2/kde/kate/part/view/kateviewinternal.cpp:3390:45: error: ‘TextCaretMoved’ is not a member of ‘QAccessible’
make[2]: *** [part/CMakeFiles/katepartinterfaces.dir/view/kateviewinternal.o] Błąd 1
make[1]: *** [part/CMakeFiles/katepartinterfaces.dir/all] Błąd 2
make: *** [all] Błąd 2
tomek2 build $

Best Regards,
Tomasz Narloch
Comment 5 Dominik Haumann 2012-02-23 21:36:08 UTC
Ok, then please type:
  git checkout 7f71b032be9aee12a3666565984f01fa671e7098
after the initial clone, and then continue with the cmake calls. Does it compile now? If so, can you reproduce the initial report?
Comment 6 Tomasz Narloch 2012-02-23 22:08:07 UTC
After above I run kate like:

valgrind --track-origins=yes --num-callers=25 kde/run.sh kate

I tried again create a crash but kate hung up and not response.

kate use 50% my cpu, but I have intel core duo, so It will be 100% of first cpu.
Next I killed it by xkill.

$ valgrind --track-origins=yes --num-callers=25 kde/run.sh kate
==14990== Memcheck, a memory error detector
==14990== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==14990== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==14990== Command: kde/run.sh kate
==14990==
kbuildsycoca4 running...
kbuildsycoca4(14993) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/MySQLWorkbench.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(14993) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/im-switch.desktop" is not compliant with XDG standard (missing trailing semicolon).

==14990== Conditional jump or move depends on uninitialised value(s)
==14990==    at 0x52FD0CB: __GI___strcasecmp_l (strcmp.S:243)
==14990==    by 0x5296F60: __gconv_open (gconv_open.c:70)
==14990==    by 0x52A5106: _nl_find_msg (dcigettext.c:990)
==14990==    by 0x52A5818: __dcigettext (dcigettext.c:654)
==14990==    by 0x43E077: ??? (in /bin/bash)
==14990==    by 0x43E5B9: ??? (in /bin/bash)
==14990==    by 0x43F3D9: ??? (in /bin/bash)
==14990==    by 0x440C16: notify_and_cleanup (in /bin/bash)
==14990==    by 0x4414C4: wait_for (in /bin/bash)
==14990==    by 0x43171C: execute_command_internal (in /bin/bash)
==14990==    by 0x4341FD: execute_command (in /bin/bash)
==14990==    by 0x41E0F1: reader_loop (in /bin/bash)
==14990==    by 0x41D500: main (in /bin/bash)
==14990==  Uninitialised value was created by a stack allocation
==14990==    at 0x5296ECE: __gconv_open (gconv_open.c:65)
==14990==
==14990== Use of uninitialised value of size 8
==14990==    at 0x52FF204: __GI___strcasecmp_l (strcmp.S:2257)
==14990==    by 0x5296F60: __gconv_open (gconv_open.c:70)
==14990==    by 0x52A5106: _nl_find_msg (dcigettext.c:990)
==14990==    by 0x52A5818: __dcigettext (dcigettext.c:654)
==14990==    by 0x43E077: ??? (in /bin/bash)
==14990==    by 0x43E5B9: ??? (in /bin/bash)
==14990==    by 0x43F3D9: ??? (in /bin/bash)
==14990==    by 0x440C16: notify_and_cleanup (in /bin/bash)
==14990==    by 0x4414C4: wait_for (in /bin/bash)
==14990==    by 0x43171C: execute_command_internal (in /bin/bash)
==14990==    by 0x4341FD: execute_command (in /bin/bash)
==14990==    by 0x41E0F1: reader_loop (in /bin/bash)
==14990==    by 0x41D500: main (in /bin/bash)
==14990==  Uninitialised value was created by a stack allocation
==14990==    at 0x5296ECE: __gconv_open (gconv_open.c:65)
==14990==
==14990== Use of uninitialised value of size 8
==14990==    at 0x52FF208: __GI___strcasecmp_l (strcmp.S:2258)
==14990==    by 0x5296F60: __gconv_open (gconv_open.c:70)
==14990==    by 0x52A5106: _nl_find_msg (dcigettext.c:990)
==14990==    by 0x52A5818: __dcigettext (dcigettext.c:654)
==14990==    by 0x43E077: ??? (in /bin/bash)
==14990==    by 0x43E5B9: ??? (in /bin/bash)
==14990==    by 0x43F3D9: ??? (in /bin/bash)
==14990==    by 0x440C16: notify_and_cleanup (in /bin/bash)
==14990==    by 0x4414C4: wait_for (in /bin/bash)
==14990==    by 0x43171C: execute_command_internal (in /bin/bash)
==14990==    by 0x4341FD: execute_command (in /bin/bash)
==14990==    by 0x41E0F1: reader_loop (in /bin/bash)
==14990==    by 0x41D500: main (in /bin/bash)
==14990==  Uninitialised value was created by a stack allocation
==14990==    at 0x5296ECE: __gconv_open (gconv_open.c:65)
==14990==
kde/run.sh: line 11: 14994 Zakończony             $@
==14990==
==14990== HEAP SUMMARY:
==14990==     in use at exit: 0 bytes in 0 blocks
==14990==   total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==14990==
==14990== All heap blocks were freed -- no leaks are possible
==14990==
==14990== For counts of detected and suppressed errors, rerun with: -v
==14990== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 4 from 4)
Comment 7 Tomasz Narloch 2012-02-23 22:19:01 UTC
Above message does not apply to this error.
Probably to: https://bugs.kde.org/show_bug.cgi?id=294668

Next I tried again and this is result.

Application: Kate (kate), signal: Aborted
[Current thread is 1 (Thread 0x7f2e87248780 (LWP 15044))]

Thread 4 (Thread 0x7f2e73c76700 (LWP 15045)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2e751862a2 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f2e7549f180) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f2e751862d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f2e754ad254) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f2e80d68d8c in start_thread (arg=0x7f2e73c76700) at pthread_create.c:304
#4  0x00007f2e82bd604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2e70b9d700 (LWP 15046)):
#0  0x00007f2e7f6bc106 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f2e7f6bc639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2e837ab446 in QEventDispatcherGlib::processEvents (this=0x247d030, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#3  0x00007f2e8377f882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#4  0x00007f2e8377fabc in QEventLoop::exec (this=0x7f2e70b9cdd0, flags=...) at kernel/qeventloop.cpp:201
#5  0x00007f2e83696924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#6  0x00007f2e83761c2f in QInotifyFileSystemWatcherEngine::run (this=0x2303f10) at io/qfilesystemwatcher_inotify.cpp:248
#7  0x00007f2e83699175 in QThreadPrivate::start (arg=0x2303f10) at thread/qthread_unix.cpp:320
#8  0x00007f2e80d68d8c in start_thread (arg=0x7f2e70b9d700) at pthread_create.c:304
#9  0x00007f2e82bd604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2e70198700 (LWP 15048)):
#0  0x00007f2e82bc8f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f2e7f6bc104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2e7f6bc639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2e837ab446 in QEventDispatcherGlib::processEvents (this=0x1f19bd0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f2e8377f882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2e8377fabc in QEventLoop::exec (this=0x7f2e70197dd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f2e83696924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f2e83761c2f in QInotifyFileSystemWatcherEngine::run (this=0x25624d0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f2e83699175 in QThreadPrivate::start (arg=0x25624d0) at thread/qthread_unix.cpp:320
#9  0x00007f2e80d68d8c in start_thread (arg=0x7f2e70198700) at pthread_create.c:304
#10 0x00007f2e82bd604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2e87248780 (LWP 15044)):
[KCrash Handler]
#6  0x00007f2e82b23d05 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f2e82b27ab6 in abort () at abort.c:92
#8  0x00007f2e8368fad4 in qt_message_output (msgType=<value optimized out>, buf=<value optimized out>) at global/qglobal.cpp:2282
#9  0x00007f2e8368fc8f in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7f2e837df0a8 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fff9f0d4900) at global/qglobal.cpp:2328
#10 0x00007f2e8368fe31 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2511
#11 0x00007f2e74c728e1 in QVector<KateCodeFoldingNode*>::realloc (this=0x2895328, asize=42394656, aalloc=0) at /usr/include/qt4/QtCore/qvector.h:446
#12 0x00007f2e74c72cb8 in QVector<KateCodeFoldingNode*>::detach_helper (this=0x2895328) at /usr/include/qt4/QtCore/qvector.h:325
#13 0x00007f2e74c7382c in QVector<KateCodeFoldingNode*>::detach (this=0x2895328) at /usr/include/qt4/QtCore/qvector.h:134
#14 0x00007f2e74c7269a in QVector<KateCodeFoldingNode*>::data (this=0x2895328) at /usr/include/qt4/QtCore/qvector.h:139
#15 0x00007f2e74c7132c in QVector<KateCodeFoldingNode*>::operator[] (this=0x2895328, i=0) at /usr/include/qt4/QtCore/qvector.h:348
#16 0x00007f2e74c6ab26 in KateCodeFoldingNode::removeEndDescending (this=0x28952f0, deletedNode=0x25a9680) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:260
#17 0x00007f2e74c6ac9b in KateCodeFoldingNode::removeChild (this=0x28952f0, deletedNode=0x25a9680) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:306
#18 0x00007f2e74c6beda in KateCodeFoldingTree::deleteEndNode (this=0x1ebb2b0, deletedNode=0x25a9680) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:611
#19 0x00007f2e74c710db in KateCodeFoldingTree::deleteNode (this=0x1ebb2b0, deletedNode=0x25a9680) at /home/tomek2/kde/kate/part/syntax/katecodefolding.h:353
#20 0x00007f2e74c6f7c1 in KateCodeFoldingTree::updateMapping (this=0x1ebb2b0, line=489, newColumns=..., virtualNodeIndex=-1, virtualColumn=0) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:1578
#21 0x00007f2e74c6f40a in KateCodeFoldingTree::updateLine (this=0x1ebb2b0, line=489, regionChanges=..., updated=0x7fff9f0d4d34, changed=true, colsChanged=false) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:1504
#22 0x00007f2e74bfc114 in KateBuffer::doHighlight (this=0x1ebb1e0, startLine=458, endLine=522, invalidate=false) at /home/tomek2/kde/kate/part/document/katebuffer.cpp:706
#23 0x00007f2e74bfaf70 in KateBuffer::ensureHighlighted (this=0x1ebb1e0, line=458) at /home/tomek2/kde/kate/part/document/katebuffer.cpp:250
#24 0x00007f2e74beb217 in KateDocument::kateTextLine (this=0x1ec17a0, i=458) at /home/tomek2/kde/kate/part/document/katedocument.cpp:4786
#25 0x00007f2e74c353b7 in KateLineLayout::textLine (this=0x287a130, reloadForce=false) at /home/tomek2/kde/kate/part/render/katelinelayout.cpp:67
#26 0x00007f2e74c2b902 in KateRenderer::layoutLine (this=0x215c170, lineLayout=..., maxwidth=1360, cacheLayout=true) at /home/tomek2/kde/kate/part/render/katerenderer.cpp:839
#27 0x00007f2e74c310b5 in KateLayoutCache::line (this=0x2160c40, realLine=458, virtualLine=109) at /home/tomek2/kde/kate/part/render/katelayoutcache.cpp:318
#28 0x00007f2e74c8f7a0 in KateViewInternal::viewLineOffset (this=0x215dc60, virtualCursor=..., offset=35, keepX=false) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:1327
#29 0x00007f2e74c8c4e1 in KateViewInternal::makeVisible (this=0x215dc60, c=..., endCol=0, force=false, center=false, calledExternally=false) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:619
#30 0x00007f2e74c926f9 in KateViewInternal::updateCursor (this=0x215dc60, newCursor=..., force=true, center=false, calledExternally=false) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:1844
#31 0x00007f2e74c8cb85 in KateViewInternal::slotRegionVisibilityChanged (this=0x215dc60) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:674
#32 0x00007f2e74c8983d in KateViewInternal::qt_metacall (this=0x215dc60, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0x7fff9f0d5660) at /home/tomek2/kde/build/part/kateviewinternal.moc:130
#33 0x00007f2e837955f8 in QMetaObject::activate (sender=0x1ebb2b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#34 0x00007f2e74b66cbf in KateCodeFoldingTree::regionVisibilityChanged (this=0x1ebb2b0) at /home/tomek2/kde/build/part/moc_katecodefolding.cpp:121
#35 0x00007f2e74c6ef8b in KateCodeFoldingTree::unfoldNode (this=0x1ebb2b0, node=0x289af10) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:1408
#36 0x00007f2e74c6be9d in KateCodeFoldingTree::deleteNodeFromMap (this=0x1ebb2b0, node=0x289af10) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:600
#37 0x00007f2e74c6bf3e in KateCodeFoldingTree::deleteStartNode (this=0x1ebb2b0, deletedNode=0x289af10) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:626
#38 0x00007f2e74c710c6 in KateCodeFoldingTree::deleteNode (this=0x1ebb2b0, deletedNode=0x289af10) at /home/tomek2/kde/kate/part/syntax/katecodefolding.h:353
#39 0x00007f2e74c6f7c1 in KateCodeFoldingTree::updateMapping (this=0x1ebb2b0, line=479, newColumns=..., virtualNodeIndex=-1, virtualColumn=0) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:1578
#40 0x00007f2e74c6f40a in KateCodeFoldingTree::updateLine (this=0x1ebb2b0, line=479, regionChanges=..., updated=0x7fff9f0d5a44, changed=true, colsChanged=false) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:1504
#41 0x00007f2e74bfc114 in KateBuffer::doHighlight (this=0x1ebb1e0, startLine=458, endLine=522, invalidate=false) at /home/tomek2/kde/kate/part/document/katebuffer.cpp:706
#42 0x00007f2e74bfaf70 in KateBuffer::ensureHighlighted (this=0x1ebb1e0, line=458) at /home/tomek2/kde/kate/part/document/katebuffer.cpp:250
#43 0x00007f2e74beb217 in KateDocument::kateTextLine (this=0x1ec17a0, i=458) at /home/tomek2/kde/kate/part/document/katedocument.cpp:4786
#44 0x00007f2e74c353b7 in KateLineLayout::textLine (this=0x25dc1d0, reloadForce=false) at /home/tomek2/kde/kate/part/render/katelinelayout.cpp:67
#45 0x00007f2e74c2b902 in KateRenderer::layoutLine (this=0x215c170, lineLayout=..., maxwidth=1360, cacheLayout=true) at /home/tomek2/kde/kate/part/render/katerenderer.cpp:839
#46 0x00007f2e74c310b5 in KateLayoutCache::line (this=0x2160c40, realLine=458, virtualLine=109) at /home/tomek2/kde/kate/part/render/katelayoutcache.cpp:318
#47 0x00007f2e74c8f7a0 in KateViewInternal::viewLineOffset (this=0x215dc60, virtualCursor=..., offset=35, keepX=false) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:1327
#48 0x00007f2e74c8c4e1 in KateViewInternal::makeVisible (this=0x215dc60, c=..., endCol=0, force=false, center=false, calledExternally=false) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:619
#49 0x00007f2e74c926f9 in KateViewInternal::updateCursor (this=0x215dc60, newCursor=..., force=true, center=false, calledExternally=false) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:1844
#50 0x00007f2e74c8cb85 in KateViewInternal::slotRegionVisibilityChanged (this=0x215dc60) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:674
#51 0x00007f2e74c8983d in KateViewInternal::qt_metacall (this=0x215dc60, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0x7fff9f0d6370) at /home/tomek2/kde/build/part/kateviewinternal.moc:130
#52 0x00007f2e837955f8 in QMetaObject::activate (sender=0x1ebb2b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#53 0x00007f2e74b66cbf in KateCodeFoldingTree::regionVisibilityChanged (this=0x1ebb2b0) at /home/tomek2/kde/build/part/moc_katecodefolding.cpp:121
#54 0x00007f2e74c6ef8b in KateCodeFoldingTree::unfoldNode (this=0x1ebb2b0, node=0x2876d20) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:1408
#55 0x00007f2e74c6be9d in KateCodeFoldingTree::deleteNodeFromMap (this=0x1ebb2b0, node=0x2876d20) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:600
#56 0x00007f2e74c6bf3e in KateCodeFoldingTree::deleteStartNode (this=0x1ebb2b0, deletedNode=0x2876d20) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:626
#57 0x00007f2e74c710c6 in KateCodeFoldingTree::deleteNode (this=0x1ebb2b0, deletedNode=0x2876d20) at /home/tomek2/kde/kate/part/syntax/katecodefolding.h:353
#58 0x00007f2e74c6f7c1 in KateCodeFoldingTree::updateMapping (this=0x1ebb2b0, line=466, newColumns=..., virtualNodeIndex=-1, virtualColumn=0) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:1578
#59 0x00007f2e74c6f40a in KateCodeFoldingTree::updateLine (this=0x1ebb2b0, line=466, regionChanges=..., updated=0x7fff9f0d6754, changed=true, colsChanged=false) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:1504
#60 0x00007f2e74bfc114 in KateBuffer::doHighlight (this=0x1ebb1e0, startLine=458, endLine=522, invalidate=false) at /home/tomek2/kde/kate/part/document/katebuffer.cpp:706
#61 0x00007f2e74bfaf70 in KateBuffer::ensureHighlighted (this=0x1ebb1e0, line=458) at /home/tomek2/kde/kate/part/document/katebuffer.cpp:250
#62 0x00007f2e74beb217 in KateDocument::kateTextLine (this=0x1ec17a0, i=458) at /home/tomek2/kde/kate/part/document/katedocument.cpp:4786
#63 0x00007f2e74c353b7 in KateLineLayout::textLine (this=0x248cfb0, reloadForce=false) at /home/tomek2/kde/kate/part/render/katelinelayout.cpp:67
#64 0x00007f2e74c355a9 in KateLineLayout::isValid (this=0x248cfb0) at /home/tomek2/kde/kate/part/render/katelinelayout.cpp:121
#65 0x00007f2e74c30d69 in KateLayoutCache::line (this=0x2160c40, realLine=458, virtualLine=109) at /home/tomek2/kde/kate/part/render/katelayoutcache.cpp:288
#66 0x00007f2e74c30c6b in KateLayoutCache::updateViewCache (this=0x2160c40, startPos=..., newViewLineCount=37, viewLinesScrolled=0) at /home/tomek2/kde/kate/part/render/katelayoutcache.cpp:270
#67 0x00007f2e74c93562 in KateViewInternal::tagLines (this=0x215dc60, start=..., end=..., realCursors=true) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:1975
#68 0x00007f2e74c932e2 in KateViewInternal::tagLines (this=0x215dc60, start=456, end=458, realLines=true) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:1945
#69 0x00007f2e74c82a5c in KateView::tagLines (this=0x215c870, start=456, end=458, realLines=true) at /home/tomek2/kde/kate/part/view/kateview.cpp:1682
#70 0x00007f2e74be3c3c in KateDocument::tagLines (this=0x1ec17a0, start=456, end=458) at /home/tomek2/kde/kate/part/document/katedocument.cpp:3615
#71 0x00007f2e74bcfe00 in KateDocument::qt_metacall (this=0x1ec17a0, _c=QMetaObject::InvokeMetaMethod, _id=51, _a=0x7fff9f0d6de0) at /home/tomek2/kde/build/part/katedocument.moc:350
#72 0x00007f2e837955f8 in QMetaObject::activate (sender=0x1ebb1e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff9f0d6de0) at kernel/qobject.cpp:3287
#73 0x00007f2e74bfa3d1 in KateBuffer::tagLines (this=0x1ebb1e0, _t1=456, _t2=458) at /home/tomek2/kde/build/part/katebuffer.moc:98
#74 0x00007f2e74bfc26c in KateBuffer::doHighlight (this=0x1ebb1e0, startLine=456, endLine=458, invalidate=true) at /home/tomek2/kde/kate/part/document/katebuffer.cpp:736
#75 0x00007f2e74bfa697 in KateBuffer::editEnd (this=0x1ebb1e0) at /home/tomek2/kde/kate/part/document/katebuffer.cpp:122
#76 0x00007f2e74bd5ccd in KateDocument::editEnd (this=0x1ec17a0) at /home/tomek2/kde/kate/part/document/katedocument.cpp:854
#77 0x00007f2e74c83402 in KateView::removeSelectedText (this=0x215c870) at /home/tomek2/kde/kate/part/view/kateview.cpp:1862
#78 0x00007f2e74bdf301 in KateDocument::backspace (this=0x1ec17a0, view=0x215c870, c=...) at /home/tomek2/kde/kate/part/document/katedocument.cpp:2760
#79 0x00007f2e74c8d86b in KateViewInternal::doBackspace (this=0x215dc60) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:799
#80 0x00007f2e74c859e9 in KateView::backspace (this=0x215c870) at /home/tomek2/kde/kate/part/view/kateview.cpp:2304
#81 0x00007f2e74c749ff in KateView::qt_metacall (this=0x215c870, _c=QMetaObject::InvokeMetaMethod, _id=49, _a=0x7fff9f0d73c0) at /home/tomek2/kde/build/part/kateview.moc:377
#82 0x00007f2e837955f8 in QMetaObject::activate (sender=0x222a7d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff9f0d73c0) at kernel/qobject.cpp:3287
#83 0x00007f2e848f9122 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#84 0x00007f2e848f930f in QAction::activate (this=0x222a7d0, event=<value optimized out>) at kernel/qaction.cpp:1257
#85 0x00007f2e848f947f in QAction::event (this=<value optimized out>, e=<value optimized out>) at kernel/qaction.cpp:1183
#86 0x00007f2e8554474a in KAction::event (this=<value optimized out>, event=0x7fff9f0d7a00) at ../../kdeui/actions/kaction.cpp:131
#87 0x00007f2e848ff9f4 in QApplicationPrivate::notify_helper (this=0x1c375c0, receiver=0x222a7d0, e=0x7fff9f0d7a00) at kernel/qapplication.cpp:4462
#88 0x00007f2e849043ba in QApplication::notify (this=<value optimized out>, receiver=0x222a7d0, e=0x7fff9f0d7a00) at kernel/qapplication.cpp:4341
#89 0x00007f2e856236c6 in KApplication::notify (this=0x7fff9f0d8f00, receiver=0x222a7d0, event=0x7fff9f0d7a00) at ../../kdeui/kernel/kapplication.cpp:311
#90 0x00007f2e8378049c in QCoreApplication::notifyInternal (this=0x7fff9f0d8f00, receiver=0x222a7d0, event=0x7fff9f0d7a00) at kernel/qcoreapplication.cpp:731
#91 0x00007f2e84931bf0 in sendEvent (this=<value optimized out>, e=0x7fff9f0d7fd0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#92 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7fff9f0d7fd0) at kernel/qshortcutmap.cpp:879
#93 0x00007f2e84933098 in QShortcutMap::tryShortcutEvent (this=0x1c376e8, o=<value optimized out>, e=0x7fff9f0d7fd0) at kernel/qshortcutmap.cpp:364
#94 0x00007f2e84905d25 in QApplication::notify (this=0x7fff9f0d8f00, receiver=0x215dc60, e=0x7fff9f0d7fd0) at kernel/qapplication.cpp:3904
#95 0x00007f2e856236c6 in KApplication::notify (this=0x7fff9f0d8f00, receiver=0x215dc60, event=0x7fff9f0d7fd0) at ../../kdeui/kernel/kapplication.cpp:311
#96 0x00007f2e8378049c in QCoreApplication::notifyInternal (this=0x7fff9f0d8f00, receiver=0x215dc60, event=0x7fff9f0d7fd0) at kernel/qcoreapplication.cpp:731
#97 0x00007f2e849a53d9 in QKeyMapper::sendKeyEvent (keyWidget=0x215dc60, grab=<value optimized out>, type=QEvent::KeyPress, code=16777219, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=22, nativeVirtualKey=65288, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1866
#98 0x00007f2e849a5856 in QKeyMapperPrivate::translateKeyEvent (this=0x1c7aa60, keyWidget=0x215dc60, event=0x7fff9f0d8b60, grab=false) at kernel/qkeymapper_x11.cpp:1836
#99 0x00007f2e8498072f in QApplication::x11ProcessEvent (this=0x7fff9f0d8f00, event=0x7fff9f0d8b60) at kernel/qapplication_x11.cpp:3573
#100 0x00007f2e849a9842 in x11EventSourceDispatch (s=0x1c3caf0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#101 0x00007f2e7f6bbbcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#102 0x00007f2e7f6bc3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#103 0x00007f2e7f6bc639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#104 0x00007f2e837ab3ef in QEventDispatcherGlib::processEvents (this=0x1be04f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#105 0x00007f2e849a94de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#106 0x00007f2e8377f882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#107 0x00007f2e8377fabc in QEventLoop::exec (this=0x7fff9f0d8e60, flags=...) at kernel/qeventloop.cpp:201
#108 0x00007f2e83783ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#109 0x00007f2e86e682ab in kdemain (argc=1, argv=0x7fff9f0da448) at /home/tomek2/kde/kate/kate/app/katemain.cpp:377
#110 0x0000000000400846 in main (argc=1, argv=0x7fff9f0da448) at /home/tomek2/kde/build/kate/app/kate_dummy.cpp:3



$ valgrind --track-origins=yes --num-callers=25 kde/run.sh kate
==15040== Memcheck, a memory error detector
==15040== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==15040== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==15040== Command: kde/run.sh kate
==15040== 
kbuildsycoca4 running...
ASSERT: "asize <= aalloc" in file /usr/include/qt4/QtCore/qvector.h, line 446
KCrash: Application 'kate' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/tomek2/.kde/socket-cleversite/kdeinit4__0
QSocketNotifier: Invalid socket 12 and type 'Read', disabling...
QSocketNotifier: Invalid socket 16 and type 'Read', disabling...
Comment 8 Dominik Haumann 2012-02-24 14:32:09 UTC
Correct is:
  ./run.sh valgrind --track-origins=yes --num-callers=25 kate

Can you run this again?
Comment 9 Tomasz Narloch 2012-02-28 22:00:38 UTC
W dniu 24.02.2012 15:32, Dominik Haumann pisze:
> https://bugs.kde.org/show_bug.cgi?id=294666
>
>
>
>
>
> --- Comment #8 from Dominik Haumann<dhaumann kde org>   2012-02-24 14:32:09 ---
> Correct is:
>    ./run.sh valgrind --track-origins=yes --num-callers=25 kate
>
> Can you run this again?
>
OK. Kate run really slow.
I attached 2 files.
I edited python file (more that 1000 lines), one class with lots of method and docstrings:

Example:

class API:

     def x(self):
         """my description
Input: {
     "dfdf": "dfgfdg",
     {
         "sfd": "dfgdg",
     }
}
         """
         some_function()
         return True

To generate errors I collapsed methods below, next I cut selected string (CTRL+X) area:
----------------------------------------------
         fd": "dfgdg",
     }
}
         """
----------------------------------------------
and press CTRL+Z.
Do this repeatable.(collapse/uncollapse this method/docstring and methods bellow)


katelogs.txt => without hung up, but I can not scrollbar to the bottom of text. The scrollbar was too short:(
katelogs2.txt => with hung up, before I see only (blank page) background without any chars. After pressed "page down" kate hung up.

Best Regards,
Tomasz Narloch
Comment 10 Tomasz Narloch 2012-02-28 22:08:23 UTC
Created attachment 69167 [details]
Attachment to the previous comment
Comment 11 Tomasz Narloch 2012-02-28 22:09:30 UTC
Created attachment 69168 [details]
Attachment to previous comment katelogs2.txt
Comment 12 Dominik Haumann 2012-03-22 22:14:39 UTC

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