Skip to content

Build failure for python #3

Description

@csaba-pales-epam

Build process fails with memory error 137 while running python unit tests.

System python version: 3.9.6

Output:

[ 99%] Building C object core/CMakeFiles/j2735_wasm_lib.dir/j2735_202409/src/xer_encoder.c.o
[ 99%] Building C object core/CMakeFiles/j2735_wasm_lib.dir/j2735_202409/src/uper_support.c.o
[ 99%] Building C object core/CMakeFiles/j2735_wasm_lib.dir/j2735_202409/src/xer_decoder.c.o
[ 99%] Building C object core/CMakeFiles/j2735_wasm_lib.dir/j2735_202409/src/xer_support.c.o
[100%] Linking C executable /Users/PALESCS/projects/tmp/etx-starter-kit/j2735codec/dist/wasm/j2735codec.wasm
Constructing WASM asset directory /Users/PALESCS/projects/tmp/etx-starter-kit/j2735codec/dist/wasm...
Constructing WASM asset directories for /Users/PALESCS/projects/tmp/etx-starter-kit/j2735codec/bindings/python/src/j2735codec/generated...
Generating PYTHON Enum PDUTypes (Passthrough: PYTHON)
Generating PYTHON Enum EncodingRules (Passthrough: PYTHON)
Constructing WASM asset directories for /Users/PALESCS/projects/tmp/etx-starter-kit/j2735codec/bindings/node/src/generated...
Generating NODE Enum PDUTypes (Passthrough: NODE)
Generating NODE Enum EncodingRules (Passthrough: NODE)
[100%] Built target j2735_wasm_lib
🧪 Phase 1: Testing Local Source...
🛠️ Syncing Python dependencies (Frozen)...
/Users/PALESCS/.local/bin/uv sync --all-packages --frozen --quiet
🧪 Running pytest...
/Users/PALESCS/.local/bin/uv run python -m pytest j2735codec/bindings/python/tests -s
============================================================= test session starts ==============================================================
platform darwin -- Python 3.9.6, pytest-8.4.2, pluggy-1.6.0
rootdir: /Users/PALESCS/projects/tmp/etx-starter-kit/j2735codec/bindings/python
configfile: pyproject.toml
collected 11 items

j2735codec/bindings/python/tests/test_codec.py make[1]: *** [test-py] Error 137
make: *** [install-py] Error 2

Steps

❯ which python3
/usr/bin/python3
❯ python3 --version
Python 3.9.6
❯ make install-py
...

Wasmtime instance malloc is causing the error https://github.com/5GRealityLab/etx-starter-kit/blob/c3e107e2dba7edd66621f69eeb779605fae826a6/j2735codec/bindings/python/src/j2735codec/codec.py#L184

Activity

  1. gytibor commented on Apr 7, 2026

    @gytibor
    Collaborator

    The issue is fixed in #6.

  2. linked a pull request that will close this issueFeature/initial release fixes #6on Apr 7, 2026
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

    bugSomething isn't working

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions