Skip to content

Segfault on CentOS7 on exit #203

@klayoutmatthias

Description

@klayoutmatthias

See discussion here: https://www.klayout.de/forum/discussion/comment/4820

Apparently the following happens:

  • KLayout will destroy all top level widgets on exit
  • But the QMultiInputContext plugin registers it's own QMenu (a top level widget)
  • When KLayout exists and the plugin tries to delete it's QMenu, a double delete happens and the segfault occurs.

Solution: KLayout should only delete those top level widgets it actually owns. This is difficult however, as these Widgets may be created from Ruby which shuts down after the application object has been destroyed.

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