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
doxygen 1.9.1 segmentation fault when generating libstdc++ documentation #8471
Comments
Maybe some ideas:
|
Thanks for your response. Yes I'm using cloned and built doxygen debug version from the git repo doxygen -v crash site
here is the stack trace
environment
Please let me know. |
|
yes i configured the build with let me try running |
... Program received signal SIGSEGV, Segmentation fault.
(gdb) bt
(gdb) does this help ? |
source code used is available at https://github.com/gcc-mirror/gcc and please see the attached Doxyfile.txt |
@saifikhan yes it helps, |
You use |
here is the observation
this was quite a intensive doc generation build with 15,000+ forks and about 2 GB of HTML docs were generated. thanks. |
@doxygen have run doxygen on the full source gcc tree. there is no crash. it works. thanks for the bug fix. much appreciated ! |
Still strange that the normal (i.e. without gdb ) run finished with a segmentation fault but that the same run with gdb ran.
|
gdb inferior processes is what i meant. |
please see https://dl.strikr.io/tmp/doxygen.log |
At the end of my gdb process I get:
so this looks to me a normal message, just indicating that gdb has no process attached anymore from which information can be extracted (my interpretation). In the given log file I see that formulas are generated and also that directories like |
the 'xz' compressed gcc docs and toolchain may be downloaded from https://sourceforge.net/projects/strikr/files/gcc/ |
@albert-github @doxygen finally here is the GNU C++ library documentation using doxygen 1.9.2. Please see https://ref.strikr.io/libstdcxx/api/modules.html Here is a reasonably involved diagram https://ref.strikr.io/libstdcxx/api/a01426.png thanks once again ! |
Hi:
Working on generating GCC libstdc++ documentation using doxygen 1.9.1
Some indicative settings that are being used in user.cfg.in
LOOKUP_CACHE_SIZE = 9
EXTRACT_ALL = YES
EXTRACT_PRIVATE = YES
EXTRACT_PRIV_VIRTUAL = YES
EXTRACT_PACKAGE = YES
EXTRACT_ANON_NSPACES = YES
INTERNAL_DOCS = YES
DOT_GRAPH_MAX_NODES = 512
output snipped
...
...
Generating caller graph for function std::signbit
Generating call graph for function std::sin
Generating caller graph for function std::sin
Generating call graph for function std::sinh
Generating caller graph for function std::sinh
Generating caller graph for function std::size
Generating call graph for function std::skipws
Generating caller graph for function std::skipws
Generating caller graph for functio../../../../src/gcc/libstdc++-v3/scripts/run_doxygen: line 183: 276389 Segmentation fault (core dumped) doxygen ${outdir}/${mode}.cfg
make[1]: [Makefile:933: stamp-html-doxygen] Error 139 (ignored)
The extracted core dump is as follows:
Command Line: doxygen /strikr/infra/build/gcc/doc/doxygen/html.cfg
Executable: /usr/bin/doxygen
Control Group: /user.slice/user-1000.slice/session-8.scope
Unit: session-8.scope
Slice: user-1000.slice
Session: 8
Owner UID: 1000 (strikr)
Boot ID: 95325163742f48709d8181f8e17944c7
Machine ID: 384944d6d31246b7af2d037610dbb286
Hostname: freedom
Storage: /var/lib/systemd/coredump/core.doxygen.1000.95325163742f48709d8181f8e17944c7.276389.1617103505000000.zst
Message: Process 276389 (doxygen) of user 1000 dumped core.
Any pointers or work arounds for now ?
The text was updated successfully, but these errors were encountered: