[Bug 85613] still getting segfault with vdpau and r600g on Radeon 3850HD - have sample video

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 30 03:04:57 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=85613

--- Comment #9 from Arthur Marsh <arthur.marsh at internode.on.net> ---
Thanks for the URL for the R600_uvd.bin file. I added it to
/lib/firmware/radeon and rebooted (currently on 3.18.0-rc2+, Linus git head),
and no longer saw the failure to load R600_uvd.bin error in dmesg. (Is there a
specific way to tell that R600_uvd.bin is loaded apart from the absence of an
error message with recent kernels?)

Running vlc on its own on the same file still segfaulted, but vlc under
valgrind played the whole VOB file without problems:

$ valgrind vlc VTS_01_1.VOB
==4234== Memcheck, a memory error detector
==4234== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==4234== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
==4234== Command: vlc VTS_01_1.VOB
==4234==
VLC media player 2.2.0-pre4 Weatherwax (revision 2.2.0-pre3-104-g836a443)
[0000000004c5f3a8] core libvlc: Running vlc with the default interface. Use
'cvlc' to use vlc without interface.
==4234== Thread 7:
==4234== Invalid write of size 1
==4234==    at 0x315FC045B7: BOSA_ST_InitComponentLoader (in
/usr/lib/libomxil-bellagio.so.0.0.0)
==4234==    by 0x315FC055A7: OMX_Init (in /usr/lib/libomxil-bellagio.so.0.0.0)
==4234==    by 0x1AC1DADB: InitOmxCore (in
/usr/lib/vlc/plugins/codec/libomxil_plugin.so)
==4234==    by 0x1AC1C99C: OpenGeneric (in
/usr/lib/vlc/plugins/codec/libomxil_plugin.so)
==4234==    by 0x1AC1D6DF: OpenDecoder (in
/usr/lib/vlc/plugins/codec/libomxil_plugin.so)
==4234==    by 0x30F048FCD4: module_load (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x30F049029D: vlc_module_load (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x30F043FAD5: CreateDecoder (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x30F04426D4: input_DecoderNew (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x30F0445825: EsCreateDecoder (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x30F04466BA: EsSelect (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x30F0446C82: EsOutSelect (in /usr/lib/libvlccore.so.8.0.0)
==4234==  Address 0x13c43bd0 is 0 bytes after a block of size 2,048 alloc'd
==4234==    at 0x4A07C20: malloc (vg_replace_malloc.c:296)
==4234==    by 0x315FC0452E: BOSA_ST_InitComponentLoader (in
/usr/lib/libomxil-bellagio.so.0.0.0)
==4234==    by 0x315FC055A7: OMX_Init (in /usr/lib/libomxil-bellagio.so.0.0.0)
==4234==    by 0x1AC1DADB: InitOmxCore (in
/usr/lib/vlc/plugins/codec/libomxil_plugin.so)
==4234==    by 0x1AC1C99C: OpenGeneric (in
/usr/lib/vlc/plugins/codec/libomxil_plugin.so)
==4234==    by 0x1AC1D6DF: OpenDecoder (in
/usr/lib/vlc/plugins/codec/libomxil_plugin.so)
==4234==    by 0x30F048FCD4: module_load (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x30F049029D: vlc_module_load (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x30F043FAD5: CreateDecoder (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x30F04426D4: input_DecoderNew (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x30F0445825: EsCreateDecoder (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x30F04466BA: EsSelect (in /usr/lib/libvlccore.so.8.0.0)
==4234==
[0000000013a4fcc8] avcodec decoder: Using G3DVL VDPAU Driver Shared Library
version 1.0 for hardware decoding.
[mpeg2video @ 0x13c919c0] warning: first frame is no keyframe
[000000000d72d1c8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late
(jitter of 5213 ms ignored)
[0000000014b2c548] core decoder error: Could not convert timestamp 0
[000000000d72d1c8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late
(pts_delay increased to 334 ms)
[000000000d72d1c8] core input error: ES_OUT_RESET_PCR called
[mpeg2video @ 0x13c919c0] warning: first frame is no keyframe
[000000000d72d1c8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late
(pts_delay increased to 636 ms)
[000000000d72d1c8] core input error: ES_OUT_RESET_PCR called
[mpeg2video @ 0x13c919c0] warning: first frame is no keyframe
==4234== Thread 10:
==4234== Invalid read of size 8
==4234==    at 0x1DB64731: destroy_video_buffer_private (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1DB80677: vl_video_buffer_destroy (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1DAE7324: vlVdpVideoSurfaceDestroy (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1C987092: SurfaceDestroy (in
/usr/lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so)
==4234==    by 0x1C986724: Close (in
/usr/lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so)
==4234==    by 0x30F049078E: vlc_module_unload (in
/usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x1B030E68: vlc_va_Delete (in
/usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==    by 0x1B02CA59: ffmpeg_GetFormat (in
/usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==    by 0x305A7FD5E0: ff_get_format (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A6DDBC8: decode_chunks (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A6DF8C8: mpeg_decode_frame (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A7FBE1A: avcodec_decode_video2 (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==  Address 0x1455a490 is 480 bytes inside a block of size 10,760 free'd
==4234==    at 0x4A08E90: free (vg_replace_malloc.c:473)
==4234==    by 0x1DB6496A: vl_mpeg12_destroy (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1DAE8499: vlVdpDecoderDestroy (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1C98670D: Close (in
/usr/lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so)
==4234==    by 0x30F049078E: vlc_module_unload (in
/usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x1B030E68: vlc_va_Delete (in
/usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==    by 0x1B02CA59: ffmpeg_GetFormat (in
/usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==    by 0x305A7FD5E0: ff_get_format (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A6DDBC8: decode_chunks (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A6DF8C8: mpeg_decode_frame (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A7FBE1A: avcodec_decode_video2 (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x1B02E19C: DecodeVideo (in
/usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==
==4234== Invalid read of size 8
==4234==    at 0x1DB6476E: destroy_video_buffer_private (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1DB80677: vl_video_buffer_destroy (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1DAE7324: vlVdpVideoSurfaceDestroy (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1C987092: SurfaceDestroy (in
/usr/lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so)
==4234==    by 0x1C986724: Close (in
/usr/lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so)
==4234==    by 0x30F049078E: vlc_module_unload (in
/usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x1B030E68: vlc_va_Delete (in
/usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==    by 0x1B02CA59: ffmpeg_GetFormat (in
/usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==    by 0x305A7FD5E0: ff_get_format (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A6DDBC8: decode_chunks (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A6DF8C8: mpeg_decode_frame (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A7FBE1A: avcodec_decode_video2 (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==  Address 0x1455a4a0 is 496 bytes inside a block of size 10,760 free'd
==4234==    at 0x4A08E90: free (vg_replace_malloc.c:473)
==4234==    by 0x1DB6496A: vl_mpeg12_destroy (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1DAE8499: vlVdpDecoderDestroy (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1C98670D: Close (in
/usr/lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so)
==4234==    by 0x30F049078E: vlc_module_unload (in
/usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x1B030E68: vlc_va_Delete (in
/usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==    by 0x1B02CA59: ffmpeg_GetFormat (in
/usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==    by 0x305A7FD5E0: ff_get_format (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A6DDBC8: decode_chunks (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A6DF8C8: mpeg_decode_frame (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A7FBE1A: avcodec_decode_video2 (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x1B02E19C: DecodeVideo (in
/usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==
==4234== Thread 13:
==4234== Invalid read of size 8
==4234==    at 0x1DB64731: destroy_video_buffer_private (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1DB80677: vl_video_buffer_destroy (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1DAE7324: vlVdpVideoSurfaceDestroy (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x2291FA42: SurfaceDestroy (in
/usr/lib/vlc/plugins/vdpau/libvdpau_chroma_plugin.so)
==4234==    by 0x2291ED64: VideoRender (in
/usr/lib/vlc/plugins/vdpau/libvdpau_chroma_plugin.so)
==4234==    by 0x30F04A84AB: filter_chain_VideoFilter (in
/usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x30F046DE7A: ThreadDisplayPicture (in
/usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x30F046E252: Thread (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x3001E080A3: start_thread (pthread_create.c:309)
==4234==  Address 0x1455a490 is 480 bytes inside a block of size 10,760 free'd
==4234==    at 0x4A08E90: free (vg_replace_malloc.c:473)
==4234==    by 0x1DB6496A: vl_mpeg12_destroy (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1DAE8499: vlVdpDecoderDestroy (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1C98670D: Close (in
/usr/lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so)
==4234==    by 0x30F049078E: vlc_module_unload (in
/usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x1B030E68: vlc_va_Delete (in
/usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==    by 0x1B02CA59: ffmpeg_GetFormat (in
/usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==    by 0x305A7FD5E0: ff_get_format (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A6DDBC8: decode_chunks (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A6DF8C8: mpeg_decode_frame (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A7FBE1A: avcodec_decode_video2 (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x1B02E19C: DecodeVideo (in
/usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==
==4234== Invalid read of size 8
==4234==    at 0x1DB6476E: destroy_video_buffer_private (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1DB80677: vl_video_buffer_destroy (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1DAE7324: vlVdpVideoSurfaceDestroy (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x2291FA42: SurfaceDestroy (in
/usr/lib/vlc/plugins/vdpau/libvdpau_chroma_plugin.so)
==4234==    by 0x2291ED64: VideoRender (in
/usr/lib/vlc/plugins/vdpau/libvdpau_chroma_plugin.so)
==4234==    by 0x30F04A84AB: filter_chain_VideoFilter (in
/usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x30F046DE7A: ThreadDisplayPicture (in
/usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x30F046E252: Thread (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x3001E080A3: start_thread (pthread_create.c:309)
==4234==  Address 0x1455a4a0 is 496 bytes inside a block of size 10,760 free'd
==4234==    at 0x4A08E90: free (vg_replace_malloc.c:473)
==4234==    by 0x1DB6496A: vl_mpeg12_destroy (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1DAE8499: vlVdpDecoderDestroy (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1C98670D: Close (in
/usr/lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so)
==4234==    by 0x30F049078E: vlc_module_unload (in
/usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x1B030E68: vlc_va_Delete (in
/usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==    by 0x1B02CA59: ffmpeg_GetFormat (in
/usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==    by 0x305A7FD5E0: ff_get_format (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A6DDBC8: decode_chunks (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A6DF8C8: mpeg_decode_frame (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A7FBE1A: avcodec_decode_video2 (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x1B02E19C: DecodeVideo (in
/usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==
[0000000013a4fcc8] avcodec decoder: Using G3DVL VDPAU Driver Shared Library
version 1.0 for hardware decoding.
[mpeg2video @ 0x13c919c0] warning: first frame is no keyframe
[000000000d72d1c8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late
(pts_delay increased to 641 ms)
[000000000d72d1c8] core input error: ES_OUT_RESET_PCR called
[0000000013a4fcc8] avcodec decoder: Using G3DVL VDPAU Driver Shared Library
version 1.0 for hardware decoding.
[mpeg2video @ 0x13c919c0] warning: first frame is no keyframe
[000000000d72d1c8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late
(pts_delay increased to 1745 ms)
[000000000d72d1c8] core input error: ES_OUT_RESET_PCR called
[mpeg2video @ 0x13c919c0] warning: first frame is no keyframe
[000000000d72d1c8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late
(pts_delay increased to 3879 ms)
[000000000d72d1c8] core input error: ES_OUT_RESET_PCR called
[mpeg2video @ 0x13c919c0] warning: first frame is no keyframe
==4234==
==4234== HEAP SUMMARY:
==4234==     in use at exit: 638,815 bytes in 7,656 blocks
==4234==   total heap usage: 821,406 allocs, 813,750 frees, 322,653,925 bytes
allocated
==4234==
==4234== LEAK SUMMARY:
==4234==    definitely lost: 31,161 bytes in 84 blocks
==4234==    indirectly lost: 115,198 bytes in 393 blocks
==4234==      possibly lost: 5,052 bytes in 85 blocks
==4234==    still reachable: 487,404 bytes in 7,094 blocks
==4234==         suppressed: 0 bytes in 0 blocks
==4234== Rerun with --leak-check=full to see details of leaked memory
==4234==
==4234== For counts of detected and suppressed errors, rerun with: -v
==4234== ERROR SUMMARY: 70 errors from 5 contexts (suppressed: 1 from 1)

Running vlc under gdb gave a segfault:

$ gdb --args vlc VTS_01_1.VOB
GNU gdb (Debian 7.7.1+dfsg-3) 7.7.1
Copyright (C) 2014 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 "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from vlc...Reading symbols from
/usr/lib/debug/.build-id/58/9bf4b8c3dbcf8534df80318b7a759270e409d6.debug...done.
done.
(gdb) run
Starting program: /usr/bin/vlc VTS_01_1.VOB
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
VLC media player 2.2.0-pre4 Weatherwax (revision 2.2.0-pre3-104-g836a443)
[New Thread 0x7ffff670c700 (LWP 4296)]
[New Thread 0x7ffff5f0b700 (LWP 4297)]
[New Thread 0x7ffff4658700 (LWP 4298)]
[New Thread 0x7ffff4123700 (LWP 4299)]
[00000000006090b8] core libvlc: Running vlc with the default interface. Use
'cvlc' to use vlc without interface.
[New Thread 0x7fffeaba0700 (LWP 4300)]
[New Thread 0x7fffe31c4700 (LWP 4301)]
[Thread 0x7ffff4658700 (LWP 4298) exited]
[Thread 0x7fffe31c4700 (LWP 4301) exited]
[New Thread 0x7fffe31c4700 (LWP 4302)]
[New Thread 0x7ffff4658700 (LWP 4303)]
[New Thread 0x7fffe08a6700 (LWP 4304)]
[New Thread 0x7fffe07a5700 (LWP 4305)]
[Thread 0x7fffe07a5700 (LWP 4305) exited]
[New Thread 0x7fffcc700700 (LWP 4306)]
[New Thread 0x7fffe07a5700 (LWP 4308)]
[New Thread 0x7fffca8b8700 (LWP 4309)]
[New Thread 0x7fffc3fff700 (LWP 4310)]
[00007fffe40014b8] avcodec decoder: Using G3DVL VDPAU Driver Shared Library
version 1.0 for hardware decoding.
[mpeg2video @ 0x7fffe4c64c00] warning: first frame is no keyframe
[New Thread 0x7fffc02ba700 (LWP 4311)]
[New Thread 0x7fffc01b9700 (LWP 4312)]
[00007fffe40014b8] avcodec decoder: Using G3DVL VDPAU Driver Shared Library
version 1.0 for hardware decoding.
[mpeg2video @ 0x7fffe4c64c00] warning: first frame is no keyframe

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffc02ba700 (LWP 4311)]
0x0000000f0000000f in ?? ()
(gdb) bt
#0  0x0000000f0000000f in ?? ()
#1  0x00007fffc8ed2737 in pipe_sampler_view_reference (view=0x0,
    ptr=<optimized out>)
    at ../../../../../src/gallium/auxiliary/util/u_inlines.h:151
#2  destroy_video_buffer_private (private=0x7fffc40f1700)
    at ../../../../../src/gallium/auxiliary/vl/vl_mpeg12_decoder.c:103
#3  0x00007fffc8eee678 in vl_video_buffer_set_associated_data (
    destroy_associated_data=0x0, associated_data=0x0, vcodec=0x0,
    vbuf=0x7fffc407e030)
    at ../../../../../src/gallium/auxiliary/vl/vl_video_buffer.c:200
#4  vl_video_buffer_destroy (buffer=0x7fffc407e030)
    at ../../../../../src/gallium/auxiliary/vl/vl_video_buffer.c:265
#5  0x00007fffc8e55325 in vlVdpVideoSurfaceDestroy (surface=4)
    at ../../../../../../src/gallium/state_trackers/vdpau/surface.c:140
#6  0x00007fffc06c4a43 in SurfaceDestroy (opaque=<optimized out>)
    at picture.c:48
#7  0x00007fffc06c3d65 in VideoRender (filter=0x7fffb8054408,
    src=0x7fffb803c010) at chroma.c:670
#8  0x00000030f04a84ac in FilterChainVideoFilter (p_pic=0x7fffb8012a90,
    f=0x7fffb8054408) at misc/filter_chain.c:230
#9  filter_chain_VideoFilter (p_chain=0x7fffb8026c20, p_pic=<optimized out>)
    at misc/filter_chain.c:248
#10 0x00000030f046de7b in ThreadDisplayRenderPicture (
    is_forced=<optimized out>, vout=<optimized out>)
---Type <return> to continue, or q <return> to quit---
    at video_output/video_output.c:1038
#11 ThreadDisplayPicture (vout=0x7fffc4026588, deadline=0x7fffb8053550)
    at video_output/video_output.c:1149
#12 0x00000030f046e253 in Thread (object=0x7fffc4026588)
    at video_output/video_output.c:1579
#13 0x0000003001e080a4 in start_thread (arg=0x7fffc02ba700)
    at pthread_create.c:309
#14 0x00000030016e5cbd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb) bt full
#0  0x0000000f0000000f in ?? ()
No symbol table info available.
#1  0x00007fffc8ed2737 in pipe_sampler_view_reference (view=0x0,
    ptr=<optimized out>)
    at ../../../../../src/gallium/auxiliary/util/u_inlines.h:151
        old_view = <optimized out>
#2  destroy_video_buffer_private (private=0x7fffc40f1700)
    at ../../../../../src/gallium/auxiliary/vl/vl_mpeg12_decoder.c:103
        priv = 0x7fffc40f1700
        i = <optimized out>
#3  0x00007fffc8eee678 in vl_video_buffer_set_associated_data (
    destroy_associated_data=0x0, associated_data=0x0, vcodec=0x0,
    vbuf=0x7fffc407e030)
    at ../../../../../src/gallium/auxiliary/vl/vl_video_buffer.c:200
No locals.
#4  vl_video_buffer_destroy (buffer=0x7fffc407e030)
    at ../../../../../src/gallium/auxiliary/vl/vl_video_buffer.c:265
        buf = 0x7fffc407e030
        i = <optimized out>
#5  0x00007fffc8e55325 in vlVdpVideoSurfaceDestroy (surface=4)
    at ../../../../../../src/gallium/state_trackers/vdpau/surface.c:140
        p_surf = 0x7fffc407df00
#6  0x00007fffc06c4a43 in SurfaceDestroy (opaque=<optimized out>)
    at picture.c:48
---Type <return> to continue, or q <return> to quit---
        field = <optimized out>
        frame = 0x7fffc407e2d0
        err = <optimized out>
#7  0x00007fffc06c3d65 in VideoRender (filter=0x7fffb8054408,
    src=0x7fffb803c010) at chroma.c:670
        sys = 0x7fffb8046910
        dst = 0x7fffb8011f20
        field = 0x7fffc40a9ce0
        features = {4}
        enables = {0}
        attrs = {3, 0}
        values = {0x7fffb8045c58, 0x0}
        count = 0
        csc = {{1.40129846e-45, 0, 6.86636248e-44, 4.59163468e-41}, {0, 0,
            1.2751816e-43, 6.72623263e-44}, {0, 0, 0, 0}}
        swap = 48
        output = 13
        structure = (unknown: 3288543744)
        past = {6, 4}
        surface = 0
        future = {3}
        src_rect = {x0 = 0, y0 = 0, x1 = 720, y1 = 576}
        dst_rect = {x0 = 0, y0 = 0, x1 = 1024, y1 = 576}
#8  0x00000030f04a84ac in FilterChainVideoFilter (p_pic=0x7fffb8012a90,
---Type <return> to continue, or q <return> to quit---
    f=0x7fffb8054408) at misc/filter_chain.c:230
        p_filter = 0x7fffb8054408
#9  filter_chain_VideoFilter (p_chain=0x7fffb8026c20, p_pic=<optimized out>)
    at misc/filter_chain.c:248
No locals.
#10 0x00000030f046de7b in ThreadDisplayRenderPicture (
    is_forced=<optimized out>, vout=<optimized out>)
    at video_output/video_output.c:1038
        render_subtitle_date = 140736280472208
        torender = 0x7fffb8012a90
        fmt_spu = {i_chroma = 810959958, i_width = 1024, i_height = 576,
          i_x_offset = 0, i_y_offset = 0, i_visible_width = 1024,
          i_visible_height = 576, i_bits_per_pixel = 0, i_sar_num = 1,
          i_sar_den = 1, i_frame_rate = 50, i_frame_rate_base = 2,
          i_rmask = 0, i_gmask = 0, i_bmask = 0, i_rrshift = 0, i_lrshift = 0,
          i_rgshift = 0, i_lgshift = 0, i_rbshift = 0, i_lbshift = 0,
          p_palette = 0x0, orientation = ORIENT_TOP_LEFT}
        fmt_spu_rot = {i_chroma = 810959958, i_width = 1024, i_height = 576,
          i_x_offset = 0, i_y_offset = 0, i_visible_width = 1024,
          i_visible_height = 576, i_bits_per_pixel = 0, i_sar_num = 1,
          i_sar_den = 1, i_frame_rate = 50, i_frame_rate_base = 2,
          i_rmask = 0, i_gmask = 0, i_bmask = 0, i_rrshift = 0, i_lrshift = 0,
          i_rgshift = 0, i_lgshift = 0, i_rbshift = 0, i_lbshift = 0,
          p_palette = 0x0, orientation = ORIENT_TOP_LEFT}
---Type <return> to continue, or q <return> to quit---
        vd = 0x7fffb8001268
        subpic = 0x7fffb8053550
#11 ThreadDisplayPicture (vout=0x7fffc4026588, deadline=0x7fffb8053550)
    at video_output/video_output.c:1149
        paused = 104
        first = 144
        date = 140736482417888
        render_delay = 140736481839248
        date_next = 140736280460416
        date_refresh = 0
#12 0x00000030f046e253 in Thread (object=0x7fffc4026588)
    at video_output/video_output.c:1579
        cmd = {type = 3, u = {boolean = 240, time = 140736280508656,
            time_ptr = 0x7fffb801b8f0, string = 0x7fffb801b8f0 "\001",
            integer = -1207846672, pair = {a = -1207846672, b = 32767},
            pause = {is_on = 240, date = 0}, message = {channel = -1207846672,
              string = 0x0}, border = {left = 3087120624, top = 32767,
              right = 0, bottom = 0}, window = {x = 3087120624, y = 32767,
              width = 0, height = 0}, cfg = 0x7fffb801b8f0,
            subpicture = 0x7fffb801b8f0}}
        picture_interlaced = 184
        interlacing = {is_interlaced = true, date = 549030922}
        deadline = 0
#13 0x0000003001e080a4 in start_thread (arg=0x7fffc02ba700)
---Type <return> to continue, or q <return> to quit---
    at pthread_create.c:309
        __res = <optimized out>
        pd = 0x7fffc02ba700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736417474304,
                1398939773732191827, 1, 206160662624, 210189606848,
                140736417474304, -1399062469116625325, 1371921745088544339},
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0},
            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#14 0x00000030016e5cbd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.
(gdb)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141030/e9e91261/attachment-0001.html>


More information about the dri-devel mailing list