GNOME Bugzilla – Bug 695974
Fortran: Stack buffers nested too deeply
Last modified: 2013-05-21 15:49:41 UTC
In the StackOverflow forum the following error message was posted: Searching for files in directory E:/test Reading and parsing tag files Reading E:/test/test1.f90... Parsing file E:/test/test1.f90... Exiting... Stack buffers nested too deeply *** Doxygen has finished (see http://stackoverflow.com/questions/15396706/doxygen-with-fortranstack-buffers-nested-too-deeply) Some investigations lead to: In the code it is used as a result of a call to the routine pushBuffer. The used stack there has a size of 10, this can be increased. From the code I can see e.g. the situation that this happens when you have quite a few number of statements on one line like:i=1; i=1; i=1; i=1; i=1; i=1; i=1; i=1; i=1; i=1; i=1; i=1; i=1; i=1; i=1; i=1; i=1; i=1; i=1; i=1; There is also a condition in the prepass phase but I don't see an example of this that fast.
Created attachment 239033 [details] [review] PATCHL: reallocate buffer so no error for nested too deeply can occur Replaced the fixed buffer with a reallocated buffer so the problem of the buffer: "Stack buffers nested too deeply" cannot occur anymore.
Thanks, I'll include the patch in the next subversion update.
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.
Code has been integrated and is working as expected.