You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rounded path - Crash on simple rectangular path when clicking Apply. #153
I try to create a ROUND_PATH from a guide path and I get the following crash (see the attached screenshot.) when I press Apply plus OK. If I just press OK, the curve is accepted and everything works fine.
If I press Ok and Apply again, I get the following "Problem Details". Pressing OK closes the program.
I am on Windows 10, x64 and on the newest version. The radius I use is 30um. I try to create a small file where I can see the issue and will post it here.
I've seen this error many times before during the past year.
It doesn't happen all the time. To get it to crash, I edited the vertices several times, each time pressing Apply. Here is a crash screenshot. Note that I didn't get the mp_v messages, which I previously had as well.
Signal number: 11
Address: 0x58
Program Version: KLayout 0.25.3 (2018-05-05 r9708d35d)
thanks for sharing the stack trace. Frankly I'm a bit puzzled as it indicates a crash in a function where a crash hardly is possible. But every stack trace is a piece of the solution. I'll try to track this issue down.
Activity
klayoutmatthias commentedon Aug 12, 2018
Hi,
thanks for reporting this issue. I'm trying to reproduce the issue but I failed so far.
What is the radius you're using? And what's your OS?
Thanks,
Matthias
gyger commentedon Aug 12, 2018
I am on Windows 10, x64 and on the newest version. The radius I use is 30um. I try to create a small file where I can see the issue and will post it here.
klayoutmatthias commentedon Aug 12, 2018
Thanks. I'm on Linux, but I can try on W10.
This is what works for me:
I do not see the error you get, but maybe it's about the order how things are done.
Regards,
Matthias
lukasc-ubc commentedon Aug 13, 2018
I've seen this error many times before during the past year.
It doesn't happen all the time. To get it to crash, I edited the vertices several times, each time pressing Apply. Here is a crash screenshot. Note that I didn't get the mp_v messages, which I previously had as well.
Signal number: 11
Address: 0x58
Program Version: KLayout 0.25.3 (2018-05-05 r9708d35d)
Backtrace:
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/Frameworks/libklayout_lay.0.dylib +0x21934a _ZN3lay25enable_signal_handler_guiEb
/usr/lib/system/libsystem_platform.dylib +0x1f5a _sigtramp
/usr/lib/system/libsystem_platform.dylib +0xffffffe08fd8e570 _sigtramp
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/Frameworks/libklayout_edt.0.dylib +0x8d6b2 _ZN3edt17EditGridConverter17from_string_pickyERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERN2db6vectorIdEE
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/Frameworks/libklayout_laybasic.0.dylib +0x2bf2c2 _ZThn16_N3lay14PropertiesPageD0Ev
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore +0x21f36b _ZN11QMetaObject8activateEP7QObjectiiPPv
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets +0x107d2f _ZNK15QAbstractButton11isCheckableEv
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets +0x107bc7 _ZNK15QAbstractButton11isCheckableEv
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets +0x108e2f _ZN15QAbstractButton17mouseReleaseEventEP11QMouseEvent
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets +0x4ac3f _ZN7QWidget5eventEP6QEvent
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets +0xfffd _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets +0x12d8d _ZN12QApplication6notifyEP7QObjectP6QEvent
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/Frameworks/libklayout_lay.0.dylib +0x55b3b _ZN3lay14GuiApplication6notifyEP7QObjectP6QEvent
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore +0x1ee798 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets +0x10960 _ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Eb
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets +0x6ab0a _ZN14QDesktopWidget11qt_metacallEN11QMetaObject4CallEiPPv
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets +0x697f5 _ZN14QDesktopWidget11qt_metacallEN11QMetaObject4CallEiPPv
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets +0xfffd _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets +0x1139a _ZN12QApplication6notifyEP7QObjectP6QEvent
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/Frameworks/libklayout_lay.0.dylib +0x55b3b _ZN3lay14GuiApplication6notifyEP7QObjectP6QEvent
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore +0x1ee798 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/Frameworks/QtGui.framework/Versions/5/QtGui +0x2e66b _ZN22QGuiApplicationPrivate17processMouseEventEPN29QWindowSystemInterfacePrivate10MouseEventE
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/Frameworks/QtGui.framework/Versions/5/QtGui +0x15b8b _ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/PlugIns/platforms/libqcocoa.dylib +0x2a22e qt_plugin_instance
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/PlugIns/platforms/libqcocoa.dylib +0x2aaf1 qt_plugin_instance
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation +0xa3a61 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation +0x15d47c __CFRunLoopDoSource0
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation +0x864c0 __CFRunLoopDoSources0
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation +0x8593d __CFRunLoopRun
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation +0x851a3 CFRunLoopRunSpecific
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox +0x2fd96 RunCurrentEventLoopInMode
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox +0x2fa0f ReceiveNextEventCommon
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox +0x2f884 _BlockUntilNextEventMatchingListInModeWithFilter
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit +0x41a73 _DPSNextEvent
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit +0x7d7e34 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit +0x36885 -[NSApplication run]
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/PlugIns/platforms/libqcocoa.dylib +0x298dd qt_plugin_instance
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore +0x1ea2be _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore +0x1eee91 _ZN16QCoreApplication4execEv
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/Frameworks/libklayout_lay.0.dylib +0x56607 _ZN3lay14GuiApplication4execEv
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/Frameworks/libklayout_lay.0.dylib +0x5514f _ZN3lay15ApplicationBase3runEv
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/MacOS/klayout +0xb11b
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/Frameworks/libklayout_rba.0.dylib +0x225df _ZN3rba15RubyInterpreter10initializeERiPPcPFiS1_S3_E
/System/Library/Frameworks/Ruby.framework/Versions/2.3/Ruby +0x12baba rb_vm_fstring_table
/System/Library/Frameworks/Ruby.framework/Versions/2.3/Ruby +0x11d486 rb_vm_get_insns_address_table
/System/Library/Frameworks/Ruby.framework/Versions/2.3/Ruby +0x128012 rb_iseq_eval
/System/Library/Frameworks/Ruby.framework/Versions/2.3/Ruby +0x3516e ruby_exec_node
/System/Library/Frameworks/Ruby.framework/Versions/2.3/Ruby +0x35061 ruby_run_node
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/Frameworks/libklayout_rba.0.dylib +0x22583 _ZN3rba15RubyInterpreter10initializeERiPPcPFiS1_S3_E
/Applications/klayout-0.25.3-macOS-HighSierra-1-Qt5101brew-Py364-9708d35.app/Contents/MacOS/klayout +0xaa2b
/usr/lib/system/libdyld.dylib +0x1015 start
/usr/lib/system/libdyld.dylib +0xffff80008d2e9001 start
klayoutmatthias commentedon Aug 13, 2018
Hi Lukas,
thanks for sharing the stack trace. Frankly I'm a bit puzzled as it indicates a crash in a function where a crash hardly is possible. But every stack trace is a piece of the solution. I'll try to track this issue down.
Best regards,
Matthias
klayoutmatthias commentedon Aug 25, 2018
Hi all,
thanks again for reporting this issue. I was able to locate the root cause thanks to valgrind.
I'll provide a fix.
Matthias
Updated cad/klayout to 0.25.4
Updated cad/klayout to 0.25.4
Updated cad/klayout to 0.25.4