Skip to content

fix: the sanitizer error with minimal proxy #485

fix: the sanitizer error with minimal proxy

fix: the sanitizer error with minimal proxy #485

GitHub Actions / Linux X64 Unit Tests Results failed Jan 7, 2025 in 0s

2 fail, 87 pass in 0s

89 tests   87 ✅  0s ⏱️
 3 suites   0 💤
 1 files     2 ❌

Results for commit d1122fc.

Annotations

Check warning on line 0 in cli::llvm_ir

See this annotation in the file changed.

@github-actions github-actions / Linux X64 Unit Tests Results

default (cli::llvm_ir) failed

debug-unit-tests-results.xml [took 0s]
Raw output
failed cli::llvm_ir::default
thread 'cli::llvm_ir::default' panicked at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:250:5:
Unexpected failure.
code=1
stderr=```<108 lines total>
```
Contract `tests/data/contracts/llvm/default.ll`: \"/__w/era-compiler-vyper/era-compiler-vyper/target/x86_64-unknown-linux-gnu/debug/zkvyper\" subprocess compiling `tests/data/contracts/llvm/default.ll` failed with exit code Some(1):

=================================================================
==21845==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x51b0000029f4 at pc 0x57aad5688f2d bp 0x7ffd7e606250 sp 0x7ffd7e606248
READ of size 1 at 0x51b0000029f4 thread T0
    #0 0x57aad5688f2c in llvm::MemoryBuffer::init(char const*, char const*, bool) /__w/era-compiler-vyper/era-compiler-vyper/target-llvm/build-final/../../llvm/llvm/lib/Support/MemoryBuffer.cpp:53:3
    #1 0x57aad5688f2c in (anonymous namespace)::MemoryBufferMem<llvm::MemoryBuffer>::MemoryBufferMem(llvm::StringRef, bool) /__w/era-compiler-vyper/era-compiler-vyper/target-llvm/build-final/../../llvm/llvm/lib/Support/MemoryBuffer.cpp:95:19
    #2 0x57aad5688f2c in llvm::MemoryBuffer::getMemBuffer(llvm::StringRef, llvm::StringRef, bool) /__w/era-compiler-vyper/era-compiler-vyper/target-llvm/build-final/../../llvm/llvm/lib/Support/MemoryBuffer.cpp:125:7
    #3 0x57aad521c9dc in LLVMCreateMemoryBufferWithMemoryRange /__w/era-compiler-vyper/era-compiler-vyper/target-llvm/build-final/../../llvm/llvm/lib/IR/Core.cpp:4089:15
    #4 0x57aad24a98f0 in inkwell::memory_buffer::MemoryBuffer::create_from_memory_range::ha2db7ce7a34d9f85 /usr/local/cargo/git/checkouts/inkwell-ae33c16eecfbdc50/c5d783f/src/memory_buffer.rs:90:13
    #5 0x57aad1f1fdbc in era_compiler_vyper::project::contract::llvm_ir::Contract::compile::h7523fc493099b277 /__w/era-compiler-vyper/era-compiler-vyper/src/project/contract/llvm_ir.rs:47:29
    #6 0x57aad20242da in era_compiler_vyper::project::contract::Contract::compile::h43091054924aad1a /__w/era-compiler-vyper/era-compiler-vyper/src/project/contract/mod.rs:73:36
    #7 0x57aad1e742f4 in era_compiler_vyper::process::run::h2b30583e6df3b193 /__w/era-compiler-vyper/era-compiler-vyper/src/process/mod.rs:27:17
    #8 0x57aad1d1f492 in zkvyper::main_inner::h104557a232754bd7 /__w/era-compiler-vyper/era-compiler-vyper/src/zkvyper/main.rs:68:16
    #9 0x57aad1d1e00b in zkvyper::main::h756355346e4eca27 /__w/era-compiler-vyper/era-compiler-vyper/src/zkvyper/main.rs:25:30
    #10 0x57aad1d262fa in core::ops::function::FnOnce::call_once::hda54faa91ee01264 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:250:5
    #11 0x57aad1d2b05d in std::sys::backtrace::__rust_begin_short_backtrace::hbde0117e41996c56 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:154:18
    #12 0x57aad1d2afd4 in std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::hbfb1c643971b3c1d /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:164:18
    #13 0x57aad78d0dff in core::ops::function::impls::_$LT$impl$u20$core..ops..function..FnOnce$LT$A$GT$$u20$for$u20$$RF$F$GT$::call_once::h08ecba131ab90ec4 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:284:13
    #14 0x57aad78d0dff in std::panicking::try::do_call::hf33a59fd8ce953f4 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:554:40
```
<48 lines omitted>
```
    #33 0x57aad22a1997 in _$LT$$RF$mut$u20$serde_json..de..Deserializer$LT$R$GT$$u20$as$u20$serde..de..Deserializer$GT$::deserialize_struct::hc1df0153f797dbb4 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/de.rs:1843:31
    #34 0x57aad1dbd632 in _$LT$serde_stacker..de..Deserializer$LT$D$GT$$u20$as$u20$serde..de..Deserializer$GT$::deserialize_struct::hbafcb11a3241ca77 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_stacker-0.1.11/src/de.rs:278:9
    #35 0x57aad1ff61be in era_compiler_common::utils::deserialize_from_str::h23e3472fb2f64fd9 /usr/local/cargo/git/checkouts/era-compiler-common-20cf52d7a659adb9/10ea52e/era-compiler-common/src/utils.rs:28:5
    #36 0x57aad1e73e35 in era_compiler_vyper::process::run::h2b30583e6df3b193 /__w/era-compiler-vyper/era-compiler-vyper/src/process/mod.rs:24:24
    #37 0x57aad1d1f492 in zkvyper::main_inner::h104557a232754bd7 /__w/era-compiler-vyper/era-compiler-vyper/src/zkvyper/main.rs:68:16
    #38 0x57aad1d1e00b in zkvyper::main::h756355346e4eca27 /__w/era-compiler-vyper/era-compiler-vyper/src/zkvyper/main.rs:25:30

