Skip to content

Import LEF throwing signal number 11 error and crashing #2246

@hellonakshatra

Description

@hellonakshatra

Importing LEF is crashing the klayout. Tried importing the nangate45 fakeram lef files, sky130hd lef files, they are all crashing with the following, the tech file is importing. Tried klayout in Centos9 as well as macOS.

Signal number: 11
Address: 0x670
Program Version: KLayout 0.30.5 (2025-12-08 rdacb3230d)

Backtrace:
/opt/klayout/libklayout_lay.so.0 +0x2cdc4b lay::enable_signal_handler_gui(bool) [??:?]
/lib64/libc.so.6 +0x3fc30 __restore_rt [??:?]
/opt/klayout/lay_plugins/liblefdef_ui.so +0x2eba7 db::LEFDEFReader::~LEFDEFReader() [??:?]
/opt/klayout/libklayout_lay.so.0 +0x1f7863 lay::MainWindow::menu_activated(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) [??:?]
/opt/klayout/libklayout_laybasic.so.0 +0x21d572 lay::Action::qaction_triggered() [??:?]
/lib64/libQt5Core.so.5 +0x2dbd50 QObject::setProperty(char const*, QVariant const&) [??:?]
/lib64/libQt5Widgets.so.5 +0x1a89f6 QAction::triggered(bool) [??:?]
/lib64/libQt5Widgets.so.5 +0x1ab6ec QAction::activate(QAction::ActionEvent) [??:?]
/lib64/libQt5Widgets.so.5 +0x337a22 QMenu::setIcon(QIcon const&) [??:?]
/lib64/libQt5Widgets.so.5 +0x33f619 QMenu::leaveEvent(QEvent*) [??:?]
/lib64/libQt5Widgets.so.5 +0x1f281e QWidget::event(QEvent*) [??:?]
/lib64/libQt5Widgets.so.5 +0x1af533 QApplicationPrivate::notify_helper(QObject*, QEvent*) [??:?]
/lib64/libQt5Widgets.so.5 +0x1b7174 QApplication::notify(QObject*, QEvent*) [??:?]
/opt/klayout/libklayout_lay.so.0 +0x147411 lay::GuiApplication::do_notify(QObject*, QEvent*) [??:?]
/lib64/libQt5Core.so.5 +0x2a79f8 QCoreApplication::notifyInternal2(QObject*, QEvent*) [??:?]
/lib64/libQt5Widgets.so.5 +0x1b5c57 QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&, bool, bool) [??:?]
/lib64/libQt5Widgets.so.5 +0x20c93b QDesktopWidget::qt_metacall(QMetaObject::Call, int, void**) [??:?]
/lib64/libQt5Widgets.so.5 +0x20f135 QDesktopWidget::qt_metacall(QMetaObject::Call, int, void**) [??:?]
/lib64/libQt5Widgets.so.5 +0x1af533 QApplicationPrivate::notify_helper(QObject*, QEvent*) [??:?]
/opt/klayout/libklayout_lay.so.0 +0x147425 lay::GuiApplication::do_notify(QObject*, QEvent*) [??:?]
/lib64/libQt5Core.so.5 +0x2a79f8 QCoreApplication::notifyInternal2(QObject*, QEvent*) [??:?]
/lib64/libQt5Gui.so.5 +0x16ad88 QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) [??:?]
/lib64/libQt5Gui.so.5 +0x149e0c QWindowSystemInterface::sendWindowSystemEvents(QFlagsQEventLoop::ProcessEventsFlag) [??:?]
/lib64/libQt5XcbQpa.so.5 +0x7043e QXcbNativeInterface::dumpNativeWindows(unsigned long long) const [??:?]
/lib64/libglib-2.0.so.0 +0x54f4f g_main_context_dispatch [??:?]
/lib64/libglib-2.0.so.0 +0xaa268 g_hmac_get_digest [??:?]
/lib64/libglib-2.0.so.0 +0x52713 g_main_context_iteration
/lib64/libQt5Core.so.5 +0x2f9878 QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag)
/lib64/libQt5Core.so.5 +0x2a6402 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag)
/lib64/libQt5Core.so.5 +0x2ae934 QCoreApplication::exec()
/opt/klayout/libklayout_lay.so.0 +0x14db4a lay::ApplicationBase::run()
/opt/klayout/klayout +0x42ad
/opt/klayout/libklayout_rba.so.0 +0x24400
/lib64/libruby.so.3.0 +0x2273b2
/lib64/libruby.so.3.0 +0x22b0c7
/lib64/libruby.so.3.0 +0x22f598
/lib64/libruby.so.3.0 +0x246fe0 rb_vm_exec
/lib64/libruby.so.3.0 +0xab38f
/lib64/libruby.so.3.0 +0xab4aa ruby_run_node
/opt/klayout/libklayout_rba.so.0 +0x25b10 rba::RubyInterpreter::initialize(int&, char**, int (*)(int, char**))
/opt/klayout/klayout +0x4b06
/opt/klayout/klayout +0x3c5f
/lib64/libc.so.6 +0x2a610
/lib64/libc.so.6 +0x2a6c0 __libc_start_main
/opt/klayout/klayout +0x3d05

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions