#236 ngspice-25 Windows crashes if input file has a .save line

closed-fixed
None
5
2013-04-14
2013-03-04
No

The Windows executable of ngspice-25 crashes if an input file containing a .save line is rerun after editing and saving. I have tested many input files with and without a .save line on Windows XP and 7. Same problem is observed in all with a .save line but not in any without such a line. A simpel example:

___________________
bug
v1 1 0 dc
r1 1 2 1k
r2 2 0 1k
.dc v1 0 1 1m
.save v(2)
.end
___________________

Thanks in advance for your attention.

Discussion

  • Ugur Cilingiroglu

     
  • Holger Vogt

    Holger Vogt - 2013-03-04
    • assigned_to: nobody --> h_vogt
    • status: open --> open-accepted
     
  • Holger Vogt

    Holger Vogt - 2013-03-04

    in the actual git source code of ngspice the bug has disappeared.
    I have uploaded a 32-bit MS Windows binary at http://ngspice.sourceforge.net/experimental/ngspice-130304.7z. After downloading and expansion, replace the ngspice.exe with the new file for testing.

    Please have a look and report if it is o.k. for you.

    Regards

    Holger

     
  • Holger Vogt

    Holger Vogt - 2013-03-04

    Ugur,
    10 days ago I did an update to the code in our git repository
    'inp.c: nullify dbs for use with 'source' command'
    which removed the bug.

    Holger

     
  • Holger Vogt

    Holger Vogt - 2013-03-04
    • status: open-accepted --> open-fixed
     
  • Ugur Cilingiroglu

    Holger:

    New binary works well. Thanks a lot.

    Ugur

     
  • Holger Vogt

    Holger Vogt - 2013-04-14
    • status: open-fixed --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks