Skip to content

klayout: select rectangle, query => coredump. asan: heap-use-after-free #2162

@stefanottili

Description

@stefanottili
make (klayout a.oas -s b.oas -m xor.db.gz)
select rectangle at error marker location
q (query)

This coredump's reliably on klayout 0.30.4 build on Mac with qt5-release or qt6-debug and on qt5 wsl ubuntu.

Full log in tar file.

ERROR: AddressSanitizer: heap-use-after-free on address 0x60c0002e8740 at pc 0x00010687245c bp 0x00016f00b6a0 sp 0x00016f00b698
READ of size 4 at 0x60c0002e8740 thread T0
    #0 0x000106872458 in lay::ObjectInstPath::is_cell_inst() const layObjectInstPath.h:202
    #1 0x000106872580 in lay::ObjectInstPath::shape() const layObjectInstPath.h:174
    #2 0x0001081385d4 in edt::ShapePropertiesPage::update_shape() edtPropertiesPages.cc:422
    #3 0x000108138bec in edt::ShapePropertiesPage::update() edtPropertiesPages.cc:218
    #4 0x00010a8c9340 in lay::PropertiesDialog::update_controls() layPropertiesDialog.cc:549
    #5 0x00010a8c3084 in lay::PropertiesDialog::PropertiesDialog(QWidget*, db::Manager*, lay::Editables*) layPropertiesDialog.cc:254
    #6 0x00010a8c95e8 in lay::PropertiesDialog::PropertiesDialog(QWidget*, db::Manager*, lay::Editables*) layPropertiesDialog.cc:189
....

klayout_query_crash.tgz

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions