Certain combinations of UI-setup (adding/not adding buttons etc.) were causing segfaults and making the program stuck.
As far as I can tell, it was caused by this line in ui.py:
Application(model)
Since the application was not assigned to a variable, part of it would be garbage-collected, which would cause the segfaults.
It has been fixed (hacked?) with the following change:
app = Application(model)
Certain combinations of UI-setup (adding/not adding buttons etc.) were causing segfaults and making the program stuck.
As far as I can tell, it was caused by this line in
ui.py
:Application(model)
Since the application was not assigned to a variable, part of it would be garbage-collected, which would cause the segfaults. It has been fixed (hacked?) with the following change:app = Application(model)