I'm guessing this won't fix the problem entirely, but when I try to play
relatively large videos like the 1024x436 version of that Sintel movie,
I'm getting this SEGV--

VO: [vdpau] 1024x436 => 1024x436 Planar YV12 
[vdpau] Error when calling vdp_output_surface_create: A catch-all error, used 
when no other error code applies.
[vdpau] Error when calling vdp_output_surface_create: A catch-all error, used 
when no other error code applies.
[vdpau] Error when calling vdp_video_surface_create: The system does not have 
enough resources to complete the requested operation at this time.

Program received signal SIGSEGV, Segmentation fault.
0x000000000049901b in draw_image (request=<value optimized out>, data=0xedf460) 
at libvo/vo_vdpau.c:1045
1045    libvo/vo_vdpau.c: No such file or directory.
        in libvo/vo_vdpau.c
(gdb) bt
#0  0x000000000049901b in draw_image (request=<value optimized out>, 
data=0xedf460) at libvo/vo_vdpau.c:1045
#1  control (request=<value optimized out>, data=0xedf460) at 
libvo/vo_vdpau.c:1345
#2  0x000000000051f959 in put_image (vf=0xc1ebc0, mpi=0xedf460, 
pts=2.1137068708935539e-314) at libmpcodecs/vf_vo.c:202
#3  0x00000000004f094b in filter_video (sh_video=<value optimized out>, 
frame=0xedf460, pts=<value optimized out>) at libmpcodecs/dec_video.c:475
#4  0x0000000000455c91 in generate_video_frame (blit_frame=0x7fffffffc218) at 
mplayer.c:1837
#5  update_video (blit_frame=0x7fffffffc218) at mplayer.c:2413
#6  0x0000000000458ad5 in main (argc=<value optimized out>, argv=<value 
optimized out>) at mplayer.c:3818
(gdb) 

A quick look in libvo/vo_vdpau.c from the mplayer source shows that
get_surface() can fail and return null, but draw_image() dereferences
the result without checking for null.

** Patch added: "fix a null-pointer dereference in libvo/vo_vdpau.c"
   
https://bugs.launchpad.net/ubuntu/+source/libvdpau/+bug/661170/+attachment/1699300/+files/libvo-vo_vdpau.diff

-- 
dropped frames using vdpau
https://bugs.launchpad.net/bugs/661170
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to