rhash-bug-1.cir

This commit is contained in:
rlar 2016-07-03 20:09:39 +02:00
parent ac2c9f2cbc
commit 79fa9aa28b
1 changed files with 17 additions and 0 deletions

17
rehash-bug-1.cir Normal file
View File

@ -0,0 +1,17 @@
* expose a bug in the rehash fix on branch tmp-ticket-20+
* (compile (concat "valgrind --track-origins=yes --leak-check=full --show-reachable=yes ../w32/src/ngspice " buffer-file-name) t)
*
* Invalid read of size 1
* at 0x43FB5A: findvec (vectors.c:163)
* by 0x43FCB4: vec_fromplot (vectors.c:374)
* by 0x4406FF: vec_get (vectors.c:454)
* by 0x42E93C: PP_mksnode (parse.c:363)
.control
let foo = 3
set curplot = new
let bar = foo + 1
let baz = foo + 2
quit 0
.endc