We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This code makes Python / klayout module segfault on exit:
import klayout.db as kdb ly = kdb.Layout() cell = ly.create_cell("TOP") parents = cell.each_parent_cell()
Root cause is the Python finalization code which first deletes the Layout and then the iterator pointing to is.
A simple workaround is to make sure the iterator ("parents") is removed before finalization:
import klayout.db as kdb ly = kdb.Layout() cell = ly.create_cell("TOP") parents = cell.each_parent_cell() ... parents = None
The text was updated successfully, but these errors were encountered:
Issue #1327 fixed (segfault in pymod finalization code)
63a4fe8
Merge pull request #1334 from KLayout/issue-1327
d560027
No branches or pull requests
This code makes Python / klayout module segfault on exit:
Root cause is the Python finalization code which first deletes the Layout and then the iterator pointing to is.
A simple workaround is to make sure the iterator ("parents") is removed before finalization:
The text was updated successfully, but these errors were encountered: