jessie-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Jessie-discuss] Bug when closing stream


From: Martin Egholm Nielsen
Subject: [Jessie-discuss] Bug when closing stream
Date: Mon, 27 Jun 2005 12:12:03 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050319

Hi there,

I just encountered a problem in Jessie when a SSLSocket was closed:

Exception in thread "KeepAlive cleaner" java.lang.ArrayIndexOutOfBoundsException
        at java.lang.System.arraycopy(Native Method)
        at gnu.crypto.mode.CBC.decryptBlock(CBC.java:131)
        at gnu.crypto.mode.BaseMode.update(BaseMode.java:125)
at org.metastatic.jessie.provider.SecurityParameters.decrypt(Unknown Source)
        at org.metastatic.jessie.provider.RecordInput.readRecord(Unknown Source)
        at org.metastatic.jessie.provider.RecordInput.pollClose(Unknown Source)
        at org.metastatic.jessie.provider.SSLSocket.close(Unknown Source)
        at Acme.Serve.Serve$KeepAliveCleaner.run(Serve.java:1471)

All that "my" thread really does, is to try to close the ssl-socket when left unused for some time... It may be a concurrency problem - the socket being closed in the same time as someone is trying to actually use it - since it's a keep-alive connection...

BR,
 Martin Egholm




reply via email to

[Prev in Thread] Current Thread [Next in Thread]