[Rxtx] rxtx caught in infinite loop. please help.

Trent Jarvi tjarvi at qbang.org
Thu May 10 18:20:54 MDT 2007


On Thu, 10 May 2007, rithy roth wrote:

> Hi,
>
> I am using rxtx library(in rxtx-2.1-7-bins-r2.zip) to run fluidic components
> on an instrument.
>
> My application is a java app which makes call to the rxtx library. Recently,
> I got this weird looping error saying the following:
>
> Error 0x5 at /home/bob/foo/rxtx-devel/build/../src/termios.c(482): Access
> is denied.
>
> First, of all not sure if my boss like the /home/bob/foo thingy. Second,
> could someone please help me.
>
> How can i recover from this error?
>

Strange

the bob/foo actually helps a little.

int ClearErrors( struct termios_list *index, COMSTAT *Stat )
{
         unsigned long ErrCode;
         int ret;

         ret = ClearCommError( index->hComm, &ErrCode, Stat );
         if ( ret == 0 )
         {
                 YACK();
                 return( ret );
         }


ClearCommError is failing.  Could it be that the port 'vanished?' 
bluetooth, usb dongle, ...

Which windows are you using?

--
Trent Jarvi
tjarvi at qbang.org



More information about the Rxtx mailing list