Charles Wilson wrote: > Still hunting the stack corruption/segv bug. PTC!
I think I found it. Before, I was dynamically loading function pointers to XOpenDisplay and XCloseDisplay in the main thread, and passing them to the worker thread as user data. By deferring the calls to dlopen/dlsym into the worker thread itself, the segvs go away (I'm not sure -- it's hard to debug threads other than main in cygwin -- but I *think* the function pointers became invalid in the worker thread context, in the previous scenario). So, give r20 a shot. (mintty is still invisible -- but at least run2 doesn't appear to segfault). -- Chuck -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple