#13 dc1394_find_cameras


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.

Matthew Dailey
Sirindhorn International Institute of Technology
Thammasat University, Thailand


  • Damien Douxchamps

    • assigned_to: nobody --> ddouxchamps
    • status: open --> closed-out-of-date
  • Damien Douxchamps

    Logged In: YES

    This fix has already been implemented.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks