http://gambaswiki.org/bugtracker/edit?object=BUG.1347&from=L21haW4- Comment #1 by Benoît MINISINI: This is because you are destroying controls while enumerating the parent, and GTK+ components behave differently than QT ones.