How to create a new window after closing the first one

Hi
I create a window with Gtk widgets where I choose from combo another window.
The window is not created and Julia crash:

FATAL ERROR: Gtk state corrupted by error thrown in a callback:
ERROR: AssertionError: g_stack === nothing && !prev

My be a lack 0f some cleaning?
Thanks
Giovanni Rossati