Skip to content

segfault from Checkedlist of ctype #151

Description

@robertmorelli

lib.py:

import __static__
from __static__ import int64, CheckedList

def f() -> int64:
    lis: CheckedList[int64] = []
    lis.append(3)
    return lis.pop()

main.py:

import cinderx.jit
from cinderx.compiler.strict.loader import install
cinderx.jit.compile_after_n_calls(0)
install()

from lib import f
f()

install specs:

cinderx pulled/built from source and installed to venv (commit 4ff0ed93278a3521d62dae8afbe33bc997adb32b)
python3.14 (from homebrew)
MacOS 27.0 Beta (KK4GR6WT65) Apple M1 Pro (MacBook Pro)

error:

∫ python3 main.py
[1]    60120 segmentation fault  python3 main.py

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