[FFmpeg-trac] #1212(undetermined:new): ffplay: crash with lead h263 and lowres

FFmpeg trac at avcodec.org
Sat Apr 14 21:22:51 CEST 2012


#1212: ffplay: crash with lead h263 and lowres
-------------------------------------+-------------------------------------
               Reporter:  ami_stuff  |                  Owner:
                   Type:  defect     |                 Status:  new
               Priority:  normal     |              Component:
                Version:             |  undetermined
  unspecified                        |               Keywords:
             Blocked By:             |               Blocking:
Reproduced by developer:  0          |  Analyzed by developer:  0
-------------------------------------+-------------------------------------
 the crash happens after seeking a few times with the mouse

 below log is from ffmpeg git-ed68fd4 (9 Apr 2012) - looks like enabling
 sdl outdev at the same time disables output to the console here (mingw)

 (if it's libsdl's bug then maybe it's possible to workaround it somehow?)

 {{{
 $ gdb ffplay_g.exe
 GNU gdb (GDB) 7.3.1
 Copyright (C) 2011 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 "mingw32".
 For bug reporting instructions, please see:
 <http://www.gnu.org/software/gdb/bugs/>...
 Reading symbols from d:\mingw\msys\1.0\ffmpeg-head-
 6a052e6\ffplay_g.exe...done.
 (gdb) r -vlowres 2 lead_h263.avi
 Starting program: d:\mingw\msys\1.0\ffmpeg-head-6a052e6\ffplay_g.exe
 -vlowres 2
 lead_h263.avi
 [New Thread 4056.0xbe0]
 [New Thread 4056.0xc0]
 [New Thread 4056.0x648]
 [New Thread 4056.0x7f4]
 [New Thread 4056.0xa6c]

 Program received signal SIGSEGV, Segmentation fault.
 0x68128a6c in Color32DitherYV12Mod1X (colortab=0x44a4d48,
     rgb_2_pix=0x398bf38,
     lum=0x43f2bab '\020' <repeats 37 times>, "&\020+-\025#\"<\020\020!
 #4\032\06
 0\035\061\f*+\023\005           \005
 \a\037\017\n\006\n\024/5\026\022\064*\02
 2\022\061+-\027\".\023#\032\034", '\020' <repeats 111 times>...,
     cr=<optimized out>, cb=<optimized out>, out=0x44b7120 "", rows=120,
     cols=180, mod=180) at ./src/video/SDL_yuv_sw.c:324
 324                 *row1++ = (rgb_2_pix[ L + cr_r ] |
 (gdb) bt
 #0  0x68128a6c in Color32DitherYV12Mod1X (colortab=0x44a4d48,
     rgb_2_pix=0x398bf38,
     lum=0x43f2bab '\020' <repeats 37 times>, "&\020+-\025#\"<\020\020!
 #4\032\06
 0\035\061\f*+\023\005           \005
 \a\037\017\n\006\n\024/5\026\022\064*\02
 2\022\061+-\027\".\023#\032\034", '\020' <repeats 111 times>...,
     cr=<optimized out>, cb=<optimized out>, out=0x44b7120 "", rows=120,
     cols=180, mod=180) at ./src/video/SDL_yuv_sw.c:324
 #1  0x68129f7c in SDL_DisplayYUV_SW (_this=0x3982338, overlay=0x3993b00,
     src=0x22fd20, dst=0x22fd28) at ./src/video/SDL_yuv_sw.c:1263
 #2  0x681283ec in SDL_DisplayYUVOverlay (overlay=0x3993b00,
 dstrect=0x22fe38)
     at ./src/video/SDL_yuv.c:138
 #3  0x00403530 in video_image_display (is=0x40e0040) at ffplay.c:728
 #4  0x00a9cf68 in video_display (is=0x40e0040) at ffplay.c:987
 #5  video_refresh (opaque=0x40e0040) at ffplay.c:1244
 #6  event_loop (cur_stream=<optimized out>) at ffplay.c:2958
 #7  main (argc=4, argv=0x3990df0) at ffplay.c:3241
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1212>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list