[FFmpeg-trac] #272(avcodec:open): altivec specific code segfaults on ppc when compiled with --enable-pic

FFmpeg trac at avcodec.org
Fri Jun 10 00:11:40 CEST 2011


#272: altivec specific code segfaults on ppc when compiled with --enable-pic
-----------------------+----------------------
Reporter:  kim         |       Owner:
    Type:  defect      |      Status:  open
Priority:  normal      |   Component:  avcodec
 Version:  git-master  |  Resolution:
Keywords:  ppc, PIC    |  Blocked By:
Blocking:              |  Reproduced:  0
Analyzed:  0           |
-----------------------+----------------------

Comment (by cehoyos):

 Since I am unable to reproduce the crash with the sample on a G4 after
 compiling with --enable-pic (and with altivec enabled):
 Could you please provide complete, uncut output of ffmpeg when crashing?
 (If ffmpeg does not crash, but ffplay does, please mention it and provide
 complete, uncut output of ffplay.)
 {{{
 $ ffmpeg -i aac2.dump -f null -
 ffmpeg version git-N-30662-gf9ecb84, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Jun  9 2011 09:58:10 with gcc 4.0.1 (Apple Inc. build 5493)
   configuration: --enable-pic
   libavutil    51.  8. 0 / 51.  8. 0
   libavcodec   53.  6. 1 / 53.  6. 1
   libavformat  53.  2. 0 / 53.  2. 0
   libavdevice  53.  1. 1 / 53.  1. 1
   libavfilter   2. 14. 1 /  2. 14. 1
   libswscale    0. 14. 1 /  0. 14. 1
 [h264 @ 0x1010800] non-existing PPS referenced
 [h264 @ 0x1010800] non-existing PPS 0 referenced
 [h264 @ 0x1010800] decode_slice_header error
 [h264 @ 0x1010800] no frame!
 [h264 @ 0x1010800] non-existing PPS referenced
 [h264 @ 0x1010800] non-existing PPS 0 referenced
 [h264 @ 0x1010800] decode_slice_header error
 [h264 @ 0x1010800] no frame!
 [h264 @ 0x1010800] non-existing PPS referenced
 [h264 @ 0x1010800] non-existing PPS 0 referenced
 [h264 @ 0x1010800] decode_slice_header error
 [h264 @ 0x1010800] no frame!
 [h264 @ 0x1010800] non-existing PPS referenced
 [h264 @ 0x1010800] non-existing PPS 0 referenced
 [h264 @ 0x1010800] decode_slice_header error
 [h264 @ 0x1010800] no frame!
 [h264 @ 0x1010800] non-existing PPS referenced
 [h264 @ 0x1010800] non-existing PPS 0 referenced
 [h264 @ 0x1010800] decode_slice_header error
 [h264 @ 0x1010800] no frame!
 [h264 @ 0x1010800] non-existing PPS referenced
 [h264 @ 0x1010800] non-existing PPS 0 referenced
 [h264 @ 0x1010800] decode_slice_header error
 [h264 @ 0x1010800] no frame!
 [h264 @ 0x1010800] non-existing PPS referenced
 [h264 @ 0x1010800] non-existing PPS 0 referenced
 [h264 @ 0x1010800] decode_slice_header error
 [h264 @ 0x1010800] no frame!
 [h264 @ 0x1010800] non-existing PPS referenced
 [h264 @ 0x1010800] non-existing PPS 0 referenced
 [h264 @ 0x1010800] decode_slice_header error
 [h264 @ 0x1010800] no frame!
 [h264 @ 0x1010800] non-existing PPS referenced
 [h264 @ 0x1010800] non-existing PPS 0 referenced
 [h264 @ 0x1010800] decode_slice_header error
 [h264 @ 0x1010800] no frame!
 [h264 @ 0x1010800] non-existing PPS referenced
 [h264 @ 0x1010800] non-existing PPS 0 referenced
 [h264 @ 0x1010800] decode_slice_header error
 [h264 @ 0x1010800] no frame!
 [aac @ 0x1012400] channel element 2.10 is not allocated
 [h264 @ 0x1010800] non-existing PPS referenced
 [h264 @ 0x1010800] non-existing PPS 0 referenced
 [h264 @ 0x1010800] decode_slice_header error
 [h264 @ 0x1010800] no frame!
 [h264 @ 0x1010800] non-existing PPS referenced
 [h264 @ 0x1010800] non-existing PPS 0 referenced
 [h264 @ 0x1010800] decode_slice_header error
 [h264 @ 0x1010800] no frame!
 [h264 @ 0x1010800] non-existing PPS referenced
 [h264 @ 0x1010800] non-existing PPS 0 referenced
 [h264 @ 0x1010800] decode_slice_header error
 [h264 @ 0x1010800] no frame!
 [h264 @ 0x1010800] non-existing PPS referenced
 [h264 @ 0x1010800] non-existing PPS 0 referenced
 [h264 @ 0x1010800] decode_slice_header error
 [h264 @ 0x1010800] no frame!
 [h264 @ 0x1010800] non-existing PPS referenced
 [h264 @ 0x1010800] non-existing PPS 0 referenced
 [h264 @ 0x1010800] decode_slice_header error
 [h264 @ 0x1010800] no frame!
 [h264 @ 0x1010800] non-existing PPS referenced
 [h264 @ 0x1010800] non-existing PPS 0 referenced
 [h264 @ 0x1010800] decode_slice_header error
 [h264 @ 0x1010800] no frame!
 [h264 @ 0x1010800] non-existing PPS referenced
 [h264 @ 0x1010800] non-existing PPS 0 referenced
 [h264 @ 0x1010800] decode_slice_header error
 [h264 @ 0x1010800] no frame!
 [h264 @ 0x1010800] non-existing PPS referenced
 [h264 @ 0x1010800] non-existing PPS 0 referenced
 [h264 @ 0x1010800] decode_slice_header error
 [h264 @ 0x1010800] no frame!
 [h264 @ 0x1010800] non-existing PPS referenced
 [h264 @ 0x1010800] non-existing PPS 0 referenced
 [h264 @ 0x1010800] decode_slice_header error
 [h264 @ 0x1010800] no frame!
 [mpegts @ 0x1005400] max_analyze_duration 5000000 reached at 5034667
 Input #0, mpegts, from 'aac2.dump':
   Duration: 00:00:10.24, start: 3033.232422, bitrate: 1791 kb/s
   Program 1352
     Stream #0.0[0x23](fra): Subtitle: [6][0][0][0] / 0x0006
     Stream #0.1[0xa3]: Video: h264 (High), yuv420p, 480x576 [PAR 32:15 DAR
 16:9], 29.06 fps, 25 tbr, 90k tbn, 50 tbc
     Stream #0.2[0x778](fra): Audio: aac, 48000 Hz, stereo, s16, 73 kb/s
 [buffer @ 0xc0e110] w:480 h:576 pixfmt:yuv420p tb:1/1000000 sar:32/15
 sws_param:
 Output #0, null, to 'pipe:':
   Metadata:
     encoder         : Lavf53.2.0
     Stream #0.0: Video: rawvideo, yuv420p, 480x576 [PAR 32:15 DAR 16:9],
 q=2-31, 200 kb/s, 90k tbn, 25 tbc
     Stream #0.1(fra): Audio: pcm_s16be, 48000 Hz, stereo, s16, 1536 kb/s
 Stream mapping:
   Stream #0.1 -> #0.0
   Stream #0.2 -> #0.1
 Press [q] to stop, [?] for help
 [aac @ 0x1012400] channel element 2.10 is not allocated
 Error while decoding stream #0.2
 frame=   85 fps= 39 q=0.0 Lsize=      -0kB time=00:00:02.51 bitrate=
 -0.1kbits/s dup=13 drop=0
 video:0kB audio:472kB global headers:0kB muxing overhead -100.004552%
 }}}

-- 
Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/272#comment:5>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list