tonybaloney/Pyjion

Crash importing numpy after importing multiprocessing

lwanger opened this issue · 5 comments

I have a simple test that crashes when I have pyjion imported and enabled. It crashes with an "assert not hascased" AssertionError after importing multiprocessing, then importing numpy. I am running with Ptyhon V3.10.0, Pyjion v1.1.0 on Windows 20.

[crash.txt](https://github.com/tonybaloney/Pyjion/files/7575726/crash.txt
Screenshot
)

thanks for the report, this is related to the same issue as #424

I'm working on a fix

Can you please share the contents of test1.py so I can repro this fully?

Please can you update to 1.1.1 and tell me if this problem still occurs

The following code still crashes with v1.1.1:

if True:
    import pyjion
    pyjion.enable()
    print(f"pyjion version={pyjion.__version__}")

from multiprocessing import Process, Pipe

import numpy as np

image