2.2 regression: V4L2 is broken
Either completely green picture or segmentation fault in the rawvideo decoder:
[#0](https://code.videolan.org/videolan/vlc/-/issues/0) __memcpy_ssse3_back ()
at ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:1529
[#1](https://code.videolan.org/videolan/vlc/-/issues/1) 0x00007fffbb3ef254 in memcpy (__len=18446744072703026672,
__src=<optimized out>, __dest=<optimized out>)
at /usr/include/x86_64-linux-gnu/bits/string3.h:51
[#2](https://code.videolan.org/videolan/vlc/-/issues/2) FillPicture (p_dec=<optimized out>, p_block=<optimized out>,
p_pic=0x7fffac00bbe0) at ../../modules/codec/rawvideo.c:302
[#3](https://code.videolan.org/videolan/vlc/-/issues/3) DecodeFrame (p_block=0x7fffbc0008c0, p_dec=<optimized out>)
at ../../modules/codec/rawvideo.c:322
[#4](https://code.videolan.org/videolan/vlc/-/issues/4) DecodeBlock (p_dec=<optimized out>, pp_block=0x7fffbb3ecdc8)
at ../../modules/codec/rawvideo.c:268
[#5](https://code.videolan.org/videolan/vlc/-/issues/5) 0x00007ffff713a46e in DecoderDecodeVideo (
p_dec=p_dec@entry=0x7fffc4009028, p_block=p_block@entry=0x7fffbc0008c0)
at ../../src/input/decoder.c:1379
[#6](https://code.videolan.org/videolan/vlc/-/issues/6) 0x00007ffff713cfd0 in DecoderProcessVideo (b_flush=false,
p_block=0x7fffbc0008c0, p_dec=<optimized out>)
at ../../src/input/decoder.c:1625
[#7](https://code.videolan.org/videolan/vlc/-/issues/7) DecoderProcess (p_block=<optimized out>, p_dec=<optimized out>)
at ../../src/input/decoder.c:1804
[#8](https://code.videolan.org/videolan/vlc/-/issues/8) DecoderThread (p_data=0x7fffc4009028) at ../../src/input/decoder.c:908
[#9](https://code.videolan.org/videolan/vlc/-/issues/9) 0x00007ffff79a9e0e in start_thread (arg=0x7fffbb3ed700)
at pthread_create.c:311
[#10](https://code.videolan.org/videolan/vlc/-/issues/10) 0x00007ffff74db0fd in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
This was reproduced with both UVC and vivi drivers (with raw YUV video in both cases).
Results from bisection:
04b0143d8e3af3798889d227c0d47dc83c404a55 is the first bad commit
commit 04b0143d8e3af3798889d227c0d47dc83c404a55
Author: Rafaël Carré <funman@videolan.org>
Date: Mon Jan 27 14:18:37 2014 +0100
picture_Setup: set visible dimensions correctly
:040000 040000 e2fffb4c0e86a536dc7cb38e5bf8448877d00280 ec569c54c95f3350374cf2a81b8dc3b85a7aece4 M include
:040000 040000 a6d930c45679a626cfbb741355bcb7f265b1144d b16e5872abbb74cc58ac070c75a4b0e34edd9463 M modules
:040000 040000 0b42b5a732b883ce3c71d3ad0ece4aae7bcad94e bd9dd8da3a2952042ee4a0269b81c57271e9c16b M src
Edited by Rémi Denis-Courmont