Sorry again, that would cause the same problem again if setlocale, for some
reason,
is called between global::init and global::destroy.
New patch:
[kjetil@ttlush faust2]$ diff -u compiler/global.cpp~ compiler/global.cpp
--- compiler/global.cpp~2016-06-08 13:36:37.0 +0200
+++ compiler/
Oops, sorry, that would cause gCurrentLocal not to be set back to its
original value.
I guess this is good enough:
[kjetil@ttlush faust2]$ diff -u compiler/global.cpp~ compiler/global.cpp
--- compiler/global.cpp~2016-06-08 13:36:37.0 +0200
+++ compiler/global.cpp2016-06-10 09:48:30
Hi,
When compiling faust with -fsanitizer=address (asan), I get this crash:
==6397==ERROR: AddressSanitizer: heap-use-after-free on address
0x612000434a40 at pc 0x770e074d bp 0x7fff9ed0 sp 0x7fff9680
READ of size 3 at 0x612000434a40 thread T0
#0 0x770e074c in __interceptor_set