Re: assertion failed in libc/stdlib/malloc.c

From: Jille Timmermans <jille_at_quis.cx>
Date: Mon, 22 Sep 2008 18:49:11 +0200
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_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Mon Sep 22 2008 - 14:49:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:35 UTC