stack smashing detected (doxygen 1.6.1)

View: New views
1 Messages — Rating Filter:   Alert me  

stack smashing detected (doxygen 1.6.1)

by Neil Bird :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


   I'm trying to run doxygen over our source here, and I'm getting:

...
Resolving user defined references...
Finding anchors and sections in the documentation...
Combining using relations...
Adding members to index pages...
Generating style sheet...
*** stack smashing detected ***: bin/doxygen terminated


   This is on CentOS 5.3 with a locally built doxygen 1.6.1.  I had
previously  been using a locally built 1.5.6 on Fedora 7 but had to replace
my machine as it was dying.

   If I try any [local] build of 1.5.6, 1.5.7, 1.5.8 or 1.5.9 I get errors
where dot [graphviz 2.12] generates zero-length PNG files (and SVG files
that crash inkscape when I try to use the .dot files created by doxygen;  to
be fair, I don't know whether this is doxygen's .dot file or dot itself
that's wrong).

   Regardless, I would prefer to use the latest doxygen as that would seem
most likely to have fixed any dot-file generation bug.  I have done a
working run with 1.5.9 and DOT disabled;  1.6.1 still stack-smashes with DOT
disabled.


   I threw a smattering of debug into the main routine, and it looks like
writeSearchIndex in index.cpp is the routine the appears to contain the
scribble (or something it calls).  Unfortunately, it's quite a big routine
to try to break up into smaller ones that might highlight the issue further.


   FWIW, I did do a run under valgrind before I found that that can't help
find stack smashing errors, and I got:

==16109== Conditional jump or move depends on uninitialised value(s)
==16109==    at 0x82B19D3: Definition::_setBriefDescription(char const*,
char const*, int) (definition.cpp:468)
==16109==    by 0x8280B7B: ClassDef::addMembersToTemplateInstance(ClassDef*,
char const*) (in /local/nabird/rpmbuild/BUILD/doxygen-1.6.1/bin/doxygen)
==16109==    by 0x805EF3A: createTemplateInstanceMembers() (in
/local/nabird/rpmbuild/BUILD/doxygen-1.6.1/bin/doxygen)
==16109==    by 0x807109B: parseInput() (in
/local/nabird/rpmbuild/BUILD/doxygen-1.6.1/bin/doxygen)
==16109==    by 0x8049C0D: main (main.cpp:37)

   .. which I *think* is a red herring given some debug I tried to add
around that routine's call.


   So, any ideas on what to try next?

--
[neil@fnx ~]# rm -f .signature
[neil@fnx ~]# ls -l .signature
ls: .signature: No such file or directory
[neil@fnx ~]# exit

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Doxygen-users mailing list
Doxygen-users@...
https://lists.sourceforge.net/lists/listinfo/doxygen-users