[Gc] Re: [Rxtx] SerialPort Close() problem - Windows, Ubuntu, Mac - Help me please!!!

Ivan Maidanski ivmai at mail.ru
Mon Nov 23 11:51:15 PST 2009

"M.Dec-GMail" <mariusz.dec at gmail.com> wrote:
> Hi all,
> I am fighting with serial port close() from several weeks.
> I have found and applied RXTXHack:
> https://forums.sun.com/thread.jspa?threadID=5261638
> Everything hangs up during close on my Win XP, Vista, Ubuntu and Mac with
> symptoms of the IOLocked =2 as described in hack above.
> This way helps sometimes on Windows XP (not often), but second close (after
> subsequent open) in the same application instance drives to deep crash of the
> rxtxSerial.dll.
> I have tried similar techniques like in RXTXHack - nothing to be sure that
> it works.
> ...

Just a question. Have you tried other implementations (eg., original Sun Comm API)? (I just try to understand whether this is a hardware/driver bug or an RXTX one.)

More information about the Gc mailing list