Cuse4BSD + Webcamd + FE_GET_EVENT ioctl

Joerg Pulz Joerg.Pulz at frm2.tum.de
Tue Mar 2 14:40:58 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Tue, 2 Mar 2010, Hans Petter Selasky wrote:

> On Tuesday 02 March 2010 14:18:55 Joerg Pulz wrote:
>
>>
>> int fd_frontend = DvbOpen(DEV_DVB_FRONTEND, adapter, frontend, O_RDWR |
>>  O_NONBLOCK); -----
>>
>> So for me it looks like O_NONBLOCK is set and used but it still hangs at
>> the ioctl.
>
> Make sure the flag is also received by webcamd. Maybe there is a bug there.
>
>>
>> Any other ideas?
>>
>> Kind regards
>> Joerg
>>
>
> Could you compile webcamd with -g and run it from gdb. Then dump all threads
> when it is hanging?

If you meant hitting Ctrl-C in gdb and running 'thread apply all bt' in 
gdb, i've done this and will send you the results off-list.

Joerg

- -- 
The beginning is the most important part of the work.
 				-Plato
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iD8DBQFLjSN4SPOsGF+KA+MRAuLLAJoC7q2tk/RhmaXzfvL8QJX+aJ6JvACgmSrY
c5igs8h5QLrm4+2CD5dL9YY=
=Ns5Y
-----END PGP SIGNATURE-----


More information about the freebsd-multimedia mailing list