Comment 32 for bug 1373221

Revision history for this message
Paulo Assis (pj-assis) wrote : Re: [Bug 1373221] Re: guvcview crashed with SIGSEGV in get_ctrl_by_id()

Hi,
I've set a workaround for uvcvideo buggy behaviour, I just set the
buffer length to the maximum value if bytesused is zero.
Anyway this is clearly a bug in uvcvideo since it violates the v4l2 api:
http://linuxtv.org/downloads/v4l-dvb-apis/buffer.html

You should be able to upgrade from my testing ppa in a few moments
(build pending).

Regards,
Paulo

2014-09-30 9:28 GMT+01:00 Paulo Assis <email address hidden>:
> OK, so this was already reported:
>
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1362358
>
> Regards,
> Paulo
>
> 2014-09-30 9:24 GMT+01:00 Paulo Assis <email address hidden>:
>> Hi,
>> So I was finally able to test this in both 32 and 64 bit kernels and
>> while the gspca driver works fine on both (eye toy 2 camera), uvcvideo
>> (logitech c930e) fails on both kernels, increasing the driver
>> verbosity I get:
>> EOF on empty paylod
>> this is consistent with the zero size frames I'm getting in guvcview.
>>
>> So I would say this is definitly a driver issue, I'll try to install
>> the latest media tree to check if this fixes things:
>> http://git.linuxtv.org/cgit.cgi/media_build.git/about/
>>
>> I think a bug report should be filed against the current ubuntu 14.10
>> kernel, referring the uvcvideo issues.
>>
>> Regards,
>> Paulo
>>
>> 2014-09-29 17:26 GMT+01:00 Alberto Salvia Novella <email address hidden>:
>>> ** Attachment added: "stderr.txt"
>>> https://bugs.launchpad.net/ubuntu/+source/guvcview/+bug/1373221/+attachment/4219301/+files/stderr.txt
>>>
>>> --
>>> You received this bug notification because you are subscribed to the bug
>>> report.
>>> https://bugs.launchpad.net/bugs/1373221
>>>
>>> Title:
>>> guvcview crashed with SIGSEGV in get_ctrl_by_id()
>>>
>>> To manage notifications about this bug go to:
>>> https://bugs.launchpad.net/guvcview/+bug/1373221/+subscriptions