[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-bug: [Bug 904639] Re: schdiff can crash gschem
Bug was fixed by a commit
git master commit c63deda32d9480e7b5b5597d3fb1fed8e6591805
http://git.gpleda.org/?p=gaf.git;a=commit;h=c63deda32d9480e7b5b5597d3fb1fed8e6591805
commit c63deda32d9480e7b5b5597d3fb1fed8e6591805
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>
libgeda: Fix null dereference when fallback image not loaded.
In commit bccf15c104d6, a bug was introduced whereby libgeda
dereferenced a NULL pointer. If a picture object's image cannot be
loaded, libgeda attempts to load a fallback image, and on failure,
accesses a GError to retrieve the error message. Unfortunately, the
GError was not being passed to the image loading function, and was
therefore uninitialised when it was dereferenced to obtain a message.
Closes-bug: lp-904639
** Changed in: geda
Status: New => Fix Committed
--
You received this bug notification because you are a member of gEDA Bug
Team, which is subscribed to gEDA.
https://bugs.launchpad.net/bugs/904639
Title:
schdiff can crash gschem
Status in GPL Electronic Design Automation tools:
Fix Committed
Bug description:
On some schematics, using schdiff can induce a crash in gschem.
For example:
git difftool -x schdiff 663e133ff0c0..bccf15c104d6 --
gschem/examples/drawing_primitives.sch
Viewing: 'gschem/examples/drawing_primitives.sch'
Hit return to launch 'schdiff':
WARNING: (gschem keymap): imported module (srfi srfi-69) overrides core binding `hash-table?'
WARNING: (gschem keymap): imported module (srfi srfi-69) overrides core binding `make-hash-table'
/home/peter/opt/bin/schdiff: line 67: 7342 Segmentation fault (core dumped) gschem -p -o $LEFTPNG -q -c '(image-size 1344 1008) (image-color "disabled") (gschem-use-rc-values) (gschem-image "dummyfilename") (gschem-exit)' $LEFTFILE
To manage notifications about this bug go to:
https://bugs.launchpad.net/geda/+bug/904639/+subscriptions
_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug