klayout icon indicating copy to clipboard operation
klayout copied to clipboard

DRC crash

Open lukasc-ubc opened this issue 3 years ago • 2 comments

Hi @klayoutmatthias

We have found that KLayout crashes when running DRC checks, on Windows, version 0.27.4, when there is an assignment of a boolean (TRUE). It works fine on Mac OSX and Linux however, though I get a warning "warning: constant ::TRUE is deprecated"

image001 image002

lukasc-ubc avatar Nov 08 '21 07:11 lukasc-ubc

Hi Lukas,

I think it's a matter of the Ruby version. Windows uses Ruby 3.0.1 already and they seem to have disabled TRUE as alias after deprecating them on Ruby 2.x.

In Ruby, the correct ways are "true" and "false" (lower case).

I don't know why the Windows version crashes ... did you get these errors during DRC? Which kind of statement? Maybe the crash is also related to Ruby 3.0.x.

Matthias

klayoutmatthias avatar Nov 08 '21 16:11 klayoutmatthias

Any feedback? Otherwise I'd close this ticket.

klayoutmatthias avatar Dec 06 '22 23:12 klayoutmatthias