From owner-freebsd-current@FreeBSD.ORG Fri May 28 08:14:34 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A46716A4CE for ; Fri, 28 May 2004 08:14:34 -0700 (PDT) Received: from freebee.digiware.nl (dsl390.iae.nl [212.61.63.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 625D843D39 for ; Fri, 28 May 2004 08:14:33 -0700 (PDT) (envelope-from wjw@withagen.nl) Received: from dual (dual [212.61.27.71]) by freebee.digiware.nl (8.12.10/8.12.10) with SMTP id i4SF9g67092818; Fri, 28 May 2004 17:09:42 +0200 (CEST) (envelope-from wjw@withagen.nl) Message-ID: <08b401c444c5$d8545cb0$471b3dd4@dual> From: "Willem Jan Withagen" To: "Poul-Henning Kamp" References: <7261.1085755951@critter.freebsd.dk> Date: Fri, 28 May 2004 17:09:59 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 cc: freebsd-current@freebsd.org Subject: Re: Possible bug in malloc-code X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 May 2004 15:14:34 -0000 ----- Original Message ----- From: "Poul-Henning Kamp" > >If amd64-owners want to have a go at it, and see what they get: > > cd /usr/ports/devel/cocktail/ > > make > > cd work/cocktail-9309/reuse/m2c > > make test > > ./rMemoryDrv > > I get > hex# ./rMemoryDrv > Alloc: n = 0, ADR = 00000800 > Alloc: n = 0, ADR = 00000800 > Segmentation fault (core dumped) > hex# setenv MALLOC_OPTIONS V > hex# ./rMemoryDrv > Alloc: n = 0, ADR = 00000000 > Alloc: n = 0, ADR = 00000000 > Segmentation fault (core dumped) Ahh, right sorry, there was also a typo in the package which I did not put a PR out for to get it in the port, since I was trying to get it all to work on 64bits platforms in rMemory.c on line 148. s/__FREEBSD__/__FreeBSD__/ Which I did not catch on i386, since in a vague way the uppercase variant is also known when I compile. (No time taken to figure out where it comes from, or why amd64 does not have it) Apriciate it very much if you'd care to try again. --WjW