From 79fa9aa28b015d4d1b149b26b8074e99829c660a Mon Sep 17 00:00:00 2001 From: rlar Date: Sun, 3 Jul 2016 20:09:39 +0200 Subject: [PATCH] rhash-bug-1.cir --- rehash-bug-1.cir | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 rehash-bug-1.cir diff --git a/rehash-bug-1.cir b/rehash-bug-1.cir new file mode 100644 index 000000000..25333f9fa --- /dev/null +++ b/rehash-bug-1.cir @@ -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