[MPlayer-dev-eng] Need debugging advice
Nicolas George
nicolas.george at normalesup.org
Wed Sep 30 09:47:55 CEST 2009
Le nonidi 9 vendémiaire, an CCXVIII, Jonathan Nell a écrit :
> and then the malloc() segfaults! only thing that I can think of is
> that the process somehow runs out of mem??
Most of the times, when malloc segfaults, it means that someone has written
things in its internal data structures: a small buffer overflow or underflow
will fall in the few bytes that malloc reserves from the system and keeps
for himself to keep track of the allocated and unallocated blocks.
Try running the process you want to debug with Electric Fence or Valgrind.
Regards,
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090930/d4e2d85a/attachment.pgp>
More information about the MPlayer-dev-eng
mailing list