Summary: | Segfault in KDevelop::Stack while parsing projects. | ||
---|---|---|---|
Product: | [Developer tools] kdevplatform | Reporter: | bungeman |
Component: | util | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED NOT A BUG | ||
Severity: | crash | ||
Priority: | NOR | ||
Version First Reported In: | git master | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
bungeman
2015-12-04 20:04:11 UTC
Not sure if it helps but I backed up to frame #2 above (appendedlist.h:171) and (gbd) list 171 m_freeIndicesWithData.push(index); (gdb) print threadSafe $17 = true print index $18 = 58 (gdb) print this->m_freeIndicesWithData $19 = {<QVarLengthArray<unsigned int, 32>> = {a = -173374208, s = 32768, ptr = 0x7ffff5aa8500 <QArrayData::shared_null>, { array = "[redacted]", q_for_alignment_1 = 0, q_for_alignment_2 = 0}}, <No data fields>} The 'a' and 's' here look a lot like garbage, so I can only assume m_freeIndicesWithData is in an invalid state at this point. If you have trouble reproducing, I can find out more if you can tell me what is interesting. Note that at frame #6 (gdb) print this->m_url.c_str() $12 = 0x7fff8466980b "/usr/include/x86_64-linux-gnu/sys/select.h" though this may or may not be relevant. In the 5.0 branches, the KDevelop::Stack patch should have been reverted. It should only be used in master. Are you sure your build setup is sane and clean? Hmmm... I thought I was, in that I ran 'ninja' and it re-ran cmake and then did 'ninja install' on both kdevplatfrom and kdevelop. However, after taking a closer look, it doesn't appear everything required to be rebuilt actually was. I deleted the install directory and the build directories and rebuilt from scratch. I'm no longer seeing this issue, so I think you're right here. I'll make this as resolved then. Thanks for pointing out that this wasn't possible in 5.0. I've encountered the same bug in ninja or the CMake ninja generator myself a few months ago and switched back to make... thanks for the confirmation |