Closed rleh closed 4 years ago
Running in GDB leads to the following findings:
gdb doxypress
# ...
(gdb) info stack
#0 0x0000000000495206 in QString8::const_iterator::const_iterator(CsString::CsStringIterator<CsString::utf8, std::allocator<unsigned char> >) ()
#1 0x00000000004953ab in QString8::const_iterator::operator-(long) const ()
#2 0x0000000000887373 in findEndOfLine(QString8&, Cs::QStringView<QString8>, QString8::const_iterator&, QString8::const_iterator&, QString8::const_iterator&) ()
#3 0x00000000008881d0 in processQuotations(Cs::QStringView<QString8>, int) ()
#4 0x000000000088a0e4 in processMarkdown(QString8 const&, int, QSharedPointer<Entry>, QString8 const&) ()
#5 0x00000000009c5778 in parseCommentBlock(ParserInterface*, QSharedPointer<Entry>, QString8 const&, QString8 const&, int&, bool, bool, bool, Protection&, int&, bool&) ()
#6 0x0000000000a25960 in handleCommentBlock(QString8 const&, bool) ()
#7 0x0000000000a18b58 in parse_cstyle_YYlex() ()
#8 0x0000000000a26c6a in parseMain(QString8 const&, QString8 const&, QStringList&, QSharedPointer<Entry>) ()
#9 0x0000000000a273dc in CPP_Parser::parseInput(QString8 const&, QString8 const&, QSharedPointer<Entry>, ParserMode, QStringList&, bool) ()
#10 0x000000000048dd4b in Doxy_Work::parseFile(ParserInterface*, QSharedPointer<Entry>, QSharedPointer<FileDef>, QString8, ParserMode, QStringList&) ()
#11 0x000000000048e962 in Doxy_Work::parseFiles(QSharedPointer<Entry>) ()
#12 0x000000000043861b in processFiles() ()
#13 0x0000000000778527 in main ()
Doxypress seems to get stuck in findEndOfLine(...)
in processQuotations(...)
in processMarkdown(...)
, only the first (here: two) stack entry change.
Thank you. Detailed reports like this one are very helpful.
It turns out this issue was reported recently and resolved with commit e0ffdbf. We anticipate making the next binary release around the end of the month. If you need something sooner and cannot build from master, let us know.
Thank you for your quick reply.
The modm toolbox is going to replace doxygen for is API documentation with doxypress, but that's not time-sensitive.
Comments in C++ files with backticks (see below) hang the parser.
Steps to reproduce
Create an empty directory with a
*.hpp
or*.cpp
(other file extensions not tested) fileCreate a (default)
doxypress.json
fileRun doxypress
Doxypress Version
Downloaded from https://download.copperspice.com/
System: Linux, Fedora 31