Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash with TAB_SIZE=-1 (Origin: bugzilla #702590) #5216

Closed
doxygen opened this Issue Jul 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@doxygen
Copy link
Owner

doxygen commented Jul 2, 2018

status VERIFIED severity major in component general for ---
Reported in version 1.8.4 on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2013-06-18 18:31:57 +0000, albert wrote:

I tried TAB_SIZE = -1 (version 1.8.4 on windows) and got a crash (Doxyfile is further a standard Doxyfile). When trying my local version under cygwin I got:
Warning: argument `-1' for option TAB_SIZE is not a valid number in the range [1..16]!
Using the default: 4!

Program received signal SIGSEGV, Segmentation fault.
0x004211c7 in adjustConfiguration() ()
(gdb) where

0 0x004211c7 in adjustConfiguration() ()

1 0x0040119f in main ()

Bij de warde 0:
Warning: argument `0' for option TAB_SIZE is not a valid number in the range [1..16]!
Using the default: 4!
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 /cygdrive/d/speeltuin/new_config
Reading and parsing tag files
Parsing files
Preprocessing /cygdrive/d/speeltuin/new_config/aa.c...

Program received signal SIGFPE, Arithmetic exception.
0x00515ab9 in commentcnvYYlex() ()
(gdb) where

0 0x00515ab9 in commentcnvYYlex() ()

1 0x0051ab48 in convertCppComments(BufStr*, BufStr*, char const*) ()

2 0x0040dcdd in parseFiles(Entry*, EntryNav*) ()

3 0x0042dd17 in parseInput() ()

4 0x004011a5 in main ()

Source code:
/** @file aa.c

  • docu aa
    */

/** @brief docu fie
*/
void fie(void)
{
int i;
}

(NOTE: before int i; is a )

On 2013-06-18 18:35:25 +0000, albert wrote:

Created attachment 247201
Source file and Doxyfile to reproduce bug

On 2013-06-18 18:59:16 +0000, Dimitri van Heesch wrote:

Confirmed. Should be fixed in the next GIT update.

On 2013-08-23 15:04:46 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.5. 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.

On 2013-08-23 16:58:17 +0000, albert wrote:

Boundaries of TAB_SIZE are handled correctly now.

@doxygen doxygen closed this Jul 19, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.