From owner-freebsd-bugs Thu May 23 9:50:16 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8D50637B40C for ; Thu, 23 May 2002 09:50:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4NGo4S54331; Thu, 23 May 2002 09:50:04 -0700 (PDT) (envelope-from gnats) Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117]) by hub.freebsd.org (Postfix) with ESMTP id 48FA637B408 for ; Thu, 23 May 2002 09:47:42 -0700 (PDT) Received: from www.freebsd.org (localhost [127.0.0.1]) by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g4NGlehG064713 for ; Thu, 23 May 2002 09:47:40 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.2/8.12.2/Submit) id g4NGleGg064712; Thu, 23 May 2002 09:47:40 -0700 (PDT) Message-Id: <200205231647.g4NGleGg064712@www.freebsd.org> Date: Thu, 23 May 2002 09:47:40 -0700 (PDT) From: Jorge Lima To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/38460: core dumps with ghostscript Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 38460 >Category: misc >Synopsis: core dumps with ghostscript >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 23 09:50:04 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Jorge Lima >Release: 4.5 >Organization: FCUL >Environment: FreeBSD kdata12.fis.fc.ul.pt 4.5-RELEASE FreeBSD 4.5-RELEASE #4: Tue May 14 19:20:06 WEST 2002 root@kdata12.fis.fc.ul.pt:/usr/src/sys/compile/JMAL i386 >Description: The ghostscript terminates with a segmentation fault (generating a core dump) when called from the apsfilter. I've noticed that the offending command line option is -r'300x300', but I've also found that this option allone is harmless. Perhaps there is some interaction between this option and the specific output driver being used. Im using 'cdj970' driver and I've tried both with the ghostscript-gnu-6.52_4.tgz package found in the /packages/print directory of the 4.5 FreeBSD CDROM and the ghostscript-afpl from the ports collection, which happened to install the 7.03 version. Both gave the same results. My system is a Pentium Pro 200MHz with 96 MB of ram. >How-To-Repeat: The following command line reproduces the problem cat some_ps_file | gs -dNOPAUSE -dSAFER -sDEVICE='cdj970' -r'300x300' \ -sPAPERSIZE='a4' -sOutputFile=- - > teste.pcl >Fix: Removing the -r'300x300' option from the command line solves the problem, as far as getting the apsfilter and the printing system to work, but the ghostscript problem is still there. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message