Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <37733AD4.EDF0A46C@st.com> Date: Fri, 25 Jun 1999 10:16:20 +0200 From: Laurent CHARLES Organization: STMicroelectronics X-Mailer: Mozilla 4.6 [en] (WinNT; I) X-Accept-Language: fr,en MIME-Version: 1.0 To: glenn AT gs DOT fay DOT nc DOT us, cygwin AT sourceware DOT cygnus DOT com CC: cgf AT cygnus DOT com, "CHARLES, Laurent" Subject: Re: Something is rotten in recent snapshots References: <19990623103930 DOT A13510 AT ba DOT best DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit glenn AT gs DOT fay DOT nc DOT us wrote: > On 16 Jun 1999 at 2:50PM (-0400) Chris Faylor wrote: > > There is some kind of memory corruption in recent snapshots. > > I don't suppose that Electric Fence has been ported to cygwin? > > > Please let me know if it compiles and operates properly. I tried it and got some problems. First, it compiles perfectly. Well, I didn't notice any problem, and installed it with my /usr/local stuff (with the cygwin packages). I ran 'make all install prefix=/usr/local' from efence/cygwin directory. I have a simple hello-world with a single 'char* p=(char*)malloc(10);' line. I compile it with 'gcc hello.c -o hello.exe -lefence'. It crashes with a 'instruction references memory at "0x00000000"' error. A simple debug session with gdb shows that it crashes at '0x61006cd2 in _size_of_stack_reserve__()', before main. Did you experience the same problem? Maybe I have a bad compiler? 'egcs-2.91.66 19990314 (egcs-1.1.2 release)' Thankx for your help. --Laurent -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com