After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 621785 - Versions 1.5.0 through 1.6.3 hang while processing attached files
Versions 1.5.0 through 1.6.3 hang while processing attached files
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: build
1.6.3
Other Linux
: Normal major
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2010-06-16 13:58 UTC by David Kobe
Modified: 2010-10-09 08:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
tar file containing three files (two being processed and doxyfile) (90.00 KB, application/x-tar)
2010-06-16 13:58 UTC, David Kobe
Details

Description David Kobe 2010-06-16 13:58:41 UTC
Created attachment 163827 [details]
tar file containing three files (two being processed and doxyfile)

After much trial and error, it was determined that the hangup can be recreated with the two attached source files and the attached doxyfile.  The critical file seems to be the cfe_tbl.h file.  If any section of the doxygen comment block is removed, (e.g. - any of the \param sections or any one line starting with '\retcode'), doxygen is able to process the file.  These files CAN be successfully processed by versions of doxygen 1.4.7 and earlier.

When doxygen hangs, occasionally it is possible to abort with "Ctrl-C".  Other times, it requires killing the process from another terminal.
Comment 1 Dimitri van Heesch 2010-06-16 19:44:35 UTC
Confirmed. Can you check if the following patch fixes the problem for you?

--- ../../doxygen-svn/src/docparser.cpp	2010-06-15 12:21:19.000000000 +0200
+++ docparser.cpp	2010-06-16 21:41:30.000000000 +0200
@@ -1813,6 +1813,7 @@
       }
       g_styleStack.clear();
       g_nodeStack.clear();
+      g_paramsFound.clear();
       g_copyStack.append(def);
       // make sure the descriptions end with a newline, so the parser will correctly
       // handle them in all cases.
Comment 2 David Kobe 2010-06-16 20:16:21 UTC
I ran the patched doxygen on both the individual test case that was delivered with this bug report as well as the entire software system with success.

Thanks for the quick response.
Comment 3 Dimitri van Heesch 2010-06-25 11:49:06 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.1. 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.
Comment 4 Dimitri van Heesch 2010-10-09 08:19:33 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.2. 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.