Skip to content

AssemblyScript crashes with bus error #2740

Closed
@SukkaW

Description

@SukkaW

Bug description

image

I guess there might be an OOB error that causes Node.js to exit with a low-level bus error.

The source code of the wasm has been attached to the playground, link below.

Note that the error occurs on Node.js 18.17.1, MacBook Pro 2019. But I can't reproduce the error on the AssemblyScript playground.

Steps to reproduce

The original repo: https://github.com/SukkaW/cidr-tools-wasm

Here is the reproduction at the AssemblyScript playground.

AssemblyScript version

v0.27.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions