Decomposing a primitives collections makes edb crash when asking the list of primitives
- Dominant language
- Python
- Stars
- 7
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
### 🔍 Before submitting the issue
- [x] I have searched among the existing issues
- [x] I am using a Python virtual environment
### 🐞 Description of the bug
Decomposing a primitives collections makes edb crash when asking the list of primitives
ansys-edb-core 0.3.0.dev9
2026R1 official release
### 📝 Steps to reproduce
from pyedb import Edb
edbapp = Edb(r"C:\Users\gkorompi\Downloads\jack.aedb",grpc=True)
edbapp.layout.primitives[17].decompose()
edbapp.layout.primitives
### 💻 Which operating system are you using?
Windows
### 📀 Which ANSYS version are you using?
_No response_
### 🐍 Which Python version are you using?
3.9
### 📦 Installed packages
```shell
accessible-pygments 0.0.5
aiohappyeyeballs 2.6.1
aiohttp 3.13.1
aiosignal 1.4.0
alabaster 1.0.0
annotated-types 0.7.0
ansys-api-edb 0.3.dev10
ansys-edb-core 0.3.0.dev9
ansys-pythonnet 3.1.0rc4
ansys-sphinx-theme 1.2.2
ansys-tools-common 0.4.3
asgiref 3.8.1
attrs 23.2.0
babel 2.16.0
bandit 1.8.6
beautifulsoup4 4.12.3
bidict 0.23.1
certifi 2024.8.30
cffi 1.17.1
cfgv 3.4.0
charset-normalizer 3.4.0
click 8.3.1
clr_loader 0.2.7.post0
colorama 0.4.6
contourpy 1.2.1
coverage 7.13.4
cycler 0.12.1
dataclasses-json 0.6.7
defusedxml 0.7.1
distlib 0.3.8
Django 5.2
docutils 0.21.2
ezdxf 1.4.2
filelock 3.13.1
fonttools 4.49.0
fpdf2 2.7.8
frozenlist 1.8.0
grpcio 1.70.0
h11 0.16.0
identify 2.5.35
idna 3.10
imagesize 1.4.1
importlib_metadata 8.5.0
iniconfig 2.0.0
Jinja2 3.1.4
jsonschema 4.21.1
jsonschema-specifications 2023.12.1
kiwisolver 1.4.5
location 0.0.7
markdown-it-py 4.0.0
MarkupSafe 3.0.2
marshmallow 3.26.1
matplotlib 3.8.4
mdurl 0.1.2
mock 5.2.0
multidict 6.7.0
mypy_extensions 1.1.0
netifaces 0.11.0
netifaces2 0.0.22
nodeenv 1.8.0
numpy 2.1.3
packaging 23.2
pandas 2.2.3
pdf2image 1.17.0
pillow 10.2.0
pip 25.3
platformdirs 4.2.0
pluggy 1.4.0
plumbum 1.8.2
pre-commit 3.6.2
propcache 0.4.1
protobuf 4.25.6
psutil 5.9.8
pycparser 2.22
pydantic 2.8.2
pydantic_core 2.20.1
pydata-sphinx-theme 0.16.0
pyedb 0.70.dev0 C:\Users\gkorompi\PycharmProjects\pyedb
Pygments 2.18.0
pyparsing 3.1.2
pytest 8.0.2
pytest-cov 7.0.0
python-dateutil 2.9.0.post0
python-engineio 4.12.3
python-socketio 5.14.2
pytz 2024.2
pywin32 308
PyYAML 6.0.1
referencing 0.33.0
requests 2.32.5
rich 14.2.0
rpds-py 0.18.0
rpyc 6.0.0
Rtree 1.3.0
scikit-rf 1.5.0
scipy 1.14.1
scooby 0.11.0
setuptools 69.1.1
shapely 2.1.1
simple-websocket 1.1.0
six 1.17.0
snowballstemmer 2.2.0
soupsieve 2.6
Sphinx 8.1.3
sphinxcontrib-applehelp 2.0.0
sphinxcontrib-devhelp 2.0.0
sphinxcontrib-htmlhelp 2.1.0
sphinxcontrib-jsmath 1.0.1
sphinxcontrib-qthelp 2.0.0
sphinxcontrib-serializinghtml 2.0.0
sqlparse 0.5.3
stevedore 5.5.0
toml 0.10.2
tomli_w 1.2.0
typing_extensions 4.12.2
typing-inspect 0.9.0
tzdata 2024.2
urllib3 2.2.3
virtualenv 20.25.1
wsproto 1.2.0
xmltodict 1.0.4
yarl 1.22.0
zipp 3.21.0
```
Contributor guide
Research direction
Start by running the reported Edb workflow on Windows: call layout.primitives[17].decompose(), then access layout.primitives and capture the crash details. Trace the Edb, layout.primitives, and decompose entry points to identify the invalid collection state; done means decomposing a primitive collection no longer crashes when the primitives list is requested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100