Application crash during parameter input in ruler properties (reproducible after some work time)

edited September 14 in KLayout Support

Hi folks,

I encounter a strange problem, when working with rulers in klayout: I often use rulers to dimension chip features for creating images, which are then used by other AutoCAD engineers. For older designs I often have to adapt the properties of the ellipse rulers to catch the correct curvature of a feature. First, everything works like expected, but after some parameter alterations, the klayout application crashes with some sort of code like printed below. Sometimes I can work a little bit longer, sometimes the program crashes after some alterations only.

Exception code: 0xc0000005
Program Version: KLayout 0.27.3 (2021-07-23 rcb085069e) AMD64

Backtrace:
0x1ed5e00 - (klayout_tl.dll) +89600
0x65887bae - (klayout_ant.dll) +31662
0x6589b5db - (klayout_ant.dll) +112091
0x6589c27b - (klayout_ant.dll) +115323
0x3563505 - (klayout_laybasic.dll) +1324293
0x34ea01c - (klayout_laybasic.dll) +827420
0x66244f18 - (Qt5Widgets.dll) +282392
0x34eb046 - (klayout_laybasic.dll) +831558
0x66207ab1 - (Qt5Widgets.dll) +31409
0x6620ea04 - (Qt5Widgets.dll) +59908
0x6a54eafb - (klayout_lay.dll) +60155
0x4432048 - (Qt5Core.dll) +1843272
0x6623d548 - (Qt5Widgets.dll) +251208
0x6623d91f - (Qt5Widgets.dll) +252191
0x6623e986 - (Qt5Widgets.dll) +256390
0x6623ddf7 - (Qt5Widgets.dll) +253431
0x6623e986 - (Qt5Widgets.dll) +256390
0x6623ddf7 - (Qt5Widgets.dll) +253431
0x6623e986 - (Qt5Widgets.dll) +256390
0x6623ddf7 - (Qt5Widgets.dll) +253431
0x6623e986 - (Qt5Widgets.dll) +256390
0x6623ddf7 - (Qt5Widgets.dll) +253431
0x6623e986 - (Qt5Widgets.dll) +256390
0x6623ddf7 - (Qt5Widgets.dll) +253431
0x662162ae - (Qt5Widgets.dll) +90798
0x66216634 - (Qt5Widgets.dll) +91700
0x6622cb30 - (Qt5Widgets.dll) +183088
0x66244fd8 - (Qt5Widgets.dll) +282584
0x66337be3 - (Qt5Widgets.dll) +1276899
0x66207ab1 - (Qt5Widgets.dll) +31409
0x6620ea04 - (Qt5Widgets.dll) +59908
0x6a54eafb - (klayout_lay.dll) +60155
0x44317dd - (Qt5Core.dll) +1841117
0x4438461 - (Qt5Core.dll) +1868897
0x6dd3811e - (qwindows.dll) +491806
0x44855bf - (Qt5Core.dll) +2184639
0x7ff8e853e858 - (USER32.dll) +59480
0x7ff8e853e299 - (USER32.dll) +58009
0x448492b - (Qt5Core.dll) +2181419
0x6dd38105 - (qwindows.dll) +491781
0x44304f5 - (Qt5Core.dll) +1836277
0x44391b5 - (Qt5Core.dll) +1872309
0x6a550288 - (klayout_lay.dll) +66184
0x6a553e74 - (klayout_lay.dll) +81524
0x402064 - (klayout_app.exe) +8292
0x191602 - (klayout_rba.dll) +5634
0x53adce6 - (x64-msvcrt-ruby260.dll) +1694950
0x53b6603 - (x64-msvcrt-ruby260.dll) +1730051
0x53bcb2b - (x64-msvcrt-ruby260.dll) +1755947
0x53b4fdf - (x64-msvcrt-ruby260.dll) +1724383
0x5281b8c - (x64-msvcrt-ruby260.dll) +465804
0x5285949 - (x64-msvcrt-ruby260.dll) +481609
0x1974b2 - (klayout_rba.dll) +29874
0x401bd3 - (klayout_app.exe) +7123
0x401eb4 - (klayout_app.exe) +7860
0x4013a5 - (klayout_app.exe) +5029
0x4014db - (klayout_app.exe) +5339
0x7ff8e8037034 - (KERNEL32.DLL) +94260
0x7ff8e9102651 - (ntdll.dll) +337489

Comments

  • The dump does not tell a lot.

    Could you explain a bit more in detail what you are doing? Do you adjust the dimensions by dragging the ellipse or do you change the values with the properties dialog? Are you closing the dialog or do you keep it open? Do you delete rulers? Are you adding new ones?

    Matthias

  • edited September 15

    Your answer is coming very fast. Nice to see, that the tool is maintained so well!

    The crash happens, when I am editing ruler properties with the properties dialog on an existing ruler. For example, during the typing of a value in a field. It does not happen, when I add or delete a ruler or change the ruler by dragging. Often, I can work for some minutes without crash, but when it crashed once, it crashes quite fast, when I restart the program and try it again. After a computer restart, this is recovered again.

  • @floz Thanks for this description. I see you're on Windows.

    I'll try to reproduce the problem although there is no warranty. Random fails are always difficult to trigger.

    Matthias

Sign In or Register to comment.