gschem crashes in g_current_window
Bug #1220824 reported by
Nathan Stewart
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gEDA |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Current trunk build () crashes with ERROR: Found invalid gschem window smob #f
if the attribute window is launched.
Ubuntu 12.04
Guile 1.8.8
gEDA/gschem version 1.9.0.20121203 (4e2417d23eec68
Launch gschem
Right click anywhere, Add Net ,Bus, Attribute, etc..
Observe crash
Anything calling g_current_window appears to crash with the invalid window smob error.
Changed in geda: | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Peter TB Brett (peter-b) |
tags: | added: gschem |
Changed in geda: | |
milestone: | none → 1.9.1 |
Changed in geda: | |
assignee: | Peter TB Brett (peter-b) → nobody |
Changed in geda: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Bug was fixed by a commit 9b1a837d5769461 955e86af91 git.geda- project. org/geda- gaf/commit/ ?id=9821203640f f8599b1a837d576 9461955e86af91
git master commit 9821203640ff859
http://
commit 9821203640ff859 9b1a837d5769461 955e86af91
Author: Peter TB Brett <email address hidden>
Commit: Peter TB Brett <email address hidden>
gschem: Make popup menu work in a similar way to menu bar. [1220824]
Re-write the popup menu code to work the same way as the main menu bar
does (more-or-less). This includes dispatching actions via Scheme and
rendering icons, although the popup menu doesn't list keybindings to
save screen area (this could change if people want it to).
The popup menu still operates from a static array defining the menu
items, because I didn't have time to make it load its definitions from
Scheme yet.
This fixes a crash bug where the popup menu was calling functions that
expected to be being dispatched via Scheme and didn't have the context
that they needed.
Closes-bug: lp-1220824
Reported-by: Nathan Stewart <email address hidden>