[Doxygen-develop] 1.3.1 bug with alphabetical index
Brought to you by:
dimitri
From: Mark T. <m...@id...> - 2003-05-28 23:40:20
|
I've tried the new 1.3.1 that seems to have come out earlier in the day. Both the source and the binary die with a seg fault: Generating alphabetical compound index... QGArray::at: Absolute index 0 out of range Both 1.3 and 1.2.13.1 that I have tried operated fine. The alphabetical index for the compounds has about 200 identifiers in it so it should definitely be larger than 0. Let me know if there is anything I can do to help narrow it down. Here's the stack trace. Generating alphabetical compound index... QGArray::at: Absolute index 0 out of range Program received signal SIGSEGV, Segmentation fault. 0x8084876 in writeAlphabeticalClassList (ol=@0x9e60460) at index.cpp:1301 1301 if (toupper(cd->className().at(index))!=startLetter) // new begin letter => new header (gdb) where #0 0x8084876 in writeAlphabeticalClassList (ol=@0x9e60460) at index.cpp:1301 #1 0x8085557 in writeAlphabeticalIndex (ol=@0x9e60460) at index.cpp:1456 #2 0x806009a in generateClassDocs () at doxygen.cpp:5694 #3 0x8069bb5 in generateOutput () at doxygen.cpp:8043 #4 0x8049b98 in main (argc=2, argv=0xbffff2e4) at main.cpp:37 #5 0x400a12eb in __libc_start_main () from /lib/libc.so.6 For what it's worth the offending bit is ClassSDict::Iterator cli(Doxygen::classSDict); which is iterated a few times in the writeAlphabeticalClassList function. Apparently with my input the last item as a null QCString. If I just if(cd->className().length()>0) all of the inner portions where at(0) is called everything works fine. So somewhere previously the (null) class was being appended to the list. Mark |