Re: [Doxygen-users] Segfault
Brought to you by:
dimitri
From: John S. <joh...@se...> - 2001-07-03 07:01:04
|
> > > > As workaround I put an if clause around the cl=fd->getUsedClasses() in > > function findClassDefinition in doxygen.cpp: > > > > if ( fd ) { > > cl = fd->getUsedClasses(); > > } > > > > After that it works for me, and the resulting Documentation seems to be ok. > > > > Any hint where I should look in the docu what could be missing? > > > > Your fix is correct. This is a bug. > > ... > > > --- > > > > PPS: How can I activate the debugging output of Doxygen? I converted all > > Debug::print commands that interested me to printf to find the error ... > > doxygen -d debug_option [ -d debug_option ... ] > > can be used for this, where "debug_option" is one of > the things mentioned in the DebugMask enum in src/debug.h > I also spent a couple of hours tracking down this bug, and in the process discovered another one: - if you do run doxygen with "-d FindMembers" then the Debug::print() function itself crashes as it tries to interpret NULL as a string :-( (this is Doxygen compiled with Sun's Solaris C++ compiler). Cheers, John |