harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Artem Aliev (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-1904) Signals interrupt hysock_select calls.
Date Wed, 18 Oct 2006 10:45:42 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1904?page=all ]

Artem Aliev updated HARMONY-1904:
---------------------------------

    Attachment: hysock.diff

> Signals interrupt hysock_select calls.
> --------------------------------------
>
>                 Key: HARMONY-1904
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1904
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: linux
>            Reporter: Artem Aliev
>         Attachments: hysock.diff
>
>
> DRLVM uses linux signals in thread suspend calls.
> The signals interrupt select() call in port lib. 
> This cause the JBoss failure with following stack trace:
> java.net.SocketException: The call was cancelled
>        at org.apache.harmony.luni.platform.OSNetworkSystem.availableStreamImpl(OSNetworkSystem.java)
>        at org.apache.harmony.luni.platform.OSNetworkSystem.availableStream(OSNetworkSystem.java:216)
>        at org.apache.harmony.luni.net.PlainSocketImpl.available(PlainSocketImpl.java:150)
>        at org.apache.harmony.luni.net.SocketInputStream.available(SocketInputStream.java:50)
>        at com.mysql.jdbc.util.ReadAheadInputStream.available(ReadAheadInputStream.java:212)
>        at com.mysql.jdbc.MysqlIO.clearInputStream(MysqlIO.java:774)
> See following mail thread for details
> http://mail-archives.apache.org/mod_mbox/incubator-harmony-dev/200610.mbox/%3c4534F08F.9000208@pobox.com%3e

> Workaround is attached, but see the e-mail for complains on this workaround

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message