<div dir="ltr"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Yes, and the overflowing stack causes a segfault. But in this case, it is<br>
probably not caused by the event loop being called recursively with Wait,<br>
but by something very similar<br></blockquote><div>Â </div><div>I don't know enough details to really say for sure, but if wait is used inside an event handle, wouldn't that mean commands of two (or more) different event handlers can be executed in kinda mixed order.</div><div>I would not expect things to work correctly even without infinite recursion.</div><div><br></div><div>IE, this:</div><div><br></div><div>Public Sub Form_Close()<br>
 Try Kill "/tmp/Cntrl_lixce-nexus" 'segfaults with or without this line<br>
 Wait<br>
 Quit<br>
End</div><div><br></div><div>Can change on fly for example into this:</div><div><br></div><div>Public Sub Form_Close()<br>
 Try Kill "/tmp/Cntrl_lixce-nexus" 'segfaults with or without this line<br>
 Process_Kill() '' or some other event handler, which could also contain wait and so on...<br>
 Quit<br>
End</div><div><br></div><div><br></div><div><br></div><div>Jussi<br></div><div><br></div></div></div>