Skip to content

KLayout crashing with two consecutive calls of the same LayoutView::show_layout command  #1533

@rizoschrist

Description

@rizoschrist

Klayout (v0.27.7) is crashing with the following error message when I execute the following command two times in a row:

pya.Application.instance().main_window().current_view().show_layout(layout, False)
pya.Application.instance().main_window().current_view().show_layout(layout, False)

error image

ERROR: ../../../src/laybasic/laybasic/layCellTreeModel.cc,444,! mp_layout->under_construction () && ! (mp_layout->manager () && mp_layout->manager ()->transacting ())
ERROR: Exception caught: Internal error: ../../../src/laybasic/laybasic/layCellTreeModel.cc:444 ! mp_layout->under_construction () && ! (mp_layout->manager () && mp_layout->manager ()->transacting ()) was not true

PS: minor but.. same layers' colors keep changing each time I execute the above command, which becomes troublesome to id the layers in a dense layout

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions