the switcap backend of gnetlist crashes in case of non-existent file

Bug #1256916 reported by Vladimir Zhbanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gEDA
Fix Released
Undecided
Unassigned

Bug Description

The switcap backend crashes if the required analysis file
specified in the attribute "file=" of the symbol
"switcap-analysis-1.sym" is missing or its name is spelled
wrongly.

How to reproduce:
1. cd to the ./gnetlist/examples/switcap/ directory in the
geda-gaf repository
2. 'mv test.ana test1.ana' or open analysis.sch and change the
filename in the Switcap Analysis Block.
3. Run 'gnetlist -g switcap -o example.scn *.sch'

Attached is a patch to fix this.

Tags: gnetlist
Revision history for this message
Vladimir Zhbanov (vzhbanov) wrote :
Revision history for this message
Edward Hennessy (ehennes) wrote :

Thank you for the patch and instructions to reproduce the defect.

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