Opened 12 years ago

Closed 11 years ago

#1342 closed defect (fixed)

ffplay vf: crash with hflip and unsharp

Reported by: ami_stuff Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: crash SIGSEGV
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no


with -vf vflip,unsharp the last frame is gray

(gdb) r -vf hflip,unsharp fronten2.txd
Starting program: d:\mingw\msys\1.0\ffmpeg-head-307562b\ffplay_g.exe -vf hflip,unsharp fronten2.txd
[New Thread 3372.0x89c]
[New Thread 3372.0xec0]
[New Thread 3372.0x94]
[New Thread 3372.0x3e8]
[New Thread 3372.0xd80]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 3372.0x3e8]
0x00420f4a in draw_slice (inlink=0x3b963a0, y=0, h=512, slice_dir=1)
    at libavfilter/vf_hflip.c:145
145                         outrow32[j] = inrow32[-j];
(gdb) bt
#0  0x00420f4a in draw_slice (inlink=0x3b963a0, y=0, h=512, slice_dir=1)
    at libavfilter/vf_hflip.c:145
#1  0x00405c1c in input_request_frame (link=0x3b963a0) at ffplay.c:1687
#2  0x0040f1b3 in avfilter_request_frame (link=0x3b96ec0)
    at libavfilter/avfilter.c:277
#3  0x0040cf7b in av_buffersink_get_buffer_ref (ctx=0x3b96b20,
    bufref=0x4c3ff14, flags=0) at libavfilter/sink_buffer.c:128
#4  0x0040219f in video_thread (arg=0x42e0040) at ffplay.c:1845
#5  0x681097ee in SDL_RunThread (data=0x3b92f40)
    at ./src/thread/SDL_thread.c:204
#6  0x681327d3 in RunThread (data=0x3b92f60)
    at ./src/thread/win32/SDL_systhread.c:74
#7  RunThreadViaBeginThreadEx (data=0x3b92f60)
    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 ?? ()

Attachments (1)

fronten2.txd (961.0 KB ) - added by ami_stuff 12 years ago.

Download all attachments as: .zip

Change History (3)

by ami_stuff, 12 years ago

Attachment: fronten2.txd added

comment:1 by Carl Eugen Hoyos, 12 years ago

Keywords: crash SIGSEGV added
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

comment:2 by Marton Balint, 11 years ago

Resolution: fixed
Status: openclosed

This should be fixed in latest git master.

Note: See TracTickets for help on using tickets.