From owner-freebsd-hackers Wed Dec 6 11:23:52 2000 From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 6 11:23:51 2000 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from critter.freebsd.dk (flutter.freebsd.dk [212.242.40.147]) by hub.freebsd.org (Postfix) with ESMTP id 9077337B400 for ; Wed, 6 Dec 2000 11:23:50 -0800 (PST) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.1/8.11.1) with ESMTP id eB6JNlL52720; Wed, 6 Dec 2000 20:23:47 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: remy@boostworks.com Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: free() not freing pagedirs pages. In-Reply-To: Your message of "Wed, 06 Dec 2000 20:07:07 +0100." <200012061907.UAA31917@luxren2.boostworks.com> Date: Wed, 06 Dec 2000 20:23:47 +0100 Message-ID: <52718.976130627@critter> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200012061907.UAA31917@luxren2.boostworks.com>, Remy Nonnenmacher wr ites: >OK. In fact my problem was just a printf that allocated a buffer via >__smakebuf at the very last moment (when all memory was allocated). >This prevent free() to give back all previous pages up to this one. The >problem was _not_ in malloc.c. > >Anyway, i learned a lot from hacking the source to catch the caller. >Thanks. Yeah, I often find a "print a traceback" function missing in libc... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message