You are not logged in.

#1 2012-04-03 22:41:37

djpohly
Member
Registered: 2007-08-14
Posts: 25

stacktrace for gs segfault when printing

So I'm trying to diagnose a segfault that's happening every time I try to print a PDF or PostScript document.  It shows up in dmesg, and the printer gives me a single blank page.  Problem is, I can't reproduce it when I manually run the command I got from the foomatic debug log.

$ lp test.pdf
(blank page prints)
$ dmesg | tail -1
[1890046.504946] gs[6260]: segfault at 7fe8000001cf ip 000000000065b24c sp 00007fffab64e2a8 error 4 in gs[400000+604000]
$ gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="HP LaserJet" -dDuplex=true -dTumble=false -r300 -sIjsParams=Quality:Quality=0,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=0,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=- - < test.pdf > test.prn
$ lp test.prn
(document prints)

Anyone know how I might go about getting a proper stacktrace or coredump from the instance that's crashing?

Offline

Board footer

Powered by FluxBB