I have reported this problem a couple of months ago to the general
Max list but have never received an answer.
My problem concerns mxj net.tcp.send, and is as follows:
1. I have computer A sitting behind a NAT router connecting to
computer B on the Internet via net.tcp.send.
2. On computer B I have a Max patch running with an instance of mxj
3. This instance now receives instructions from computer A to open
another patch and to send some messages to the originating computer
(i.e. A), after setting an instance of mxj net.tcp.send to computer
A's IP address.
The problem arises when
1. the address computer B receives computer A's local IP address
(instead of its public address) and tries to send messages to this IP
2. upon noticing the error, computer B terminates the connection and
closes the Max patch with the mxj net.tcp.send instance with 30
active packets waiting to be delivered.
3. Max crashes after approx. 90 seconds with the following crash log:
Thread 4 Crashed:
0 libjvm.dylib 0x9a757c74 JVM_GetLastErrorString
1 libjvm.dylib 0x9a63e998 JNI_CreateJavaVM_Impl
2 libjvm.dylib 0x9a63e88c JNI_CreateJavaVM_Impl
3 libSystem.B.dylib 0x9002ba68 _pthread_body + 96
It seems to me that the problem exists due to a miscommunication
between Max and JVM.