Malloc

Sources d'information

Librairie(s) requise(s)

stdlib.h

Comment ça marche

Message d'erreur

malloc.c:3096: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed.
Aborted

inspecter le precedent malloc, potentiel problem dans la structure qui a servi au malloc

retour


© 2022, vroch
Revisé le : 30 avr 2022
URL : http://vroch.ch/vr_tech_014.html
Main : http://vroch.ch