From mint-bounce@lists.fishpool.fi Sat Feb 18 19:48:23 2006 X-Original-To: fnaumann@mail.boerde.de Delivered-To: fnaumann@mail.boerde.de Subject: [MiNT] The Infamous Malloc bug From: Mark Duckworth To: Mint List Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-/LrKysXpl5tmsWJ4wGHr" Date: Sat, 18 Feb 2006 13:41:50 -0500 Message-Id: <1140288111.25361.38.camel@mduckworth.phillypark.net> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.1.fc4.nr) X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-To: mint-bounce@lists.fishpool.fi X-original-sender: mduckworth@atari-source.com Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: X-Virus-Scanned: by amavisd-new at relay.boerde.de X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de X-Spam-Status: No, hits=-1.0 tagged_above=-50.5 required=7.0 tests=AWL, BAYES_00 X-Spam-Level: --=-/LrKysXpl5tmsWJ4wGHr Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello guys, When trying to build a piece of software, I was able to replicate the malloc bug every time, at least on my falcon. I was convinced that the problem is that even the newer make referenced a library that had the malloc bug from benig compiled from an old build. =20 So I watched carefully the build of the make.rpm. It uses libintl.a and libiconv.a. Thus, the packages gettext and libiconv needed to be rebuilt. I don't know what libraries THESE packages referenced but the should have linked directly to the newer mintlib, I'd think. Anyway, despite rebuilding libiconv and gettext and then rebuilding and reinstalling make, I still get the malloc bug. chmod -w autoconf.tmp mv -f autoconf.tmp autoconf rm -f autoheader autoheader.tmp sed -e 's,@SHELL\@,/bin/sh,g' -e 's,@PERL\@,/usr/bin/perl,g' -e 's,@bindir\@,/usr/bin,g' -e 's,@datadir\@,/usr/share/autoconf,g' -e 's,@prefix\@,/usr,g' -e 's,@autoconf-name\@,'`echo autoconf | sed 's,x,x,'`',g' -e 's,@autoheader-name\@,'`echo autoheader | sed 's,x,x,'`',g' -e 's,@autom4te-name\@,'`echo autom4te | sed 's,x,x,'`',g' -e 's,@M4\@,/usr/bin/m4,g' -e 's,@AWK\@,gawk,g' -e 's,@VERSION\@,2.59,g' -e 's,@PACKAGE_NAME\@,GNU Autoconf,g' -e 's,@configure_input\@,Generated from autoheader.in; do not edit by hand.,g' ./autoheader.in >autoheader.tmp chmod +x autoheader.tmp chmod -w autoheader.tmp mv -f autoheader.tmp autoheader rm -f autoreconf autoreconf.tmp sed -e 's,@SHELL\@,/bin/sh,g' -e 's,@PERL\@,/usr/bin/perl,g' -e 's,@bindir\@,/usr/bin,g' -e 's,@datadir\@,/usr/share/autoconf,g' -e 's,@prefix\@,/usr,g' -e 's,@autoconf-name\@,'`echo autoconf | sed 's,x,x,'`',g' -e 's,@autoheader-name\@,'`echo autoheader | sed 's,x,x,'`',g' -e 's,@autom4te-name\@,'`echo autom4te | sed 's,x,x,'`',g' -e 's,@M4\@,/usr/bin/m4,g' -e 's,@AWK\@,gawk,g' -e 's,@VERSION\@,2.59,g' -e 's,@PACKAGE_NAME\@,GNU Autoconf,g' -e 's,@configure_input\@,Generated from autoreconf.in; do not edit by hand.,g' ./autoreconf.in >autoreconf.tmp chmod +x autoreconf.tmp chmod -w autoreconf.tmp mv -f autoreconf.tmp autoreconf rm -f ifnames ifnames.tmp sed -e 's,@SHELL\@,/bin/sh,g' -e 's,@PERL\@,/usr/bin/perl,g' -e 's,@bindir\@,/usr/bin,g' -e 's,@datadir\@,/usr/share/autoconf,g' -e 's,@prefix\@,/usr,g' -e 's,@autoconf-name\@,'`echo autoconf | sed 's,x,x,'`',g' -e 's,@autoheader-name\@,'`echo autoheader | sed 's,x,x,'`',g' -e 's,@autom4te-name\@,'`echo autom4te | sed 's,x,x,'`',g' -e 's,@M4\@,/usr/bin/m4,g' -e 's,@AWK\@,gawk,g' -e 's,@VERSION\@,2.59,g' -e 's,@PACKAGE_NAME\@,GNU Autoconf,g' -e 's,@configure_input\@,Generated from ifnames.in; do not edit by hand.,g' ./ifnames.in >ifnames.tmp chmod +x ifnames.tmp chmod -w ifnames.tmp mv -f ifnames.tmp ifnames rm -f autoscan autoscan.tmp make[1]: execvp: rm: Not a directory make[1]: *** [autoscan] Error 127 make: ../mintlib/malloc.c:187: __free: Assertion `s =3D=3D r' failed. make: *** [all-recursive] Error 1 Bad exit status from /var/tmp/rpm-tmp.74970 (%build) root@washi:/root/bf/SPECS> I'm at a loss to describe how ticked I am at dealing with static libraries ;) make only links gettext and libiconv both of which were rebuilt, so one of those two, specifically gettext must link something that still has the bug. Or, perhaps the bug still exists in some form. Thanks, Mark --=-/LrKysXpl5tmsWJ4wGHr Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (GNU/Linux) iD8DBQBD92puG3ekuGovTz0RAjLzAJ0a+TZGbAKVl9PFaWGSPf+e4ETyeQCfT30U K11hEkOitboaSk6zQACKi48= =RfWV -----END PGP SIGNATURE----- --=-/LrKysXpl5tmsWJ4wGHr--