[Rxtx] RXTX 2.2Pre + MacMini+ Deadlock while second time port open
Kapil Gupta
Kapil_Gupta at hcl.in
Tue Sep 29 03:51:23 MDT 2009
Hi,
I am attaching a sample file that demonstrate the hang behavior in RXTX. Please run the sample, first time it communicates with the device and everything is fine. Second time, it goes to
fd = open(name); // a function call in RXTXPort.java. This in turns calls Vector class size() method and hangs.
Thanks for all your support.
Note: 1 ) I am using RXTX 2.2 binaries.
2) I created a C sample and that runs fine, any number of times (without blocking anything).
Warm Regards,
Kapil
DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.
-----------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qbang.org/pipermail/rxtx/attachments/20090929/0239de91/attachment-0863.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SerialDeviceHandler.java
Type: application/octet-stream
Size: 3612 bytes
Desc: SerialDeviceHandler.java
URL: <http://mailman.qbang.org/pipermail/rxtx/attachments/20090929/0239de91/attachment-0863.obj>
More information about the Rxtx
mailing list