On Fri, 25 Feb 2005, Peter Rehley wrote: > On Feb 25, 2005, at 1:29 PM, Peter Rehley wrote: > > > On Feb 25, 2005, at 1:03 PM, Igor Pechtchanski wrote: > > > > > On Fri, 25 Feb 2005, Peter Rehley wrote: > > > > > > > Hi, > > > > > > > > I am working on a project where I had to recompile gettext using > > > > gcc 3.3.3. I'm using cygwin 1.5.12. It compiled without issues > > > > but when I went to run some of the programs, a windows dialog box > > > > pops up showing the following message: > > > > > > > > "The application failed to initialize properly (0xc0000005). Click > > > > on OK to terminate the application." > > > > > > Check that all of the required DLLs are accessible and have the > > > executable bit set. > > > > Yes all are readable and all have the exe bit set. (mode 755) > > If I remove the execute bit, the error message becomes > > "The application failed to initialize properly (0xc0000022). Click on > OK to terminate the application"
Ah, right, 0xc0000022 is "access denied", and 0xc0000005 is "access violation" (i.e., SEGV), most likely inside DllMain. Sorry, got confused for a moment. One thing you could try is set breakpoints in all of the DllMain functions, and trace through... Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/