-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash with Segmentation fault in ClassDefImpl::mergeMembers #9229
Comments
Thanks for the report, a crash is a bad thing. This is indeed a bug, you found it in the 1.9.2 and 1.9.3 version, pity that your debug is against the 1.9.2 version would be much better to have it against the current master (though I quickly don't see any relevant changes between 1.9.2 and the current master in that neighborhood). Most likely cause is that something is not set in the vhdl parser and that other parsers do set it. But to investigate we need a small case. I can confirm that it still crashes with the current master version after downloading the mentioned repository (tested quickly under Windows). |
A git bisect gave me:
@doxygen how to proceed? |
…geMembers Incorrect translation of regular expression: ``` static const std::regex reg("[[:space:]:|]",std::regex::optimize); ``` to ``` static const reg::Ex reg(R"([\s|])"); ``` this should have been: ``` static const reg::Ex reg(R"([\s:|])"); ```
I've just pushed a proposed patch, pull request #9233 |
issue #9229 Crash with Segmentation fault in ClassDefImpl::mergeMembers
Code has been integrated in master on GitHub (please don't close the issue as this will be done at the moment of an official release). |
@Mitumaru: This issue is understood, corrected, and the fix will be released. So what's the point of doubling this issue ? |
This issue was previously marked 'fixed but not released', |
Describe the bug
The creation of the
VHDL
documentation of the w11 project crashes for 1.9.2 and 1.9.3 withMore details are described under Stack Trace.
Expected behavior
Works fine with 1.9.1 and previous versions
To Reproduce
The
VHDL
source tree is in w11 project.The
Doxyfile
is attached.A full reproducer script can be provided upon request.
Version
Using Ubuntu 2020.04 LTS. Both 1.9.2 and 1.9.3 crash. 1.9.1 works.
Stack trace
I've build 1.9.2 with debug
and got the backtrace
The code around
classdef.cpp:3441
isAn
info locals
givesThe problems is that
srcCd
is not equaldstCd
dstCd->isBaseClass(srcCd,TRUE)
is executednullptr
--> Segmentation faultAdditional context
The
Doxyfile
(with .txt suffix added) and the output ofinfo local
are attached.w11_vhd_all.Doxyfile.txt
doxy_crash_info_local.txt
The text was updated successfully, but these errors were encountered: