From owner-freebsd-multimedia@FreeBSD.ORG Thu May 26 14:01:45 2011 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 9F1F4106566B for ; Thu, 26 May 2011 14:01:45 +0000 (UTC) (envelope-from ftp51246-2575596@sh4-5.1blu.de) Received: from sh4-5.1blu.de (sh4-5.1blu.de [213.83.63.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8D5328FC0A for ; Thu, 26 May 2011 14:01:44 +0000 (UTC) Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.50) id 1QPae4-0007B0-I4; Thu, 26 May 2011 15:30:40 +0200 Date: Thu, 26 May 2011 15:30:36 +0200 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20110526133032.GA24919@sh4-5.1blu.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="+HP7ph2BbKc20aGI" Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Operating-System: FreeBSD 7.0-RELEASE (i386) User-Agent: Mutt/1.5.9i X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-multimedia@freebsd.org Subject: Ekiga && PTlib: pwc.ko ./. webcamd X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2011 14:01:45 -0000 --+HP7ph2BbKc20aGI Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit Hello Hans, I've ported PTlib, Opal and Ekiga from SVN and Git to FreeBSD HEAD (r220692, ~mid of April); the webcamd(8) is from ports from the same day; in PTlib is support for V4L (plugin vidinput_v4l.cxx, attached) which works fine in Ekiga when I use the kernel mod pwc.ko (from the ports as well); it crashes Ekiga when webcamd(8) and its pwc.ko is used while opening the webcam: stderr: 2011/05/23 16:26:18.817 0:11.012 PVideoInputDevice_V4L: trying to open Philips SPC 900NC webcam gdb backtrace: (gdb) bt #0 0x2a57dcda in memcpy () from /lib/libc.so.7 #1 0x2b8a504c in PVideoInputDevice_V4L::GetFrameDataNoDelay () from /usr/local/lib/ptlib-2.10.1/devices/videoinput/v4l_pwplugin.so #2 0x2b8a50c9 in PVideoInputDevice_V4L::GetFrameData () from /usr/local/lib/ptlib-2.10.1/devices/videoinput/v4l_pwplugin.so #3 0x285935b1 in GMVideoInputManager_ptlib::get_frame_data (this=0x2b5d5470, data=0x2b604000 '¥' ...) at ../lib/engine/components/ptlib/videoinput-manager-ptlib.cpp:190 #4 0x28523a87 in Ekiga::VideoInputCore::get_frame_data (this=0x2aeda200, data=0x2b604000 '¥' ...) at ../lib/engine/videoinput/videoinput-core.cpp:381 #5 0x285241fe in Ekiga::VideoInputCore::VideoPreviewManager::Main (this=0x2aeda318) at ../lib/engine/videoinput/videoinput-core.cpp:110 #6 0x294b473e in PThread::PX_ThreadStart () from /usr/local/lib/libpt.so.2.10-beta1 #7 0x2a46846a in pthread_getprio () from /lib/libthr.so.3 #8 0x00000000 in ?? () Before debugging further this, can you imagine why this works with pwc.ko and not with webcamd(8)? Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ --+HP7ph2BbKc20aGI--