pcb2gcode throws exception and fails on launch

Bug #1085533 reported by Angus Gratton
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
pcb2gcode (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Running the current ubuntu quantal version of pcb2gcode (1.1.4-git20110915-1build1), it crashes at launch while parsing program options:

$ pcb2gcode
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::program_options::multiple_occurrences> >'
  what(): multiple occurrences
Aborted

Building from upstream git HEAD works, fix appears to be in commit dc31652d774267a52fa44995c3a9abfb0a0103aa. The comment suggests it's a gcc 4.7 thing.

Thought you'd like to know, thanks very much for your work packaging pcb2gcode. :)

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pcb2gcode (Ubuntu):
status: New → Confirmed
Revision history for this message
pix (pix-test) wrote :

I'd like to also confirm that this bug is fixed by the latest commit (dc31652d774267a52fa44995c3a9abfb0a0103aa) from the upstream repository (git://pcb2gcode.git.sourceforge.net/gitroot/pcb2gcode/pcb2gcode).

I did:
git clone git://pcb2gcode.git.sourceforge.net/gitroot/pcb2gcode/pcb2gcode
apt-get source pcb2gcode
cd pcb2gcode-1.1.4-git20110915/
uupdate ../pcb2gcode -v 1.1.4-git20120902
cd ../pcb2gcode-1.1.4-git20120902
dpkg-buildpackage -us -uc -nc
dpkg -i ../pcb2gcode-1.1.4-git20120902-0ubuntu1_amd64.deb

Revision history for this message
DaZeller (zeller-michael) wrote :

I've got the same problem.

@ pix: could you expect your installation a bit more detailed.
I have some troubles performing the installation on Ubuntu 12.12.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pcb2gcode - 1.1.4-git20110915-1ubuntu1

---------------
pcb2gcode (1.1.4-git20110915-1ubuntu1) raring; urgency=low

  * debian/patches/fix-crash-on-startup.patch: Fix crash on startup
    (LP: #1085533).
 -- Logan Rosen <email address hidden> Sat, 06 Apr 2013 14:34:59 -0400

Changed in pcb2gcode (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Gregor Riepl (onitake) wrote :

The version mentioned by janitor is the same as in the bug report, and the exception is still thrown. What gives?

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.