I had similar problem with SSDP server. When I tried to stop it during shutdown of image the image didn't closed. It hangs forever. In some cases I was able to open debugger which pointed to exactly same place which you mentioned. My guess was that process termination during shutdown is not safe anymore. But I had no time to check deeply.
2018-05-03 16:13 GMT+03:00 Holger Freyther <hol...@freyther.de>: > I am facing a problem with the new SessionManager>>#snapshot:andQuit: > code. I have had plenty Pharo70 images that didn't restore anymore as the > code is waiting for the "wait" semaphore. For sure it is something my code > is doing but could anyone think of ways to make it more robust and handle > failures more gracefully? My main concerns are: > > * When the failure becomes noticeable it is too late. :( > * It fails silently. Maybe WorkingSession>>#runStartup: shouldn't rely on > the UIManager doing the right thing (before the UI was fully initialized?) > * Debugging is hard, there is no indication of why it broke, and getting > to the situation of breakage takes a bit of time (installing the > baseline..). > > holger > > > >