Re: Patch for silent crash with Cygwin1.dll v 1.5.19-4
--- Christopher Faylor [EMAIL PROTECTED] wrote: You have missed how efault.faulted() is supposed to be operating and, AFAICT, *does* operate throughout the Cygwin DLL. It really is supposed to be catching NULL dereferences. It's possible of course, that there is something wrong with efault.faulted() but that doesn't mean we need to extra code around efault.faulted. It means that efault.faulted needs to be fixed. i.e., we need to fix the problem not the symptom. cgf I did some more research over the weekend and my problem seems to only come when loading a dll via dlopen() and run_ctors() is called from dll:init() and pthread_key_create() is called during the time that run_ctors() is active. I still have not found who is calling pthread_key_create(), but will be working on this as time permits this week. It's been several years since I did any assembly language coding, so I have to study what's going on when efault.faulted() returns non-zero - and figure out how to get gdb to step through the assembly code. Thanks, Gary __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: Patch for silent crash with Cygwin1.dll v 1.5.19-4
Gary Zablackis wrote: I did some more research over the weekend and my problem seems to only come when loading a dll via dlopen() and run_ctors() is called from dll:init() and pthread_key_create() is called during the time that run_ctors() is active. I still have not found who is calling pthread_key_create(), but will be working on this as time permits this week. If you are trying to track down why you get a SIGSEGV in pthread_key_create while running your app in gdb you are wasting your time. This is not a fault, it is expected and normal. Search the archives. Brian
[Patch] cygwinenv.sgml: Missing /para.
Hi, Doc won't build... ChangeLog-entry (You know, please fix the at.): 2006-03-07 Bas van Gompel cygwin-patch.buzzatbavag.tmfweb.nl * cygwinenv.sgml: Add missing /para at transparent_exe. L8r, Buzz. -- ) | | ---/ ---/ Yes, this | This message consists of true | I do not -- | | // really is | and false bits entirely.| mail for ) | | //a 72 by 4 +---+ any1 but -- \--| /--- /--- .sigfile. | |perl -pe s.u(z)\1.as.| me. 4^re --- src/winsup/doc/cygwinenv.sgml 2006-02-05 20:23:44.0 +0100 +++ src/winsup/doc/cygwinenv.sgml 2006-02-27 23:13:52.0 +0100 @@ -177,7 +177,7 @@ suffix transparently. These functions a treated as too dangerous to act on files with .exe suffix if the .exe suffix wasn't given explicitely in the file name argument, and this is still the case if the transparent_exe option is not set. Default is not -set. +set./para /listitem listitem paraenvar(no)traverse/envar - This option only affects NT systems.