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.
See discussion here: https://www.klayout.de/forum/discussion/comment/4820
Apparently the following happens:
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.