[MPlayer-dev-eng] segfault on Alpha in libmpdemux/demux_mov.c

attila attila at pai.kinali.ch
Sun Jul 18 06:27:57 CEST 2004


On Tue, Mar 02, 2004 at 11:54:32AM -0500, Andrew A. Gill wrote:
> I'm getting a segfault on a DEC Alpha with the Sorenson codec.
> 
> I've traced the issue to the following line:
> 
> 	trak->chunks=realloc(trak->chunks,sizeof(mov_chunk_t)*len);
> 
> (that's the one inside case MOV_FOURCC('s','t','c','o'):, it
> may also segfault in case MOV_FOURCC('c','o','6','4'):)
> 
> I must admit that when I get to a line with pointers and mallocs
> and sizeof()s and segfaults, my mind goes all squishy.  So maybe
> you can tell me what the problem with this is.  Or better yet,
> fix it.

HMPF...you should definitly read bugreports.html
Just telling "it segfaults" isnt enough even if you point at the line
where it does.

			Attila Kinali




More information about the MPlayer-dev-eng mailing list