EXCEPTION_ACCESS_VIOLATION (0xc0000005)
- Dominant language
- Python
- Stars
- 534
- Forks
- 95
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I am trying to run imagej with a script in spyder however I am getting this issue below. Any help would be highly appreciated.
```
C:\Users\userA\AppData\Local\anaconda3\envs\pyimagej\lib\site-packages\paramiko\transport.py:219: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
Failed to guess the Java version.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ff99aca64f9, pid=16440, tid=5172
#
# JRE version: (11.0.13+7) (build )
# Java VM: OpenJDK 64-Bit Server VM (11.0.13+7-b1751.21, mixed mode, sharing, tiered, compressed oops, g1 gc, windows-amd64)
# Problematic frame:
# C 0x00007ff99aca64f9
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\Users\userA\Desktop\scripts\hs_err_pid16440.log
#
#
Windows fatal exception: access violation
Main thread:
Current thread 0x00001434 (most recent call first):
File "C:\Users\userA\AppData\Local\anaconda3\envs\pyimagej\lib\site-packages\jpype\_core.py", line 224 in startJVM
File "C:\Users\userA\AppData\Local\anaconda3\envs\pyimagej\lib\site-packages\scyjava\_java.py", line 234 in start_jvm
File "C:\Users\userA\AppData\Local\anaconda3\envs\pyimagej\lib\site-packages\imagej\__init__.py", line 1424 in _create_jvm
File "C:\Users\userA\AppData\Local\anaconda3\envs\pyimagej\lib\site-packages\imagej\__init__.py", line 1200 in init
File "c:\users\userA\desktop\scripts\stich_traction_3110.py", line 79 in
File "C:\Users\userA\AppData\Local\anaconda3\envs\pyimagej\lib\site-packages\spyder_kernels\py3compat.py", line 356 in compat_exec
File "c:\users\userA\appdata\local\anaconda3\envs\pyimagej\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 473 in exec_code
File "c:\users\userA\appdata\local\anaconda3\envs\pyimagej\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 615 in _exec_file
File "c:\users\userA\appdata\local\anaconda3\envs\pyimagej\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 528 in runfile
File "C:\Users\userA\AppData\Local\Temp\ipykernel_16440\2937552509.py", line 1 in
Main thread:
Current thread 0x00001434 (most recent call first):
File "C:\Users\userA\AppData\Local\anaconda3\envs\pyimagej\lib\site-packages\jpype\_core.py", line 224 in startJVM
File "C:\Users\userA\AppData\Local\anaconda3\envs\pyimagej\lib\site-packages\scyjava\_java.py", line 234 in start_jvm
File "C:\Users\userA\AppData\Local\anaconda3\envs\pyimagej\lib\site-packages\imagej\__init__.py", line 1424 in _create_jvm
File "C:\Users\userA\AppData\Local\anaconda3\envs\pyimagej\lib\site-packages\imagej\__init__.py", line 1200 in init
File "c:\users\userA\desktop\scripts\stich_traction_3110.py", line 79 in
File "C:\Users\userA\AppData\Local\anaconda3\envs\pyimagej\lib\site-packages\spyder_kernels\py3compat.py", line 356 in compat_exec
File "c:\users\userA\appdata\local\anaconda3\envs\pyimagej\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 473 in exec_code
File "c:\users\userA\appdata\local\anaconda3\envs\pyimagej\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 615 in _exec_file
File "c:\users\userA\appdata\local\anaconda3\envs\pyimagej\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 528 in runfile
File "C:\Users\userA\AppData\Local\Temp\ipykernel_16440\2937552509.py", line 1 in
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with imagej/__init__.py at init and _create_jvm, then follow scyjava/_java.py:start_jvm and jpype/_core.py:startJVM. Reproduce the Windows crash using the reported Java 11.0.13 environment and inspect the referenced hs_err_pid16440.log. Done means identifying and documenting or fixing the cause so JVM startup completes without the access violation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, python
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100