[MPlayer-dev-eng] MPlayer SVN-r30318-4.3.3 Segmentation fault.

김승정 kuh3h3 at gmail.com
Sat Jan 16 15:17:34 CET 2010


[/media/sdc6]$ gdb mplayer
GNU gdb (GDB) 7.0.50.20091013-cvs
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/mplayer...rdone.
(gdb) r  shuang.mp4
Starting program: /usr/bin/mplayer shuang.mp4
[Thread debugging using libthread_db enabled]
MPlayer SVN-r30318-4.3.3 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing shuang.mp4.
libavformat file format detected.
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]non-existing PPS 0 referenced
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[h264 @ 0x8ed1ac0]B picture before any references, skipping
[h264 @ 0x8ed1ac0]decode_slice_header error
[h264 @ 0x8ed1ac0]no frame!
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x8ed0790]Could not find codec parameters
(Video: h264, 600 kb/s)

Program received signal SIGSEGV, Segmentation fault.
*__GI___libc_free (mem=0x64) at malloc.c:3599
3599	malloc.c: No such file or directory.
	in malloc.c
(gdb) bt full
#0  *__GI___libc_free (mem=0x64) at malloc.c:3599
        ar_ptr = <value optimised out>
        p = 0x5c
        hook = <value optimised out>
#1  0x08676c06 in av_freep (arg=0xb497df5c) at mem.c:136
No locals.
#2  0x084dac52 in ff_h264_free_context (h=0xb497b020) at h264.c:3049
        i = 30
#3  0x084dac95 in ff_h264_decode_end (avctx=0x8ed1ac0) at h264.c:3060
        h = 0xb497b020
#4  0x08397047 in avcodec_close (avctx=0x8ed1ac0) at utils.c:683
No locals.
#5  0x082fefd0 in av_find_stream_info (ic=0x8ed0790) at utils.c:2217
        i = 0
        count = 251
        ret = 0
        read_size = 312510
        j = <value optimised out>
        st = 0x8ed18e0
        pkt1 = {pts = -9223372036854775808, dts =
-9223372036854775808, data = 0x8f5f020 "", size = 747, stream_index =
0, flags = 0,
          duration = 0, destruct = 0, priv = 0x400, pos = -1,
convergence_duration = 0}
        pkt = 0x8f5f340
        last_dts = {-1001, 1024, -9223372036854775808 <repeats 18 times>}
        duration_gcd = {1001, 1024, 0 <repeats 18 times>}
        duration_count = {97, 152, 0 <repeats 18 times>}
        old_offset = 316580
        codec_info_duration = {0, 154624, 0 <repeats 18 times>}
        codec_info_nb_frames = {0, 153, 0 <repeats 18 times>}
#6  0x0827cae3 in demux_open_lavf (demuxer=0x8ec6ef8) at
libmpdemux/demux_lavf.c:477
        avfc = 0x8ed0790
        ap = {time_base = {num = 0, den = 0}, sample_rate = 0,
channels = 0, width = 0, height = 0, pix_fmt = PIX_FMT_YUV420P,
channel = 0,
---Type <return> to continue, or q <return> to quit---
          standard = 0x0, mpeg2ts_raw = 0, mpeg2ts_compute_pcr = 0,
initial_pause = 0, prealloced_context = 1,
          video_codec_id = CODEC_ID_NONE, audio_codec_id = CODEC_ID_NONE}
        opt = <value optimised out>
        t = <value optimised out>
        i = <value optimised out>
        mp_filename = "mp:shuang.mp4", '\000' <repeats 242 times>
#7  0x081b2bd2 in demux_open_stream (stream=0x8ec6560, file_format=44,
force=0, audio_id=1, video_id=-1, dvdsub_id=0,
    filename=0x8eac280 "shuang.mp4") at libmpdemux/demuxer.c:956
        demux2 = <value optimised out>
        demuxer = 0x8ec6ef8
        sh_video = <value optimised out>
        demuxer_desc = 0x8837640
        fformat = 44
        i = 4
#8  0x081b2dfd in demux_open (vs=0x8ec6560, file_format=0, audio_id=1,
video_id=-1, dvdsub_id=0, filename=0x8eac280 "shuang.mp4")
    at libmpdemux/demuxer.c:1136
        as = 0x0
        ss = 0x0
        vd = <value optimised out>
        ad = <value optimised out>
        sd = <value optimised out>
        res = <value optimised out>
        afmt = 0
        sfmt = 0
        demuxer_type = 0
        audio_demuxer_type = 0
        sub_demuxer_type = 0
        demuxer_force = 0
        audio_demuxer_force = 0
        sub_demuxer_force = 0
#9  0x080c5b7c in main (argc=2, argv=0xbfffe1c4) at mplayer.c:3305
---Type <return> to continue, or q <return> to quit---
        mem_ptr = <value optimised out>
        opt_exit = 0
        i = <value optimised out>
        gui_no_filename = 0
        last_heartbeat = 0
(gdb) i r
eax            0xb64d0124	-1236467420
ecx            0x8987ca0	144211104
edx            0x5c	92
ebx            0xb64ceff4	-1236471820
esp            0xbfff94a0	0xbfff94a0
ebp            0xbfff94b8	0xbfff94b8
esi            0xb497b020	-1265127392
edi            0x64	100
eip            0xb63fd785	0xb63fd785 <*__GI___libc_free+85>
eflags         0x210216	[ PF AF IF RF ID ]
cs             0x73	115
ss             0x7b	123
ds             0x7b	123
es             0x7b	123
fs             0x0	0
gs             0x33	51



More information about the MPlayer-dev-eng mailing list