You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Artem Aliev (JIRA)" <ji...@apache.org> on 2006/10/18 12:45:42 UTC

[jira] Updated: (HARMONY-1904) Signals interrupt hysock_select calls.

     [ 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