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

KLayout crashing with two consecutive calls of the same LayoutView::show_layout command #1533

Closed
rizoschrist opened this issue Nov 17, 2023 · 3 comments
Labels
Milestone

Comments

@rizoschrist
Copy link

rizoschrist commented Nov 17, 2023

Klayout (v0.27.7) is crashing with the following error message when I execute the following command two times in a row:

pya.Application.instance().main_window().current_view().show_layout(layout, False)
pya.Application.instance().main_window().current_view().show_layout(layout, False)

error image

ERROR: ../../../src/laybasic/laybasic/layCellTreeModel.cc,444,! mp_layout->under_construction () && ! (mp_layout->manager () && mp_layout->manager ()->transacting ())
ERROR: Exception caught: Internal error: ../../../src/laybasic/laybasic/layCellTreeModel.cc:444 ! mp_layout->under_construction () && ! (mp_layout->manager () && mp_layout->manager ()->transacting ()) was not true

PS: minor but.. same layers' colors keep changing each time I execute the above command, which becomes troublesome to id the layers in a dense layout

@klayoutmatthias
Copy link
Collaborator

klayoutmatthias commented Nov 17, 2023

Please check with the latest version. 0.27.7 is very old.

klayoutmatthias pushed a commit that referenced this issue Nov 19, 2023
@klayoutmatthias klayoutmatthias added this to the 0.28.13 milestone Nov 19, 2023
@klayoutmatthias
Copy link
Collaborator

Also reproducible on 0.28.12 and fixed.

Again, I'd appreciate if a bug report refers to the current version.

@rizoschrist
Copy link
Author

I can verify resolution in v0.28.13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants