Summary: | kate crashes after a few seconds of editing LaTeX file | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | ayr035+kde |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED DOWNSTREAM | ||
Severity: | crash | CC: | philippe.faist, reescf, saaker |
Priority: | NOR | Keywords: | drkonqi |
Version: | 3.13.1 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | ktexteditor_klf backtrace |
Description
ayr035+kde
2014-06-03 15:52:00 UTC
@Philippe: This crash goes into your KLatexFormula KTextEditor plugin. Can you please have a look? I'll close as downstream, as this is not a kate issue. Please take care of it, though. @ayr035+kde: You can be of great help in finding the cause of this issue if you install the ktexteditor_klf plugin with debug information/symbols, and then reproduce this crash again, and paste the backtrace again here. Created attachment 87015 [details]
ktexteditor_klf backtrace
Compiled the plugin with debug symbols. I didn't even think that it might be related to KLatexFormula.
Thanks, now the backtrace looks like this: Thread 1 (Thread 0x7fcb150a6780 (LWP 5325)): [KCrash Handler] #5 KSharedPtr (o=..., this=<optimized out>) at /usr/include/ksharedptr.h:84 #6 AttributeBlock (this=<optimized out>) at /usr/include/ktexteditor/highlightinterface.h:106 #7 HiAttElem (l=-1, h=..., this=<optimized out>) at /build/klatexformula/src/klatexformula-3.2.9/src/klfkateplugin/klfkteparser_p.h:121 #8 find_mathmode_transition (wantTrueBoundary=true, forward=false, pos=<incomplete type>, this=0x2968290) at /build/klatexformula/src/klatexformula-3.2.9/src/klfkateplugin/klfkteparser_p.h:350 #9 KLFKteParser_KatePart::parseContext (this=0x2968290, cur=...) at /build/klatexformula/src/klatexformula-3.2.9/src/klfkateplugin/klfkteparser_p.h:189 #10 0x00007fcaf8cc7ed1 in KLFKtePluginView::slotReparseCurrentContext (this=0x346eec0) at /build/klatexformula/src/klatexformula-3.2.9/src/klfkateplugin/klfkateplugin.cpp:348 #11 0x00007fcb13cd130a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #12 0x00007fcaff044507 in KTextEditor::View::cursorPositionChanged(KTextEditor::View*, KTextEditor::Cursor const&) () from /usr/lib/libktexteditor.so.4 #13 0x00007fcaf906a316 in KateViewInternal::updateCursor (this=this@entry=0x330eca0, newCursor=..., force=force@entry=true, center=center@entry=false, calledExternally=calledExternally@entry=false) at /build/abs/extra/kdesdk-kate/src/kate-4.13.1/part/view/kateviewinternal.cpp:1925 #14 0x00007fcaf906c228 in KateViewInternal::editEnd (this=0x330eca0, editTagLineStart=158, editTagLineEnd=158, tagFrom=<optimized out>) at /build/abs/extra/kdesdk-kate/src/kate-4.13.1/part/view/kateviewinternal.cpp:3422 #15 0x00007fcaf8fe2cd2 in KateDocument::editEnd (this=0x1) at /build/abs/extra/kdesdk-kate/src/kate-4.13.1/part/document/katedocument.cpp:821 #16 0x00007fcaf8fe70e1 in KateDocument::typeChars (this=0x2d15ad0, view=0x32ef730, realChars=...) at /build/abs/extra/kdesdk-kate/src/kate-4.13.1/part/document/katedocument.cpp:2651 #17 0x00007fcaf9066cc0 in KateViewInternal::keyPressEvent (this=0x330eca0, e=0x7fff8e843c20) at /build/abs/extra/kdesdk-kate/src/kate-4.13.1/part/view/kateviewinternal.cpp:2430 Hi Dominik, Thanks for the bug report. I'm currently trying to reproduce it. How did you install KLatexFormula and which version are you using? The paths in the backtrace suggest you're using 3.2.9 but the listed source file "klfkteparser_p.h" is only present in the development version. Best, Philippe Hi again, Digging into this problem, I realized that I had done a mistake and packaged the *development branch* instead of the *stable branch* into 3.2.9. I now released version 3.2.10 which is what was supposed to be 3.2.9, which should not make kwrite crash. Thanks for the feedback, Philippe *** Bug 337466 has been marked as a duplicate of this bug. *** |