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

CIF, error when changing layer name while file open in KLayout #322

Closed
electronum opened this issue Aug 16, 2019 · 2 comments
Closed

CIF, error when changing layer name while file open in KLayout #322

electronum opened this issue Aug 16, 2019 · 2 comments

Comments

@electronum
Copy link

@electronum electronum commented Aug 16, 2019

The error appears whenever: the cell layer name L <name>; is changed to a new layer name not yet present in the file (while opened) and reloading it in KLayout.

The error does not occur when closing and re-opening the file.

Tested in KLayout Viewer and Editor 0.25.8 and 0.25.9

Internal error: ../../src/db/db/dbLayout.cc:1616 m_layer_states [index] == Free was not true (line=2, Cell=C1)

LayerError

Minimum working example

DS 1 100 1;
L L0;
B 100 50 0 0;
DF;

E

LayerTest.zip

Steps to reproduce

  • Open file in KLayout
  • Change the layer L L0; to something else (example L L1;)
  • Save the file
  • Confirm reloading the file in KLayout
@electronum electronum changed the title CIF, error when chaning layer name CIF, error when changing layer name while file open in KLayout Aug 16, 2019
@klayoutmatthias
Copy link
Collaborator

@klayoutmatthias klayoutmatthias commented Aug 17, 2019

Thanks for this nicely prepared bug report :-)

Loading

klayoutmatthias added a commit that referenced this issue Aug 17, 2019
klayoutmatthias added a commit that referenced this issue Aug 18, 2019
Fixed issue #322 by skipping used layer indexes - will also help with…
@electronum
Copy link
Author

@electronum electronum commented Aug 19, 2019

no problem 👌

Loading

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

Successfully merging a pull request may close this issue.

None yet
2 participants