From: earnie_boyd AT yahoo DOT com (Earnie Boyd) Subject: Re: dll, java, gcc, cygwin 28 Oct 1998 16:29:53 -0800 Message-ID: <19981027211637.3544.rocketmail.cygnus.gnu-win32@send104.yahoomail.com> Reply-To: earnie_boyd AT yahoo DOT com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: Glen Fullmer-EGF002 , khan AT xraylith DOT wisc DOT edu Cc: mickish AT cmu DOT edu, gnu-win32 AT cygnus DOT com Have you tried using the libmmalloc.a library that comes with the cygwin package for your malloc and friends routines? Note: that there are two m's and is a Mapped Memory Allocation package. This has seemed to fix various other porters problems when I've suggested it. ---Glen Fullmer-EGF002 wrote: > > Hi Mumit, > > >>>>> "MK" == Mumit Khan writes: > > MK> Tried something similar, and sure enough, it crashed and burned. > MK> getenv() probably calls something that calls malloc. If malloc fails, > MK> the system is pretty much useless. > > Yep, also just: > > char *mstr; > mstr = malloc(100); > > fails, in the helloworld example. > > MK> Of course, everything seems to work when using mingw, but then you > MK> lose the POSIX layer. > > Yeah, we wouldn't want to do that. ;-) > > MK> problem must be due to some (bad) interaction of MSVC runtime loaded > MK> by Java and Cygwin runtime loaded by the JNI dll. > > Ok, but I don't understand. So you are saying that Java might be using a > runtime library that is not compatible with the DLL library? > > Thanks, > Glen > -- > Glen Fullmer,(847)538-3082, Mail: , > Web: > ************************************************************************** > * "For a successful technology, reality must take precedence * > * over public relations, for Nature cannot be fooled." - R. P. Feynman * > ************************************************************************** > - > For help on using this list (especially unsubscribing), send a message to > "gnu-win32-request AT cygnus DOT com" with one line of text: "help". > == - \\||// -------------o0O0--Earnie--0O0o-------------- -- earnie_boyd AT yahoo DOT com -- -- http://www.freeyellow.com/members5/gw32 -- ----------------ooo0O--O0ooo----------------- PS: Newbie's, you should visit my page. _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".