X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:date:message-id:subject:from:to
	:content-type; q=dns; s=default; b=PAz22NgqNmdUNrBX7Jr8/lO7gNIyg
	tz2UK2KYc7NTiSqAeIIg+P5kKgV0u5BoT0tjjFESUtuDyzKLCqYabalSG2x5RgsT
	bwOcYGQjXn6PZJzYAB0M0BR2bXGs5p51gOYwGqb31fLGMm/EcJxYCHPoA2ByiU8y
	LkDPgN0+55Vn3U=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:date:message-id:subject:from:to
	:content-type; s=default; bh=E9of2kDc5O/o2DOgghWjoGshQJk=; b=f/3
	blR1pCCsO/Sw7RGTZF/cC+22fTZUhHbctL55FlVFb+D8coLd1EkWW+81PFy+kohJ
	i3Q/nBKB3zRt74e/n05TPr2dp4tx/IjbxFWJlWNpU2afy2GzGwqqY3POxmQE4RCZ
	zSqGPl7AZuRckAq6cmrb+fkg/DgivDiLIszss8Vo=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Draw, Hx-languages-length:1757, solid, site
X-HELO: mail-ob0-f171.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:mime-version:date:message-id:subject:from:to         :content-type;        bh=gt6OqG5WhZhK8wlmgzcIQu5M0igshdsnU/0wVH5nheE=;        b=AvhafaS+HJ/oPmug3aWqFCVFW2MxshbPO3n4PjvwxqxUP+Dzc+2LTmhnpc7aj4mNCx         DPN3QNT7k35M/dO7QhfSJsomCAK5u47C4wqt/sgIGIS3dEwP9lApT7HiNSk57BlVWoAV         DyQ332jfVje80+GWuat+oKFoH4mPKf5gDD0GUx/+/tFUKsgELTre/lEk9FDig53TSdP2         RIuQgk2kDIeSqFHF0iltb9rP4Zu5LrhjtEITAbNPKEHs44LfhnlHOsT7B91GEkMGn3sF         IkykT+0dMZQgXQdApJV/uZTLKSLb0zgaQEqpe8Cr3IbfL10bdnRBCLzx4fok0WJ2KtiB         EjHw==
X-Gm-Message-State: AG10YOSCYlf+oJOo7iMWvuMGP/uH3btLoo56A6NM17jOz65OE7U46btL0Txz3g0CKYYGr7VCf6h3+9e4Rfa7/Q==
MIME-Version: 1.0
X-Received: by 10.60.140.129 with SMTP id rg1mr21197603oeb.25.1454880089637; Sun, 07 Feb 2016 13:21:29 -0800 (PST)
Date: Mon, 8 Feb 2016 08:21:29 +1100
Message-ID: <CAEvU9Q5T1Auv4yq8oxjBPfutKVGr8C7opZP6ppgqo_TFuOZhDQ@mail.gmail.com>
Subject: xfig 3.2-5c crashes with dash-dotted lines on cygwin
From: Jessica Purcell <jessica.purcell@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8

When I attempt to create or read in an object with line_style
dash-dotted, xfig crashes with the following message:

xfig3.2.5c: SIGSEGV signal trapped
xfig: attempting to save figure
xfig: 1 object(s) saved in ".../SAVE.fig"

[1]    Abort                         xfig -specialtext -latexfonts
-startlatexFont default (core dumped)


Here is how I got the crash:
1. Start xfig.
2. Select polyline.
3. Select line_style dash-dotted (internal code 3)
4. Draw polyline.
Xfig crashes.

Similarly, if I try to open a .fig file containing an object with
line_style dash-dotted, xfig crashes with a similar message:

xfig3.2.5c: SIGSEGV signal trapped
xfig: Figure is empty or not modified - exiting without saving.

[1]    Abort                         xfig -specialtext -latexfonts
-startlatexFont default SAVE.fig (core dumped)


Creating and reading in files using solid (code 0), dashed (code 1),
or dotted (code 2) lines causes no problems. Dash-dot-dot and
dash-dot-dot-dot (codes 4 and 5) also cause a crash.

***

After doing a little searching for this error, I found nothing on the
cygwin site. I did find some discussion of (what sounds like) the same
error on a couple of linux sites, from 2014:

http://lists.opensuse.org/opensuse-updates/2014-02/msg00049.html
http://lists.opensuse.org/opensuse-bugs/2014-01/msg02798.html
https://bugzilla.redhat.com/show_bug.cgi?id=1023744

A proposed fix for ubuntu:
http://rlog.rgtti.com/2014/06/26/quick-fix-xfig-bug/comment-page-1/

I did try reinstalling xfig on cygwin, to make sure I had the most
current version, in case this bug had been fixed, since this seems to
be a known error. Then I repeated the steps above. Xfig still crashed.

Any way for me to get a version of xfig on cygwin with this bug fixed?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

