-
Notifications
You must be signed in to change notification settings - Fork 249
Closed
Labels
confirmedissue reported has been reproducedissue reported has been reproducedfixed - please verifyIssue has been fixed. Please verify and close.Issue has been fixed. Please verify and close.
Description
Build environment
- operating system: ubuntu20.04
- compile command:
cd /pathto/moddable/xs/makefiles/lin
make release
- test command:
./xst poc
poc
(-1e-301).toString(2);
description
AddressSanitizer:DEADLYSIGNAL
=================================================================
==786933==ERROR: AddressSanitizer: SEGV on unknown address 0x7fcc01c02bbe (pc 0x0000007198ad bp 0x7ffd346a6601 sp 0x7ffd346a5e50 T0)
==786933==The signal is caused by a WRITE memory access.
#0 0x7198ad in fx_Number_prototype_toString /home/sakura/moddable/xs/sources/xsNumber.c:457:16
#1 0x781b49 in fxRunID /home/sakura/moddable/xs/sources/xsRun.c:842:7
#2 0x78fc8f in fxRunScript /home/sakura/moddable/xs/sources/xsRun.c:4766:4
#3 0x9096d7 in fxRunProgramFile /home/sakura/moddable/xs/tools/xst.c:1387:2
#4 0x9096d7 in main /home/sakura/moddable/xs/tools/xst.c:281:8
#5 0x7fcc85fb50b2 in __libc_start_main /build/glibc-eX1tMB/glibc-2.31/csu/../csu/libc-start.c:308:16
#6 0x42e69d in _start (/home/sakura/moddable/build/bin/lin/debug/xst+0x42e69d)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/sakura/moddable/xs/sources/xsNumber.c:457:16 in fx_Number_prototype_toString
==786933==ABORTING
Metadata
Metadata
Assignees
Labels
confirmedissue reported has been reproducedissue reported has been reproducedfixed - please verifyIssue has been fixed. Please verify and close.Issue has been fixed. Please verify and close.