Summary: | Crash when using Ctrl and Del | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Albert Astals Cid <aacid> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | cullmann |
Priority: | VHI | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | The said file |
Description
Albert Astals Cid
2009-04-21 23:22:24 UTC
Created attachment 33000 [details]
The said file
Hmm, Kate thinks: (gdb) print thisLine $1 = {d = 0x0} (gdb) print realCursor.line() $2 = 1 (gdb) print realCursor.line() $3 = 1 (gdb) print m_renderer->doc()->lines() Cannot evaluate function -- may be inlined (gdb) print m_renderer $4 = (KateRenderer *) 0xdc2530 (gdb) print m_renderer->m_doc $5 = (class KateDocument *) 0xc79570 (gdb) print m_renderer->m_doc->lines() Cannot access memory at address 0x10 (gdb) print m_renderer->m_doc->m_buffer $6 = (class KateBuffer *) 0xdbdd90 (gdb) print m_renderer->m_doc->m_buffer->m_lines $7 = 1 Interesting, only one line for kate, but it tries to do stuff in second line... Hmm, somewho that's wrong, I guess the problem is, that line 2 was removed there already... SVN commit 957574 by cullmann: Fix the segfault, don't know, why this case was introduced, but have no idea how that should ever have worked in general displayCursor needs to be up to date... BUG: 190305 M +1 -5 kateviewinternal.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=957574 Albert, can you check if this also fixes bug #178379 in the right way? Then we could remove the blame-fix again. Yes it does, should i remove my hack and backport this bugfix to 4.2? Would be great ;) Awesome! :) Done |