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

Comments

@electronum
Copy link

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

This comment has been minimized.

Copy link
Collaborator

commented Aug 17, 2019

Thanks for this nicely prepared bug report :-)

klayoutmatthias added a commit that referenced this issue Aug 17, 2019
klayoutmatthias added a commit that referenced this issue Aug 18, 2019
Merge pull request #324 from KLayout/issue-322
Fixed issue #322 by skipping used layer indexes - will also help with…
@electronum

This comment has been minimized.

Copy link
Author

commented Aug 19, 2019

no problem 👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.