[MPlayer-dev-eng] workaround for SEGFAULTs during rtsp download

wdb at few.vu.nl wdb at few.vu.nl
Sat Mar 12 10:15:51 CET 2005


Quoting Trent Piepho <xyzzy at speakeasy.org>: 
 
> A crash in malloc invariable means that the heap was corrupted by 
> overwriting 
> past the end of a malloced array or incorrect use of free().  It's very 
> unlikely that it's a malloc bug. 
 
that makes sense. thanks for the explanation. 
 
> Can you use electricfence?  You might also look at the use the memory 
> malloced 
> before the one that crashes, and see if it overwrites the end of the array.  
> Maybe some code assumes sizeof(int)==sizeof(void*), which isn't true on 
> x86-64, is it? 
 
ok, I will. But it'll have to wait until monday as my only 64bit machine is at 
work. First I'll check out electric fence. I completely forgot about that.  
 
Willem 




More information about the MPlayer-dev-eng mailing list