* libc-0.43-1.rpm bugs: free() and memcpy()
@ 1996-07-20 17:59 Martin Ostermann
0 siblings, 0 replies; only message in thread
From: Martin Ostermann @ 1996-07-20 17:59 UTC (permalink / raw)
There is a bug concerning Gnu malloc/free in libc. Sorry, I haven't
fixed it, I can only offer a workaround. I believe its due to the
fact, that malloc and malloc-930716 havn't been equally ported to 64
bit architectures. They use different data types at some places,
e.g. size_t vs int. The makefiles mix the two versions, malloc/cfree.c
and anything else from malloc-930716. FYI: malloc does statistics,
malloc-930716 not, thus the later is supposed to be slightly
faster.
The bug appears for example in tar. Multi volume tar extracts (tar xMf
/dev/fd0) will loop endlessly in free(), called by assign_string().
Using just the new stuff in malloc, it disappears.
Like I already wrote in my previous mail, memcpy() uses an unoptimized
version. ./sysdeps/alpha/Makefile and ./string/Makefile need to be
fixed.
Bye, Martin
--
Martin Ostermann | mailto:ost@comnets.rwth-aachen.de
Communication Networks | http://www.comnets.rwth-aachen.de/~ost
Aachen University of Technology | phoneto:++49/241/807917
Germany | faxto:++49/241/8890378
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-07-20 17:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-07-20 17:59 libc-0.43-1.rpm bugs: free() and memcpy() Martin Ostermann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox