cesanta / mjs

Embedded JavaScript engine for C/C++
https://mongoose-os.com
Other
1.84k stars 171 forks source link

SEGV #242

Open cniddodi opened 1 year ago

cniddodi commented 1 year ago

SEGV

Built from git commit hash b1b6eac OS: Ubuntu 20.04 Compiler: clang version 11.0

Build options: CC=clang CXX=clang++ CFLAGS="-g -fno-inline -fsanitize=address" CXXFLAGS="-g -fno-inline -fsanitize=address" LDFLAGS="$LDFLAGS -fsanitize=address" ASAN_OPTIONS=abort_on_error=1

Command: ./mjs-bin -f pov

POV file: pov.zip

Stack trace:

==1172515==ERROR: AddressSanitizer: SEGV on unknown address 0x000041b58ab3 (pc 0x000041b58ab3 bp 0x0000005267fd sp 0x7ffe43b36a28 T0)
==1172515==The signal is caused by a READ memory access.
AddressSanitizer:DEADLYSIGNAL
AddressSanitizer: nested bug in the same thread, aborting.