Summary: | Q_ASSERT(standardContext->smartRange()->document() == doc->textDocument()); in DUChain::documentLoadedPrepare | ||
---|---|---|---|
Product: | [Developer tools] kdevplatform | Reporter: | Martin Flöser <mgraesslin> |
Component: | language | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | aeoris, contramolinosdeviento, danaivehr, david.nolden.kde, gpiez, iamsunilk, kdebugs, olivier.jg, pmackinn, pxpert, snedex, thorbenk, vlad.bezerra |
Priority: | NOR | ||
Version: | git master | ||
Target Milestone: | 1.0.0 | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
The header which crashes kdevelop when trying to open it
New crash information added by DrKonqi New crash information added by DrKonqi |
Description
Martin Flöser
2009-08-21 13:45:22 UTC
Do you know wether any of the files inside that workingset have been deleted meanwhile? could be possible - before starting kdevelop I switched git branches and had a revert to a previous revision and so one file got lost. But it isn't listed in the working set. *** Bug 204682 has been marked as a duplicate of this bug. *** I already thought those crashes could be related. I'll attach the header file (it's not yet in svn) of the version which crashed KDevelop for the first time. KDevelop thinks the file is "QTableView" and is located in /usr/include/qt4/QTableView. It has an include of QTableView and there is a class which subclasses QTableView. Created attachment 36338 [details]
The header which crashes kdevelop when trying to open it
*** Bug 210125 has been marked as a duplicate of this bug. *** *** Bug 234872 has been marked as a duplicate of this bug. *** adapting bug title *** Bug 235043 has been marked as a duplicate of this bug. *** essentially "fixed" in 4.2 / master by not using smart ranges anymore and afaik there is nothing we can do about it in 4.1. *** Bug 252029 has been marked as a duplicate of this bug. *** *** Bug 253617 has been marked as a duplicate of this bug. *** *** Bug 258650 has been marked as a duplicate of this bug. *** bug 258650 contains a way to reproduce it: 1. Open an existing file foo 2. Save as... bar 3. Locate original file foo in project pane and double click to try and open foo 4. Crash occurs. probably the saveAs is not handled in the duchain. Works properly in KDevelop 4.2 though. reproduced with these steps, awesome :) *** Bug 262806 has been marked as a duplicate of this bug. *** Created attachment 56793 [details]
New crash information added by DrKonqi
kdevelop (4.0.2 (using KDevPlatform 1.0.2)) on KDE Platform 4.6.00 (4.6.0) using Qt 4.7.0
- What I was doing when the application crashed:
Just installed kdevelop and kdevelop-php. Created a new project. When I tried to open the new PHP file, kdevelop just crashed.
-- Backtrace (Reduced):
#6 begin (this=0x0, watcher=0x1ccb6c8) at /usr/include/qt4/QtCore/qlist.h:97
#7 contains (this=0x0, watcher=0x1ccb6c8) at /usr/include/qt4/QtCore/qlist.h:860
#8 KTextEditor::SmartRange::addWatcher (this=0x0, watcher=0x1ccb6c8) at ../../../interfaces/ktexteditor/smartrange.cpp:893
#9 0x00007f7d6647651f in KDevelop::BackgroundParser::addManagedTopRange (this=0x1ccb6b0, document=..., range=0x0) at ../../language/backgroundparser/backgroundparser.cpp:645
#10 0x00007f7d6649362b in KDevelop::DUChain::documentLoadedPrepare (this=<value optimized out>, doc=0x349cf10) at ../../language/duchain/duchain.cpp:1541
*** Bug 266915 has been marked as a duplicate of this bug. *** Created attachment 59028 [details]
New crash information added by DrKonqi
kdevelop (4.0.1 (using KDevPlatform 1.0.1)) on KDE Platform 4.6.1 (4.6.1) using Qt 4.7.2
- What I was doing when the application crashed:
When i open any source file, kdevelop crashes. I can only create new source file, write something, and if i close source and open it again, kdev crashes. It occurs every try.
I've just installed kdevelop on my debian, but used kdevelop before on laptop with kubuntu natty - it's all ok on natty.
-- Backtrace (Reduced):
#7 0xb74ee74a in KTextEditor::SmartRange::addWatcher(KTextEditor::SmartRangeWatcher*) () from /usr/lib/libktexteditor.so.4
#8 0xb53d5729 in KDevelop::BackgroundParser::addManagedTopRange (this=0x90b1ec8, document=..., range=0x0) at ../../language/backgroundparser/backgroundparser.cpp:645
#9 0xb53f3a24 in KDevelop::DUChain::documentLoadedPrepare (this=0x9172718, doc=0x9ce9ef0) at ../../language/duchain/duchain.cpp:1541
#10 0xb53f5fd7 in KDevelop::DUChain::qt_metacall (this=0x9172718, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfe982f8) at ./duchain.moc:168
[...]
#13 0xb7610053 in KDevelop::IDocumentController::documentLoadedPrepare (this=0x9108c88, _t1=0x9ce9ef0) at ./idocumentcontroller.moc:279
Fixed in 4.2, upgrading is highly recommended. *** Bug 284174 has been marked as a duplicate of this bug. *** |