I have tested several doxygen versions, including the three latest
1.8.12 - works 1.8.13 - segfault 1.8.14-dev (current master) - works
I believe it is this (fixed) doxygen issue: https://github.com/doxygen/doxygen/pull/555
We know the doxygen version in the Python script that builds the SWIG files and in the script that builds the documentation, so we can potentially print a warning and fallback to empty docstrings if the buggy version is installed
Sure, warning for buggy version would be good. But generally error handling could be bettter. If doxygen fails maybe cmake should stop and say what happened.