Hi Andrew, > -----Original Message----- > From: geda-user-boun...@moria.seul.org > [mailto:geda-user-boun...@moria.seul.org] On Behalf Of Andrew Poelstra > Sent: Sunday, September 11, 2011 4:05 PM > To: k...@familieknaak.de; gEDA user mailing list > Subject: Re: gEDA-user: PCB segfaults when the "Route style" > button isclicked > > On Sun, Sep 11, 2011 at 04:53:08AM +0200, Kai-Martin Knaak wrote: > > Ivan Stankovic wrote: > > > > > I'm using PCB from git master (9dde48253c..) and it > segfaults when > > > the "Route Styles" button is clicked. Here's how to reproduce: > > > > > > 1. use PCB to make an empty pcb file 2. start PCB again > and load the > > > empty file with "File -> Load layout" > > > 3. choose "Power" route style, then click on the "Route Styles" > > > button > > > to bring up the dialog; close the dialog 4. choose > "Signal" route > > > style, then click on the "Route Styles" > > > button > > > to bring up the dialog; close the dialog 5. repeat > steps 3 and 4 > > > in order, until PCB segfaults > > > > I can confirm. Current git head PCB segfaults on me, too. > Sometimes on > > first iteration, sometimes later. Interestingly, it does > not want to > > segfault if I do not load the previously saved empty > layout. At step 3 > > I notice a difference: With the reloaded layout, the field for the > > route style name is empty. Maybe, this is a hint for the cause. > > > > Should be fixed in git head (c62863b2) now. Thanks for > noticing this, guys -- this was a serious memory corruption issue. > > -- > Andrew Poelstra > Email: asp11 at sfu.ca OR apoelstra at wpsoftware.net > > "Do whatever you want. Do what you think is important. > Everybody is an individual." --Ron Paul > >
Yesterday evening I looked into this for a couple of hours, without coming up with a solution. Just tested your commits, it's a confirmed fix. Did you include LP bug https://bugs.launchpad.net/pcb/+bug/844635 or are these patches still standing ? As a side effect I see that I can now add more new styles, dunno how much that was before yoru commits though. Kind regards, Bert Timmerman. _______________________________________________ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user