From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <7178675201948c37fe519c93d7c456a9.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199607201759.TAA19607@fozzy.comnets.rwth-aachen.de> Date: Sat, 20 Jul 1996 19:59:49 +0200 From: Martin Ostermann Subject: libc-0.43-1.rpm bugs: free() and memcpy() 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