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

Deleting active cell leads to unrecoverable crash #951

Closed
dansharkey opened this issue Dec 20, 2021 · 1 comment
Closed

Deleting active cell leads to unrecoverable crash #951

dansharkey opened this issue Dec 20, 2021 · 1 comment
Assignees
Milestone

Comments

@dansharkey
Copy link

dansharkey commented Dec 20, 2021

Steps to re-create:

  1. Create new layout
  2. Create cell e.g. "Top"
  3. Create new layer e.g. 1/0
  4. Create new subcell, e.g. "SubCell"
  5. "Descend" into cell (ctrl-D on Windows)
  6. Right-click and delete cell in the Cells dock.

Error message: Internal error: ../../../src/tl/tl/tlReuseVector.h:277 mp_v->is_used (m_n) was not true

Pressing ok leads to infinite loop with no way of escaping other than hard-quitting the app.

It's probably an unusual thing to do (delete the cell you are currently in), but it's happened to me a few times and sometimes lost me work.

Expected behaviour would be to either refuse to delete the cell, or delete the cell and change the active cell to one level higher of the hierarchy.

Many many thanks for such an amazing piece of software. Apologies if this bug has been reported already - I searched but did not find a report.

Version tested 0.27.5 on Windows 10 (64 bit).

@klayoutmatthias
Copy link
Collaborator

Thanks for this bug report.

It's actually somewhat unusual to delete the cell you're sitting in :)

But of course there should be a better error than this and it should be recoverable.

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

No branches or pull requests

2 participants