pyjulia icon indicating copy to clipboard operation
pyjulia copied to clipboard

Occasional STATUS_ACCESS_VIOLATION in Windows tests

Open tkf opened this issue 4 years ago • 1 comments

STATUS_ACCESS_VIOLATION (3221225477 = 0xC0000005) from test_import_without_setup in Windows:

Command '['D:\\a\\pyjulia\\pyjulia\\.tox\\py\\Scripts\\python.EXE', '-c', 'from julia import Base']' returned non-zero exit status 3221225477.

https://github.com/JuliaPy/pyjulia/runs/3988163688?check_suite_focus=true#step:8:297 (Test windows-latest x64 Python 3.7 Julia ~1.7.0-rc1) #457

Another one from test_utils.py::test_atexit

CompletedProcess(args=['D:\\a\\pyjulia\\pyjulia\\.tox\\py\\Scripts\\python.EXE'], returncode=3221225477, stdout='', st...6.3\\x64\\bin, ...)

https://github.com/JuliaPy/pyjulia/runs/3991167489?check_suite_focus=true#step:8:286 (Test windows-latest x64 Python 3.8 Julia 1) #461

tkf avatar Oct 24 '21 23:10 tkf

test_compiled_modules_no Test windows-latest x64 Python 3.8 Julia 1 https://github.com/JuliaPy/pyjulia/pull/461/commits/a3d12fd7eb61c07f77d3356b1dc201eee323ec2f

proc = CompletedProcess(args=['D:\\a\\pyjulia\\pyjulia\\.tox\\py\\Scripts\\python.EXE'], returncode=3221225477, stdout='', st...nknown line)\nin expression starting at C:\\Users\\runneradmin\\.julia\\packages\\PyCall\\ScKXc\\src\\startup.jl:20\n")

https://github.com/JuliaPy/pyjulia/runs/3991321271?check_suite_focus=true#step:8:290

Exception: EXCEPTION_ACCESS_VIOLATION at 0x7ff9d1b453e3 -- RtlVirtualUnwind at C:\Windows\SYSTEM32\ntdll.dll (unknown line) in expression starting at C:\Users\runneradmin\.julia\packages\PyCall\ScKXc\src\startup.jl:20

https://github.com/JuliaPy/pyjulia/runs/3991321271?check_suite_focus=true#step:8:413

The code in question is somewhere here: https://github.com/JuliaPy/PyCall.jl/blob/3c66d9ea6d6c2166e11dece15b12335c24648e59/src/startup.jl#L21-L36

Related? https://github.com/JuliaLang/julia/issues/38385

tkf avatar Oct 25 '21 00:10 tkf