GCJ deadlock on ARMLinux

Michael Jakobs michael.jakobs@hob.de
Mon Jan 26 07:32:00 GMT 2009


Hello,

Hopefully, this is the right mailing list for my problems, if not please 
let me know which one is the better list for my request.

I am using:

gcj 4.0.2
build with crosstool with glibc-2.3.2
for an embedded ARM Box with Linux 2.6.14


I had some deadlock problems on a big application and couldn't find the 
error, so I started working on a small test program.
This program is just a (very) easy application, which exchanges data 
between a TCP Client and Server. The error is:
This data sharing works for several times, but after exchanging some 
packets (might be 3 or even a thousand), the client stops before calling 
or inside the method socket.write(...).

For better understanding, I have attached the code.


Thank you for your help

Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Client.java
Type: text/java
Size: 2639 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20090126/5122460a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Server.java
Type: text/java
Size: 4272 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20090126/5122460a/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: start.java
Type: text/java
Size: 1605 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20090126/5122460a/attachment-0002.bin>


More information about the Gcc-help mailing list