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_STRING_IS_REF_EQUALS_TO_ONE (string_p)' failed in ecma_free_string_list #1915

Closed
renatahodovan opened this issue Jul 5, 2019 · 0 comments · Fixed by #1918

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 uart = require('uart')
uart.open(this)
Backtrace:
TypeError: Missing argument, required device
    at uart:23
    at iotjs/test.js:2
    at module:312
    at module:277
    at module:332
    at iotjs.js:180
    at iotjs.js:16
ICE: Assertion 'ECMA_STRING_IS_REF_EQUALS_TO_ONE (string_p)' failed at iotjs/deps/jerry/jerry-core/ecma/base/ecma-literal-storage.c(ecma_free_string_list):43.
Error: ERR_FAILED_INTERNAL_ASSERTION

Found by Fuzzinator with JsProFuzz.

DanielBallaSZTE pushed a commit to DanielBallaSZTE/iotjs that referenced this issue Jul 8, 2019
Fixes jerryscript-project#1915

Co-authored-by: Robert Fancsik <frobert@inf.u-szeged.hu>
IoT.js-DCO-1.0-Signed-off-by: Daniel Balla dballa@inf.u-szeged.hu
haesik pushed a commit that referenced this issue Jul 11, 2019
Fixes #1915

Co-authored-by: Robert Fancsik <frobert@inf.u-szeged.hu>
IoT.js-DCO-1.0-Signed-off-by: Daniel Balla dballa@inf.u-szeged.hu
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

Successfully merging a pull request may close this issue.

1 participant