Summary: | crash while openning file | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Lucas SARIE <lucas.sarie> |
Component: | general | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED NOT A BUG | ||
Severity: | crash | CC: | david.nolden.kde |
Priority: | NOR | ||
Version: | 4.2.60 | ||
Target Milestone: | 4.2.0 | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | GDB backtrace of this crash |
Description
Lucas SARIE
2011-02-23 21:46:55 UTC
Created attachment 62037 [details]
GDB backtrace of this crash
How to reproduce:
- create brand new session
- imported source from kdeexamples (current clone of master)
- try to open a *.cpp file
--> crash
Can be reproduced every time.
that last crash is unrelated to the former backtrace. but helpful nonetheless (as it shows another issue we can see in our unit tests). Git commit b6001b7df6cba79cd030d020714a946d77915668 by David Nolden. Committed on 21/07/2011 at 13:30. Pushed by zwabel into branch 'master'. Don't clear the area while switching the working-set as result of viewAdded(). This fixes possible crashes and makes the document-controller test work again. CCBUG: 267011 M +1 -0 shell/documentcontroller.cpp M +3 -0 shell/workingsetcontroller.h M +4 -2 shell/workingsetcontroller.cpp http://commits.kde.org/kdevplatform/b6001b7df6cba79cd030d020714a946d77915668 There is no way how StaticCodeAssistant::documentLoaded could lead to setPrettyName, therefore the backtrace of the report is borked. Probably you have a compilation problem. Clear your build-directories and try compiling again. Just to make clear what I'm talking about: Thread 1 (Thread 0xb778f710 (LWP 20703)): [KCrash Handler] #7 QString (this=0x9fffe88, name=) at /usr/include/qt4/QtCore/qstring.h:727 #8 KDevelop::PartDocument::setPrettyName (this=0x9fffe88, name=) at /home/lucas/Bureau/Work/kdevgit/kdevplatform/shell/partdocument.cpp:206 #9 0x079b8998 in Cpp::StaticCodeAssistant::documentLoaded (this=0x9eb5b38, document=0x9fffe98) at |