-
Notifications
You must be signed in to change notification settings - Fork 208
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 cells: 'basic_string: construction from null is not valid' #1164
Comments
Thanks for this report However I seem not to be able to reproduce it (0.27.12, Ubuntu-22). Here is what I did:
( Then:
There is no error message :( |
Thanks for your quick reply. I tried it again exactly like you, unfortunately I can reproduce this even then... |
The message is pretty generic - it says that a I can see the error on an archlinux docker image with klayout from the package repo. I'll try to debug the problem. Matthias |
Okay, found the problem ... praise Docker! :) Here is a lecture for C++ users on things to be careful with. Line 848 of dbLayout.cc is this:
So what happens is that So the fix is simply to make sure cell_name is called before take_cell. Thanks for reporting this issue. Matthias |
Any change we could get a new 0.27.11 release with this patch? I see it on Arch and Debian |
Was released with 0.27.12 |
Whenever I'm deleting any cells, I get this message, which is problematic since I can not delete a bunch of cells simultaneously. There is a similar issue (#1099), but in my case this does not have to do anything with any PDK or pcells. I can reproduce this with a fresh config, I use the (default) technology and inserted an empty cell in the toplevel layout. When I delete that, I get this error.
My setup:
arch linux (kernel 5.19.11)
klayout 0.27.11
ruby 2.7
qt 5.15
Kind regards,
Patrick
The text was updated successfully, but these errors were encountered: