Bug 1413296

Summary: doxygen crash building libosmium documentaion
Product: [Fedora] Fedora Reporter: Tom Hughes <tom>
Component: doxygenAssignee: Than Ngo <than>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: besser82, than
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: doxygen-1.8.13-2.fc26 doxygen-1.8.13-2.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-20 18:06:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1400748    
Attachments:
Description Flags
Patch to apply upstream fix none

Description Tom Hughes 2017-01-14 16:22:21 UTC
Description of problem:

Since the update to doxygen 1.8.13 builds of libosmium have been failing in rawhide as doxygen is crashing. Here's the last working koschei build from 27th December:

http://koji.fedoraproject.org/koji/taskinfo?taskID=17086381

and here's one two days later with the new doxygen:

http://koji.fedoraproject.org/koji/taskinfo?taskID=17109257

Backtrace for the crash is:

#0  generateXMLForMember (md=md@entry=0x555556cb8620, ti=..., t=..., 
    def=def@entry=0x555556b27b70)
    at /usr/src/debug/doxygen-1.8.13/src/xmlgen.cpp:623
#1  0x0000555555a6bd59 in generateXMLSection (d=d@entry=0x555556b27b70, 
    ti=..., t=..., ml=ml@entry=0x555556cbad10, kind=0x555555dd10bd "friend", 
    header=header@entry=0x0, documentation=0x0)
    at /usr/src/debug/doxygen-1.8.13/src/xmlgen.cpp:1066
#2  0x0000555555a6d89e in generateXMLForClass (cd=0x555556b27b70, ti=...)
    at /usr/src/debug/doxygen-1.8.13/src/xmlgen.cpp:1390
#3  0x0000555555a719f4 in generateXML ()
    at /usr/src/debug/doxygen-1.8.13/src/xmlgen.cpp:1919
#4  0x0000555555810012 in generateOutput ()
    at /usr/src/debug/doxygen-1.8.13/src/doxygen.cpp:11590
#5  0x00005555557c58de in main (argc=2, argv=0x7fffffffd818)
    at /usr/src/debug/doxygen-1.8.13/src/main.cpp:38

Which looks like it is the regression described at https://bugzilla.gnome.org/show_bug.cgi?id=776791 in the upstream tracker with fix in this PR on github:

https://github.com/doxygen/doxygen/pull/555

Could we get that patched into the Fedora build please?

Version-Release number of selected component (if applicable):

doxygen-1.8.13-1.fc26.x86_64

Comment 1 Tom Hughes 2017-01-14 20:24:10 UTC
Created attachment 1240813 [details]
Patch to apply upstream fix

I have now confirmed that building doxygen with this distgit patch to apply the upstream patch fixes the crash building libosmium.

Comment 2 Fedora Update System 2017-01-17 17:16:25 UTC
doxygen-1.8.13-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-8636cd5bf0

Comment 3 Björn Esser (besser82) 2017-01-17 17:17:49 UTC
New build has been tagged into f25-overrides, too.

Comment 4 Björn Esser (besser82) 2017-01-17 19:56:45 UTC
Version in Rawhide has been fixed…

Comment 5 Fedora Update System 2017-01-19 09:10:13 UTC
doxygen-1.8.13-2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-8636cd5bf0

Comment 6 Fedora Update System 2017-01-20 18:06:23 UTC
doxygen-1.8.13-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.