This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Bug report: fig2dev -L latex segfaults on cygwin


Hello,
fig2dev version 3.2.4 crashes when converting certain line styles to 
latex.
I could reproduce the crash only on Cygwin, on Linux the translation 
works somehow
(the line style is apparently not supported and is replaced by the 
default one).

Here is the test case:
$ cat crashes-on-cygwin.fig
#FIG 3.2
Portrait
Center
Inches
Letter
100.00
Single
-2
1200 2
2 4 3 1 0 7 50 -1 -1 4.000 0 0 7 0 0 5
         1125 2850 600 2850 600 2250 1125 2250 1125 2850
$ fig2dev.exe -L latex crashes-on-cygwin.fig
\setlength{\unitlength}{3947sp}%
%
\begingroup\makeatletter\ifx\SetFigFont\undefined%
\gdef\SetFigFont#1#2#3#4#5{%
  \reset@font\fontsize{#1}{#2pt}%
  \fontfamily{#3}\fontseries{#4}\fontshape{#5}%
  \selectfont}%
\fi\endgroup%
\begin{picture}(549,624)(589,-2023)
\thinlines
{\color[rgb]{0,0,0}\put(706,-1906){\oval(210,210)[bl]}
\put(706,-1516){\oval(210,210)[tl]}
\put(1021,-1906){\oval(210,210)[br]}
\put(1021,-1516){\oval(210,210)[tr]}
Segmentation fault (core dumped)

The example and the system details are in the attachment.

/Ilya

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]