SUMMARY: AddressSanitizer: heap-buffer-overflow /__w/era-compiler-vyper/era-compiler-vyper/target-llvm/build-final/../../llvm/llvm/lib/Support/MemoryBuffer.cpp:53:3 in llvm::MemoryBuffer::init(char const*, char const*, bool)
Shadow bytes around the buggy address:
  0x51b000002700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x51b000002780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x51b000002800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x51b000002880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x51b000002900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x51b000002980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00[04]fa
  0x51b000002a00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x51b000002a80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x51b000002b00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x51b000002b80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x51b000002c00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07 
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
==21845==ABORTING
```
```
command=`PATH="/__w/era-compiler-vyper/era-compiler-vyper/vyper-bin" "/__w/era-compiler-vyper/era-compiler-vyper/target/x86_64-unknown-linux-gnu/debug/zkvyper" "--llvm-ir" "tests/data/contracts/llvm/default.ll"`
code=1
stdout=""
stderr=<108 lines total>
```
Contract `tests/data/contracts/llvm/default.ll`: \"/__w/era-compiler-vyper/era-compiler-vyper/target/x86_64-unknown-linux-gnu/debug/zkvyper\" subprocess compiling `tests/data/contracts/llvm/default.ll` failed with exit code Some(1):

=================================================================
==21845==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x51b0000029f4 at pc 0x57aad5688f2d bp 0x7ffd7e606250 sp 0x7ffd7e606248
READ of size 1 at 0x51b0000029f4 thread T0
    #0 0x57aad5688f2c in llvm::MemoryBuffer::init(char const*, char const*, bool) /__w/era-compiler-vyper/era-compiler-vyper/target-llvm/build-final/../../llvm/llvm/lib/Support/MemoryBuffer.cpp:53:3
    #1 0x57aad5688f2c in (anonymous namespace)::MemoryBufferMem<llvm::MemoryBuffer>::MemoryBufferMem(llvm::StringRef, bool) /__w/era-compiler-vyper/era-compiler-vyper/target-llvm/build-final/../../llvm/llvm/lib/Support/MemoryBuffer.cpp:95:19
    #2 0x57aad5688f2c in llvm::MemoryBuffer::getMemBuffer(llvm::StringRef, llvm::StringRef, bool) /__w/era-compiler-vyper/era-compiler-vyper/target-llvm/build-final/../../llvm/llvm/lib/Support/MemoryBuffer.cpp:125:7
    #3 0x57aad521c9dc in LLVMCreateMemoryBufferWithMemoryRange /__w/era-compiler-vyper/era-compiler-vyper/target-llvm/build-final/../../llvm/llvm/lib/IR/Core.cpp:4089:15
    #4 0x57aad24a98f0 in inkwell::memory_buffer::MemoryBuffer::create_from_memory_range::ha2db7ce7a34d9f85 /usr/local/cargo/git/checkouts/inkwell-ae33c16eecfbdc50/c5d783f/src/memory_buffer.rs:90:13
    #5 0x57aad1f1fdbc in era_compiler_vyper::project::contract::llvm_ir::Contract::compile::h7523fc493099b277 /__w/era-compiler-vyper/era-compiler-vyper/src/project/contract/llvm_ir.rs:47:29
    #6 0x57aad20242da in era_compiler_vyper::project::contract::Contract::compile::h43091054924aad1a /__w/era-compiler-vyper/era-compiler-vyper/src/project/contract/mod.rs:73:36
    #7 0x57aad1e742f4 in era_compiler_vyper::process::run::h2b30583e6df3b193 /__w/era-compiler-vyper/era-compiler-vyper/src/process/mod.rs:27:17
    #8 0x57aad1d1f492 in zkvyper::main_inner::h104557a232754bd7 /__w/era-compiler-vyper/era-compiler-vyper/src/zkvyper/main.rs:68:16
    #9 0x57aad1d1e00b in zkvyper::main::h756355346e4eca27 /__w/era-compiler-vyper/era-compiler-vyper/src/zkvyper/main.rs:25:30
    #10 0x57aad1d262fa in core::ops::function::FnOnce::call_once::hda54faa91ee01264 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:250:5
    #11 0x57aad1d2b05d in std::sys::backtrace::__rust_begin_short_backtrace::hbde0117e41996c56 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:154:18
    #12 0x57aad1d2afd4 in std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::hbfb1c643971b3c1d /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:164:18
    #13 0x57aad78d0dff in core::ops::function::impls::_$LT$impl$u20$core..ops..function..FnOnce$LT$A$GT$$u20$for$u20$$RF$F$GT$::call_once::h08ecba131ab90ec4 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:284:13
    #14 0x57aad78d0dff in std::panicking::try::do_call::hf33a59fd8ce953f4 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:554:40
```
<48 lines omitted>
```
    #33 0x57aad22a1997 in _$LT$$RF$mut$u20$serde_json..de..Deserializer$LT$R$GT$$u20$as$u20$serde..de..Deserializer$GT$::deserialize_struct::hc1df0153f797dbb4 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/de.rs:1843:31
    #34 0x57aad1dbd632 in _$LT$serde_stacker..de..Deserializer$LT$D$GT$$u20$as$u20$serde..de..Deserializer$GT$::deserialize_struct::hbafcb11a3241ca77 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_stacker-0.1.11/src/de.rs:278:9
    #35 0x57aad1ff61be in era_compiler_common::utils::deserialize_from_str::h23e3472fb2f64fd9 /usr/local/cargo/git/checkouts/era-compiler-common-20cf52d7a659adb9/10ea52e/era-compiler-common/src/utils.rs:28:5
    #36 0x57aad1e73e35 in era_compiler_vyper::process::run::h2b30583e6df3b193 /__w/era-compiler-vyper/era-compiler-vyper/src/process/mod.rs:24:24
    #37 0x57aad1d1f492 in zkvyper::main_inner::h104557a232754bd7 /__w/era-compiler-vyper/era-compiler-vyper/src/zkvyper/main.rs:68:16
    #38 0x57aad1d1e00b in zkvyper::main::h756355346e4eca27 /__w/era-compiler-vyper/era-compiler-vyper/src/zkvyper/main.rs:25:30

SUMMARY: AddressSanitizer: heap-buffer-overflow /__w/era-compiler-vyper/era-compiler-vyper/target-llvm/build-final/../../llvm/llvm/lib/Support/MemoryBuffer.cpp:53:3 in llvm::MemoryBuffer::init(char const*, char const*, bool)
Shadow bytes around the buggy address:
  0x51b000002700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x51b000002780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x51b000002800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x51b000002880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x51b000002900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x51b000002980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00[04]fa
  0x51b000002a00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x51b000002a80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x51b000002b00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x51b000002b80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x51b000002c00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07 
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
==21845==ABORTING
```

Check warning on line 0 in cli::llvm_ir

See this annotation in the file changed.

@github-actions github-actions / Linux X64 Unit Tests Results

invalid (cli::llvm_ir) failed

