From owner-freebsd-multimedia@FreeBSD.ORG Tue Mar 2 13:36:03 2010 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 529401065675 for ; Tue, 2 Mar 2010 13:36:03 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id D45C68FC13 for ; Tue, 2 Mar 2010 13:36:02 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=IwgSumbsgI4A:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=lSCDQTx7MBncNX43mLcA:9 a=UOMbWyvPh67gpa3zhiQ3r5MwKFUA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1369362067; Tue, 02 Mar 2010 14:36:00 +0100 Received-SPF: softfail receiver=mailfe07.swip.net; client-ip=188.126.201.140; envelope-from=hselasky@freebsd.org From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Tue, 2 Mar 2010 14:34:27 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201003021123.52292.hselasky@freebsd.org> In-Reply-To: X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201003021434.27133.hselasky@freebsd.org> Cc: Subject: Re: Cuse4BSD + Webcamd + FE_GET_EVENT ioctl X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2010 13:36:03 -0000 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? --HPS