# How to create a new window after closing the first one

**URL:** <https://discourse.julialang.org/t/how-to-create-a-new-window-after-closing-the-first-one/81187>\
**Category:** General Usage\
**Tags:** gtk\
**Created:** [May 17, 2022, 10:03am UTC](https://discourse.julialang.org/t/how-to-create-a-new-window-after-closing-the-first-one/81187 "2022-05-17T10:03:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rossati](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rossati/32/44973_2.png) [@Rossati](https://discourse.julialang.org/u/Rossati)\
**Post date:** [May 17, 2022, 10:03am UTC](https://discourse.julialang.org/t/how-to-create-a-new-window-after-closing-the-first-one/81187/1 "2022-05-17T10:03:11Z")

</div>

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

```julia
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
