Date: Thu, 26 May 2011 15:30:36 +0200 From: Matthias Apitz <guru@unixarea.de> To: Hans Petter Selasky <hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org Subject: Ekiga && PTlib: pwc.ko ./. webcamd Message-ID: <20110526133032.GA24919@sh4-5.1blu.de>
next in thread | raw e-mail | index | archive | help
--+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 '¥' <repeats 200 times>...) at ../lib/engine/components/ptlib/videoinput-manager-ptlib.cpp:190 #4 0x28523a87 in Ekiga::VideoInputCore::get_frame_data (this=0x2aeda200, data=0x2b604000 '¥' <repeats 200 times>...) 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 <guru@unixarea.de> - w http://www.unixarea.de/ --+HP7ph2BbKc20aGI--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110526133032.GA24919>