-
Notifications
You must be signed in to change notification settings - Fork 269
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
make doc fails with segmentation fault in doxygen 1.9.0 on macOS #520
Comments
I uncommented a printf from doxygen and get the following output:
it seems the output of |
it seems similar to doxygen/doxygen#8192 but not quite the same |
I believe the following patch to ign-gazebo fixes it:
that may break ABI, but it could be helpful in creating a small reproduction of the error in order to report a proper issue to doxygen |
See if this fixes doxygen (see gazebosim#520).
that seems to fix it when I run doxygen in debug mode but not with the homebrew binaries (see failed CI in #521) |
Thanks for debugging, @scpeters
Another thing we can consider is not generating docs in macOS. Our official docs are deployed using Ubuntu, and I'm not sure if many users are making use of documentation generation on macOS. I'd be ok only supporting doc generation (and other tooling like static codecheck and coverage) only on Linux to reduce our maintenance surface. That said, I think it's good that we're catching this early and can solve it before Doxygen 1.9.0 shows up on Ubuntu. |
yes, that's the right step to take
I just tried building doxygen from source on 18.04 with gcc and I can't reproduce it, so I think it is specific to macOS or clang. ok, now I'm going to enjoy my vacation |
Ok, an attempt here: osrf/homebrew-simulation#1258 |
that would disable doxygen for all our packages. I think only ign-gazebo is suffering from this issue, so I would just put an |
The way I understood it, that would still keep doxygen for those specific packages, and downstream packages that want to generate docs would need to declare the build dependency themselves. That sounds like the most correct thing to do, I don't think downstream packages should be relying on a build dependency from their dependencies, right? I can go ahead and add doxygen as an optional build dependency for all packages downstream of those, except for |
Can you check if the crash is solved when applying this fix to doxygen? doxygen/doxygen@4a070f8 |
Here's the suppression to make docs for macOS: #523 |
Yes! Thank you so much; that fixes the segmentation fault when run against our |
never mind; it's all fixed by doxygen/doxygen@4a070f8; thanks! |
Since doxygen 1.9.0 was released into homebrew-core in Homebrew/homebrew-core#67817,
make doc
has been failing for ign-gazebo with a segmentation fault indoxygen
itself:Running
make doc VERBOSE=1
shows that the following command is used:doxygen build/api_tagfile.dox
. By editingbuild/api_tagfile.dox
so thatQUIET = NO
, you can get verbose output frommake doc
. I see the following lines just before the failure:I've built doxygen from source in debug mode and have isolated the segmentation fault to a specific line in doxygen.cpp. I will submit a bug report to doxygen. In the meantime, we may want to disable generation of docs in this repository.
The text was updated successfully, but these errors were encountered: