Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-29-09, 12:49 AM   #1
mlampard
Registered User
 
Join Date: Apr 2006
Location: South Australia
Posts: 30
Default segfault in vdp_decoder_render

Hi.

vdpau consistently segfaults with both xine-vdpau and mplayer on slightly damaged streams, making it of limited use for decoding terrestrial DVB broadcasts.

A snippet of a stream that demonstrates this is here: http://members.westnet.com.au/feeble...u-segfault.mpg
It causes a segfault around 8 seconds into the stream.

Both Xine and Mplayer decode the stream without problem with software decoders.

Attached is the output of:
VDPAU_TRACE=1 VDPAU_NVIDIA_DEBUG=3 mplayer -vc ffmpeg12vdpau vdpau-segfault.mpg
Attached Files
File Type: bz2 vdpau-segfault-mplayer.txt.bz2 (4.3 KB, 93 views)
mlampard is offline   Reply With Quote
Old 01-29-09, 12:52 AM   #2
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: segfault in vdp_decoder_render

Which GPU are you using?
Stephen Warren is offline   Reply With Quote
Old 01-29-09, 12:55 AM   #3
mlampard
Registered User
 
Join Date: Apr 2006
Location: South Australia
Posts: 30
Default Re: segfault in vdp_decoder_render

8600 256Mb

[Edit]
i'm using 180.27, but this occurs with all versions.
mlampard is offline   Reply With Quote
Old 01-29-09, 01:14 AM   #4
mlampard
Registered User
 
Join Date: Apr 2006
Location: South Australia
Posts: 30
Default Re: segfault in vdp_decoder_render

Backtrace from xine-vdpau:
#0 0x00007fff3eb2a5f4 in ?? () from /usr/lib64/libvdpau_nvidia.so
#1 0x00007fff3eb2ac5e in ?? () from /usr/lib64/libvdpau_nvidia.so
#2 0x00007fff3eb2cc02 in ?? () from /usr/lib64/libvdpau_nvidia.so
#3 0x00007fff3eb30bb8 in ?? () from /usr/lib64/libvdpau_nvidia.so
#4 0x00007fff3eb2971c in ?? () from /usr/lib64/libvdpau_nvidia.so
#5 0x00007fff3eb10fde in ?? () from /usr/lib64/libvdpau_nvidia.so
#6 0x00007fff2fe07af0 in decode_picture (vd=0x150df30) at vdpau_mpeg12.c:593
#7 0x00007fff2fe08ddd in vdpau_mpeg12_decode_data (this_gen=0x150df30, buf=0x1583b00) at vdpau_mpeg12.c:779
#8 0x00007fff4b400b2f in video_decoder_loop (stream_gen=<value optimized out>) at video_decoder.c:382
#9 0x00007fff49288263 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fff48ffc76d in clone () from /lib64/libc.so.6

Backtrace from mplayer-vdpau:
#0 0x00007f91d94f15f4 in ?? () from /usr/lib64/libvdpau_nvidia.so
#1 0x00007f91d94f1c5e in ?? () from /usr/lib64/libvdpau_nvidia.so
#2 0x00007f91d94f3c02 in ?? () from /usr/lib64/libvdpau_nvidia.so
#3 0x00007f91d94f7bb8 in ?? () from /usr/lib64/libvdpau_nvidia.so
#4 0x00007f91d94f071c in ?? () from /usr/lib64/libvdpau_nvidia.so
#5 0x00007f91d94d7fde in ?? () from /usr/lib64/libvdpau_nvidia.so
#6 0x0000000000476bb5 in ?? ()
#7 0x00000000006161df in ?? ()
#8 0x00000000007ed6f6 in ff_draw_horiz_band ()
#9 0x0000000000a33aef in VDPAU_mpeg_picture_complete ()
#10 0x00000000009695ad in ?? ()
#11 0x000000000096a0f6 in ?? ()
#12 0x000000000075b498 in avcodec_decode_video ()
#13 0x0000000000615471 in ?? ()
#14 0x00000000004e6c49 in decode_video ()
#15 0x000000000044b231 in main ()
mlampard is offline   Reply With Quote
Old 01-29-09, 12:21 PM   #5
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: segfault in vdp_decoder_render

Thanks for the clip. We've reproduced and fixed the bug. Interestingly it's 64-bit specific, and is the same issue as reported at the same time over here:

http://www.nvnews.net/vbulletin/show...1&postcount=54
Stephen Warren is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Segfault on Ubuntu 12.04 using 295.xx drivers with GTX 285m natewiebe13 NVIDIA Linux 10 06-01-12 05:11 PM

All times are GMT -5. The time now is 09:45 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.