raw1394_stop_iso_rcv bug?
Brought to you by:
aeb,
bencollins
From: <And...@no...> - 2000-04-14 15:16:26
|
Hi Andreas, I have downloaded the latest subsystem and libraw code from the CVS repository. I think I may have discovered a bug when disabling iso reception. If raw1394_stop_iso_rcv() isn't called immediately after raw1394_loop_iterate() is called, I get a segmentation fault inside raw1394_stop_iso_rcv(). I haven't had the time to check the code yet but my theory is that there is some problem with unprocessed messages. I made a small test by adding a delay between the loop_iterate and stop_iso_rcv calls. Having usleep in the code always results in a segmentation fault but if it's removed it works fine. while(pkts_received < packets) raw1394_loop_iterate(handle); usleep(50000); raw1394_stop_iso_rcv(handle, CHANNEL); Best regards, Anders Weitman _____________________________________________________________________ Anders Weitman, M.Sc Phone : +46 (0)13 4611341 Development Engineer Fax : +46 (0)13 4611001 Nokia Home Communications Mobile : +46 (0)70 2141319 Diskettgatan 11 E-mail : and...@no... SE-583 35 Linkoping, Sweden Internet : www.nokia.com/multimedia/ |