From owner-freebsd-current@FreeBSD.ORG Mon Sep 22 16:49:18 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 7EFC51065671 for ; Mon, 22 Sep 2008 16:49:18 +0000 (UTC) (envelope-from jille@quis.cx) Received: from smtp6.versatel.nl (smtp6.versatel.nl [62.58.50.97]) by mx1.freebsd.org (Postfix) with ESMTP id EB8EB8FC12 for ; Mon, 22 Sep 2008 16:49:17 +0000 (UTC) (envelope-from jille@quis.cx) Received: (qmail 27497 invoked by uid 0); 22 Sep 2008 16:49:15 -0000 Received: from ip83-113-174-82.adsl2.static.versatel.nl (HELO istud.quis.cx) ([82.174.113.83]) (envelope-sender ) by smtp6.versatel.nl (qmail-ldap-1.03) with SMTP for < >; 22 Sep 2008 16:49:15 -0000 Received: from [192.168.1.4] (ille [192.168.1.4]) by istud.quis.cx (Postfix) with ESMTP id AFFF55C1E; Mon, 22 Sep 2008 18:49:14 +0200 (CEST) Message-ID: <48D7CC87.1070907@quis.cx> Date: Mon, 22 Sep 2008 18:49:11 +0200 From: Jille Timmermans User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Dimitry Andric References: <48D7C6BF.8030702@quis.cx> <48D7C93B.60608@andric.com> In-Reply-To: <48D7C93B.60608@andric.com> X-Enigmail-Version: 0.95.7 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:49:18 -0000 Hmm, I am pretty sure my first code wasn't writing out of bounds (having map[20][40]) and while trimming the code I found out it also crashed with 'all' other sizes, and I left it on [1][1]. Unfortunately, I don't have the original (full) crashing code. I'm sorry to waste your time. -- Jille Dimitry Andric schreef: > 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. :) > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"