[quickjs-devel] Segmentation fault on simple input when compiled with "-fno-bigint"

  • From: Vladimir Gubarkov <xonixx@xxxxxxxxx>
  • To: quickjs-devel@xxxxxxxxxxxxx
  • Date: Mon, 6 Jul 2020 14:23:39 +0300

Hi,

Please find the details below

```
$ cat test1.js ; ~/proj_src/quickjs/qjsc test1.js -fno-bigint -o test1 ;
./test1

print(1)
print("hello" > 1);
print(2)
1
Segmentation fault

$ cat test1.js ; ~/proj_src/quickjs/qjsc test1.js -o test1 ; ./test1

print(1)
print("hello" > 1);
print(2)
1
false
2

$ ~/proj_src/quickjs/qjsc -h | grep version
QuickJS Compiler version 2020-04-12

$ uname -a
Linux uroboros 4.15.0-99-generic #100~16.04.1-Ubuntu SMP Wed Apr 22
23:56:30 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
```

Best regards,
Volodymyr

Other related posts:

  • » [quickjs-devel] Segmentation fault on simple input when compiled with "-fno-bigint" - Vladimir Gubarkov