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 694685 - doxygen crashes when this construct is seen twice
doxygen crashes when this construct is seen twice
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: build
1.8.3.1
Other Windows
: High critical
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2013-02-25 15:47 UTC by Delete me
Modified: 2013-05-19 12:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Testcase (24.97 KB, application/x-zip-compressed)
2013-04-18 17:11 UTC, Kevin McBride
Details

Description Delete me 2013-02-25 15:47:04 UTC
I have two files containg the same code (this is an exstrakt of orig sourceto spot the error)

file a.c and b.c
both contains this
/** @addtogroup STM32F2xx_System_Private_FunctionPrototypes
  * @{
  */

static void SetSysClock(void);

/**
  * @}
  */

/** @addtogroup STM32F2xx_System_Private_Functions
  * @{
  */

/**
  * @retval None
  */
static void SetSysClock(void)
{
  
}

/**
  * @}
  */

running doxygen on those, makes doxygen crash, when generating xml for a.c, with no error reporting.

added the used doxyfile as atachment
Comment 1 Kevin McBride 2013-02-25 23:01:55 UTC
Thanks for taking the time to report this bug.  Can you get us a stack trace?

http://www.stack.nl/~dimitri/doxygen/manual/trouble.html#bug_reports

If you are using a *nix platform, you should be able to get a stacktrace using gdb.  This helps us compare stacktraces so that we can figure out what caused the crash, and how to best fix it.
Comment 2 Delete me 2013-04-18 15:07:17 UTC
How to do this on windows? The link you provided does not tell
(If you look in the OS field you will see I am running this on windows)


Has anyone tested my exsample?
Comment 3 Kevin McBride 2013-04-18 17:11:16 UTC
Created attachment 241839 [details]
Testcase

I was able to reproduce this bug using the attached example on Windows.  According to the stacktrace, doxygen appears to crash somewhere within the Windows libraries.  In order for me to produce a stacktrace, I will have to find a way to get doxygen to compile on Visual Studio.net 2010 (which is my current debugger).

I have a separate bug report filed regarding the conversion of the Visual Studio files in the source code of doxygen to VS.net 2010 SP1.
Comment 4 Kevin McBride 2013-04-18 17:19:12 UTC
Doxygen developers, on Windows, the bug appears to crash when generating search indices.  Below is the output from the console:

Searching for include files...
Searching for example files...
Searching for images...
Searching for dot files...
Searching for msc files...
Searching for files to exclude
Searching for files to process...
Searching for files in directory C:/Users/Kevin/Documents/Doxygen/Bug 694685
Reading and parsing tag files
Preprocessing C:/Users/Kevin/Documents/Doxygen/Bug 694685/a.c...
Parsing file C:/Users/Kevin/Documents/Doxygen/Bug 694685/a.c...
Preprocessing C:/Users/Kevin/Documents/Doxygen/Bug 694685/b.c...
Parsing file C:/Users/Kevin/Documents/Doxygen/Bug 694685/b.c...
Building group list...
Building directory list...
Building namespace list...
Building file list...
Building class list...
Associating documentation with classes...
Computing nesting relations for classes...
Building example list...
Searching for enumerations...
Searching for documented typedefs...
Searching for members imported via using declarations...
Searching for included using directives...
Searching for documented variables...
Building member list...
Searching for friends...
Searching for documented defines...
Computing class inheritance relations...
Computing class usage relations...
Flushing cached template relations that have become invalid...
Creating members for template instances...
Computing class relations...
Add enum values to enums...
Searching for member function documentation...
Building page list...
Search for main page...
Computing page relations...
Determining the scope of groups...
Sorting lists...
Freeing entry tree
Determining which enums are documented
Computing member relations...
Building full member lists recursively...
Adding members to member groups.
Computing member references...
Inheriting documentation...
Generating disk names...
Adding source references...
Adding xrefitems...
Sorting member lists...
Computing dependencies between directories...
Generating citations page...
Counting data structures...
Resolving user defined references...
Finding anchors and sections in the documentation...
Combining using relations...
Adding members to index pages...
Generating style sheet...
Generating search indices...
Comment 5 Kevin McBride 2013-04-18 17:47:22 UTC
Correction on stacktraces: because I have not yet been able to compile doxygen with debugging symbols, I do not have a decent stacktrace to put on this bug report.
Comment 6 Dimitri van Heesch 2013-05-11 17:30:14 UTC
Confirmed. Should be fixed in the next subversion update.
Comment 7 Dimitri van Heesch 2013-05-19 12:36:14 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.4. 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.