debug-unit-tests-results.xml [took 0s]
Raw output
failed cli::llvm_ir::invalid
thread 'cli::llvm_ir::invalid' panicked at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:250:5:
Unexpected stderr, failed var.contains(expected top-level entity)
├── var: Contract `tests/data/contracts/vyper/greeter.vy`: "/__w/era-compiler-vyper/era-compiler-vyper/target/x86_64-unknown-linux-gnu/debug/zkvyper" subprocess compiling `tests/data/contracts/vyper/greeter.vy` failed with exit code Some(1):
│   
│   =================================================================
│   ==21866==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x50b000000d06 at pc 0x56ec1038df2d bp 0x7fff44162130 sp 0x7fff44162128
│   READ of size 1 at 0x50b000000d06 thread T0
│       #0 0x56ec1038df2c in llvm::MemoryBuffer::init(char const*, char const*, bool) /__w/era-compiler-vyper/era-compiler-vyper/target-llvm/build-final/../../llvm/llvm/lib/Support/MemoryBuffer.cpp:53:3
│       #1 0x56ec1038df2c in (anonymous namespace)::MemoryBufferMem<llvm::MemoryBuffer>::MemoryBufferMem(llvm::StringRef, bool) /__w/era-compiler-vyper/era-compiler-vyper/target-llvm/build-final/../../llvm/llvm/lib/Support/MemoryBuffer.cpp:95:19
│       #2 0x56ec1038df2c in llvm::MemoryBuffer::getMemBuffer(llvm::StringRef, llvm::StringRef, bool) /__w/era-compiler-vyper/era-compiler-vyper/target-llvm/build-final/../../llvm/llvm/lib/Support/MemoryBuffer.cpp:125:7
│       #3 0x56ec0ff219dc in LLVMCreateMemoryBufferWithMemoryRange /__w/era-compiler-vyper/era-compiler-vyper/target-llvm/build-final/../../llvm/llvm/lib/IR/Core.cpp:4089:15
│       #4 0x56ec0d1ae8f0 in inkwell::memory_buffer::MemoryBuffer::create_from_memory_range::ha2db7ce7a34d9f85 /usr/local/cargo/git/checkouts/inkwell-ae33c16eecfbdc50/c5d783f/src/memory_buffer.rs:90:13
│       #5 0x56ec0cc24dbc in era_compiler_vyper::project::contract::llvm_ir::Contract::compile::h7523fc493099b277 /__w/era-compiler-vyper/era-compiler-vyper/src/project/contract/llvm_ir.rs:47:29
│       #6 0x56ec0cd292da in era_compiler_vyper::project::contract::Contract::compile::h43091054924aad1a /__w/era-compiler-vyper/era-compiler-vyper/src/project/contract/mod.rs:73:36
│       #7 0x56ec0cb792f4 in era_compiler_vyper::process::run::h2b30583e6df3b193 /__w/era-compiler-vyper/era-compiler-vyper/src/process/mod.rs:27:17
│       #8 0x56ec0ca24492 in zkvyper::main_inner::h104557a232754bd7 /__w/era-compiler-vyper/era-compiler-vyper/src/zkvyper/main.rs:68:16
│       #9 0x56ec0ca2300b in zkvyper::main::h756355346e4eca27 /__w/era-compiler-vyper/era-compiler-vyper/src/zkvyper/main.rs:25:30
│       #10 0x56ec0ca2b2fa in core::ops::function::FnOnce::call_once::hda54faa91ee01264 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:250:5
│       #11 0x56ec0ca3005d in std::sys::backtrace::__rust_begin_short_backtrace::hbde0117e41996c56 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:154:18
│       #12 0x56ec0ca2ffd4 in std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::hbfb1c643971b3c1d /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:164:18
│       #13 0x56ec125d5dff in core::ops::function::impls::_$LT$impl$u20$core..ops..function..FnOnce$LT$A$GT$$u20$for$u20$$RF$F$GT$::call_once::h08ecba131ab90ec4 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:284:13
│       #14 0x56ec125d5dff in std::panicking::try::do_call::hf33a59fd8ce953f4 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:554:40
│       #15 0x56ec125d5dff in std::panicking::try::h5005ce80ce949fd8 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:518:19
│       #16 0x56ec125d5dff in std::panic::catch_unwind::hfbae19e2e2c5b7ed /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panic.rs:345:14
│       #17 0x56ec125d5dff in std::rt::lang_start_internal::_$u7b$$u7b$closure$u7d$$u7d$::ha0331c3690741813 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:143:48
│       #18 0x56ec125d5dff in std::panicking::try::do_call::hcdcbdb616b4d0295 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:554:40
│       #19 0x56ec125d5dff in std::panicking::try::h3f2f1725a07d2256 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:518:19
│       #20 0x56ec125d5dff in std::panic::catch_unwind::h51869e04b56b2dc3 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panic.rs:345:14
│       #21 0x56ec125d5dff in std::rt::lang_start_internal::h4d90db0530245041 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:143:20
│       #22 0x56ec0ca2fe78 in std::rt::lang_start::hd00f9352c8edf1b3 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:163:17
│       #23 0x56ec0ca2768d in main (/__w/era-compiler-vyper/era-compiler-vyper/target/x86_64-unknown-linux-gnu/debug/zkvyper+0x122868d) (BuildId: 99b3ba20dc1d5df38ce959539b2f4fa3d14e87d3)
│       #24 0x7adccb747d8f in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
│       #25 0x7adccb747e3f in __libc_start_main csu/../csu/libc-start.c:392:3
│       #26 0x56ec0c934a84 in _start (/__w/era-compiler-vyper/era-compiler-vyper/target/x86_64-unknown-linux-gnu/debug/zkvyper+0x1135a84) (BuildId: 99b3ba20dc1d5df38ce959539b2f4fa3d14e87d3)
│   
│   0x50b000000d06 is located 0 bytes after 102-byte region [0x50b000000ca0,0x50b000000d06)
│   allocated by thread T0 here:
│       #0 0x56ec0c9bda2f in malloc /rustc/llvm/src/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:68:3
│       #1 0x56ec12128c5f in alloc::alloc::alloc::h22b63c3399ba8084 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/alloc.rs:98:9
│       #2 0x56ec12128f3e in alloc::alloc::Global::alloc_impl::h0a650aab1b406984 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/alloc.rs:181:73
│       #3 0x56ec1212aa78 in _$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Allocator$GT$::allocate::h0e982bcf4b87a43b /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/alloc.rs:241:9
│       #4 0x56ec1213057e in alloc::raw_vec::RawVecInner$LT$A$GT$::with_capacity_in::h63ad508aab193959 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/raw_vec.rs:425:15
│       #5 0x56ec12134e08 in alloc::raw_vec::RawVec$LT$T$C$A$GT$::with_capacity_in::ha48f33de1e30d6f9 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/raw_vec.rs:202:20
│       #6 0x56ec12134e08 in alloc::vec::Vec$LT$T$C$A$GT$::with_capacity_in::hd9659590cca207ae /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/vec/mod.rs:698:20
│       #7 0x56ec12134e08 in _$LT$T$u20$as$u20$alloc..slice..hack..ConvertVec$GT$::to_vec::h6899ae373c194c9d /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/slice.rs:161:25
│       #8 0x56ec1212c395 in alloc::slice::hack::to_vec::h8966978fd7bd2200 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/slice.rs:110:9
│       #9 0x56ec1212c395 in alloc::slice::_$LT$impl$u20$$u5b$T$u5d$$GT$::to_vec_in::h6c0e1ccc561b84d9 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/slice.rs:477:9
│       #10 0x56ec1212c395 in alloc::slice::_$LT$impl$u20$$u5b$T$u5d$$GT$::to_vec::h91542e9330e0a5ff /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/slice.rs:452:14
│       #11 0x56ec1212c395 in alloc::slice::_$LT$impl$u20$alloc..borrow..ToOwned$u20$for$u20$$u5b$T$u5d$$GT$::to_owned::hbaf90c8f4191c0de /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/slice.rs:859:14
│       #12 0x56ec1212c395 in alloc::str::_$LT$impl$u20$alloc..borrow..ToOwned$u20$for$u20$str$GT$::to_owned::h73c489d6b39500fe /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/str.rs:210:62
│       #13 0x56ec1213dc23 in _$LT$serde..de..impls..StringVisitor$u20$as$u20$serde..de..Visitor$GT$::visit_str::h09aee0bd2394bec7 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.210/src/de/impls.rs:607:12
│       #14 0x56ec0caaf86d in _$LT$serde_stacker..de..Visitor$LT$V$GT$$u20$as$u20$serde..de..Visitor$GT$::visit_str::h7aa2dae4a8262e66 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_stacker-0.1.11/src/de.rs:441:9
│       #15 0x56ec0cf93cd0 in _$LT$$RF$mut$u20$serde_json..de..Deserializer$LT$R$GT$$u20$as$u20$serde..de..Deserializer$GT$::deserialize_string::he64efb257d23f9de /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/de.rs:1549:9
│       #16 0x56ec0cf3a420 in _$LT$serde_json..de..MapAccess$LT$R$GT$$u20$as$u20$serde..de..MapAccess$GT$::next_value_seed::h34946398c3656628 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/de.rs:2011:9
│       #17 0x56ec0caa0269 in _$LT$serde_stacker..de..Visitor$LT$V$GT$$u20$as$u20$serde..de..Visitor$GT$::visit_map::_$u7b$$u7b$closure$u7d$$u7d$::hdda51a61c6ce4dd9 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_stacker-0.1.11/src/de.rs:512:13
│       #18 0x56ec0ca937f0 in stacker::maybe_grow::h34638a5050c8aaa4 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/stacker-0.1.17/src/lib.rs:55:9
│       #19 0x56ec0ca937f0 in _$LT$serde_stacker..de..Visitor$LT$V$GT$$u20$as$u20$serde..de..Visitor$GT$::visit_map::h02542efbc9a73cb6 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_stacker-0.1.11/src/de.rs:511:9
│       #20 0x56ec0cf94d7a in _$LT$$RF$mut$u20$serde_json..de..Deserializer$LT$R$GT$$u20$as$u20$serde..de..Deserializer$GT$::deserialize_struct::h15ffd40f92ff4607 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/de.rs:1843:31
│       #21 0x56ec0cac2cf2 in _$LT$serde_stacker..de..Deserializer$LT$D$GT$$u20$as$u20$serde..de..Deserializer$GT$::deserialize_struct::hd9c22316a9a8dc34 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_stacker-0.1.11/src/de.rs:278:9
│       #22 0x56ec0cf6d9fa in _$LT$serde_json..de..VariantAccess$LT$R$GT$$u20$as$u20$serde..de..VariantAccess$GT$::newtype_variant_seed::hf77bad39825d3a8c /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/de.rs:2050:9
│       #23 0x56ec0ca8cc7b in _$LT$serde_stacker..de..Visitor$LT$V$GT$$u20$as$u20$serde..de..Visitor$GT$::visit_enum::_$u7b$$u7b$closure$u7d$$u7d$::hc4782b90603a5ff5 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_stacker-0.1.11/src/de.rs:521:13
│       #24 0x56ec0ca89d75 in stacker::maybe_grow::h1484c9c6211ccf8a /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/stacker-0.1.17/src/lib.rs:55:9
│       #25 0x56ec0ca89d75 in _$LT$serde_stacker..de..Visitor$LT$V$GT$$u20$as$u20$serde..de..Visitor$GT$::visit_enum::h5fbb074f275e80a4 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_stacker-0.1.11/src/de.rs:520:9
│       #26 0x56ec0cf8bae2 in _$LT$$RF$mut$u20$serde_json..de..Deserializer$LT$R$GT$$u20$as$u20$serde..de..Deserializer$GT$::deserialize_enum::h4091cd4c52850b51 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/de.rs:1876:31
│       #27 0x56ec0cabde02 in _$LT$serde_stacker..de..Deserializer$LT$D$GT$$u20$as$u20$serde..de..Deserializer$GT$::deserialize_enum::h8697dfec63d3e134 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_stacker-0.1.11/src/de.rs:292:9
│       #28 0x56ec0ccc4981 in _$LT$core..marker..PhantomData$LT$T$GT$$u20$as$u20$serde..de..DeserializeSeed$GT$::deserialize::hb96b34d81814e267 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.210/src/de/mod.rs:800:9
│       #29 0x56ec0cf3dbb0 in _$LT$serde_json..de..MapAccess$LT$R$GT$$u20$as$u20$serde..de..MapAccess$GT$::next_value_seed::hee5570d9bc8ddefc /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/de.rs:2011:9
│       #30 0x56ec0caa0589 in _$LT$serde_stacker..de..Visitor$LT$V$GT$$u20$as$u20$serde..de..Visitor$GT$::visit_map::_$u7b$$u7b$closure$u7d$$u7d$::he9d15f368f1d709e /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_stacker-0.1.11/src/de.rs:512:13
│       #31 0x56ec0ca97420 in stacker::maybe_grow::h3f9f460cc212049a /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/stacker-0.1.17/src/lib.rs:55:9
│       #32 0x56ec0ca97420 in _$LT$serde_stacker..de..Visitor$LT$V$GT$$u20$as$u20$serde..de..Visitor$GT$::visit_map::h823b22f275f4def9 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_stacker-0.1.11/src/de.rs:511:9
│       #33 0x56ec0cfa6997 in _$LT$$RF$mut$u20$serde_json..de..Deserializer$LT$R$GT$$u20$as$u20$serde..de..Deserializer$GT$::deserialize_struct::hc1df0153f797dbb4 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/de.rs:1843:31
│       #34 0x56ec0cac2632 in _$LT$serde_stacker..de..Deserializer$LT$D$GT$$u20$as$u20$serde..de..Deserializer$GT$::deserialize_struct::hbafcb11a3241ca77 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_stacker-0.1.11/src/de.rs:278:9
│       #35 0x56ec0ccfb1be in era_compiler_common::utils::deserialize_from_str::h23e3472fb2f64fd9 /usr/local/cargo/git/checkouts/era-compiler-common-20cf52d7a659adb9/10ea52e/era-compiler-common/src/utils.rs:28:5
│       #36 0x56ec0cb78e35 in era_compiler_vyper::process::run::h2b30583e6df3b193 /__w/era-compiler-vyper/era-compiler-vyper/src/process/mod.rs:24:24
│       #37 0x56ec0ca24492 in zkvyper::main_inner::h104557a232754bd7 /__w/era-compiler-vyper/era-compiler-vyper/src/zkvyper/main.rs:68:16
│       #38 0x56ec0ca2300b in zkvyper::main::h756355346e4eca27 /__w/era-compiler-vyper/era-compiler-vyper/src/zkvyper/main.rs:25:30
│   
│   SUMMARY: AddressSanitizer: heap-buffer-overflow /__w/era-compiler-vyper/era-compiler-vyper/target-llvm/build-final/../../llvm/llvm/lib/Support/MemoryBuffer.cpp:53:3 in llvm::MemoryBuffer::init(char const*, char const*, bool)
│   Shadow bytes around the buggy address:
│     0x50b000000a80: fa fa fd fd fd fd fd fd fd fd fd fd fd fd fd fd
│     0x50b000000b00: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd
│     0x50b000000b80: fd fd fd fd fd fa fa fa fa fa fa fa fa fa fd fd
│     0x50b000000c00: fd fd fd fd fd fd fd fd fd fd fd fa fa fa fa fa
│     0x50b000000c80: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 00 00
│   =>0x50b000000d00:[06]fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
│     0x50b000000d80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
│     0x50b000000e00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
│     0x50b000000e80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
│     0x50b000000f00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
│     0x50b000000f80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
│   Shadow byte legend (one shadow byte represents 8 application bytes):
│     Addressable:           00
│     Partially addressable: 01 02 03 04 05 06 07 
│     Heap left redzone:       fa
│     Freed heap region:       fd
│     Stack left redzone:      f1
│     Stack mid redzone:       f2
│     Stack right redzone:     f3
│     Stack after return:      f5
│     Stack use after scope:   f8
│     Global redzone:          f9
│     Global init order:       f6
│     Poisoned by user:        f7
│     Container overflow:      fc
│     Array cookie:            ac
│     Intra object redzone:    bb
│     ASan internal:           fe
│     Left alloca redzone:     ca
│     Right alloca redzone:    cb
│   ==21866==ABORTING
└── var as str: Contract `tests/data/contracts/vyper/greeter.vy`: "/__w/era-compiler-vyper/era-compiler-vyper/target/x86_64-unknown-linux-gnu/debug/zkvyper" subprocess compiling `tests/data/contracts/vyper/greeter.vy` failed with exit code Some(1):
    
    =================================================================
    ==21866==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x50b000000d06 at pc 0x56ec1038df2d bp 0x7fff44162130 sp 0x7fff44162128
    READ of size 1 at 0x50b000000d06 thread T0
        #0 0x56ec1038df2c in llvm::MemoryBuffer::init(char const*, char const*, bool) /__w/era-compiler-vyper/era-compiler-vyper/target-llvm/build-final/../../llvm/llvm/lib/Support/MemoryBuffer.cpp:53:3
        #1 0x56ec1038df2c in (anonymous namespace)::MemoryBufferMem<llvm::MemoryBuffer>::MemoryBufferMem(llvm::StringRef, bool) /__w/era-compiler-vyper/era-compiler-vyper/target-llvm/build-final/../../llvm/llvm/lib/Support/MemoryBuffer.cpp:95:19
        #2 0x56ec1038df2c in llvm::MemoryBuffer::getMemBuffer(llvm::StringRef, llvm::StringRef, bool) /__w/era-compiler-vyper/era-compiler-vyper/target-llvm/build-final/../../llvm/llvm/lib/Support/MemoryBuffer.cpp:125:7
        #3 0x56ec0ff219dc in LLVMCreateMemoryBufferWithMemoryRange /__w/era-compiler-vyper/era-compiler-vyper/target-llvm/build-final/../../llvm/llvm/lib/IR/Core.cpp:4089:15
        #4 0x56ec0d1ae8f0 in inkwell::memory_buffer::MemoryBuffer::create_from_memory_range::ha2db7ce7a34d9f85 /usr/local/cargo/git/checkouts/inkwell-ae33c16eecfbdc50/c5d783f/src/memory_buffer.rs:90:13
        #5 0x56ec0cc24dbc in era_compiler_vyper::project::contract::llvm_ir::Contract::compile::h7523fc493099b277 /__w/era-compiler-vyper/era-compiler-vyper/src/project/contract/llvm_ir.rs:47:29
        #6 0x56ec0cd292da in era_compiler_vyper::project::contract::Contract::compile::h43091054924aad1a /__w/era-compiler-vyper/era-compiler-vyper/src/project/contract/mod.rs:73:36
        #7 0x56ec0cb792f4 in era_compiler_vyper::process::run::h2b30583e6df3b193 /__w/era-compiler-vyper/era-compiler-vyper/src/process/mod.rs:27:17
        #8 0x56ec0ca24492 in zkvyper::main_inner::h104557a232754bd7 /__w/era-compiler-vyper/era-compiler-vyper/src/zkvyper/main.rs:68:16
        #9 0x56ec0ca2300b in zkvyper::main::h756355346e4eca27 /__w/era-compiler-vyper/era-compiler-vyper/src/zkvyper/main.rs:25:30
        #10 0x56ec0ca2b2fa in core::ops::function::FnOnce::call_once::hda54faa91ee01264 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:250:5
        #11 0x56ec0ca3005d in std::sys::backtrace::__rust_begin_short_backtrace::hbde0117e41996c56 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:154:18
        #12 0x56ec0ca2ffd4 in std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::hbfb1c643971b3c1d /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:164:18
        #13 0x56ec125d5dff in core::ops::function::impls::_$LT$impl$u20$core..ops..function..FnOnce$LT$A$GT$$u20$for$u20$$RF$F$GT$::call_once::h08ecba131ab90ec4 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:284:13
        #14 0x56ec125d5dff in std::panicking::try::do_call::hf33a59fd8ce953f4 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:554:40
        #15 0x56ec125d5dff in std::panicking::try::h5005ce80ce949fd8 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:518:19
        #16 0x56ec125d5dff in std::panic::catch_unwind::hfbae19e2e2c5b7ed /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panic.rs:345:14
        #17 0x56ec125d5dff in std::rt::lang_start_internal::_$u7b$$u7b$closure$u7d$$u7d$::ha0331c3690741813 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:143:48
        #18 0x56ec125d5dff in std::panicking::try::do_call::hcdcbdb616b4d0295 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:554:40
        #19 0x56ec125d5dff in std::panicking::try::h3f2f1725a07d2256 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:518:19
        #20 0x56ec125d5dff in std::panic::catch_unwind::h51869e04b56b2dc3 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panic.rs:345:14
        #21 0x56ec125d5dff in std::rt::lang_start_internal::h4d90db0530245041 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:143:20
        #22 0x56ec0ca2fe78 in std::rt::lang_start::hd00f9352c8edf1b3 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:163:17
        #23 0x56ec0ca2768d in main (/__w/era-compiler-vyper/era-compiler-vyper/target/x86_64-unknown-linux-gnu/debug/zkvyper+0x122868d) (BuildId: 99b3ba20dc1d5df38ce959539b2f4fa3d14e87d3)
        #24 0x7adccb747d8f in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
        #25 0x7adccb747e3f in __libc_start_main csu/../csu/libc-start.c:392:3
        #26 0x56ec0c934a84 in _start (/__w/era-compiler-vyper/era-compiler-vyper/target/x86_64-unknown-linux-gnu/debug/zkvyper+0x1135a84) (BuildId: 99b3ba20dc1d5df38ce959539b2f4fa3d14e87d3)
    
    0x50b000000d06 is located 0 bytes after 102-byte region [0x50b000000ca0,0x50b000000d06)
    allocated by thread T0 here:
        #0 0x56ec0c9bda2f in malloc /rustc/llvm/src/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:68:3
        #1 0x56ec12128c5f in alloc::alloc::alloc::h22b63c3399ba8084 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/alloc.rs:98:9
        #2 0x56ec12128f3e in alloc::alloc::Global::alloc_impl::h0a650aab1b406984 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/alloc.rs:181:73
        #3 0x56ec1212aa78 in _$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Allocator$GT$::allocate::h0e982bcf4b87a43b /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/alloc.rs:241:9
        #4 0x56ec1213057e in alloc::raw_vec::RawVecInner$LT$A$GT$::with_capacity_in::h63ad508aab193959 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/raw_vec.rs:425:15
        #5 0x56ec12134e08 in alloc::raw_vec::RawVec$LT$T$C$A$GT$::with_capacity_in::ha48f33de1e30d6f9 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/raw_vec.rs:202:20
        #6 0x56ec12134e08 in alloc::vec::Vec$LT$T$C$A$GT$::with_capacity_in::hd9659590cca207ae /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/vec/mod.rs:698:20
        #7 0x56ec12134e08 in _$LT$T$u20$as$u20$alloc..slice..hack..ConvertVec$GT$::to_vec::h6899ae373c194c9d /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/slice.rs:161:25
        #8 0x56ec1212c395 in alloc::slice::hack::to_vec::h8966978fd7bd2200 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/slice.rs:110:9
        #9 0x56ec1212c395 in alloc::slice::_$LT$impl$u20$$u5b$T$u5d$$GT$::to_vec_in::h6c0e1ccc561b84d9 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/slice.rs:477:9
        #10 0x56ec1212c395 in alloc::slice::_$LT$impl$u20$$u5b$T$u5d$$GT$::to_vec::h91542e9330e0a5ff /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/slice.rs:452:14
        #11 0x56ec1212c395 in alloc::slice::_$LT$impl$u20$alloc..borrow..ToOwned$u20$for$u20$$u5b$T$u5d$$GT$::to_owned::hbaf90c8f4191c0de /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/slice.rs:859:14
        #12 0x56ec1212c395 in alloc::str::_$LT$impl$u20$alloc..borrow..ToOwned$u20$for$u20$str$GT$::to_owned::h73c489d6b39500fe /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/alloc/src/str.rs:210:62
        #13 0x56ec1213dc23 in _$LT$serde..de..impls..StringVisitor$u20$as$u20$serde..de..Visitor$GT$::visit_str::h09aee0bd2394bec7 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.210/src/de/impls.rs:607:12
        #14 0x56ec0caaf86d in _$LT$serde_stacker..de..Visitor$LT$V$GT$$u20$as$u20$serde..de..Visitor$GT$::visit_str::h7aa2dae4a8262e66 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_stacker-0.1.11/src/de.rs:441:9
        #15 0x56ec0cf93cd0 in _$LT$$RF$mut$u20$serde_json..de..Deserializer$LT$R$GT$$u20$as$u20$serde..de..Deserializer$GT$::deserialize_string::he64efb257d23f9de /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/de.rs:1549:9
        #16 0x56ec0cf3a420 in _$LT$serde_json..de..MapAccess$LT$R$GT$$u20$as$u20$serde..de..MapAccess$GT$::next_value_seed::h34946398c3656628 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/de.rs:2011:9
        #17 0x56ec0caa0269 in _$LT$serde_stacker..de..Visitor$LT$V$GT$$u20$as$u20$serde..de..Visitor$GT$::visit_map::_$u7b$$u7b$closure$u7d$$u7d$::hdda51a61c6ce4dd9 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_stacker-0.1.11/src/de.rs:512:13
        #18 0x56ec0ca937f0 in stacker::maybe_grow::h34638a5050c8aaa4 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/stacker-0.1.17/src/lib.rs:55:9
        #19 0x56ec0ca937f0 in _$LT$serde_stacker..de..Visitor$LT$V$GT$$u20$as$u20$serde..de..Visitor$GT$::visit_map::h02542efbc9a73cb6 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_stacker-0.1.11/src/de.rs:511:9
        #20 0x56ec0cf94d7a in _$LT$$RF$mut$u20$serde_json..de..Deserializer$LT$R$GT$$u20$as$u20$serde..de..Deserializer$GT$::deserialize_struct::h15ffd40f92ff4607 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/de.rs:1843:31
        #21 0x56ec0cac2cf2 in _$LT$serde_stacker..de..Deserializer$LT$D$GT$$u20$as$u20$serde..de..Deserializer$GT$::deserialize_struct::hd9c22316a9a8dc34 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_stacker-0.1.11/src/de.rs:278:9
        #22 0x56ec0cf6d9fa in _$LT$serde_json..de..VariantAccess$LT$R$GT$$u20$as$u20$serde..de..VariantAccess$GT$::newtype_variant_seed::hf77bad39825d3a8c /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/de.rs:2050:9
        #23 0x56ec0ca8cc7b in _$LT$serde_stacker..de..Visitor$LT$V$GT$$u20$as$u20$serde..de..Visitor$GT$::visit_enum::_$u7b$$u7b$closure$u7d$$u7d$::hc4782b90603a5ff5 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_stacker-0.1.11/src/de.rs:521:13
        #24 0x56ec0ca89d75 in stacker::maybe_grow::h1484c9c6211ccf8a /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/stacker-0.1.17/src/lib.rs:55:9
        #25 0x56ec0ca89d75 in _$LT$serde_stacker..de..Visitor$LT$V$GT$$u20$as$u20$serde..de..Visitor$GT$::visit_enum::h5fbb074f275e80a4 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_stacker-0.1.11/src/de.rs:520:9
        #26 0x56ec0cf8bae2 in _$LT$$RF$mut$u20$serde_json..de..Deserializer$LT$R$GT$$u20$as$u20$serde..de..Deserializer$GT$::deserialize_enum::h4091cd4c52850b51 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/de.rs:1876:31
        #27 0x56ec0cabde02 in _$LT$serde_stacker..de..Deserializer$LT$D$GT$$u20$as$u20$serde..de..Deserializer$GT$::deserialize_enum::h8697dfec63d3e134 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_stacker-0.1.11/src/de.rs:292:9
        #28 0x56ec0ccc4981 in _$LT$core..marker..PhantomData$LT$T$GT$$u20$as$u20$serde..de..DeserializeSeed$GT$::deserialize::hb96b34d81814e267 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.210/src/de/mod.rs:800:9
        #29 0x56ec0cf3dbb0 in _$LT$serde_json..de..MapAccess$LT$R$GT$$u20$as$u20$serde..de..MapAccess$GT$::next_value_seed::hee5570d9bc8ddefc /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/de.rs:2011:9
        #30 0x56ec0caa0589 in _$LT$serde_stacker..de..Visitor$LT$V$GT$$u20$as$u20$serde..de..Visitor$GT$::visit_map::_$u7b$$u7b$closure$u7d$$u7d$::he9d15f368f1d709e /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_stacker-0.1.11/src/de.rs:512:13
        #31 0x56ec0ca97420 in stacker::maybe_grow::h3f9f460cc212049a /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/stacker-0.1.17/src/lib.rs:55:9
        #32 0x56ec0ca97420 in _$LT$serde_stacker..de..Visitor$LT$V$GT$$u20$as$u20$serde..de..Visitor$GT$::visit_map::h823b22f275f4def9 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_stacker-0.1.11/src/de.rs:511:9
        #33 0x56ec0cfa6997 in _$LT$$RF$mut$u20$serde_json..de..Deserializer$LT$R$GT$$u20$as$u20$serde..de..Deserializer$GT$::deserialize_struct::hc1df0153f797dbb4 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/de.rs:1843:31
        #34 0x56ec0cac2632 in _$LT$serde_stacker..de..Deserializer$LT$D$GT$$u20$as$u20$serde..de..Deserializer$GT$::deserialize_struct::hbafcb11a3241ca77 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_stacker-0.1.11/src/de.rs:278:9
        #35 0x56ec0ccfb1be in era_compiler_common::utils::deserialize_from_str::h23e3472fb2f64fd9 /usr/local/cargo/git/checkouts/era-compiler-common-20cf52d7a659adb9/10ea52e/era-compiler-common/src/utils.rs:28:5
        #36 0x56ec0cb78e35 in era_compiler_vyper::process::run::h2b30583e6df3b193 /__w/era-compiler-vyper/era-compiler-vyper/src/process/mod.rs:24:24
        #37 0x56ec0ca24492 in zkvyper::main_inner::h104557a232754bd7 /__w/era-compiler-vyper/era-compiler-vyper/src/zkvyper/main.rs:68:16
        #38 0x56ec0ca2300b in zkvyper::main::h756355346e4eca27 /__w/era-compiler-vyper/era-compiler-vyper/src/zkvyper/main.rs:25:30
    
    SUMMARY: AddressSanitizer: heap-buffer-overflow /__w/era-compiler-vyper/era-compiler-vyper/target-llvm/build-final/../../llvm/llvm/lib/Support/MemoryBuffer.cpp:53:3 in llvm::MemoryBuffer::init(char const*, char const*, bool)
    Shadow bytes around the buggy address:
      0x50b000000a80: fa fa fd fd fd fd fd fd fd fd fd fd fd fd fd fd
      0x50b000000b00: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd
      0x50b000000b80: fd fd fd fd fd fa fa fa fa fa fa fa fa fa fd fd
      0x50b000000c00: fd fd fd fd fd fd fd fd fd fd fd fa fa fa fa fa
      0x50b000000c80: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 00 00
    =>0x50b000000d00:[06]fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
      0x50b000000d80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
      0x50b000000e00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
      0x50b000000e80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
      0x50b000000f00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
      0x50b000000f80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
    Shadow byte legend (one shadow byte represents 8 application bytes):
      Addressable:           00
      Partially addressable: 01 02 03 04 05 06 07 
      Heap left redzone:       fa
      Freed heap region:       fd
      Stack left redzone:      f1
      Stack mid redzone:       f2
      Stack right redzone:     f3
      Stack after return:      f5
      Stack use after scope:   f8
      Global redzone:          f9
      Global init order:       f6
      Poisoned by user:        f7
      Container overflow:      fc
      Array cookie:            ac
      Intra object redzone:    bb
      ASan internal:           fe
      Left alloca redzone:     ca
      Right alloca redzone:    cb
    ==21866==ABORTING

