Skip to content

Assertion 'ecma_find_named_property (object_p, name_p) == NULL' failed in ecma_create_named_data_property #5355

Backlog

Description

@renatahodovan
JerryScript revision

b706935

Build platform

macOS 26.6.2, arm64

Build steps
./tools/build.py --clean --debug --compile-flag=-fsanitize=address --logging=on --compile-flag="-Wno-error=enum-enum-conversion" --compile-flag="-Wno-unterminated-string-initialization"
Test case
new class extends BigInt64Array{E=super[this]=super[this]=this}
Output
ICE: Assertion 'ecma_find_named_property (object_p, name_p) == NULL' failed at jerryscript/jerry-core/ecma/base/ecma-helpers.c(ecma_create_named_data_property):528.
Error: JERRY_FATAL_FAILED_ASSERTION
AddressSanitizer:DEADLYSIGNAL
=================================================================
==12901==ERROR: AddressSanitizer: ABRT on unknown address 0x0001826485e8 (pc 0x0001826485e8 bp 0x00016f6b9c40 sp 0x00016f6b9c20 T0)
    #0 0x0001826485e8 in __pthread_kill+0x8 (libsystem_kernel.dylib:arm64e+0x95e8)
    #1 0x000182589974 in abort+0x90 (libsystem_c.dylib:arm64e+0x78974)
    #2 0x000100956ca4 in jerry_port_fatal jerry-port-process.c:41
    #3 0x000100870430 in jerry_fatal jrt-fatals.c:63
    #4 0x00010087048c in jerry_assert_fail jrt-fatals.c:83
    #5 0x000100789a64 in ecma_create_named_data_property ecma-helpers.c:528
    #6 0x0001008425c4 in ecma_op_object_put_apply_receiver ecma-objects.c:1232
    #7 0x000100842000 in ecma_op_object_put_with_receiver ecma-objects.c:1587
    #8 0x000100929448 in opfunc_assign_super_reference opcodes.c:2072
    #9 0x00010093fe08 in vm_loop vm.c:2852
    #10 0x000100930070 in vm_execute vm.c:5230
    #11 0x00010092e80c in vm_run vm.c:5331
    #12 0x00010092343c in opfunc_init_class_fields opcodes.c:1049
    #13 0x00010082cc70 in ecma_op_function_construct_constructor ecma-function-object.c:1693
    #14 0x00010082c504 in ecma_op_function_construct ecma-function-object.c:1784
    #15 0x000100950dd4 in opfunc_construct vm.c:840
    #16 0x000100930160 in vm_execute vm.c:5255
    #17 0x00010092e80c in vm_run vm.c:5331
    #18 0x00010092e2e4 in vm_run_global vm.c:286
    #19 0x000100744e6c in jerry_run jerryscript.c:549
    #20 0x0001009558ac in jerryx_source_exec_script sources.c:68
    #21 0x00010073d5b4 in main main-desktop.c:156
    #22 0x0001822b84e0 in start+0x1b4c (dyld:arm64e+0x204e0)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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