harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Petrenko (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-1904) [classlib][luni] Signals interrupt hysock_select calls.
Date Tue, 17 Apr 2007 08:39:16 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-1904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexey Petrenko updated HARMONY-1904:
-------------------------------------

    Summary: [classlib][luni] Signals interrupt hysock_select calls.  (was: [classlib] Signals
interrupt hysock_select calls.)

> [classlib][luni] Signals interrupt hysock_select calls.
> -------------------------------------------------------
>
>                 Key: HARMONY-1904
>                 URL: https://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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message