Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

crash on libclang parsing #44067

Open Quuxplusone opened 4 years ago

Quuxplusone commented 4 years ago
Bugzilla Link PR45097
Status NEW
Importance P enhancement
Reported by Marián Konček (koncek.marian@gmail.com)
Reported on 2020-03-04 00:56:24 -0800
Last modified on 2020-04-08 05:11:42 -0700
Version 9.0
Hardware PC Linux
CC klimek@google.com, llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk
Fixed by commit(s)
Attachments file_45097.txt (50481 bytes, text/plain)
crash.hpp (1097 bytes, text/x-c++hdr)
Blocks
Blocked by
See also

see: https://bugs.kde.org/show_bug.cgi?id=418220

Quuxplusone commented 4 years ago

Attached file_45097.txt (50481 bytes, text/plain): Stack trace of KDevelop

Quuxplusone commented 4 years ago

Attached crash.hpp (1097 bytes, text/x-c++hdr): Source file which causes the crash

Quuxplusone commented 4 years ago
Fedora version-release number of selected component (if applicable):
kdevelop-5.5.0-1.fc31.src.rpm
clang-9.0.0-1.fc31.src.rpm

KDevelop crashes when parsing C++ code using libclang, the issue is described
in more detail in the link in the previous comment.
In general I noticed the crashing mostly happens with structured bindings.

I am willing to isolate the problematic code further or check for specific
tools versions if someone advised me how / what to check for.