From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199710192224.SAA30597@michael.webdevelop.com> Date: Sun, 19 Oct 1997 22:43:29 -0700 From: Richard Henderson Subject: Re: foo=malloc(),realloc(foo) => SIGSEGV ?! In-Reply-To: <199710181920.MAA07898@wasatch.ps.uci.edu> On Sat, Oct 18, 1997 at 12:20:45PM -0700, Christopher J. Grayce wrote: > > Can anyone shed light on this? I get SIGSEGV when calling realloc > with what I reall think is a legitimate pointer. My guess is that you've corrupted the heap by writing outside the memory you actually allocated. This would be consistent with the program happening to work on DU, since the arena meta-data is stored at different places. I don't recall what version of malloc is in Red Hat 4.2's libc, but you can try setting the environment variable MALLOC_CHECK_=1, which will detect some problems and print messages to stderr. r~ -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com