Skip to content

Doxygen 1.9.1 hangs when msc issue is detected instead of terminating, also CTRL+C does not work #8704

Closed
@qknight

Description

@qknight

Describe the bug
When using doxygen 1.9.1 coming with Ubuntu 21.04 and the attached example I see that doxygen execution hangs and does not exit the binary.

Generating docs for compound bar...
Error detected at line 5: Unknown source entity 'fail1'.
Input format error for '/home/joschie/Projects/doxygen-msc-example/html/inline_mscgraph_2.msc'
error: Problems generating msc output (error=INPUT FORMAT ERROR). Look for typos in you msc file /home/joschie/Projects/doxygen-msc-example/html/inline_mscgraph_2.msc
 (warning treated as error, aborting now)

Expected behavior
I expected that after doxygen printed the issue listed above it would exit with an error code and not get stuck.
I can't even use CTRL+C to kill doxygen and I have to use ps aux | grep doxygen and then kill -9 pid.
It would be nice if I could use CTRL+C at least.

To Reproduce
I've attached a simple example with an 'broken' msc diagram so it would provoke an exit with an code other than 0.

Version

  • doxygen 1.9.1-2ubuntu1 amd64 Documentation system for C, C++, Java, Python and other languages

doxygen-msc-example.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions