Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. #874

Open
2 tasks done
Shih-Wei-Lin opened this issue Oct 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Shih-Wei-Lin
Copy link

Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

Description of the bug

when I run All pyedb example codes

I use python 3.11.9

"03_5G_antenna_example_parametrics.py"
will get the memory access error

Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)
at Python.Runtime.MethodBinder.Invoke(Python.Runtime.BorrowedReference, Python.Runtime.BorrowedReference, Python.Runtime.BorrowedReference, System.Reflection.MethodBase, System.Reflection.MethodBase[])
at Python.Runtime.MethodObject.Invoke(Python.Runtime.BorrowedReference, Python.Runtime.BorrowedReference, Python.Runtime.BorrowedReference, System.Reflection.MethodBase)
at Python.Runtime.MethodBinding.tp_call(Python.Runtime.BorrowedReference, Python.Runtime.BorrowedReference, Python.Runtime.BorrowedReference)

Steps To Reproduce

Only run example code

Which Operating System are you using?

Windows

Which Python version are you using?

3.10

Installed packages

annotated-types==0.7.0
ansys-pythonnet==3.1.0rc4
attrs==24.2.0
certifi==2024.8.30
cffi==1.17.1
charset-normalizer==3.3.2
clr-loader==0.2.6
contourpy==1.3.0
cycler==0.12.1
defusedxml==0.7.1
fonttools==4.54.1
fpdf2==2.8.1
idna==3.10
jsonschema==4.23.0
jsonschema-specifications==2024.10.1
kiwisolver==1.4.7
matplotlib==3.9.2
numpy==1.26.4
packaging==24.1
pandas==2.2.3
pillow==11.0.0
platformdirs==4.3.6
plumbum==1.9.0
pooch==1.8.2
psutil==6.1.0
pyaedt==0.11.2
pycparser==2.22
pydantic==2.9.2
pydantic_core==2.23.4
pyedb==0.31.0
pyparsing==3.1.4
python-dateutil==2.9.0.post0
pytomlpp==1.0.13
pytz==2024.2
pyvista==0.44.1
pywin32==308
PyYAML==6.0.2
referencing==0.35.1
requests==2.32.3
rpds-py==0.20.0
rpyc==6.0.1
Rtree==1.3.0
scikit-rf==1.3.0
scipy==1.14.1
scooby==0.10.0
six==1.16.0
toml==0.10.2
typing_extensions==4.12.2
tzdata==2024.2
urllib3==2.2.3
vtk==9.3.1

@Shih-Wei-Lin Shih-Wei-Lin added the bug Something isn't working label Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant