You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AddressSanitizer:DEADLYSIGNAL
=================================================================
==23649==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000030 (pc 0x0000005403c7 bp 0x000000000000 sp 0x7fff7fd8b580 T0)
==23649==The signal is caused by a READ memory access.
==23649==Hint: address points to the zero page.
#0 0x5403c7 in RemoveCodePageOfCapacity /home/lain/wasm3/source/m3_env.c#1 0x5403c7 in Environment_AcquireCodePage /home/lain/wasm3/source/m3_env.c:142:12#2 0x5403c7 in AcquireCodePageWithCapacity /home/lain/wasm3/source/m3_env.c:1117:16#3 0x531bd8 in EnsureCodePageNumLines /home/lain/wasm3/source/m3_compile.c:34:28#4 0x52f1cd in EmitOp /home/lain/wasm3/source/m3_compile.c:68:18#5 0x532102 in CopyStackIndexToSlot /home/lain/wasm3/source/m3_compile.c:847:1#6 0x532102 in CopyStackTopToSlot /home/lain/wasm3/source/m3_compile.c:865:1#7 0x532102 in CompileCallArgsAndReturn /home/lain/wasm3/source/m3_compile.c:1637:1#8 0x50d5cf in Compile_Call /home/lain/wasm3/source/m3_compile.c:1670:1#9 0x529595 in CompileBlockStatements /home/lain/wasm3/source/m3_compile.c:2605:1#10 0x52ea92 in CompileFunction /home/lain/wasm3/source/m3_compile.c:2905:1#11 0x53c8d0 in m3_FindFunction /home/lain/wasm3/source/m3_env.c:748:1#12 0x4f9295 in repl_call /home/lain/wasm3/platforms/app/main.c:258:23#13 0x4fafe3 in main /home/lain/wasm3/platforms/app/main.c#14 0x7f3aa8427082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16#15 0x41ea5d in _start (/home/lain/wasm3/build/wasm3+0x41ea5d)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/lain/wasm3/source/m3_env.c in RemoveCodePageOfCapacity
==23649==ABORTING
The text was updated successfully, but these errors were encountered:
#5 0x00005555555d9e4b in MarkSlotAllocated (o=0x626000000100, i_slot=4000) at wasm3/source/m3_compile.c:331
#6 0x00005555555d9f4a in MarkSlotsAllocated (o=0x626000000100, i_slot=4001, i_numSlots=1) at wasm3/source/m3_compile.c:343
#7 0x00005555555d9f9c in MarkSlotsAllocatedByType (o=0x626000000100, i_slot=4000, i_type=4 '\004') at wasm3/source/m3_compile.c:350
#8 0x00005555555e1c19 in CompileCallArgsAndReturn (o=0x626000000100, o_stackOffset=0x7ffff573d730, i_type=0x603000000250, i_isIndirect=false)
at wasm3/source/m3_compile.c:1647
#9 0x00005555555e2058 in Compile_Call (o=0x626000000100, i_opcode=16) at wasm3/source/m3_compile.c:1670
Environment
Proof of Concept
wasm3-poc-11.zip
Stack Trace Provide By AddressSanitizer
The text was updated successfully, but these errors were encountered: