xfig 3.2-5c crashes with dash-dotted lines on cygwin [attn maintainer]

Marco Atzeri marco.atzeri@gmail.com
Mon Feb 8 11:46:00 GMT 2016



On 07/02/2016 22:21, Jessica Purcell wrote:
> 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/


Fedora seems to use similar solution:
http://pkgs.fedoraproject.org/cgit/rpms/xfig.git/commit/?id=0dee41b56424f903d39d68f860684ad19712ff85


> 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?
>
> --

Volker,

fedora seems to have some additional patches
http://pkgs.fedoraproject.org/cgit/rpms/xfig.git/tree/

including one regarding fonts that may be solve
https://www.cygwin.com/ml/cygwin/2015-10/msg00578.html

Regards
Marco



--
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



More information about the Cygwin mailing list