Peter Steele <[email protected]> writes:
> #8 0x00000008011ffe8f in malloc () from /lib/libc.so.7
>
> #9 0x000000080127374b in memchr () from /lib/libc.so.7
The stack trace is clearly incorrect:
void *
memchr(const void *s, int c, size_t n)
{
if (n != 0) {
const unsigned char *p = s;
do {
if (*p++ == (unsigned char)c)
return ((void *)(p - 1));
} while (--n != 0);
}
return (NULL);
}
Type "frame 9" and see what it says. If the bug is easily reproducable,
try reproducing it with a debugging version of libc (buildworld with
DEBUG_FLAGS=-g)
DES
--
Dag-Erling Smørgrav - [email protected]
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"