public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* xfig 3.2-5c crashes with dash-dotted lines on cygwin
@ 2016-02-07 21:21 Jessica Purcell
  2016-02-08 11:46 ` xfig 3.2-5c crashes with dash-dotted lines on cygwin [attn maintainer] Marco Atzeri
  0 siblings, 1 reply; 2+ messages in thread
From: Jessica Purcell @ 2016-02-07 21:21 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: xfig 3.2-5c crashes with dash-dotted lines on cygwin [attn maintainer]
  2016-02-07 21:21 xfig 3.2-5c crashes with dash-dotted lines on cygwin Jessica Purcell
@ 2016-02-08 11:46 ` Marco Atzeri
  0 siblings, 0 replies; 2+ messages in thread
From: Marco Atzeri @ 2016-02-08 11:46 UTC (permalink / raw)
  To: cygwin



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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-08 11:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-07 21:21 xfig 3.2-5c crashes with dash-dotted lines on cygwin Jessica Purcell
2016-02-08 11:46 ` xfig 3.2-5c crashes with dash-dotted lines on cygwin [attn maintainer] Marco Atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).