Status fields:
creation_ts: | 2008-03-06 20:31 |
---|---|
component: | threads |
version: | 0.98 |
rep_platform: | arm |
op_sys: | Linux |
bug_status: | RESOLVED |
resolution: | FIXED |
reporter: | dudu@marvell.com |
Using Classpath 0.92. i run a client and a server. The server is listening on a server socket, the client is launching multiple threads that are connecting to the server socket. After such connection has been establlished, the server begins to write bytes into the socket and the client is reading the bytes. After a random delay, the client is closing the socket. Now, when the server is attempting to write into the closed socket, it dies with the "broken pipe".
Do you have some example source code to reproduce this bug?
Yes, that would be good. You should also try a recent GNU Classpath version, as the bug may already be fixed.
(In reply to comment #2) > Yes, that would be good. You should also try a recent GNU Classpath version, > as the bug may already be fixed. > I fixed the bug, there were missing a registration for the signals pool. in signal.c sigaddset(&mask,SIGPIPE); was missing Regards