[FFmpeg-trac] #2093(undetermined:new): ffplay: crash when seeking with the mouse

FFmpeg trac at avcodec.org
Thu Jan 3 14:53:46 CET 2013


#2093: ffplay: crash when seeking with the mouse
-------------------------------------+-------------------------------------
             Reporter:  ami_stuff    |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:
              Version:  unspecified  |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by ami_stuff):

 It crashes here with mine and not mine build.

 There is also a huge mam alloc when I run "ffplay problem.rm" or "ffmpeg
 -i problem.rm".

 The crash also happens when I press a few times left arrow on the keyboard
 to seek backward.

 I can't reproduce the crash with ffmpeg.

 {{{
 (gdb) r problem.rm
 Starting program: d:\mingw\msys\1.0\ffmpeg-head-7d66bc7\ffplay_g.exe
 problem.rm
 [New Thread 1848.0x710]
 [New Thread 1848.0x13c]
 [New Thread 1848.0x23c]
 [New Thread 1848.0x698]
 [New Thread 1848.0x2f8]
 [New Thread 1848.0x194]
 [New Thread 1848.0x1c0]
 [New Thread 1848.0x6a4]

 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 1848.0x1c0]
 0x0067ba93 in ff_MPV_frame_end (s=0x4d9dd40) at
 libavcodec/mpegvideo.c:1592
 1592        s->last_lambda_for [s->pict_type] =
 s->current_picture_ptr->f.qualit
 y;
 (gdb) bt
 #0  0x0067ba93 in ff_MPV_frame_end (s=0x4d9dd40)
     at libavcodec/mpegvideo.c:1592
 #1  0x009ca897 in ff_rv34_decode_frame (avctx=0x4d77760, data=0x515de10,
     got_picture_ptr=0xfabfefc, avpkt=0xfabfbf0) at libavcodec/rv34.c:1656
 #2  0x00561a5e in avcodec_decode_video2 (avctx=0x4d77760,
 picture=0x515de10,
     got_picture_ptr=0xfabfefc, avpkt=0xfabfe90) at libavcodec/utils.c:1621
 #3  0x00402245 in get_video_frame (serial=<optimized out>,
     pkt=<optimized out>, pts=<optimized out>, frame=<optimized out>,
     is=<optimized out>) at ffplay.c:1663
 #4  video_thread (arg=0x4bb0020) at ffplay.c:1837
 #5  0x681097ee in SDL_RunThread (data=0x51e77b0)
     at ./src/thread/SDL_thread.c:204
 #6  0x681327d3 in RunThread (data=0x51e7ba0)
     at ./src/thread/win32/SDL_systhread.c:74
 #7  RunThreadViaBeginThreadEx (data=0x51e7ba0)
     at ./src/thread/win32/SDL_systhread.c:95
 #8  0x77c2a3b0 in msvcrt!_endthreadex () from
 C:\WINDOWS\system32\msvcrt.dll
 #9  0x7c80b729 in KERNEL32!GetModuleFileNameA ()
    from C:\WINDOWS\system32\kernel32.dll
 #10 0x00000000 in ?? ()
 (gdb)
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2093#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list