[Bug 213964] New: kate crashes (backtrace points to code folding)

View: New views
1 Messages — Rating Filter:   Alert me  

[Bug 213964] New: kate crashes (backtrace points to code folding)

by Bugzilla from shahn@cs.tu-berlin.de :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=213964

           Summary: kate crashes (backtrace points to code folding)
           Product: kate
           Version: unspecified
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kwrite-devel@...
        ReportedBy: shahn@...


Application that crashed: kate
Version of the application: 3.3.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-14-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Judging from the backtrace, this is related to code folding. I edited a python
file and no code folding was available (the code folding bar was just grey).
IIRC, i clicked View->Code Folding->Collapse Toplevel at some point. Some
minutes later, kate crashed. I might have typed a shortcut, but can't reproduce
:(

 -- Backtrace:
Application: Kate (kdeinit4), signal: Segmentation fault
The current source language is "auto; currently c".
[KCrash Handler]
#5  QVector<KateCodeFoldingNode*>::size (this=0x3c09f10, node=0x3ad46a0,
line=282) at /usr/include/qt4/QtCore/qvector.h:119
#6  KateCodeFoldingNode::findChild (this=0x3c09f10, node=0x3ad46a0, line=282)
at ../../kate/syntax/katecodefolding.h:85
#7  KateCodeFoldingTree::removeOpening (this=0x3c09f10, node=0x3ad46a0,
line=282) at ../../kate/syntax/katecodefolding.cpp:554
#8  0x00007f1ab9f4ce66 in KateCodeFoldingTree::cleanupUnneededNodes
(this=0x3c09f10, line=282) at ../../kate/syntax/katecodefolding.cpp:1321
#9  0x00007f1ab9f4dbdc in KateCodeFoldingTree::updateLine (this=0x3c09f10,
line=<value optimized out>, regionChanges=0x7fffe8860030, updated=<value
optimized out>, changed=<value optimized out>,
    colsChanged=<value optimized out>) at
../../kate/syntax/katecodefolding.cpp:530
#10 0x00007f1ab9ef5475 in KateBuffer::doHighlight (this=0x3c09ec0,
startLine=<value optimized out>, endLine=<value optimized out>,
invalidate=<value optimized out>)
    at ../../kate/document/katebuffer.cpp:1261
#11 0x00007f1ab9ef7011 in KateBuffer::editEnd (this=0x3c09ec0) at
../../kate/document/katebuffer.cpp:476
#12 0x00007f1ab9ee3404 in KateDocument::editEnd (this=0x3c18e50) at
../../kate/document/katedocument.cpp:972
#13 0x00007f1ab9ee460e in KateDocument::typeChars (this=0x3c18e50,
view=0x3c10db0, chars=...) at ../../kate/document/katedocument.cpp:3847
#14 0x00007f1ab9f6c4ba in KateViewInternal::keyPressEvent (this=0x37c6610,
e=0x7fffe8860ac0) at ../../kate/view/kateviewinternal.cpp:2444
#15 0x00007f1ab9f6b7cc in KateViewInternal::eventFilter (this=0x37c6610,
obj=0x37c6610, e=0x7fffe8860ac0) at ../../kate/view/kateviewinternal.cpp:2250
#16 0x00007f1acb45cf47 in
QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized
out>, receiver=0x37c6610, event=0x7fffe8860ac0) at
kernel/qcoreapplication.cpp:726
#17 0x00007f1ac940decc in QApplicationPrivate::notify_helper (this=0x1dcab90,
receiver=0x37c6610, e=0x7fffe8860ac0) at kernel/qapplication.cpp:4052
#18 0x00007f1ac9415ce3 in QApplication::notify (this=<value optimized out>,
receiver=0x37c6610, e=0x7fffe8860ac0) at kernel/qapplication.cpp:3662
#19 0x00007f1aca044ab6 in KApplication::notify (this=0x7fffe8862cd0,
receiver=0x37c6610, event=0x7fffe8860ac0) at
../../kdeui/kernel/kapplication.cpp:302
#20 0x00007f1acb45dc2c in QCoreApplication::notifyInternal
(this=0x7fffe8862cd0, receiver=0x37c6610, event=0x7fffe8860ac0) at
kernel/qcoreapplication.cpp:610
#21 0x00007f1ac949edfa in QKeyMapper::sendKeyEvent (keyWidget=0x37c6610,
grab=<value optimized out>, type=QEvent::KeyPress, code=34, modifiers=<value
optimized out>, text=..., autorepeat=false,
    count=1, nativeScanCode=11, nativeVirtualKey=34, nativeModifiers=1) at
kernel/qkeymapper_x11.cpp:1861
#22 0x00007f1ac94a1370 in QKeyMapperPrivate::translateKeyEvent (this=0x1e001e0,
keyWidget=0x37c6610, event=<value optimized out>, grab=false) at
kernel/qkeymapper_x11.cpp:1831
#23 0x00007f1ac9479493 in QApplication::x11ProcessEvent (this=<value optimized
out>, event=0x7fffe88628a0) at kernel/qapplication_x11.cpp:3443
#24 0x00007f1ac94a2d0c in x11EventSourceDispatch (s=<value optimized out>,
callback=<value optimized out>, user_data=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:146
#25 0x00007f1ac833ebbe in g_main_dispatch (context=0x1dce920) at
/build/buildd/glib2.0-2.22.2/glib/gmain.c:1960
#26 IA__g_main_context_dispatch (context=0x1dce920) at
/build/buildd/glib2.0-2.22.2/glib/gmain.c:2513
#27 0x00007f1ac8342588 in g_main_context_iterate (context=0x1dce920,
block=<value optimized out>, dispatch=<value optimized out>, self=<value
optimized out>)
    at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2591
#28 0x00007f1ac83426b0 in IA__g_main_context_iteration (context=0x1dce920,
may_block=1) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2654
#29 0x00007f1acb4861a6 in QEventDispatcherGlib::processEvents (this=0x1dcace0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#30 0x00007f1ac94a24be in QGuiEventDispatcherGlib::processEvents
(this=0x3c09f10, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:202
#31 0x00007f1acb45c532 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#32 0x00007f1acb45c904 in QEventLoop::exec (this=0x7fffe8862bd0, flags=) at
kernel/qeventloop.cpp:201
#33 0x00007f1acb45eab9 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:888
#34 0x00007f1ac0539d2d in kdemain () from /usr/lib/libkdeinit4_kate.so
#35 0x0000000000406da8 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=0x1d6ffd9
"peach;1257841192;909724;5189_TIME66192") at ../../kinit/kinit.cpp:677
#36 0x0000000000407aa0 in handle_launcher_request (sock=7, who=<value optimized
out>) at ../../kinit/kinit.cpp:1169
#37 0x0000000000407f51 in handle_requests (waitForPid=0) at
../../kinit/kinit.cpp:1362
#38 0x0000000000408bb2 in main (argc=2, argv=<value optimized out>, envp=<value
optimized out>) at ../../kinit/kinit.cpp:1793

This bug may be a duplicate of or related to bug 177790

Reported using DrKonqi

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@...
https://mail.kde.org/mailman/listinfo/kwrite-devel