gschem ,gaf crashes when local gafrc adds to many symbols

Bug #1086632 reported by jt_eaton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gEDA
Fix Released
High
Unassigned

Bug Description

create a directory with a gafrc file to add symbol search libraries. This will work for smple cases but if you add enough symbols then it crashes with a munged display and this log:

gEDA/gschem version 1.9.0.20121203
gEDA/gschem comes with ABSOLUTELY NO WARRANTY; see COPYING for more details.
This is free software, and you are welcome to redistribute it under certain
conditions; please see the COPYING file for more details.

Read init scm file [/home/johne/geda/share/gEDA/scheme/gschem.scm]
Loaded RC file [/home/johne/geda/share/gEDA/system-gafrc]
Loaded RC file [/home/johne/Desktop/drawing/gafrc]
Loading schematic [/home/johne/Desktop/drawing/./sch/um-100_cde_sram_def_sym.sch]
Tried to set the sensitivity on non-existent menu item '_Edit/Cu_t'
Tried to set the sensitivity on non-existent menu item '_Edit/_Copy'
Tried to set the sensitivity on non-existent menu item '_Edit/_Delete'
Tried to set the sensitivity on non-existent menu item '_Edit/Copy Mode'

Behavior varies based on how many syms and libs are in search path. I have even seen it alternate where it works one time and fails the next with the same command line.

John Eaton

Tags: gschem
Revision history for this message
Peter TB Brett (peter-b) wrote :

I've seen this too, but I wasn't sure if it was just my setup. Reliably reproducing it is difficult. What version of Guile are you using?

tags: added: gschem
Changed in geda:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Peter TB Brett (peter-b) wrote :

Also, it happens to me without adding any symbols at all, so I'm not sure that your diagnosis is quite right...

Revision history for this message
jt_eaton (z3qmtr45) wrote : Re: [Bug 1086632] Re: gschem , gaf crashes when local gafrc adds to many symbols

I have been doing some more testing and I think that you are right. I ran
the same command
over and over and randomly it will either work, load schematic but not find
symbol or show a
munged display in black and white with the symbol body. In my initial tests
I would change
the list of symbols loaded and then tested it once so that was a mistake.

I think I am using guile 1.8.0. I will recheck and let you know if that is
not the case.

John Eaton

On Tue, Dec 4, 2012 at 11:03 PM, Peter TB Brett
<email address hidden>wrote:

> Also, it happens to me without adding any symbols at all, so I'm not
> sure that your diagnosis is quite right...
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1086632
>
> Title:
> gschem ,gaf crashes when local gafrc adds to many symbols
>
> Status in GPL Electronic Design Automation tools:
> Confirmed
>
> Bug description:
>
> create a directory with a gafrc file to add symbol search libraries.
> This will work for smple cases but if you add enough symbols then it
> crashes with a munged display and this log:
>
>
> gEDA/gschem version 1.9.0.20121203
> gEDA/gschem comes with ABSOLUTELY NO WARRANTY; see COPYING for more
> details.
> This is free software, and you are welcome to redistribute it under
> certain
> conditions; please see the COPYING file for more details.
>
> Read init scm file [/home/johne/geda/share/gEDA/scheme/gschem.scm]
> Loaded RC file [/home/johne/geda/share/gEDA/system-gafrc]
> Loaded RC file [/home/johne/Desktop/drawing/gafrc]
> Loading schematic
> [/home/johne/Desktop/drawing/./sch/um-100_cde_sram_def_sym.sch]
> Tried to set the sensitivity on non-existent menu item '_Edit/Cu_t'
> Tried to set the sensitivity on non-existent menu item '_Edit/_Copy'
> Tried to set the sensitivity on non-existent menu item '_Edit/_Delete'
> Tried to set the sensitivity on non-existent menu item '_Edit/Copy Mode'
>
>
> Behavior varies based on how many syms and libs are in search path. I
> have even seen it alternate where it works one time and fails the next with
> the same command line.
>
>
> John Eaton
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/geda/+bug/1086632/+subscriptions
>

Revision history for this message
gpleda.org commit robot (gpleda-launchpad-robot) wrote :

Bug was fixed by a commit
git master commit 75fae693feca9b531e03e6438d1b15b67e2324c1
http://git.geda-project.org/geda-gaf/commit/?id=75fae693feca9b531e03e6438d1b15b67e2324c1

commit 75fae693feca9b531e03e6438d1b15b67e2324c1
Author: Peter TB Brett <email address hidden>
Commit: Peter Clifton <email address hidden>

    libgeda: Fix use-after-free in rc parsing logic.

    Closes-bug: lp-1086632

Changed in geda:
status: Confirmed → Fix Committed
Peter TB Brett (peter-b)
Changed in geda:
milestone: none → 1.9.1
Revision history for this message
jt_eaton (z3qmtr45) wrote :

Thanks,

That fixed it.

John Eaton

On Fri, Dec 7, 2012 at 9:26 AM, Peter TB Brett
<email address hidden>wrote:

> ** Changed in: geda
> Milestone: None => 1.9.1
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1086632
>
> Title:
> gschem ,gaf crashes when local gafrc adds to many symbols
>
> Status in GPL Electronic Design Automation tools:
> Fix Committed
>
> Bug description:
>
> create a directory with a gafrc file to add symbol search libraries.
> This will work for smple cases but if you add enough symbols then it
> crashes with a munged display and this log:
>
>
> gEDA/gschem version 1.9.0.20121203
> gEDA/gschem comes with ABSOLUTELY NO WARRANTY; see COPYING for more
> details.
> This is free software, and you are welcome to redistribute it under
> certain
> conditions; please see the COPYING file for more details.
>
> Read init scm file [/home/johne/geda/share/gEDA/scheme/gschem.scm]
> Loaded RC file [/home/johne/geda/share/gEDA/system-gafrc]
> Loaded RC file [/home/johne/Desktop/drawing/gafrc]
> Loading schematic
> [/home/johne/Desktop/drawing/./sch/um-100_cde_sram_def_sym.sch]
> Tried to set the sensitivity on non-existent menu item '_Edit/Cu_t'
> Tried to set the sensitivity on non-existent menu item '_Edit/_Copy'
> Tried to set the sensitivity on non-existent menu item '_Edit/_Delete'
> Tried to set the sensitivity on non-existent menu item '_Edit/Copy Mode'
>
>
> Behavior varies based on how many syms and libs are in search path. I
> have even seen it alternate where it works one time and fails the next with
> the same command line.
>
>
> John Eaton
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/geda/+bug/1086632/+subscriptions
>

Peter TB Brett (peter-b)
Changed in geda:
status: Fix Committed → 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.