Skip to content

Assert in serializer_get_opcode #203

Closed
@seanshpark

Description

@seanshpark

When dump op codes with iotjs, I get below assert.

ICE: Assertion 'oc < bytecode_data.opcodes_count' failed at /.../iotjs/deps/jerry/jerry-core/parser/js/serializer.cpp(serializer_get_opcode)

how to reproduce

  1. build iotjs
./tools/build.py --jerry-memstats --no-checktest

branch is c87ab8db64fc0f40a25b941510b3a119c831932a
2) run test

cd test/run_pass
../../build/(core)/debug/iotjs/iotjs test_net.js

where (core) depends on your build machine.
oc is 66 and bytecode_data.opcodes_count is 37 when assert failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourcriticalRaises security concernsparserRelated to the JavaScript parser

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions