I found two problems trying to run coriander with
3 ieee1394 cameras hooked up to a Belkin hub
which is then hooked up to my PC.
The first is a segmentation fault due to accessing
an invalid cameras[i] pointer in dc1394_find_camera.
This is just a small bug.
The other problem, however, is strange. In the loop
over interfaces and nodes, the last node in my setup
happens to be the Belkin hub. The hub fails to tell
dc1394 whether it's a camera or not, so we get the
error code DC1394_FAILURE when trying to talk to
it. But if I just allow dc1394_find_cameras to continue
with whatever cameras it can find, even when some
nodes fail, everything works great. (My configuration
always worked before with older versions of libdc1394.)
I have attached a patch that fixes these two problems,
though I'm not sure about the correctness of ignoring
the DC1394_FAILURE from the hub.
Sirindhorn International Institute of Technology
Thammasat University, Thailand
Log in to post a comment.