jerryscript-project / iotjs

Platform for Internet of Things with JavaScript http://www.iotjs.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Assertion '!ecma_number_is_nan (num)' failed in ecma_number_is_infinity

renatahodovan opened this issue · comments

IoT.js version:
Checked revision: bc9a5da

Build command: CC=clang-7 \
tools/build.py --clean \
--buildtype=debug \
--compile-flag="-D'IOTJS_ASSERT(x)=assert(x)'" \
--compile-flag=-O2 --compile-flag=-fno-common --no-snapshot \
--compile-flag=-fsanitize=address --compile-flag=-fno-omit-frame-pointer \
--jerry-cmake-param=-DFEATURE_SYSTEM_ALLOCATOR=ON --target-arch=i686 \
--profile=test/profiles/host-linux.profile --jerry-profile=es2015-subset \
--jerry-cmake-param=-DEXTERNAL_COMPILE_FLAGS=-Wno-conversion
OS:
Linux-4.15.0-54-generic-x86_64-with-Ubuntu-18.04-bionic
Test case:
var $ = new DataView(new ArrayBuffer(), 0, $)
Backtrace:
ICE: Assertion '!ecma_number_is_nan (num)' failed at iotjs/deps/jerry/jerry-core/ecma/base/ecma-helpers-number.c(ecma_number_is_infinity):339.
Error: ERR_FAILED_INTERNAL_ASSERTION

Found by Fuzzinator with JsProFuzz.

This issue is fixed with a jerry submodule update:
was fixed with:
jerryscript-project/jerryscript#2856