delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/07/09:49:06

X-Spam-Check-By: sourceware.org
Message-ID: <15464636.1144417735692.JavaMail.tomcat@pne-ps2-sn2>
Date: Fri, 7 Apr 2006 15:48:55 +0200 (MEST)
From: ilya beilin <ilya AT telia DOT com>
Reply-To: ilya beilin <ilya AT telia DOT com>
To: cygwin AT cygwin DOT com
Subject: Bug report: fig2dev -L latex segfaults on cygwin
Cc: xfig-bugs AT epb1 DOT lbl DOT gov
Mime-Version: 1.0
X-clientstamp: [213.66.167.99]
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019