Re: comedi_do_insn() segmentation fault

On 16/09/2007 02:38, george gomes wrote:
> Hi all
> 
> I am having a segmentation fault problem when I execute the line:
> 
> int ret = comedi_do_insn(dev, &insn);
> 
> If i reboot i don't get the fault one time but when run again i do.

Is it a kernel Oops?  I.e., do you see a kernel stacktrace when you run 
'dmesg'?

> I am using  0.7.72 with a NI_6221 37pin on a 2.6.15 kernel on ubuntu.

Did you really mean 0.7.72?  It's a bit old, and I'm surprised you got 
it working at all on a 2.6.15 kernel.  Can you try comedi 0.7.74?

-- 
-=( Ian Abbott _at_ MEV Ltd.    E-mail: <abbotti_at_mev.co.uk>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-

Received on 2007-09-17Z08:54:11