Skip to content

runtime error in ecma-helpers-value.c #5234

Open
@chongwick

Description

@chongwick

jerryscript/jerryscript/jerry-core/ecma/base/ecma-helpers-value.c:572:40: runtime error: 9.0072e+15 is outside the range of representable values of type 'int'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/w023dtc/jerryscript/jerryscript/jerry-core/ecma/base/ecma-helpers-value.c:572:40 in

JerryScript revision

5020015

Build platform

ubuntu 22.04

Build steps

python3 tools/build.py --debug --compile-flag=-fsanitize-coverage=trace-pc-guard

Test case

for (let i = 0; i < Number.MAX_SAFE_INTEGER; i++) {}

Output

Copy relevant output from the standard output and/or error channels.

Backtrace

In case of a crash (assertion failure, etc.), try to copy the backtrace from a
debugger at the point of failure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions