Date: Mon, 22 Sep 2008 18:49:11 +0200 From: Jille Timmermans <jille@quis.cx> To: Dimitry Andric <dimitry@andric.com> Cc: freebsd-current@freebsd.org Subject: Re: assertion failed in libc/stdlib/malloc.c Message-ID: <48D7CC87.1070907@quis.cx> In-Reply-To: <48D7C93B.60608@andric.com> References: <48D7C6BF.8030702@quis.cx> <48D7C93B.60608@andric.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48D7CC87.1070907>