gnetlist drc2 crash emitting to stdout when found errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gEDA |
Fix Released
|
High
|
Peter TB Brett |
Bug Description
When running "gnetlist -g drc2 -o - my.sch" (note the '-o -' saying to emit to stdout), if it finds any errors/warnings then it crashes trying to emit the final "... See output file." message.
This is because if the '-o -' argument is given, the drc2 function sets port to (current-
Since the "... See output file." message is inappropriate when emitting to stdout, the attached patch tests for the '-o -' argument, and skips emitting the final message if it was specified.
Changed in geda: | |
assignee: | nobody → Peter TB Brett (peter-b) |
milestone: | none → 1.8.0 |
tags: | added: gnetlist |
Changed in geda: | |
importance: | Undecided → High |
status: | New → In Progress |
Changed in geda: | |
status: | Fix Committed → Fix Released |
Bug was fixed by a commit b242aa62d044838 5893471554 git.geda- project. org/geda- gaf/commit/ ?id=67c6022ba51 2e33b242aa62d04 48385893471554
git stable-1.8 commit 67c6022ba512e33
http://
commit 67c6022ba512e33 b242aa62d044838 5893471554
Author: Jeff Mallatt <email address hidden>
Commit: Peter TB Brett <email address hidden>
gnetlist: Stop drc2 backend from crashing when output is to stdout.
Fixes bug where emitting to stdout (-o -) and finding errors/warnings
caused crash attempting to emit final 'See output file' message.
Closes-bug: lp-1004757
Reviewed-by: Peter TB Brett <email address hidden>