Summary: | Kile crashes when cutting text | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Pascal Vanier <pascal.vanier> |
Component: | part | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | debian, pascal.vanier |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kate/e88d0d35c6e3cb40692a811f335a99cd79f0beaa | Version Fixed In: | 4.8.5 |
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi |
Description
Pascal Vanier
2012-05-19 09:12:47 UTC
Forwarding to KatePart. I thought this was fixed in KDE 4.8.3? Pascal, can you please install debug infos and test again to provide a better backtrace? Even better is if you quickly build Kate from sources by following http://kate-editor.org/get-it/ Possible duplicate of #292947 It only happens in kile, for the moment it never happened in kate : but I use kile heavily, while I only use kate on small files (I just tried to make kate bug and did not manage to, but kile didn't either right now). I'm building kate and kile from sources, and I'll use them and see if they crash. Created attachment 71268 [details]
New crash information added by DrKonqi
kate (3.8.3) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.1
- What I was doing when the application crashed:
Same as before, cutting text in a file
- Custom settings of the application:
Still in VI mode, maybe I should add that it was while working on a .tex file, I doubt the tex file is relevant as it happened to me in several of them.
-- Backtrace (Reduced):
#5 0x00007f2c11194d07 in QTextLine::cursorToX(int*, QTextLine::Edge) const () from /usr/lib/libQtGui.so.4
[...]
#10 0x00007f2c029ebfdd in KateViNormalMode::commandDeleteToEOL() () from /usr/lib/libkatepartinterfaces.so.4
#11 0x00007f2c029f8386 in KateViNormalMode::executeCommand(KateViCommand const*) () from /usr/lib/libkatepartinterfaces.so.4
#12 0x00007f2c029f9490 in KateViNormalMode::handleKeypress(QKeyEvent const*) () from /usr/lib/libkatepartinterfaces.so.4
#13 0x00007f2c029e11d4 in KateViInputModeManager::handleKeypress(QKeyEvent const*) () from /usr/lib/libkatepartinterfaces.so.4
I forgot to add that this is with a compiled from sources kate, maybe I can improve the bug report (as it does not seem to add information to the previous one), but I don't know how (I'm on arch, there does not seem to be a debug symbols package). Created attachment 71269 [details]
New crash information added by DrKonqi
kate (3.8.3) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.1
- What I was doing when the application crashed:
Copy pasting, it seems it is related to copying the last line of the file. I already managed to make it crash without this condition, but it is always the case with it.
- Custom settings of the application:
Vi input mode, the source file is not relevant, tried with .tex and other files
I compiled kate from git
-- Backtrace (Reduced):
#10 0x00007f5f96d3339e in KSharedPtr<KateLineLayout>::operator-> (this=0x7fffc2812c30) at /usr/include/ksharedptr.h:126
#11 0x00007f5f96d37d26 in KateLayoutCache::textLayout (this=0x1089600, realCursor=...) at /home/yodaoryack/kde/kate/part/render/katelayoutcache.cpp:340
#12 0x00007f5f96d930d1 in KateViewInternal::makeVisible (this=0x10cc110, c=..., endCol=0, force=false, center=false, calledExternally=false) at /home/yodaoryack/kde/kate/part/view/kateviewinternal.cpp:645
#13 0x00007f5f96d9903e in KateViewInternal::updateCursor (this=0x10cc110, newCursor=..., force=false, center=false, calledExternally=false) at /home/yodaoryack/kde/kate/part/view/kateviewinternal.cpp:1861
#14 0x00007f5f96dbd23e in KateViModeBase::updateCursor (this=0x1329560, c=...) at /home/yodaoryack/kde/kate/part/vimode/katevimodebase.cpp:842
#9 0x00007f5fa4aa35a4 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4 #10 0x00007f5f96d3339e in KSharedPtr<KateLineLayout>::operator-> (this=0x7fffc2812c30) at /usr/include/ksharedptr.h:126 #11 0x00007f5f96d37d26 in KateLayoutCache::textLayout (this=0x1089600, realCursor=...) at /home/yodaoryack/kde/kate/part/render/katelayoutcache.cpp:340 #12 0x00007f5f96d930d1 in KateViewInternal::makeVisible (this=0x10cc110, c=..., endCol=0, force=false, center=false, calledExternally=false) at /home/yodaoryack/kde/kate/part/view/kateviewinternal.cpp:645 #13 0x00007f5f96d9903e in KateViewInternal::updateCursor (this=0x10cc110, newCursor=..., force=false, center=false, calledExternally=false) at /home/yodaoryack/kde/kate/part/view/kateviewinternal.cpp:1861 #14 0x00007f5f96dbd23e in KateViModeBase::updateCursor (this=0x1329560, c=...) at /home/yodaoryack/kde/kate/part/vimode/katevimodebase.cpp:842 #15 0x00007f5f96dc40d9 in KateViNormalMode::commandDeleteToEOL (this=0x1329560) at /home/yodaoryack/kde/kate/part/vimode/katevinormalmode.cpp:715 #16 0x00007f5f96dd70c6 in KateViCommand::execute (this=0x132f4e0) at /home/yodaoryack/kde/kate/part/vimode/katevicommand.cpp:38 #17 0x00007f5f96dc328d in KateViNormalMode::executeCommand (this=0x1329560, cmd=0x132f4e0) at /home/yodaoryack/kde/kate/part/vimode/katevinormalmode.cpp:440 #18 0x00007f5f96dc2f9a in KateViNormalMode::handleKeypress (this=0x1329560, e=0x7fffc2813f90) at /home/yodaoryack/kde/kate/part/vimode/katevinormalmode.cpp:367 #19 0x00007f5f96db3a2b in KateViInputModeManager::handleKeypress (this=0x130fa60, e=0x7fffc2813f90) at /home/yodaoryack/kde/kate/part/vimode/kateviinputmodemanager.cpp:102 #20 0x00007f5f96d9b586 in KateViewInternal::keyPressEvent (this=0x10cc110, e=0x7fffc2813f90) at /home/yodaoryack/kde/kate/part/view/kateviewinternal.cpp:2298 #21 0x00007f5f96d9acb8 in KateViewInternal::eventFilter (this=0x10cc110, obj=0x10cc110, e=0x7fffc2813f90) at /home/yodaoryack/kde/kate/part/view/kateviewinternal.cpp:2183 Git commit 8cb708f66a75f8cbd2dd94ca07c5834105dfba68 by Dominik Haumann. Committed on 04/07/2012 at 16:31. Pushed by dhaumann into branch 'master'. fix crash in vi normal mode: v G D M +3 -0 part/vimode/katevinormalmode.cpp http://commits.kde.org/kate/8cb708f66a75f8cbd2dd94ca07c5834105dfba68 Git commit 59f59d9e61904385cdd880edc7697193331260a5 by Dominik Haumann. Committed on 04/07/2012 at 16:31. Pushed by dhaumann into branch 'KDE/4.9'. fix crash in vi normal mode: v G D M +3 -0 part/vimode/katevinormalmode.cpp http://commits.kde.org/kate/59f59d9e61904385cdd880edc7697193331260a5 Git commit e88d0d35c6e3cb40692a811f335a99cd79f0beaa by Dominik Haumann. Committed on 04/07/2012 at 16:31. Pushed by dhaumann into branch 'KDE/4.8'. fix crash in vi normal mode: v G D M +3 -0 part/vimode/katevinormalmode.cpp http://commits.kde.org/kate/e88d0d35c6e3cb40692a811f335a99cd79f0beaa This is great, thank you very much! *** Bug 315683 has been marked as a duplicate of this bug. *** |