From owner-freebsd-current@FreeBSD.ORG Mon Sep 22 16:35:09 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 336431065671 for ; Mon, 22 Sep 2008 16:35:09 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id ED8C98FC1F for ; Mon, 22 Sep 2008 16:35:08 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from [IPv6:2001:7b8:3a7:0:9c46:ffdd:a430:a76b] (unknown [IPv6:2001:7b8:3a7:0:9c46:ffdd:a430:a76b]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 4915484438; Mon, 22 Sep 2008 18:35:07 +0200 (CEST) Message-ID: <48D7C93B.60608@andric.com> Date: Mon, 22 Sep 2008 18:35:07 +0200 From: Dimitry Andric User-Agent: Thunderbird 2.0.0.17pre (Windows/20080921) MIME-Version: 1.0 To: Jille Timmermans References: <48D7C6BF.8030702@quis.cx> In-Reply-To: <48D7C6BF.8030702@quis.cx> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: assertion failed in libc/stdlib/malloc.c X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 22 Sep 2008 16:35:09 -0000 Jille Timmermans wrote: > I ran into an assertion failure in malloc.c It looks a lot like you're going way out of bounds in your map[][] array. It is declared 1 by 1, but you're writing at least 36 items in there, overwriting who-knows-what else... In this case malloc-internal data. :)