Skip to content

Prime server crashes on CAD import #966

Open
@greschd

Description

@greschd

🔍 Before submitting the issue

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

🐞 Description of the bug

When running the 01_bracket_scaffold example, the Prime server crashes when file_io.import_cad(...) is executed.

When Prime is launched with launch_prime, this results in the following error:

_MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with:
	status = StatusCode.UNAVAILABLE
	details = "IOCP/Socket: Connection reset (An existing connection was forcibly closed by the remote host.
 -- 10054)"
	debug_error_string = "UNKNOWN:Error received from peer  {created_time:"2025-01-15T12:58:18.4161149+00:00", grpc_status:14, grpc_message:"IOCP/Socket: Connection reset (An existing connection was forcibly closed by the remote host.\r\n -- 10054)"}"

When instead attaching to a manually started Prime server [1], the server process crashes without providing any error output [2], with the same error again shown on the Python side.

The crashed Prime server produces a crash dump with the following stacktrace (without debug symbols). I can share the crash dump privately.

Image

The issue has some similarity to #929, but the output from the server process is different, so may be a separate issue.

[1] started with & 'C:\Program Files\ANSYS Inc\v251\meshing\Prime\runPrime.bat' server from Powershell, using prime.Client(ip='localhost', port=50055) to connect to it

[2] output from the server

Welcome to Ansys Prime Meshing (2025R1)
Copyright 1987 - 2025 ANSYS,Inc. All Rights Reserved.
Starting Ansys Prime Server...
Server listening on : 127.0.0.1:50055

📝 Steps to reproduce

Run the 01_bracket_scaffold example.

💻 Which operating system are you using?

Windows

📀 Which ANSYS version are you using?

2025R1

🐍 Which Python version are you using?

3.10

📦 Installed packages

aiohappyeyeballs==2.4.4
aiohttp==3.11.11
aiosignal==1.3.2
annotated-types==0.7.0
ansys-acp-core==0.1.0
ansys-additive-core==0.19.0
ansys-additive-widgets==0.2.1
ansys-api-acp==0.2.0
ansys-api-additive==2.2.1
ansys-api-dbu==0.3.6
ansys-api-dyna==0.4.2
ansys-api-edb==1.0.10
ansys-api-fluent==0.3.32
ansys-api-geometry==0.4.16
ansys-api-mapdl==0.5.2
ansys-api-mechanical==0.1.2
ansys-api-meshing-prime==0.1.4
ansys-api-modelcenter==0.3.1
ansys-api-platform-instancemanagement==1.1.0
ansys-api-pyensight==0.4.2
ansys-api-sherlock==0.1.35
ansys-api-systemcoupling==0.2.0
ansys-api-tools-filetransfer==0.1.1
ansys-api-workbench==0.2.0
ansys-conceptev-core==0.8
ansys-dpf-composites==0.6.2
ansys-dpf-core==0.13.3
ansys-dpf-post==0.9.2
ansys-dyna-core==0.7.0
ansys-dynamicreporting-core==0.9.0
ansys-edb-core==0.1.9
ansys-engineeringworkflow-api==0.1.0
ansys-fluent-core==0.28.2
ansys-geometry-core==0.7.6
ansys-grantami-bomanalytics==2.2.0
ansys-grantami-bomanalytics-openapi==3.1.0
ansys-grantami-jobqueue==1.1.0
ansys-grantami-recordlists==1.3.0
ansys-grantami-serverapi-openapi==4.0.0
ansys-hps-client==0.9.1
ansys-mapdl-core==0.68.6
ansys-mapdl-reader==0.54.2
ansys-math-core==0.2.0
ansys-mechanical-core==0.11.11
ansys-mechanical-env==0.1.8
ansys-mechanical-stubs==0.1.5
ansys-meshing-prime==0.7.0
ansys-modelcenter-workflow==0.1.1
ansys-motorcad-core==0.7.0
ansys-openapi-common==2.2.0
ansys-optislang-core==0.9.2
ansys-platform-instancemanagement==1.1.2
ansys-pyensight-core==0.9.2
ansys-pythonnet==3.1.0rc5
ansys-rocky-core==0.3.1
ansys-seascape==0.2.0
ansys-sherlock-core==0.8.1
ansys-simai-core==0.2.5
ansys-sound-core==0.1.3
ansys-systemcoupling-core==0.8.0
ansys-tools-filetransfer==0.1.1
ansys-tools-local-product-launcher==0.1.1
ansys-tools-path==0.7.1
ansys-tools-visualization-interface==0.7.0
ansys-turbogrid-api==0.4.3
ansys-turbogrid-core==0.4.1
ansys-units==0.3.4
ansys-workbench-core==0.7.0
anyio==4.8.0
appdirs==1.4.4
asgiref==3.8.1
asttokens==3.0.0
async-timeout==5.0.1
attrs==24.2.0
backoff==2.2.1
bcrypt==4.2.1
beartype==0.19.0
bleach==6.2.0
bokeh==3.4.3
build==1.2.2.post1
cachetools==5.5.0
certifi==2024.12.14
cffi==1.17.1
charset-normalizer==3.4.1
click==8.1.8
clr_loader==0.2.7.post0
colorama==0.4.6
comm==0.2.2
contourpy==1.3.1
cryptography==44.0.0
cycler==0.12.1
dataclasses-json==0.6.7
debugpy==1.8.11
decorator==5.1.1
defusedxml==0.7.1
Deprecated==1.2.15
dill==0.3.9
Django==4.2.17
django-guardian==2.4.0
djangorestframework==3.15.2
docker==7.1.0
elementpath==4.7.0
exceptiongroup==1.2.2
executing==2.1.0
fabric==3.2.2
filelock==3.16.1
flexcache==0.3
flexparser==0.4
fonttools==4.55.3
fpdf2==2.8.2
frozenlist==1.5.0
geomdl==5.3.1
google-api-core==2.24.0
google-api-python-client==2.159.0
google-auth==2.37.0
google-auth-httplib2==0.2.0
googleapis-common-protos==1.66.0
grpcio==1.67.1
grpcio-health-checking==1.62.3
grpcio-status==1.62.3
h11==0.14.0
hollerith==0.6.0
httpcore==1.0.7
httplib2==0.22.0
httpx==0.28.1
idna==3.10
importlib_metadata==8.5.0
invoke==2.2.0
ipykernel==6.29.5
ipython==8.31.0
jedi==0.19.2
Jinja2==3.1.5
joblib==1.4.2
jsonschema==4.23.0
jsonschema-specifications==2024.10.1
jupyter_client==8.6.3
jupyter_core==5.7.2
kiwisolver==1.4.8
linkify-it-py==2.0.3
lxml==5.3.0
Markdown==3.7
markdown-it-py==3.0.0
MarkupSafe==3.0.2
marshmallow==3.25.1
marshmallow-oneofschema==3.1.1
matplotlib==3.10.0
matplotlib-inline==0.1.7
mdit-py-plugins==0.4.2
mdurl==0.1.2
more-itertools==10.5.0
msal==1.31.1
msal-extensions==1.2.0
msgpack==1.1.0
multidict==6.1.0
mypy-extensions==1.0.0
nest-asyncio==1.6.0
networkx==3.4.2
nltk==3.9.1
numpy==2.2.1
overrides==7.7.0
packaging==24.2
pandas==2.2.3
panel==1.4.4
param==2.2.0
paramiko==3.5.0
parso==0.8.4
patsy==1.0.1
pdf2image==1.17.0
pillow==11.1.0
Pint==0.24.4
platformdirs==4.3.6
plumbum==1.9.0
pooch==1.8.2
portalocker==2.10.1
prompt_toolkit==3.0.48
propcache==0.2.1
proto-plus==1.25.0
protobuf==4.25.5
psutil==6.1.1
pure_eval==0.2.3
pyaedt==0.13.0
pyansys==2025.1.1
pyansys-tools-variableinterop==0.1.1
pyansys-tools-versioning==0.6.0
pyasn1==0.6.1
pyasn1_modules==0.4.1
pycparser==2.22
pydantic==2.9.2
pydantic_core==2.23.4
pyedb==0.34.3
pygltflib==1.16.3
Pygments==2.19.1
pygranta==2025.1.0
pyiges==0.3.1
PyJWT==2.10.1
PyNaCl==1.5.0
pyparsing==3.2.1
pypiwin32==223
pypng==0.20220715.0
pyproject_hooks==1.2.0
Pyro5==5.15
pyspnego==0.11.2
python-dateutil==2.9.0.post0
python-dotenv==1.0.1
python-pptx==0.6.19
pytwin==0.7.0
pytz==2024.2
pyvista==0.44.1
pyviz_comms==3.0.3
pywin32==308
PyYAML==6.0.2
pyzmq==26.2.0
referencing==0.35.1
regex==2024.11.6
requests==2.32.3
requests-negotiate-sspi==0.5.2
requests-toolbelt==1.0.0
requests_ntlm==1.3.0
rpds-py==0.22.3
rpyc==6.0.1
rsa==4.9
Rtree==1.3.0
scikit-rf==1.5.0
scipy==1.15.1
scooby==0.10.0
semver==3.0.2
serpent==1.41
six==1.17.0
sniffio==1.3.1
sqlparse==0.5.3
sseclient-py==1.8.0
sspilib==0.2.0
stack-data==0.6.3
statsmodels==0.14.4
tabulate==0.9.0
toml==0.10.2
tomli==2.2.1
tomli_w==1.1.0
tornado==6.4.2
tqdm==4.67.1
traitlets==5.14.3
trame==3.7.6
trame-client==3.5.1
trame-server==3.3.0
trame-vtk==2.8.14
trame-vuetify==2.8.0
typing-inspect==0.9.0
typing_extensions==4.12.2
tzdata==2024.2
tzlocal==5.2
uc-micro-py==1.0.3
uritemplate==4.1.1
urllib3==2.3.0
usd-core==24.11
vtk==9.4.1
wakepy==0.10.1
wcwidth==0.2.13
webencodings==0.5.1
websockets==14.1
WMI==1.5.1
wrapt==1.17.2
wslink==2.2.2
XlsxWriter==3.2.0
xmlschema==3.4.3
xyzservices==2024.9.0
yarl==1.18.3
zipp==3.21.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    apsAnything related to Ansys Prime ServerbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions