GNOME Bugzilla – Bug 776791
[1.8.13 Regression] Segfault building the breathe docs
Last modified: 2017-12-25 18:43:56 UTC
Created attachment 342744 [details] failing example [forwarded from https://bugs.debian.org/849991] doxygen 1.8.13 segfaults building the breathe docs (examples). Works with 1.8.12. $ gdb --args doxygen tinyxml.cfg GNU gdb (Debian 7.12-4) 7.12 Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from doxygen...Reading symbols from /usr/lib/debug/.build-id/2c/5b57e61012c209a82ea5c47759da68b259573c.debug...done. done. (gdb) r < snip many warnings > Program received signal SIGSEGV, Segmentation fault. generateXMLForMember (md=md@entry=0x555556902930, ti=..., t=..., def=def@entry=0x55555696bee0) at ./src/xmlgen.cpp:623 623 ./src/xmlgen.cpp: No such file or directory. (gdb) bt
+ Trace 237031
I had a quick look in the source code and it looks like that the change on September 21, 2016 for bug_771152 is causing the problem. The line: if (al->refQualifier!=RefQualifierNone) should probably read: if (a1!=0 && al->refQualifier!=RefQualifierNone) See also line 612 in the same file. Can you confirm this?
a1 should read al in the above: if (al!=0 && al->refQualifier!=RefQualifierNone)
Thanks Albert! That change worked for me with breathe and also with gyoto [1] where I found a similar problem. [1] http://gyoto.obspm.fr/
I've just pushed a proposed patch to github (pull request 555)
Code has been integrated on github.
*** Bug 777941 has been marked as a duplicate of this bug. ***
*** Bug 782090 has been marked as a duplicate of this bug. ***
*** Bug 782121 has been marked as a duplicate of this bug. ***
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.14. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant (preferably in the form of a self-contained example).