Summary: | Crash while replase header guards | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Maxim Prohorenko <Maxim.Prohorenko> |
Component: | Language Support: CPP (old) | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | david.nolden.kde, Maxim.Prohorenko, vkrevs |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
Maxim Prohorenko
2010-03-24 12:17:55 UTC
*** Bug 229417 has been marked as a duplicate of this bug. *** I've done this a couple of times now here and can't reproduce this. Maybe this is specific to 64bit systems. build from svn 24 march, this is not first crash when i replace guards in header, but can not reproduce it every time. is your header big, or does it include lots of other files? I assume that the background parser is active while you change something in it which triggers the crash - but this is just a guess. @apaku: did you try with a small test header or with a real (big) header? Small test header only, but as is visible from the dupe I closed shortly before there are at least two or three other ways of triggering it and one thing all reports have in common is a 64bit system. As I never had such a crash as far as I can remember and I only run 32bit systems that seemed like a plausible explanation. Edit small file from real project, but include other not small generated headers. Will probably be fixed for KDevelop 4.1 using the foreground lock. *** Bug 235804 has been marked as a duplicate of this bug. *** works for me. Please try again with update Kate as there was a bug in it that left a dangling pointer in a smart range watcher list. Created attachment 51367 [details]
New crash information added by DrKonqi
kdevelop (4.1.60) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.6.3
"save file as" for existing header to new file and edit guards - crash.
-- Backtrace (Reduced):
#7 0x00007fa8e05caa81 in Kate::TextHistory::transformCursor(int&, int&, KTextEditor::MovingCursor::InsertBehavior, long long, long long) () from /usr/lib64/libkatepartinterfaces.so.4
#8 0x00007fa8fe8c5dda in KDevelop::DocumentChangeTracker::transformBetweenRevisions (this=0xa3aea90, cursor=..., fromRevision=-1, toRevision=4, behavior=KTextEditor::MovingCursor::StayOnInsert)
at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/language/backgroundparser/documentchangetracker.cpp:296
#9 0x00007fa8fe8c5e56 in KDevelop::DocumentChangeTracker::transformToRevision (this=<value optimized out>, cursor=<value optimized out>, toRevision=<value optimized out>,
behavior=<value optimized out>) at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/language/backgroundparser/documentchangetracker.cpp:309
#10 0x00007fa8fe92bddf in KDevelop::DUChainBase::transformToLocalRevision (this=<value optimized out>, cursor=...)
at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/language/duchain/duchainbase.cpp:184
#11 0x00007fa8fe94f86c in KDevelop::DUChainUtils::declarationInLine (_cursor=..., ctx=0x7fa8c17587f0) at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/language/duchain/duchainutils.cpp:323
Unfortunately, the current master version of KDevelop does not work with KDE 4.5.1. It requires what will become KDE 4.5.2, or KDE 4.6. That's the reason for the crash. |