[mplayer] Segfault (trace supplied)

Frank Boehme f.boehme at cs.ucc.ie
Thu Feb 22 18:23:05 CET 2001

Hi gang,

(I am not yet on the mailing list - could you please cc me in replies?

I am getting a segfault with a possibly(!) faulty movie file in
v0.11-pre24 and at least the two versions prior to that. I believe it is
an avi movie, but mplayer reports asf. I ran the non-stripped executable
in gdb and typed 'where' after the segfault. I have attached a
transscript of the whole session toi this email. 

Sorry, I do not much about movie formats...

Any ideas?


Dr Frank Boehme                      | Email: f.boehme at cs.ucc.ie
National University of Ireland, Cork | phone: +353-21-4903163
Dept of Computer Science             |   fax: +353-21-4903113
Cork, Ireland                        |

-- Attached file included as plaintext by Listar --
-- File: typescript

Script started on Thu Feb 22 17:16:13 2001
frank at wizard:~/download > gdb mplayer
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) run -v -v -v -vo x11 movie_divx.avi
Starting program: /usr/local/bin/mplayer -v -v -v -vo x11 movie_divx.avi

MPlayer 0.11pre24       (C) 2000-2001 Arpad Gereoffy <arpi at esp-team.scene.hu>

CommandLine: '-v' '-v' '-v' '-vo' 'x11' 'movie_divx.avi'
seek to 0x0
s->pos=0  newpos=401F8D00  new_bufpos=0  buflen=0  
seek to 0x0
Detected ASF file format!
ASF file! (subchunks: 6)
0x0000001E  [guid_file_header] 104
packets: 69220  flags: 2  pack_size: 9687  frame_size: 775000
seek to 0x86
0x00000086  [(null)] 46
seek to 0xB4
0x000000B4  [(null)] 154
seek to 0x14E
0x0000014E  [guid_stream_header] 124
stream type: guid_audio_stream
stream concealment: guid_audio_conceal_none
type: 30 bytes,  stream: 16 bytes  ID: 1
unk1: 0  unk2: 0
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 1
Samplerate: 48000
avg byte/sec: 7000
Block align: 1
bits/sample: 0
cbSize: 12
Audio in MPEG Layer-3 format
ASF audio scrambling: 72 x 0 x 43008
seek to 0x1CA
0x000001CA  [guid_stream_header] 129
stream type: guid_video_stream
stream concealment: (null)
type: 51 bytes,  stream: 0 bytes  ID: 2
unk1: 0  unk2: 0
======= VIDEO Format ======
  biSize 40
  biWidth 720
  biHeight 352
  biPlanes 1
  biBitCount 24
  biCompression 861292868='DIV3'
  biSizeImage 760320
seek to 0x24B
0x0000024B  [(null)] 196
seek to 0x30F
0x0000030F  [guid_data_chunk] 670534190
Found movie at 0x341 - 0x27F78D3D
seek to 0x27F78D3D
s->pos=1000  newpos=BFFFF0F8  new_bufpos=27F78D3D  buflen=1000  
0x27F78D3D  [(null)] 1918381668
seek to 0x9A4FBBA1

Program received signal SIGSEGV, Segmentation fault.
0x401674a7 in memcpy (dstpp=0x80e93c0, srcpp=0x7a721541, len=2376586335)
    at ../sysdeps/generic/memcpy.c:55
55	../sysdeps/generic/memcpy.c: No such file or directory.
(gdb) where
#0  0x401674a7 in memcpy (dstpp=0x80e93c0, srcpp=0x7a721541, len=2376586335)
    at ../sysdeps/generic/memcpy.c:55
#1  0x804f7c0 in read_asf_header ()
#2  0x8053e91 in main ()
#3  0x4011d213 in __libc_start_main (main=0x805111c <main>, argc=7, 
    argv=0xbffff6c4, init=0x8049c70 <_init>, fini=0x80a1ce0 <_fini>, 
    rtld_fini=0x4000ac30 <_dl_fini>, stack_end=0xbffff6bc)
    at ../sysdeps/generic/libc-start.c:90
(gdb) q
The program is running.  Exit anyway? (y or n) y
frank at wizard:~/download > 
Script done on Thu Feb 22 17:17:08 2001

More information about the MPlayer-users mailing list