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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Comment # 5 on bug 85613 from
Sorry if I'm not being clear. A problem reported earlier under mesa 10.3.1 in
https://bugs.freedesktop.org/show_bug.cgi?id=85267 was fixed by the patch: 

http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae879718c4086fc5905070e7f26dfa2757df0c86
r600g: Drop references to destroyed blend state
which I understand was incorporated into mesa 10.3.2

With vlc from Debian unstable 2.2.0-pre3-104-g836a443 and mesa 10.3.2-1 playing
the file at http://www.users.on.net/~arthur.marsh/VTS_01_1.VOB I see the
following.

$ valgrind vlc VTS_01_1.VOB
==6333== Memcheck, a memory error detector
==6333== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==6333== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
==6333== Command: vlc VTS_01_1.VOB
==6333==
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.
==6333== Thread 8:
==6333== Invalid write of size 1
==6333==    at 0x315FC045B7: BOSA_ST_InitComponentLoader (in
/usr/lib/libomxil-bellagio.so.0.0.0)
==6333==    by 0x315FC055A7: OMX_Init (in /usr/lib/libomxil-bellagio.so.0.0.0)
==6333==    by 0x1BA9BADB: InitOmxCore (in
/usr/lib/vlc/plugins/codec/libomxil_plugin.so)
==6333==    by 0x1BA9A99C: OpenGeneric (in
/usr/lib/vlc/plugins/codec/libomxil_plugin.so)
==6333==    by 0x1BA9B6DF: OpenDecoder (in
/usr/lib/vlc/plugins/codec/libomxil_plugin.so)
==6333==    by 0x30F048FCD4: module_load (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F049029D: vlc_module_load (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F043FAD5: CreateDecoder (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F04426D4: input_DecoderNew (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F0445825: EsCreateDecoder (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F04466BA: EsSelect (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F0446C82: EsOutSelect (in /usr/lib/libvlccore.so.8.0.0)
==6333==  Address 0xd7661b0 is 0 bytes after a block of size 2,048 alloc'd
==6333==    at 0x4A07C20: malloc (vg_replace_malloc.c:296)
==6333==    by 0x315FC0452E: BOSA_ST_InitComponentLoader (in
/usr/lib/libomxil-bellagio.so.0.0.0)
==6333==    by 0x315FC055A7: OMX_Init (in /usr/lib/libomxil-bellagio.so.0.0.0)
==6333==    by 0x1BA9BADB: InitOmxCore (in
/usr/lib/vlc/plugins/codec/libomxil_plugin.so)
==6333==    by 0x1BA9A99C: OpenGeneric (in
/usr/lib/vlc/plugins/codec/libomxil_plugin.so)
==6333==    by 0x1BA9B6DF: OpenDecoder (in
/usr/lib/vlc/plugins/codec/libomxil_plugin.so)
==6333==    by 0x30F048FCD4: module_load (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F049029D: vlc_module_load (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F043FAD5: CreateDecoder (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F04426D4: input_DecoderNew (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F0445825: EsCreateDecoder (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F04466BA: EsSelect (in /usr/lib/libvlccore.so.8.0.0)
==6333==
[0000000013ae72f8] avcodec decoder: Using G3DVL VDPAU Driver Shared Library
version 1.0 for hardware decoding.
[mpeg2video @ 0x13c69740] warning: first frame is no keyframe
[000000000d72a488] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late
(pts_delay increased to 4682 ms)
[000000000d72a488] core input error: ES_OUT_RESET_PCR called
[mpeg2video @ 0x13c69740] warning: first frame is no keyframe
==6333== Thread 11:
==6333== Invalid read of size 8
==6333==    at 0x1E7DF731: destroy_video_buffer_private (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1E7FB677: vl_video_buffer_destroy (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1E762324: vlVdpVideoSurfaceDestroy (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1D805092: SurfaceDestroy (in
/usr/lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so)
==6333==    by 0x1D804724: Close (in
/usr/lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so)
==6333==    by 0x30F049078E: vlc_module_unload (in
/usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x1BEAEE68: vlc_va_Delete (in
/usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==6333==    by 0x1BEAAA59: ffmpeg_GetFormat (in
/usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==6333==    by 0x305A7FD5E0: ff_get_format (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==    by 0x305A6DDBC8: decode_chunks (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==    by 0x305A6DF8C8: mpeg_decode_frame (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==    by 0x305A7FBE1A: avcodec_decode_video2 (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==  Address 0x13e6e200 is 480 bytes inside a block of size 10,760 free'd
==6333==    at 0x4A08E90: free (vg_replace_malloc.c:473)
==6333==    by 0x1E7DF96A: vl_mpeg12_destroy (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1E763499: vlVdpDecoderDestroy (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1D80470D: Close (in
/usr/lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so)
==6333==    by 0x30F049078E: vlc_module_unload (in
/usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x1BEAEE68: vlc_va_Delete (in
/usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==6333==    by 0x1BEAAA59: ffmpeg_GetFormat (in
/usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==6333==    by 0x305A7FD5E0: ff_get_format (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==    by 0x305A6DDBC8: decode_chunks (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==    by 0x305A6DF8C8: mpeg_decode_frame (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==    by 0x305A7FBE1A: avcodec_decode_video2 (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==    by 0x1BEAC19C: DecodeVideo (in
/usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==6333==
==6333== Invalid read of size 8
==6333==    at 0x1E7DF76E: destroy_video_buffer_private (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1E7FB677: vl_video_buffer_destroy (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1E762324: vlVdpVideoSurfaceDestroy (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1D805092: SurfaceDestroy (in
/usr/lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so)
==6333==    by 0x1D804724: Close (in
/usr/lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so)
==6333==    by 0x30F049078E: vlc_module_unload (in
/usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x1BEAEE68: vlc_va_Delete (in
/usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==6333==    by 0x1BEAAA59: ffmpeg_GetFormat (in
/usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==6333==    by 0x305A7FD5E0: ff_get_format (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==    by 0x305A6DDBC8: decode_chunks (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==    by 0x305A6DF8C8: mpeg_decode_frame (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==    by 0x305A7FBE1A: avcodec_decode_video2 (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==  Address 0x13e6e210 is 496 bytes inside a block of size 10,760 free'd
==6333==    at 0x4A08E90: free (vg_replace_malloc.c:473)
==6333==    by 0x1E7DF96A: vl_mpeg12_destroy (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1E763499: vlVdpDecoderDestroy (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1D80470D: Close (in
/usr/lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so)
==6333==    by 0x30F049078E: vlc_module_unload (in
/usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x1BEAEE68: vlc_va_Delete (in
/usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==6333==    by 0x1BEAAA59: ffmpeg_GetFormat (in
/usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==6333==    by 0x305A7FD5E0: ff_get_format (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==    by 0x305A6DDBC8: decode_chunks (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==    by 0x305A6DF8C8: mpeg_decode_frame (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==    by 0x305A7FBE1A: avcodec_decode_video2 (in
/usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==    by 0x1BEAC19C: DecodeVideo (in
/usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==6333==
[0000000013ae72f8] avcodec decoder: Using G3DVL VDPAU Driver Shared Library
version 1.0 for hardware decoding.
[mpeg2video @ 0x13c69740] warning: first frame is no keyframe
[0000000013ae72f8] avcodec decoder: Using G3DVL VDPAU Driver Shared Library
version 1.0 for hardware decoding.
[000000000d72a488] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late
(pts_delay increased to 4689 ms)
[000000000d72a488] core input error: ES_OUT_RESET_PCR called
==6333== Thread 13:
==6333== Invalid read of size 8
==6333==    at 0x1E7DF731: destroy_video_buffer_private (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1E7FB677: vl_video_buffer_destroy (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1E762324: vlVdpVideoSurfaceDestroy (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x2379EA42: SurfaceDestroy (in
/usr/lib/vlc/plugins/vdpau/libvdpau_chroma_plugin.so)
==6333==    by 0x2379C3CA: OutputClose (in
/usr/lib/vlc/plugins/vdpau/libvdpau_chroma_plugin.so)
==6333==    by 0x30F049078E: vlc_module_unload (in
/usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F04A79FF: filter_chain_DeleteFilterInternal (in
/usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F04A7FA7: filter_chain_Reset (in
/usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F04A801C: filter_chain_Delete (in
/usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F046872B: vout_ManageDisplay (in
/usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F047906B: vout_ManageWrapper (in
/usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F046E284: Thread (in /usr/lib/libvlccore.so.8.0.0)
==6333==  Address 0x13e6e200 is 32 bytes before a block of size 32 in arena
"client"
==6333==
==6333== Jump to the invalid address stated on the next line
==6333==    at 0x60: ???
==6333==    by 0x1E7DF736: destroy_video_buffer_private (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1E7FB677: vl_video_buffer_destroy (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1E762324: vlVdpVideoSurfaceDestroy (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x2379EA42: SurfaceDestroy (in
/usr/lib/vlc/plugins/vdpau/libvdpau_chroma_plugin.so)
==6333==    by 0x2379C3CA: OutputClose (in
/usr/lib/vlc/plugins/vdpau/libvdpau_chroma_plugin.so)
==6333==    by 0x30F049078E: vlc_module_unload (in
/usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F04A79FF: filter_chain_DeleteFilterInternal (in
/usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F04A7FA7: filter_chain_Reset (in
/usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F04A801C: filter_chain_Delete (in
/usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F046872B: vout_ManageDisplay (in
/usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F047906B: vout_ManageWrapper (in
/usr/lib/libvlccore.so.8.0.0)
==6333==  Address 0x60 is not stack'd, malloc'd or (recently) free'd
==6333==
==6333==
==6333== Process terminating with default action of signal 11 (SIGSEGV)
==6333==  Bad permissions for mapped region at address 0x60
==6333==    at 0x60: ???
==6333==    by 0x1E7DF736: destroy_video_buffer_private (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1E7FB677: vl_video_buffer_destroy (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1E762324: vlVdpVideoSurfaceDestroy (in
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x2379EA42: SurfaceDestroy (in
/usr/lib/vlc/plugins/vdpau/libvdpau_chroma_plugin.so)
==6333==    by 0x2379C3CA: OutputClose (in
/usr/lib/vlc/plugins/vdpau/libvdpau_chroma_plugin.so)
==6333==    by 0x30F049078E: vlc_module_unload (in
/usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F04A79FF: filter_chain_DeleteFilterInternal (in
/usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F04A7FA7: filter_chain_Reset (in
/usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F04A801C: filter_chain_Delete (in
/usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F046872B: vout_ManageDisplay (in
/usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F047906B: vout_ManageWrapper (in
/usr/lib/libvlccore.so.8.0.0)
==6333==
==6333== HEAP SUMMARY:
==6333==     in use at exit: 20,069,429 bytes in 55,213 blocks
==6333==   total heap usage: 577,372 allocs, 522,159 frees, 211,273,187 bytes
allocated
==6333==
==6333== LEAK SUMMARY:
==6333==    definitely lost: 30,532 bytes in 51 blocks
==6333==    indirectly lost: 67,996 bytes in 1,064 blocks
==6333==      possibly lost: 13,355,146 bytes in 3,719 blocks
==6333==    still reachable: 6,615,755 bytes in 50,379 blocks
==6333==         suppressed: 0 bytes in 0 blocks
==6333== Rerun with --leak-check=full to see details of leaked memory
==6333==
==6333== For counts of detected and suppressed errors, rerun with: -v
==6333== ERROR SUMMARY: 41 errors from 5 contexts (suppressed: 1 from 1)
Killed


You are receiving this mail because:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux