Skip to content

[BUG] Windows fatal exception: access violation op _cpp_parse #297

@basberg

Description

@basberg

Describe the bug
I get a "Windows fatal exception: access violation" error when i parse an RDL file.

Image

I get the above error with the provided examples: print_hierarchy.py and tiny.rdl.
To get the logging shown above I need to run python with -X faulthandler, otherwise it closes silently: no logging.
I use Python 3.12.2 (also tried 3.14.0 and 3.12.0)

pip freeze:
antlr4-python3-runtime==4.13.2
colorama==0.4.6
Markdown==3.9
systemrdl-compiler==1.30.1
typing_extensions==4.15.0

The machine is Windows 11 Pro. I ran python via Powershell.

The weird thing is that i dont see this error on any of my other machines. Just this one.

Do you have an idea how i can debug this?

Expected behavior
I expect it to print the rdl hierarchy like the example does.

Additional context
Add any other context about the problem here.

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