Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion '!ecma_number_is_nan (num)' failed in ecma_number_is_infinity #1916

Open
renatahodovan opened this issue Jul 5, 2019 · 1 comment

Comments

@renatahodovan
Copy link
Contributor

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.

@DanielBallaSZTE
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants