Bug 1537522 - Segmentation fault processing graph on i686
Summary: Segmentation fault processing graph on i686
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: graphviz
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1541436
TreeView+ depends on / blocked
 
Reported: 2018-01-23 12:43 UTC by Tom Hughes
Modified: 2018-02-03 08:09 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-02-03 08:09:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
failing dot file (22.15 KB, text/vnd.graphviz)
2018-01-23 12:43 UTC, Tom Hughes
no flags Details

Description Tom Hughes 2018-01-23 12:43:34 UTC
Created attachment 1384856 [details]
failing dot file

Description of problem:

The latest graphviz is segving (on i686 only) converting the attached file.

The 2.40.1-16.fc28.i686 works while the 2.40.1-18.fc28.i686 build fails

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

graphviz-2.40.1-18.fc28.i686

How reproducible:

Every time.

Steps to Reproduce:
1. dot multipolygon__collector_8hpp__incl.dot -Tpng -o multipolygon__collector_8hpp__incl.png

Actual results:

dot segvs with no output.

Expected results:

dot produces output.

Comment 1 MartinKG 2018-02-02 15:21:20 UTC
same behaviour in ticket 1541436
build log: https://kojipkgs.fedoraproject.org//work/tasks/2707/24642707/build.log

Comment 2 Tom Hughes 2018-02-02 15:23:45 UTC
Yes I believe this affects any package using doxygen to build documentation - that is certainly how I found it.

The outcome is that doxygen fails to build the graphs but doesn't actually abort the documentation build so you just wind up with missing graphs, and the dot input files left in the documentation tree instead of being cleaned.

After that if the doco is put in an arched rpm it will just be wrong and if (as is common) it is put in a noarch rpm then it won't match the other arches and the koji build will fail as a result.

Comment 3 Jaroslav Škarvada 2018-02-02 15:52:58 UTC
We have graphviz-2.40.1 for more than year. Between 2.40.1-16 and 2.40.1-18 there was only rebuild for new dep (which seems unrelated), so it's interesting that it started segfaulting.

Comment 4 Tom Hughes 2018-02-02 15:54:41 UTC
Yes I got roughly as far as figuring out that nothing really changed and going WTF a lot...

Comment 5 Mamoru TASAKA 2018-02-03 05:02:29 UTC
graphviz-2.40.1-18.fc28.i686 is compiled with gcc-7.2.1-7.fc28 -march=i686 -fstack-clash-protection , so maybe this graphiviz hit bug 1536555 (at least openssh, rpm got broken by this compination).

Maybe rebuilding with latest gcc helps.

Comment 6 Mamoru TASAKA 2018-02-03 06:16:40 UTC
(In reply to Tom Hughes from comment #0)
> Created attachment 1384856 [details]
> failing dot file
> 

This test case seems okay with rawhide i386 mock environ and graphviz-2.40.1-19.fc28.i686

Comment 7 Tom Hughes 2018-02-03 08:09:36 UTC
Yes that seems to have fixed it.


Note You need to log in before you can comment on or make changes to this bug.