delorie.com/archives/browse.cgi | search |
On 12/27/2009 4:56 AM, Charles Wilson wrote: > 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). I'm still getting a segfault with test1.xml from http://cygwin.com/ml/cygwin/2009-12/msg00871.html Ken -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |