Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 1996 12:05:15 -0600 (MDT)
From:      Nate Williams <nate@mt.sri.com>
To:        Keith Mitchell <kmitch@unix.guru.org>
Cc:        nate@mt.sri.com (Nate Williams), current@freebsd.org
Subject:   Re: Weirdness in current
Message-ID:  <199610171805.MAA19142@rocky.mt.sri.com>
In-Reply-To: <199610171803.OAA23823@unix.guru.org>
References:  <199610171632.KAA18263@rocky.mt.sri.com> <199610171803.OAA23823@unix.guru.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> > Where is it dumping core?
> 
> I checked my program again and did find a small bug in it that would cause
> it to reference an array out of bounds.  Its amazing that compiling in the
> math library would fix this and the dynamic/static executable made a
> difference. ;-)  And at that only on output redirection.  Go Figure. ;->>

Stack corruption bugs are a *bugger* to find.  The program has a
completely different 'memory' allocation setup when used static
vs. shared libraries due to mmap() usage in the shlib loader.

In any case, we're glad everything's working now. :)



Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610171805.MAA19142>