Vincent Torri <[email protected]> wrote: > I have a program that fails on realloc. dbx reports: > > t...@1 (l...@1) signal SEGV (no mapping at the fault address) in t_splay at > 0xd078b710 > 0xd078b710: t_splay+0x007e: movl %ebx,0x00000008(%eax) > Current function is _eina_strbuf_resize > 521 buffer = realloc(buf->buf, new_size);
Such problems typically are a result of allocated memory that was previously overwritten either at low or high boundary. You may like to call: env LD_PRELOAD=libumem.so.1 UMEM_DEBUG=default UMEM_LOGGING=transaction your-program and later call: mdb your-program core ::umem_status Jörg -- EMail:[email protected] (home) Jörg Schilling D-13353 Berlin [email protected] (uni) [email protected] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
