Subject: Re: ps2pdf
To: Jeremy C. Reed <reed@reedmedia.net>
From: Jan Danielsson <jan.m.danielsson@gmail.com>
List: netbsd-users
Date: 04/17/2007 02:22:32
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig0F9CA57A2B88214607345DD2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Jeremy C. Reed wrote:
>> If I just run it, it'll display a help screen as expected. But when=
I
>> run it against a postscript file, it crashes. 100% reproducible.
>=20
> What happens when it crashes?
$ ps2pdf technical.ps
Bus error (core dumped)
> Do you get a core dump?
Yepp!
> Also can you run it with ktrace? (And provide us with last several line=
s=20
> of kdump?)
Hmm... Not sure how much is required to make any sense of it.. This
just looks like a bunch of seeks and writes..
28820 gs CALL write(4,0x8dc000,0x18)
28820 gs GIO fd 4 wrote 24 bytes
"\M-P \0\0\0\0\0\0\M-P \0\0\0\0\0\0\M-Y
\0\0\0\0\0\0"
28820 gs RET write 24/0x18
28820 gs CALL lseek(4,0,0,1)
28820 gs RET lseek 160/0xa0
28820 gs CALL lseek(4,0,0x98,0)
28820 gs RET lseek 152/0x98
28820 gs CALL write(4,0x8dc000,8)
28820 gs GIO fd 4 wrote 8 bytes
"\0\^Q\0\0\0\0\0\0"
28820 gs RET write 8
28820 gs CALL lseek(4,0,0xa0,0)
28820 gs RET lseek 160/0xa0
28820 gs CALL write(4,0x8dc000,0x10)
28820 gs GIO fd 4 wrote 16 bytes
"\M^F\0\0\0\0\0\0\M^@\M-$\0\0\0\0\0\0\M^@"
28820 gs RET write 16/0x10
28820 gs CALL write(8,0xcf7000,0x26)
28820 gs GIO fd 8 wrote 38 bytes
"endstream
endobj
20 0 obj
1768
endobj
"
28820 gs RET write 38/0x26
28820 gs CALL write(5,0xbcb000,0x54)
28820 gs GIO fd 5 wrote 84 bytes
"21 0 obj
<</R7
7 0 R>>
endobj
22 0 obj
<</R14
14 0 R/R12
12 0 R/R10
10 0 R>>
endobj
"
28820 gs RET write 84/0x54
28820 gs CALL close(3)
28820 gs RET close 0
28820 gs CALL lseek(4,0,0,1)
28820 gs RET lseek 176/0xb0
28820 gs CALL lseek(4,0,0x18,0)
28820 gs RET lseek 24/0x18
28820 gs CALL write(4,0x8dc000,8)
28820 gs GIO fd 4 wrote 8 bytes
"\^U\^Q\0\0\0\0\0\0"
28820 gs RET write 8
28820 gs CALL lseek(4,0,0xb0,0)
28820 gs RET lseek 176/0xb0
28820 gs CALL lseek(4,0,0x88,0)
28820 gs RET lseek 136/0x88
28820 gs CALL write(4,0x8dc000,8)
28820 gs GIO fd 4 wrote 8 bytes
"\M-5\^Q\0\0\0\0\0\0"
28820 gs RET write 8
28820 gs CALL lseek(4,0,0xb0,0)
28820 gs RET lseek 176/0xb0
28820 gs PSIG SIGBUS SIG_DFL
28820 gs NAMI "gs.core"
> I use it frequently, but not on amd64. The version I am currently using=
is=20
> from ghostscript-gnu-8.15nb3 package.
$ whichpackage ps2pdf
ghostscript-8.54nb2
--=20
Kind regards,
Jan Danielsson
--------------enig0F9CA57A2B88214607345DD2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)
iD8DBQFGJBNOuPlHKFfKXTYRCsD1AJ9U5lvcn+bsBJuplIbyjlhPbpX+aQCePPic
NPXRxrZN9vZ6H1rZa7uk6Fs=
=hJvm
-----END PGP SIGNATURE-----
--------------enig0F9CA57A2B88214607345DD2--