www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/03/18/14:22:20

From: jeffdbREMOVETHIS AT netzone DOT com (Mikey)
Subject: new malloc/free gives problems on win95
18 Mar 1998 14:22:20 -0800 :
Message-ID: <35112f42.84792043.cygnus.cygwin32.developers@smtp.netzone.com>
Reply-To: jeffdbREMOVETHIS AT netzone DOT com
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com, noer AT cygnus DOT com, cygwin32-developers AT cygnus DOT com

win95b
P100
32M
egcs-1.0.2 prerelease from Mumit

I've built the B19.1 cygwinb19.dll against the
newlib-980310 with Doug Lea's malloc
implimentation, and it seems that I am
always getting segfaults in malloc or free.

segfaults in the same places in the same programs from B19.1 cygwinb19.dll from the web site. 
(no symbols so I can't tell for sure what functions ;^)

had to change _read and _write from ssize_t returns to int returns in syscalls.h

newlib/libc/include/sys/fcntl.h
extern int _open _PARAMS ((const char *, int, ...));
to
extern int _open _PARAMS ((const char *, int, mode_t mode));

also .data$nocopy to .data_cygwin_nocopy && fixed ld

but otherwise no changes. (that I remember ;^)

when I reverted to the newlib/ & malloc.cc from sergey's 971103 release
the problems went away. (changes to dcrt0.cc  winsup.h libc/sys/signal.h libc/sys/cygwin32/sys/dirent.h)

has anyone else seen this?

=====================================================
Linux a platform built by, and for users, standing on
the firm legs of reliability, and speed.

Microsoft Windows, a platform without a leg to stand on.

(jeffdbREMOVETHIS AT netzone DOT com)
delete REMOVETHIS from the above to reply
         Mikey

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019