Bug 275482 - Crash when rebuilding cache after clearing session in .kdevduchain
Summary: Crash when rebuilding cache after clearing session in .kdevduchain
Status: RESOLVED DUPLICATE of bug 269352
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (show other bugs)
Version: git master
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: 4.2.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-12 18:31 UTC by Bart Janssens
Modified: 2013-03-31 00:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Backtrace of the crash (21.94 KB, application/octet-stream)
2011-06-12 18:31 UTC, Bart Janssens
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bart Janssens 2011-06-12 18:31:31 UTC
Created attachment 60932 [details]
Backtrace of the crash

Version:           git master (using KDE 4.6.2) 
OS:                Linux

When rebuilding the cache after deletion, the progress is stuch at 0% for a few minutes, then kdevelop crashes. Subsequent runs without deleting the session in .kdevduchain loop forever at 25% progress.

Reproducible: Sometimes

Steps to Reproduce:
Remove the cache and restart kdevelop

Actual Results:  
App crashes most of the time, sometimes stays stuck at 0% for the code cache rebuild

Expected Results:  
Rebuild the code cache

Only happens on one of my 3 machines (same project, same configuration). I've had crashes in kdevelop that seemed to be related to the QT threading instructions before, also only on this one machine.
Comment 1 Bart Janssens 2011-06-13 14:26:11 UTC
Can't reproduce at all on my other machines.
Comment 2 Bart Janssens 2011-06-19 20:38:55 UTC
Reproduced on a new machine
Comment 3 Milian Wolff 2011-06-19 21:04:52 UTC
please provide a way to reproduce or a valgrind log. My personal bet is a library version messup on your side leading to random crashes due to binary incompatibility.
Comment 4 Bart Janssens 2011-06-19 22:19:59 UTC
In one case, the d_ptr of the context was null:
{<KDevelop::DUChainBase> = {_vptr.DUChainBase = 0x7fa2116c2bf0, d_ptr = 0x0, m_ptr = {d = 0x7fa2117e9f30}}, m_dynamicData = 0x7fa2116c2c00}
Comment 5 Milian Wolff 2011-06-20 12:07:31 UTC
Bart is using Eigen, hence is probably hit by 269352

*** This bug has been marked as a duplicate of bug 269352 ***
Comment 6 Aleix Pol 2013-03-31 00:48:25 UTC
Moving all the bugs from the CPP Parser. It was not well defined the difference between it and C++ Language Support and people kept reporting in both places indistinctively