Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jan 2002 10:28:51 -0800 (PST)
From:      Bengt Ahlgren <bengta@sics.se>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/33479: ghostscript hpijs 1.0 driver dumps core when compiled with -O
Message-ID:  <200201021828.g02ISpO13429@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         33479
>Category:       ports
>Synopsis:       ghostscript hpijs 1.0 driver dumps core when compiled with -O
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 02 10:30:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Bengt Ahlgren
>Release:        4.3-RELEASE
>Organization:
SICS
>Environment:
>Description:
      The hpijs 1.0 driver of ghostscript suffers from pointer
corruption when compiled with optimisation resulting in bus error or
segmentation violation.
>How-To-Repeat:
      Compile the ghostscript{,-afpl} port "out of the box" and run:

> gs -dSAFER -dBATCH -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="DESKJET 980C" -sOutputFile=foo -
AFPL Ghostscript 7.03 (2001-10-20)
Copyright (C) 2001 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Bus error - core dumped
unable to spawn ijs server=hpijs

>Fix:
      Compiling hpijs without -O cures the problem. Also see:

http://sourceforge.net/forum/forum.php?thread_id=622951&forum_id=53439
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201021828.g02ISpO13429>