atom feed5 messages in org.freebsd.freebsd-multimediaRe: Cuse4BSD + Webcamd + FE_GET_EVENT...
FromSent OnAttachments
Joerg PulzMar 2, 2010 1:35 am 
Hans Petter SelaskyMar 2, 2010 2:23 am 
Joerg PulzMar 2, 2010 5:18 am 
Hans Petter SelaskyMar 2, 2010 5:34 am 
Joerg PulzMar 2, 2010 6:40 am 
Subject:Re: Cuse4BSD + Webcamd + FE_GET_EVENT ioctl
From:Joerg Pulz (Joer@frm2.tum.de)
Date:Mar 2, 2010 6:40:20 am
List:org.freebsd.freebsd-multimedia

-----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-----