Skip to content

klayout 0.27.2 crashes on simple gds with AREF #871

@patrickschulz

Description

@patrickschulz

Hi,
I using a layout generator that creates GDSII files. I never had an issue with klayout before, but now it crashes/freezes on a very simple gds. I've narrowed the test case down to a cell with an 3 x 3 AREF. If the layer (0/0) is not displayed at the beginning, everything works fine. I can also display the layer when I descend into the hierarchy (show only the subcell). However, going back or showing the layer in the topcell, the crash occurs. Then, klayout does not react to anything and I have to kill it.

The problem seems to occur with different layer properties/different technology settings. More oddly, an AREF of, say, 2 x 3 works just fine. I'm on archlinux, using klayout version 0.27.2.

The text representation of the gds is (I also attached the binary file):

  HEADER #(   6): { 258 }
  BGNLIB #(  28): { 2021 7 19 9 53 55 2021 7 19 9 53 55 }
 LIBNAME #(  12): { testlib }
   UNITS #(  20): { 1.0 1e-09 }
  BGNSTR #(  28): { 2021 7 19 9 53 55 2021 7 19 9 53 55 }
 STRNAME #(  16): { groundmesh_1 }
BOUNDARY #(   4)
   LAYER #(   6): { 0 }
DATATYPE #(   6): { 0 }
      XY #(  44): { -100 -100 100 -100 100 100 -100 100 -100 -100 }
   ENDEL #(   4)
  ENDSTR #(   4)
  BGNSTR #(  28): { 2021 7 19 9 53 55 2021 7 19 9 53 55 }
 STRNAME #(  12): { toplevel }
    AREF #(   4)
   SNAME #(  16): { groundmesh_1 }
  COLROW #(   8): { 3 3 }
      XY #(  28): { 0 0 600 0 0 600 }
   ENDEL #(   4)
  ENDSTR #(   4)
  ENDLIB #(   4)

test.zip

Thanks, kind regards,
Patrick

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions