public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/15430] New: Cannot interrupt blocking I/O calls with close()
@ 2004-05-14  1:23 mckinlay at redhat dot com
  2004-05-14  1:26 ` [Bug libgcj/15430] " mckinlay at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: mckinlay at redhat dot com @ 2004-05-14  1:23 UTC (permalink / raw)
  To: java-prs

When close() is called on a Socket or ServerSocket, it should cause a
SocketException to be thrown on any thread which is blocked on I/O operations on
that socket.

In libgcj, no exception is thrown, and the I/O thread remains blocked even
though the socket has been closed.

The attached test case demonstrates the problem for accept() and read(). The
problem most likely occurs for other calls such as write() and connect() as
well. This test case should be extended to cover these other calls, and added to
mauve.

-- 
           Summary: Cannot interrupt blocking I/O calls with close()
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mckinlay at redhat dot com
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15430


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libgcj/15430] Cannot interrupt blocking I/O calls with close()
  2004-05-14  1:23 [Bug libgcj/15430] New: Cannot interrupt blocking I/O calls with close() mckinlay at redhat dot com
@ 2004-05-14  1:26 ` mckinlay at redhat dot com
  2004-05-14  1:29 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: mckinlay at redhat dot com @ 2004-05-14  1:26 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From mckinlay at redhat dot com  2004-05-14 01:26 -------
Created an attachment (id=6278)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6278&action=view)
Test case


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15430


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libgcj/15430] Cannot interrupt blocking I/O calls with close()
  2004-05-14  1:23 [Bug libgcj/15430] New: Cannot interrupt blocking I/O calls with close() mckinlay at redhat dot com
  2004-05-14  1:26 ` [Bug libgcj/15430] " mckinlay at redhat dot com
@ 2004-05-14  1:29 ` pinskia at gcc dot gnu dot org
  2004-08-14  6:59 ` pinskia at gcc dot gnu dot org
  2005-01-15 22:30 ` konqueror at gmx dot de
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-14  1:29 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-14 01:29 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-05-14 01:29:28
               date|                            |
            Version|unknown                     |3.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15430


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libgcj/15430] Cannot interrupt blocking I/O calls with close()
  2004-05-14  1:23 [Bug libgcj/15430] New: Cannot interrupt blocking I/O calls with close() mckinlay at redhat dot com
  2004-05-14  1:26 ` [Bug libgcj/15430] " mckinlay at redhat dot com
  2004-05-14  1:29 ` pinskia at gcc dot gnu dot org
@ 2004-08-14  6:59 ` pinskia at gcc dot gnu dot org
  2005-01-15 22:30 ` konqueror at gmx dot de
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-14  6:59 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-14 06:59 -------
FAIL: wrong exception: java.io.IOException: Bad file descriptor
FAIL: read() did not interrupt on close().
FAIL: read() did not interrupt on close().
FAIL: accept() did not interrupt on close().

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2004-05-14 01:29:28         |2004-08-14 06:59:01
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15430


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libgcj/15430] Cannot interrupt blocking I/O calls with close()
  2004-05-14  1:23 [Bug libgcj/15430] New: Cannot interrupt blocking I/O calls with close() mckinlay at redhat dot com
                   ` (2 preceding siblings ...)
  2004-08-14  6:59 ` pinskia at gcc dot gnu dot org
@ 2005-01-15 22:30 ` konqueror at gmx dot de
  3 siblings, 0 replies; 5+ messages in thread
From: konqueror at gmx dot de @ 2005-01-15 22:30 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From konqueror at gmx dot de  2005-01-15 22:30 -------
I'm working on it 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |konqueror at gmx dot de
                   |dot org                     |
             Status|NEW                         |ASSIGNED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15430


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-01-15 22:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-14  1:23 [Bug libgcj/15430] New: Cannot interrupt blocking I/O calls with close() mckinlay at redhat dot com
2004-05-14  1:26 ` [Bug libgcj/15430] " mckinlay at redhat dot com
2004-05-14  1:29 ` pinskia at gcc dot gnu dot org
2004-08-14  6:59 ` pinskia at gcc dot gnu dot org
2005-01-15 22:30 ` konqueror at gmx dot de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).