Package: doxygen
Version: 1.4.6-1
Severity: important
Hi,
Currently the llvm package fails to build from source due to problems with
doxygen (bug 345952). By building doxygen with -g -O0 options and running
the command 'doxygen ./doxygen.cfg' under gdb in the llvm/docs directory
of the llvm 1.6-1 source tree, I was able to get the following stack trace
for this failure:
[...]
Generating code for file PPCCodeEmitter.d...
Generating code for file PPCFrameInfo.h...
Generating code for file PPCGenAsmWriter.inc...
*** glibc detected *** realloc(): invalid next size: 0x094dff08 ***
Program received signal SIGABRT, Aborted.
0xb7d2b7c7 in raise () from /lib/tls/libc.so.6
(gdb) bt
#0 0xb7d2b7c7 in raise () from /lib/tls/libc.so.6
#1 0xb7d2d06b in abort () from /lib/tls/libc.so.6
#2 0xb7d62525 in __fsetlocking () from /lib/tls/libc.so.6
#3 0xb7d6a96e in free () from /lib/tls/libc.so.6
#4 0xb7d6b3d9 in realloc () from /lib/tls/libc.so.6
#5 0x0821faf3 in QCString::resize (this=0xbfa8763c, newlen=626) at
scstring.cpp:98
#6 0x0821fc84 in QCString::sprintf (this=0xbfa8763c,
format=0x82d3697 "%p:%p:%p:%s") at scstring.cpp:145
#7 0x0817842d in isAccessibleFromWithExpScope (scope=0x88eaa20,
fileScope=0x8b8bec0, item=0x94bad90, [EMAIL PROTECTED])
at util.cpp:893
#8 0x08179a71 in getResolvedClassRec (scope=0x88eaa20, fileScope=0x8b8bec0,
n=0x94dfa08 "case PPC::ADD4 case PPC::ADDC case PPC::ADDE case PPC::AND case
PPC::ANDC case PPC::ANDo case PPC::CMPD case PPC::CMPLD case PPC::CMPLW case PPC::CMPW
case PPC::DIVW case PPC::DIVWU case PPC::EQV case"..., pTypeDef=0x0,
pTemplSpec=0x0) at util.cpp:1149
#9 0x08179eee in getResolvedClass (scope=0x88eaa20, fileScope=0x8b8bec0,
n=0x94dfa08 "case PPC::ADD4 case PPC::ADDC case PPC::ADDE case PPC::AND case
PPC::ANDC case PPC::ANDo case PPC::CMPD case PPC::CMPLD case PPC::CMPLW case PPC::CMPW
case PPC::DIVW case PPC::DIVWU case PPC::EQV case"..., pTypeDef=0x0,
pTemplSpec=0x0, mayBeUnlinkable=false, mayBeHidden=false) at util.cpp:1317
#10 0x081a9af0 in VariableContext::addVariable (this=0x8662d40, [EMAIL
PROTECTED],
[EMAIL PROTECTED]) at code.l:226
#11 0x081ae433 in codeYYlex () at code.l:2481
#12 0x081b0e66 in parseCCode ([EMAIL PROTECTED], className=0x0, [EMAIL
PROTECTED],
exBlock=false, exName=0x0, fd=0x8b8bec0, startLine=-1, endLine=-1,
inlineFragment=false, memberDef=0x0) at code.l:3135
#13 0x0814fb86 in CLanguageScanner::parseCode (this=0x88eb3e8,
[EMAIL PROTECTED], scopeName=0x0, [EMAIL PROTECTED],
isExampleBlock=false, exampleName=0x0, fileDef=0x8b8bec0, startLine=-1,
endLine=-1, inlineFragment=false, memberDef=0x0) at scanner.l:4748
#14 0x0807a1a4 in FileDef::writeSource (this=0x8b8bec0, [EMAIL PROTECTED])
at filedef.cpp:662
#15 0x0804d379 in generateFileSources () at doxygen.cpp:6286
#16 0x080569a2 in generateOutput () at doxygen.cpp:9062
#17 0x0804a021 in main (argc=2, argv=0xbfa87bc4) at main.cpp:37
I've tried to run it under valgrind, but after running for a while it died
with internal error (!). Valgrind did find some memory access errors
though, so I've made the complete log available at:
http://www.wooyd.org/misc/doxygen-valgrind.log
Hope it helps,
Jurij Smakov [EMAIL PROTECTED]
Key: http://www.wooyd.org/pgpkey/ KeyID: C99E03CC
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]