command=`PATH="/__w/era-compiler-vyper/era-compiler-vyper/vyper-bin" "/__w/era-compiler-vyper/era-compiler-vyper/target/x86_64-unknown-linux-gnu/debug/zkvyper" "--llvm-ir" "tests/data/contracts/vyper/greeter.vy"`
code=1
stdout=""
stderr=<108 lines total>
```
Contract `tests/data/contracts/vyper/greeter.vy`: \"/__w/era-compiler-vyper/era-compiler-vyper/target/x86_64-unknown-linux-gnu/debug/zkvyper\" subprocess compiling `tests/data/contracts/vyper/greeter.vy` failed with exit code Some(1):

=================================================================
==21866==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x50b000000d06 at pc 0x56ec1038df2d bp 0x7fff44162130 sp 0x7fff44162128
READ of size 1 at 0x50b000000d06 thread T0
    #0 0x56ec1038df2c in llvm::MemoryBuffer::init(char const*, char const*, bool) /__w/era-compiler-vyper/era-compiler-vyper/target-llvm/build-final/../../llvm/llvm/lib/Support/MemoryBuffer.cpp:53:3
    #1 0x56ec1038df2c in (anonymous namespace)::MemoryBufferMem<llvm::MemoryBuffer>::MemoryBufferMem(llvm::StringRef, bool) /__w/era-compiler-vyper/era-compiler-vyper/target-llvm/build-final/../../llvm/llvm/lib/Support/MemoryBuffer.cpp:95:19
    #2 0x56ec1038df2c in llvm::MemoryBuffer::getMemBuffer(llvm::StringRef, llvm::StringRef, bool) /__w/era-compiler-vyper/era-compiler-vyper/target-llvm/build-final/../../llvm/llvm/lib/Support/MemoryBuffer.cpp:125:7
    #3 0x56ec0ff219dc in LLVMCreateMemoryBufferWithMemoryRange /__w/era-compiler-vyper/era-compiler-vyper/target-llvm/build-final/../../llvm/llvm/lib/IR/Core.cpp:4089:15
    #4 0x56ec0d1ae8f0 in inkwell::memory_buffer::MemoryBuffer::create_from_memory_range::ha2db7ce7a34d9f85 /usr/local/cargo/git/checkouts/inkwell-ae33c16eecfbdc50/c5d783f/src/memory_buffer.rs:90:13
    #5 0x56ec0cc24dbc in era_compiler_vyper::project::contract::llvm_ir::Contract::compile::h7523fc493099b277 /__w/era-compiler-vyper/era-compiler-vyper/src/project/contract/llvm_ir.rs:47:29
    #6 0x56ec0cd292da in era_compiler_vyper::project::contract::Contract::compile::h43091054924aad1a /__w/era-compiler-vyper/era-compiler-vyper/src/project/contract/mod.rs:73:36
    #7 0x56ec0cb792f4 in era_compiler_vyper::process::run::h2b30583e6df3b193 /__w/era-compiler-vyper/era-compiler-vyper/src/process/mod.rs:27:17
    #8 0x56ec0ca24492 in zkvyper::main_inner::h104557a232754bd7 /__w/era-compiler-vyper/era-compiler-vyper/src/zkvyper/main.rs:68:16
    #9 0x56ec0ca2300b in zkvyper::main::h756355346e4eca27 /__w/era-compiler-vyper/era-compiler-vyper/src/zkvyper/main.rs:25:30
    #10 0x56ec0ca2b2fa in core::ops::function::FnOnce::call_once::hda54faa91ee01264 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:250:5
    #11 0x56ec0ca3005d in std::sys::backtrace::__rust_begin_short_backtrace::hbde0117e41996c56 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:154:18
    #12 0x56ec0ca2ffd4 in std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::hbfb1c643971b3c1d /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/rt.rs:164:18
    #13 0x56ec125d5dff in core::ops::function::impls::_$LT$impl$u20$core..ops..function..FnOnce$LT$A$GT$$u20$for$u20$$RF$F$GT$::call_once::h08ecba131ab90ec4 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:284:13
    #14 0x56ec125d5dff in std::panicking::try::do_call::hf33a59fd8ce953f4 /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/panicking.rs:554:40
```
<48 lines omitted>
```
    #33 0x56ec0cfa6997 in _$LT$$RF$mut$u20$serde_json..de..Deserializer$LT$R$GT$$u20$as$u20$serde..de..Deserializer$GT$::deserialize_struct::hc1df0153f797dbb4 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/de.rs:1843:31
    #34 0x56ec0cac2632 in _$LT$serde_stacker..de..Deserializer$LT$D$GT$$u20$as$u20$serde..de..Deserializer$GT$::deserialize_struct::hbafcb11a3241ca77 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_stacker-0.1.11/src/de.rs:278:9
    #35 0x56ec0ccfb1be in era_compiler_common::utils::deserialize_from_str::h23e3472fb2f64fd9 /usr/local/cargo/git/checkouts/era-compiler-common-20cf52d7a659adb9/10ea52e/era-compiler-common/src/utils.rs:28:5
    #36 0x56ec0cb78e35 in era_compiler_vyper::process::run::h2b30583e6df3b193 /__w/era-compiler-vyper/era-compiler-vyper/src/process/mod.rs:24:24
    #37 0x56ec0ca24492 in zkvyper::main_inner::h104557a232754bd7 /__w/era-compiler-vyper/era-compiler-vyper/src/zkvyper/main.rs:68:16
    #38 0x56ec0ca2300b in zkvyper::main::h756355346e4eca27 /__w/era-compiler-vyper/era-compiler-vyper/src/zkvyper/main.rs:25:30

SUMMARY: AddressSanitizer: heap-buffer-overflow /__w/era-compiler-vyper/era-compiler-vyper/target-llvm/build-final/../../llvm/llvm/lib/Support/MemoryBuffer.cpp:53:3 in llvm::MemoryBuffer::init(char const*, char const*, bool)
Shadow bytes around the buggy address:
  0x50b000000a80: fa fa fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x50b000000b00: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd
  0x50b000000b80: fd fd fd fd fd fa fa fa fa fa fa fa fa fa fd fd
  0x50b000000c00: fd fd fd fd fd fd fd fd fd fd fd fa fa fa fa fa
  0x50b000000c80: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 00 00
=>0x50b000000d00:[06]fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x50b000000d80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x50b000000e00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x50b000000e80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x50b000000f00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x50b000000f80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07 
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
==21866==ABORTING
```


note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace