Skip to content

A memory related bug. #423

@erxiaozhou

Description

@erxiaozhou

Bug Report

1Minimal reproduce step (Required)

Execute a Wasm program that requires memory thousands of times. There will be memory Errors (e.g., Bus Error).

The root cause is at src/runtime/memory.cpp:93 "::sprintf(Path, "/dev/shm/zetaengine_init_memory_%ld_%d.memory", PathIdBegin, Options->MemoryIndex);".
DTVM will create a file at /dev/shm, but do not remove it.

What is the version of this project you are using? (Required)

I found the bug at 67ecf5b .
Since src/runtime/memory.cpp remains unchanged until 78a5573, the bug may still exist.

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