|
Bugzilla – Full Text Bug Listing |
| Summary: | Factory doxygen chrashes when building libzypp documentation. | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 12.2 | Reporter: | Michael Andres <ma> |
| Component: | Development | Assignee: | Petr Gajdos <pgajdos> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Major | ||
| Priority: | P3 - Medium | ||
| Version: | Factory | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Bug Depends on: | |||
| Bug Blocks: | 755324 | ||
|
Description
Michael Andres
2012-04-03 09:22:39 UTC
I cannot reproduce with local build (zypp:Head, libzypp-11.3.0). Still, even with local build (x86_64): ma@fibonacci:libzypp (0) $ osc up U libzypp-11.3.0.tar.bz2 U libzypp.changes At revision 885. ma@fibonacci:libzypp (2) $ osc build openSUSE_Factory Building libzypp.spec for openSUSE_Factory/x86_64 ........ /home/abuild/rpmbuild/BUILD/libzypp- 11.3.0/zypp/parser/xml/ParseDefConsume.h:276: warning: unable to resolve reference to `xml::parseDefAssign' for \ref command /bin/sh: line 1: 25791 Segmentation fault /usr/bin/doxygen /home/abuild/rpmbuild/BUILD/libzypp-11.3.0/build/doc/autodoc/Doxyfile make[2]: *** [doc/autodoc/html/index.html] Error 139 Name : doxygen
Version : 1.8.0
Release : 1.1
Architecture: x86_64
Install Date: Thu 12 Apr 2012 08:13:06 AM UTC
Group : Development/Tools/Doc Generators
Size : 8686301
License : GPL-2.0+
Signature : RSA/SHA256, Tue 28 Feb 2012 01:20:35 PM UTC, Key ID b88b2fd43dbdc284
Source RPM : doxygen-1.8.0-1.1.src.rpm
Build Date : Tue 28 Feb 2012 01:19:32 PM UTC
Build Host : build16
Program received signal SIGSEGV, Segmentation fault.
QGList::append (this=0x30, d=0x5894750) at qglist.cpp:366
366 qglist.cpp: No such file or directory.
in qglist.cpp
(gdb) bt
#0 QGList::append (this=0x30, d=0x5894750) at qglist.cpp:366
#1 0x0000000000442dc5 in append (d=<optimized out>, this=<optimized out>) at ../qtools/qlist.h:61
#2 FTVHelp::decContentsDepth (this=<optimized out>) at ftvhelp.cpp:542
#3 0x0000000000433fdd in IndexList::foreach (this=<optimized out>, methodPtr=&virtual IndexIntf::decContentsDepth()) at index.h:63
#4 0x0000000000653a57 in decContentsDepth (this=<optimized out>) at index.h:123
#5 Definition::addSectionsToIndex (this=0x4638750) at definition.cpp:399
#6 0x000000000047b1c1 in writePageIndex (ol=...) at index.cpp:2826
#7 writeIndexHierarchyEntries (ol=..., entries=<optimized out>) at index.cpp:3766
#8 0x0000000000426441 in generateOutput () at doxygen.cpp:10695
#9 0x0000000000404a1e in main (argc=1, argv=0x7fffffffe2b8) at main.cpp:38
(gdb)
Yes, I got it with home:pgajdos/libzypp yet. Unfortunately, segfault in doxygen happens time to time and it is a bit insidious sometimes (see bug 753171). Brief look haven't reveal anything essential, but it looks very similar to bug 753171. Should be fixed by request from home:pgajdos. I have never used doxygen, so my findings can be wrong. After each /page, /section and /subsection follows something like reference, right? You use zypp-envars for both /page and /section in EnvironmentVariables.doc, which seems to be wrong. Minimal testcase: testcase.doc --------------------------- /** \page label Page title \section label Section title \subsection label1 Subsection title */ --------------------------- doxygen should not segfault anyway, I am going to notify upstream -- I do not know how doxygen should react in this case. Thanks. I'll add the patch you sent via obs. I have submitted svn todays doxygen's snapshot, which resolved issue with duplicate labels for me. Thanks for reporting and cooperation. This is an autogenerated message for OBS integration: This bug (755402) was mentioned in https://build.opensuse.org/request/show/113917 Factory / doxygen |