[prev in list] [next in list] [prev in thread] [next in thread]
List: rxtx
Subject: Re: [Rxtx] thread dies in RXTXPort.setDSR
From: Anil <goodnewsforyou () yahoo ! com>
Date: 2013-06-17 19:58:20
Message-ID: 1371499100.92330.YahooMailNeo () web160802 ! mail ! bf1 ! yahoo ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
When it crashes, Microsoft askes if I want to send the error report
AppName: java.exe AppVer: 7.0.170.2 ModName: rxtxserial.dll
ModVer: 0.0.0.0 Offset: 0000c455
When I click the link, "view technical information about the report", the popup \
window does not allow me to select/copy the text.
Anil
________________________________
From: Anil <goodnewsforyou@yahoo.com>
To: "rxtx@qbang.org" <rxtx@qbang.org>; "alex@antistatix.de" <alex@antistatix.de>
Sent: Monday, June 17, 2013 9:58 AM
Subject: Re: [Rxtx] thread dies in RXTXPort.setDSR
Are there debug versions of the RxTx libs?
I find the thread hanging and crashing Java - about 1 in 25-30 times upon startup. \
However there is nothing noteworthy in the logs. I wondered if a debug version would \
print diagnostics in the logs.
________________________________
From: Alexander Graf <alex@antistatix.de>
To: rxtx@qbang.org
Sent: Sunday, April 14, 2013 8:13 AM
Subject: Re: [Rxtx] thread dies in RXTXPort.setDSR
Okay, good to hear that you solved the problem. However a "hanging" port
due to "wrong usage" of the API is still suboptimal. It simply should
not hang, but throw exceptions whenever wrong usage is detected.
I've been doing a full RXTX-code review for a couple of months and I am
very interested in any possible bugs and rough edges of the API and
driver implementation. So if you still remember how you got to the dark
side, a minimal code would be very helpful to me. (Also the code causing
your other problem http://mailman.qbang.org/2013-April/12656155.html)
regards
Alex
On 04/14/2013 02:14 PM, Anil wrote:
> Thank you for replying. The usb device was in an unresponsive state. perhaps that \
> caused the problem. Also I correct myself on a faulty term - I think
it was just hung.
I made some changes to my program design and have not seen it since.
>
>
> ________________________________
> From: Alexander Graf <alex@antistatix.de>
> To: rxtx@qbang.org
> Sent: Sunday, April 14, 2013 5:04 AM
> Subject: Re: [Rxtx] thread dies in RXTXPort.setDSR
>
>
> Hi Anil,
> could you provide some minimal code to reproduce this error please.
>
> Alex
>
> On 04/13/2013 01:14 PM, Anil wrote:
> > thread dies here
> >
> > "JavaFX Application Thread"
> > gnu.io.RXTXPort.setDSR(RXTXPort.java)
> > gnu.io.RXTXPort.close(RXTXPort.java:1082)
> >
> >
> > Any suggestions?
> >
> >
> >
> >
_______________________________________________
> > Rxtx mailing list
> > Rxtx@qbang.org
> > http://mailman.qbang.org/mailman/listinfo/rxtx
> >
> _______________________________________________
> Rxtx mailing list
> Rxtx@qbang.org
> http://mailman.qbang.org/mailman/listinfo/rxtx
>
>
>
> _______________________________________________
> Rxtx mailing list
> Rxtx@qbang.org
> http://mailman.qbang.org/mailman/listinfo/rxtx
>
_______________________________________________
Rxtx mailing list
Rxtx@qbang.org
http://mailman.qbang.org/mailman/listinfo/rxtx
[Attachment #5 (text/html)]
<html><body><div style="color:#000; background-color:#fff; font-family:arial, \
helvetica, sans-serif;font-size:10pt"><div><font size="2">When it crashes, Microsoft \
askes if I want to send the error report</font></div><div style="color: rgb(0, 0, 0); \
font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: \
transparent; font-style: normal;"><font size="2"><br></font></div><div style="color: \
rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, sans-serif; \
background-color: transparent; font-style: normal;"><font size="2">AppName: \
java.exe<span class="Apple-tab-span" style="white-space: pre;"> </span> AppVer: \
7.0.170.2<span class="Apple-tab-span" style="white-space: pre;"> </span> ModName: \
rxtxserial.dll</font></div><div><font size="2">ModVer: 0.0.0.0<span \
class="Apple-tab-span" style="white-space:pre"> </span> Offset: \
0000c455</font></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: \
arial, helvetica, sans-serif; background-color: transparent; font-style: \
normal;"><font size="2"><br></font></div><div style="color: rgb(0, 0, 0); font-size: \
13px; font-family: arial, helvetica, sans-serif; background-color: transparent; \
font-style: normal;"><font size="2">When I click the link, "view technical \
information about the report", the popup window does not allow me to select/copy the \
text.</font></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: \
arial, helvetica, sans-serif; background-color: transparent; font-style: \
normal;"><font size="2"><br></font></div><div style="color: rgb(0, 0, 0); font-size: \
13px; font-family: arial, helvetica, sans-serif; background-color: transparent; \
font-style: normal;"><font size="2">Anil </font></div><div><font \
size="2"><span></span></font></div><div style="font-family: arial, helvetica, \
sans-serif; font-size: 10pt;"><br></div><div style="font-family: arial, helvetica, \
sans-serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; \
font-style: normal;"><br></div><div style="font-family: arial, helvetica, sans-serif; \
font-size: 10pt;"><br></div> <div style="font-family: arial, helvetica, sans-serif; \
font-size: 10pt;"> <div style="font-family: 'times new roman', 'new york', times, \
serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font size="2" face="Arial"> \
<b><span style="font-weight:bold;">From:</span></b> Anil \
<goodnewsforyou@yahoo.com><br> <b><span style="font-weight: \
bold;">To:</span></b> "rxtx@qbang.org" <rxtx@qbang.org>; "alex@antistatix.de" \
<alex@antistatix.de> <br> <b><span style="font-weight: bold;">Sent:</span></b> \
Monday, June 17, 2013 9:58 AM<br> <b><span style="font-weight: \
bold;">Subject:</span></b> Re: [Rxtx] thread dies in RXTXPort.setDSR<br> </font> \
</div> <div class="y_msg_container"><br><div id="yiv9959100213"><div><div \
style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: \
arial, helvetica, sans-serif; font-size: 10pt;"><div>Are there debug versions of the \
RxTx libs?</div><div>I find the thread hanging and crashing Java - about 1 in 25-30 \
times upon startup. However there is nothing noteworthy in the logs. I wondered if a \
debug version would print diagnostics in the logs.</div><div><br></div> <div \
style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"> <div \
style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> \
<div dir="ltr"> <hr size="1"> <font size="2" face="Arial"> <b><span \
style="font-weight:bold;">From:</span></b> Alexander Graf \
<alex@antistatix.de><br> <b><span style="font-weight:bold;">To:</span></b> \
rxtx@qbang.org <br> <b><span style="font-weight:bold;">Sent:</span></b> Sunday, April \
14, 2013 8:13 AM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: \
[Rxtx] thread dies in RXTXPort.setDSR<br> </font> </div> <div \
class="yiv9959100213y_msg_container"><br>Okay, good to hear that you solved the \
problem. However a "hanging" port <br>due to "wrong usage" of the API is still \
suboptimal. It simply should <br>not hang, but throw exceptions whenever wrong usage \
is detected.<br><br>I've been doing a full RXTX-code review for a couple of months \
and I am <br>very interested in any possible bugs and rough edges of the API and \
<br>driver implementation. So if you still remember how you got to the dark <br>side, \
a minimal code would be very helpful to me. (Also the code causing <br>your other \
problem <a rel="nofollow" target="_blank" \
href="http://mailman.qbang.org/2013-April/12656155.html">http://mailman.qbang.org/2013-April/12656155.html</a>)<br><br>regards<br>Alex<br><br>On \
04/14/2013 02:14 PM, Anil wrote:<br>> Thank you for replying. The usb device was \
in an unresponsive state. perhaps that caused the problem. Also I correct myself on \
a faulty term - I think it was just hung.<br>I made some changes to my program \
design and have not seen it since.<br>><br>><br>> \
________________________________<br>> From: Alexander Graf <<a \
rel="nofollow" ymailto="mailto:alex@antistatix.de" target="_blank" \
href="mailto:alex@antistatix.de">alex@antistatix.de</a>><br>> To: <a \
rel="nofollow" ymailto="mailto:rxtx@qbang.org" target="_blank" \
href="mailto:rxtx@qbang.org">rxtx@qbang.org</a><br>> Sent: Sunday, April 14, 2013 \
5:04 AM<br>> Subject: Re: [Rxtx] thread dies in \
RXTXPort.setDSR<br>><br>><br>> Hi Anil,<br>> could you provide some \
minimal code to reproduce this error please.<br>><br>> Alex<br>><br>> On \
04/13/2013 01:14 PM, Anil wrote:<br>>> thread dies here<br>>><br>>> \
"JavaFX Application Thread"<br>>> \
gnu.io.RXTXPort.setDSR(RXTXPort.java)<br>>> \
gnu.io.RXTXPort.close(RXTXPort.java:1082)<br>>><br>>><br>>> Any \
suggestions?<br>>><br>>><br>>><br>>> \
_______________________________________________<br>>> Rxtx mailing \
list<br>>> <a rel="nofollow" ymailto="mailto:Rxtx@qbang.org" target="_blank" \
href="mailto:Rxtx@qbang.org">Rxtx@qbang.org</a><br>>> <a rel="nofollow" \
target="_blank" href="http://mailman.qbang.org/mailman/listinfo/rxtx">http://mailman.qbang.org/mailman/listinfo/rxtx</a><br>>><br>> \
_______________________________________________<br>> Rxtx mailing list<br>> <a \
rel="nofollow" ymailto="mailto:Rxtx@qbang.org" target="_blank" \
href="mailto:Rxtx@qbang.org">Rxtx@qbang.org</a><br>> <a rel="nofollow" \
target="_blank" href="http://mailman.qbang.org/mailman/listinfo/rxtx">http://mailman.qbang.org/mailman/listinfo/rxtx</a><br>><br>><br>><br>> \
_______________________________________________<br>> Rxtx mailing list<br>> <a \
rel="nofollow" ymailto="mailto:Rxtx@qbang.org" target="_blank" \
href="mailto:Rxtx@qbang.org">Rxtx@qbang.org</a><br>> <a rel="nofollow" \
target="_blank" href="http://mailman.qbang.org/mailman/listinfo/rxtx">http://mailman.q \
bang.org/mailman/listinfo/rxtx</a><br>><br>_______________________________________________<br>Rxtx \
mailing list<br><a rel="nofollow" ymailto="mailto:Rxtx@qbang.org" target="_blank" \
href="mailto:Rxtx@qbang.org">Rxtx@qbang.org</a><br><a rel="nofollow" target="_blank" \
href="http://mailman.qbang.org/mailman/listinfo/rxtx">http://mailman.qbang.org/mailman/listinfo/rxtx</a><br><br><br></div> \
</div> </div> </div></div></div><br><br></div> </div> </div> </div></body></html>
_______________________________________________
Rxtx mailing list
Rxtx@qbang.org
http://mailman.qbang.org/mailman/listinfo/rxtx
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic