ghostscript segfaults on ppc

Bug #19327 reported by Andy Wingo
6
Affects Status Importance Assigned to Milestone
gs-gpl (Ubuntu)
Fix Released
Medium
Ian Jackson

Bug Description

I get segfaults doing things with ghostscript on ppc. I'm building gstreamer
0.9, for the record -- these errors show up when building documentation. This is
with Broken^WBreezy Badger ;-)

ps2pdf segfaults converting the first attachment to pdf.
gs segfaults converting an eps file to png (second attachment).

Revision history for this message
Andy Wingo (andywingo) wrote :

Created an attachment (id=3138)
Postscript file that makes ps2pdf segfault

Revision history for this message
Andy Wingo (andywingo) wrote :

Created an attachment (id=3139)
converting fig to png fails

Error in ghostcript command
command was: gs -q -dSAFER -sDEVICE=png16m -r80 -g577x192
-sOutputFile=build/images/bin-element.png -
*** glibc detected *** double free or corruption (!prev): 0x10091818 ***

Revision history for this message
Andy Wingo (andywingo) wrote :

Just running gs segfaults:

0x10099870 in gs_alloc_string_ref ()
(gdb) bt
#0 0x10099870 in gs_alloc_string_ref ()
#1 0x1009a2f8 in gs_gc_reclaim ()
#2 0x100e0270 in gs_image2_t_init ()
#3 0x100e0270 in gs_image2_t_init ()

Rillian suggested it might be a gcc4 bug.

Revision history for this message
Siep Kroonenberg (siepo) wrote :

On my Breezy powerpc system both gs-gpl and gs-afpl also segfault. gs-esp is ok.

Matt Zimmerman (mdz)
Changed in gs-gpl:
assignee: nobody → pitti
Revision history for this message
Martin Pitt (pitti) wrote :

Ian, can you please take a look at this? Thank you!

Changed in gs-gpl:
assignee: pitti → ijackson
Revision history for this message
Ian Jackson (ijackson) wrote :

I think this was fixed at some point in the breezy cycle. In any case, ps2pdf works fine on that file using gs-gpl 8.15-4ubuntu1 on davis.

If anyone is having difficulty on dapper, would they please file a new report. Thanks.

Changed in gs-gpl:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.