RE: raw1394_stop_iso_rcv bug?
Brought to you by:
aeb,
bencollins
From: <And...@no...> - 2000-04-16 14:55:38
|
> That is a possibility, but probably not in libraw's code. The > raw1394_stop_iso_rcv() sends the stop request to the kernel and then > loops on raw1394_loop_iterate() until it sees the response. During > that handlers will be called for all remaining (e.g. iso) packets. Oh, I see. I thought that packets coming in during execution of raw1394_stop_iso_recv() was discarded. This should perhaps be mentioned in raw1394.h. > If your iso handler doesn't expect that and segfaults the program > appears to have crashed on stop_iso_rcv. Since my iso handler was called a couple of times extra, received packets were written outside a memory buffer. Thanks! /Anders |