gEDA-user: PCB bug: only names, draw a line, undo: segfault

2011-01-30 Thread Stephan Boettcher

PCB version 20100929
Compiled on Nov  8 2010 at 05:46:11
Debian sid.
gtk.

- Settings-Only Names
- draw a line
- hit 'u' for undo.

- segfault.

-- 
Stephan



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: PCB bug: only names, draw a line, undo: segfault

2011-01-30 Thread Felix Ruoff
Can't confirm that. Tried with git HEAD and 20091103 from ubuntu 10.10 
repository (both just with GTK-gui).

Kind regards,
Felix

Am 30.01.2011 14:48, schrieb Stephan Boettcher:

PCB version 20100929
Compiled on Nov  8 2010 at 05:46:11
Debian sid.
gtk.

- Settings-Only Names
- draw a line
- hit 'u' for undo.

-  segfault.




___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: PCB bug: only names, draw a line, undo: segfault

2011-01-30 Thread Stefan Salewski
On Sun, 2011-01-30 at 14:48 +0100, Stephan Boettcher wrote:
 PCB version 20100929
 Compiled on Nov  8 2010 at 05:46:11
 Debian sid.
 gtk.
 
 - Settings-Only Names
 - draw a line
 - hit 'u' for undo.
 
 - segfault.
 

Works fine for Gentoo AMD64, tested empty board and tut1.pcb.

PCB version 20100929 (GTK)



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: PCB bug: only names, draw a line, undo: segfault

2011-01-30 Thread Peter Clifton
On Sun, 2011-01-30 at 15:07 +0100, Stefan Salewski wrote:
 On Sun, 2011-01-30 at 14:48 +0100, Stephan Boettcher wrote:
  PCB version 20100929
  Compiled on Nov  8 2010 at 05:46:11
  Debian sid.
  gtk.
  
  - Settings-Only Names
  - draw a line
  - hit 'u' for undo.

valgrind tells me:

==3992== Use of uninitialised value of size 8
==3992==at 0x42B5A8: ActionUndo (action.c:6356)
==3992==by 0x4A3B50: hid_actionv (actions.c:246)
==3992==by 0x4A3F47: hid_parse_actionstring (actions.c:330)
==3992==by 0x4D5EF9: ghid_menu_cb (gui-top-window.c:633)
==3992==by 0x7F1198B: g_closure_invoke (gclosure.c:767)
==3992==by 0x7F24088: signal_emit_unlocked_R (gsignal.c:3252)
==3992==by 0x7F2D4A5: g_signal_emit_valist (gsignal.c:2983)
==3992==by 0x7F2D65E: g_signal_emit (gsignal.c:3040)
==3992==by 0x5E8E3F2: _gtk_action_emit_activate (gtkaction.c:794)
==3992==by 0x5E8EDA3: closure_accel_activate (gtkaction.c:1764)
==3992==by 0x7F1198B: g_closure_invoke (gclosure.c:767)
==3992==by 0x7F24088: signal_emit_unlocked_R (gsignal.c:3252)
==3992== 

Ignore the line-numbers, I'm running my PCB+GL branch. I didn't get a
segfault, but that might just be down to luck.

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)


signature.asc
Description: This is a digitally signed message part


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: PCB bug: only names, draw a line, undo: segfault

2011-01-30 Thread Stephan Boettcher

Stefan Salewski m...@ssalewski.de writes:

 On Sun, 2011-01-30 at 14:48 +0100, Stephan Boettcher wrote:
 PCB version 20100929
 Compiled on Nov  8 2010 at 05:46:11
 Debian sid.
 gtk.
 
 - Settings-Only Names
 - draw a line
 - hit 'u' for undo.
 
 - segfault.
 

 Works fine for Gentoo AMD64, tested empty board and tut1.pcb.

 PCB version 20100929 (GTK)

Ok, I tried again, empty board, and yes, the segfault does not happen
when a line draw is completed (with the middle mouse button).

It only happens when I hit u (undo) after drawing a track segment, but
did not terminate the draw (with middle mouse button).

-- 
Stephan



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: PCB bug: only names, draw a line, undo: segfault

2011-01-30 Thread Peter Clifton
On Sun, 2011-01-30 at 15:22 +0100, Stephan Boettcher wrote:

 It only happens when I hit u (undo) after drawing a track segment, but
 did not terminate the draw (with middle mouse button).

That matches the same set of steps where I can trigger the valgrind
warning.

As an added data-point, I was able to reproduce with Only names
switched off when I started line-drawing, but switched it on mid-way,
before I hit undo.

A cursory glance didn't suggest what might be wrong yet.. please file a
bug at:

http://launchpad.net/pcb/+filebug



-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)


signature.asc
Description: This is a digitally signed message part


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: PCB bug: only names, draw a line, undo: segfault

2011-01-30 Thread Kai-Martin Knaak
Stephan Boettcher wrote:

 
 PCB version 20100929
 Compiled on Nov  8 2010 at 05:46:11
 Debian sid.
 gtk.
 
 - Settings-Only Names
 - draw a line
 - hit 'u' for undo.
 
 - segfault.
 

I can confirm for pcb recently compiled from git.  

This is the specific sequence I did to achieve segfault:

1) Settings - Only_Names

2) choose the line tool

3) left mouse click on canvas

4) left mouse click on canvas

5) [u] to undo

-- immediate segfault. No other errors reported


If I ended the track with [esc] no segfault would occur.
I noticed, that the same procedure with pcb from squeeze
does not segfault. But it still behaves a bit strange on 
undo: The next segment seems to start somewhere off canvas. 
 
---)kaimartin(---
-- 
Kai-Martin Knaak
Email: k...@familieknaak.de
Öffentlicher PGP-Schlüssel:
http://pool.sks-keyservers.net:11371/pks/lookup?search=0x6C0B9F53



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: PCB bug: only names, draw a line, undo: segfault

2011-01-30 Thread Stephan Boettcher
Peter Clifton pc...@cam.ac.uk writes:

 On Sun, 2011-01-30 at 15:22 +0100, Stephan Boettcher wrote:

 It only happens when I hit u (undo) after drawing a track segment, but
 did not terminate the draw (with middle mouse button).

 That matches the same set of steps where I can trigger the valgrind
 warning.

 As an added data-point, I was able to reproduce with Only names
 switched off when I started line-drawing, but switched it on mid-way,
 before I hit undo.

 A cursory glance didn't suggest what might be wrong yet.. please file a
 bug at:

 http://launchpad.net/pcb/+filebug

That site shows a white page with a [continue] button, and then I click
on it, it says 'Invalid OpenID transaction'.  And when I turn on
Javascript, it does nothing more helpfu either.  And anyway, I do not
have an account with launchpad, and I don't think I'd want one. Sorry.

-- 
Stephan


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: PCB bug: only names, draw a line, undo: segfault

2011-01-30 Thread Peter Clifton
On Sun, 2011-01-30 at 15:49 +0100, Stephan Boettcher wrote:
  A cursory glance didn't suggest what might be wrong yet.. please file a
  bug at:
 
  http://launchpad.net/pcb/+filebug
 
 That site shows a white page with a [continue] button, and then I click
 on it, it says 'Invalid OpenID transaction'.  And when I turn on
 Javascript, it does nothing more helpfu either.  And anyway, I do not
 have an account with launchpad, and I don't think I'd want one. Sorry.


That is unfortunate, as you won't be able to participate in our normal
bug tracking system.

Email on the list is fine.. but it does tend to get lost or forgotten.
(At least the bug trackers is a nice structured place for us to forget
bugs ;)).

If you decided you did want to sign up to help, try visiting here before
that other URL:

https://login.launchpad.net/

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)


signature.asc
Description: This is a digitally signed message part


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user