Then, from inside their own ngspice source tree, they apply it:
git apply
0001-show-fix-memory-blow-up-dumping-source-vector-params.patch
(or patch -p1 < 0001-...patch if they don't use git either).
The README suggests that you already have a fix. Please post a patch
file.
[bugs:#844][1] show command may kill you machine due to memory leak
Status: open
Group: v1.0 (example)
Created: Sun Jul 05, 2026 07:15 AM UTC by Alfredo Tomasini
Last Updated: Sun Jul 05, 2026 07:15 AM UTC
Owner: nobody
Attachments:
And there is another bug: all voltage types containing vector data are reported, starting with 'pulse', even if we have a 'pwl' in the test case from above, and each time all vector data (here from 'pwl') are added.
Tested with Valgrind, memory leak is removed, but above mentioned bug is still there.
Last edit: Holger Vogt 6 days ago
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
[bugs:#844][1] show command may kill you machine due to memory leak
Status: open
Group: v1.0 (example)
Created: Sun Jul 05, 2026 07:15 AM UTC by Alfredo Tomasini
Last Updated: Sun Jul 05, 2026 01:52 PM UTC
Owner: nobody
Attachments:
The README suggests that you already have a fix. Please post a patch file.
yes this is the place.
https://codeberg.org/alto555/ngspice/src/branch/main/patches/0001-show-fix-memory-blow-up-dumping-source-vector-params.patch
Then, from inside their own ngspice source tree, they apply it:
git apply
0001-show-fix-memory-blow-up-dumping-source-vector-params.patch
(or patch -p1 < 0001-...patch if they don't use git either).
Alfredo Tomasini
www.e-td55.com/company [3]
(408) 886 1666
On 2026-07-05 06:52, Giles Atkinson wrote:
Links:
[1] https://sourceforge.net/p/ngspice/bugs/844/
[2] https://sourceforge.net/p/ngspice/bugs/844/attachment/showbug.tgz
[3] http://www.e-td55.com/company
Related
Bugs: #844
I have uploaded a fix to pre-master-47.
Needs some more testing though.
And there is another bug: all voltage types containing vector data are reported, starting with 'pulse', even if we have a 'pwl' in the test case from above, and each time all vector data (here from 'pwl') are added.
Tested with Valgrind, memory leak is removed, but above mentioned bug is still there.
Last edit: Holger Vogt 6 days ago
There is a patch available already. I send the link in the previous
update.
double check as always.
Alfredo Tomasini
www.e-td55.com/company [3]
(408) 886 1666
On 2026-07-06 01:43, Holger Vogt wrote:
Links:
[1] https://sourceforge.net/p/ngspice/bugs/844/
[2] https://sourceforge.net/p/ngspice/bugs/844/attachment/showbug.tgz
[3] http://www.e-td55.com/company
Related
Bugs: #844
Thanks for the input. The patch is uploaded to the development git btranch pre-master-47.