pcb

pcb segfaults when attempting postscript export

Bug #1242828 reported by ronald miloh alexander
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
pcb
Fix Released
Undecided
Unassigned

Bug Description

a pcb layout I'm working on segmentation faults when exporting to postscript.

I'm going to spend some time manually reverting changes to the layout and run a diff to find out what is causing the issue

Revision history for this message
ronald miloh alexander (miloh) wrote :

eps export works.

Revision history for this message
Bert Timmerman (bert-timmerman) wrote :

Hi Ronald,

I cannot reproduce this bug.

Could you please give instructions how to reproduce this segmentation fault.

Mentioning of the PCB version and Operating System (including version and patch level) you used would help.

A minimal pcb file giving the segfault would help too.

Kind regards,

Bert Timmerman.

Changed in pcb:
status: New → Incomplete
Revision history for this message
Steve Morphet (s-steve) wrote :

I'm not the original reporter, but here's an example file that causes behaviour similar to that described. A small polygon is completely covered by the width/clearance of a line. Attempting to export to PS causes a segmentation fault.

PCB version is 20140316. OS is Ubuntu 12.04.

Steve Morphet (s-steve)
Changed in pcb:
status: Incomplete → Confirmed
description: updated
Revision history for this message
stan katz (stan-katz-hk) wrote :

As per request by miloh, I have attached my pcb file that segfaults in 1.9.1 and 20140316 when exporting to Postscript on my Debian Jessie amd64 system. This bug has remained on my system through at least 3 Jessie distribution updates.

Revision history for this message
DJ Delorie (djdelorie) wrote :

Reproduced. poly_callback() in draw.c is not checking for polygons "cleard out of existence" (and thus have Clipped==NULL). Not sure where the error is - trying to draw those polygons, or the fact that one of them has Clipped==NULL.

Traumflug (mah-jump-ing)
Changed in geda-project:
importance: Undecided → Critical
status: New → Confirmed
Revision history for this message
Traumflug (mah-jump-ing) wrote :
Revision history for this message
Traumflug (mah-jump-ing) wrote :

I mean, I can confirm the segfault before this commit and no longer experience it after.

Changed in geda-project:
status: Confirmed → Fix Committed
Traumflug (mah-jump-ing)
Changed in geda-project:
status: Fix Committed → Fix Released
tags: added: ps-export segfault
Revision history for this message
Chad Parker (parker-charles) wrote :

marking fixed

Changed in pcb:
status: Confirmed → 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.