Bug 919308

Summary: SIGSEGV on one particular case
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: graphvizAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: alex, jima, jskarvad, tremble
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: graphviz-2.28.0-27.fc18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-17 00:33:14 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:
Attachments:
Description Flags
Proposed fix none

Description Miro Hrončok 2013-03-08 03:06:21 UTC
Description of problem:
When I run `dot  -Tsvg -O  file.dot` on this code:

digraph d {
	edge [constraint=false];
	a -> b;
	b -> a [label="whatever"];
}

It SIGSEGVs.

Version-Release number of selected component (if applicable):
2.28.0-26.fc18

How reproducible:
Always.

Steps to Reproduce:
Save this code to a file and run the command.
  
Actual results:
SIGSEGV

Expected results:
Output should be created or an actual error should be shown, if there is a mistake in the code.

Comment 1 Miro Hrončok 2013-03-10 10:53:58 UTC
*** Bug 919704 has been marked as a duplicate of this bug. ***

Comment 2 Fedora Admin XMLRPC Client 2013-08-16 04:44:07 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Mat Booth 2013-08-31 18:58:16 UTC
This seems to be fixed in graphviz-2.30.1-10.fc19.x86_64 that is available in F19 -- I do not see the segfault that you are seeing.

Maybe 2.30.1 should be back-ported to F18?

Comment 4 Miro Hrončok 2013-08-31 22:24:19 UTC
(In reply to Mat Booth from comment #3)
> This seems to be fixed in graphviz-2.30.1-10.fc19.x86_64 that is available
> in F19 -- I do not see the segfault that you are seeing.
Yes, it works for me also.

> Maybe 2.30.1 should be back-ported to F18?
Definitively.

Comment 5 Jaroslav Škarvada 2013-09-02 12:29:25 UTC
Created attachment 792815 [details]
Proposed fix

-1 for the rebase

Comment 6 Fedora Update System 2013-09-02 13:08:44 UTC
graphviz-2.28.0-27.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/graphviz-2.28.0-27.fc18

Comment 7 Fedora Admin XMLRPC Client 2013-09-02 13:38:24 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 8 Fedora Update System 2013-09-02 23:33:36 UTC
Package graphviz-2.28.0-27.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing graphviz-2.28.0-27.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-15690/graphviz-2.28.0-27.fc18
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2013-09-17 00:33:14 UTC
graphviz-2.28.0-27.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.