net.tcp.send is not robust


    Apr 23 2006 | 4:19 pm
    After a bit of experimenting I came to the conclusion that
    net.tcp.send is not very robust under the following circumstances:
    When trying to send tcp packets to a client located behind a
    firewall, I experience crashes of thread 0 with no further details in
    the crash report. The problem seemed to be caused or aggravated by my
    NAT router sending these packets to the wrong computer. (As soon as I
    change to the right settings the crashes seem to go away.) On
    occasion I was able to spot a bunch of error messages in the Max
    window right before Max quits (really just a short glimpse). These
    error messages seem to refer to Java exceptions. Unfortunately, I
    can't be more specific, but I suspect that it has something to do
    with the fact that packets couldn't be delivered. Interestingly, this
    problem also arose after an instance of the mxj net.tcp.send object
    was destroyed, which makes me wonder whether there's an issue with
    the communication between Java and Max. What about messages being
    sent by the Java Virtual Engine to Max objects that to don't exist
    any longer? Does Max have a provision for something like this?
    I hope this doesn't sound too dilettante, as I'm really not very
    familiar with the things that happen under the "hood." I just hope
    that something could be done about the crashes.
    Georg

    • Apr 24 2006 | 4:33 pm
      Hi Georg,
      I've gone over the code and I can't see anything wrong with net.tcp.*
      . I wrote an evil test class as a sanity-check to see if a thread
      that perpetually calls an outlet call would kill Max if you delete the
      object without being careful. mxj did not crash. I don't think I can
      help you out without an example patch that reproducibly crashes.
      Ben
    • Apr 24 2006 | 7:12 pm
      Hi Ben,
      I'm not surprised that this problem is difficult to track. I'll try
      to create a patch which will simulate the conditions under which I
      experience the crashes. This also implies connecting to my network
      which can be reached at georghajdu.dyndns.org. More soon...
      Georg
    • Apr 24 2006 | 10:40 pm
      Hi Ben,
      This what I found in the console's log file (so it seems that Java is
      crashing and takes Max down with it):
      STILL NOT FOUND*** PATH: Server HD RAID Set 1:/Library/Application
      Support/Cycling '74/Apr 25 00:14:16 XServe servermgrd: servermgr_dns:
      no name available via DNS for 193.175.148.231
      Apr 25 00:14:16 XServe servermgrd: servermgr_dns: no hostname set and
      unable to detect via DNS, services may not function properly - use
      changeip to repair
      MaxMSP qdport_enforce: location=max_eventtimerproc(2), port=48e8420,
      valid=0
      Apr 25 00:22:48 XServe /Applications/MaxMSP 4.5/MaxMSP 4.5.app: An
      unexpected Java error has been detected by HotSpot Virtual Machine:
      Apr 25 00:22:48 XServe /Applications/MaxMSP 4.5/MaxMSP 4.5.app: An
      error report file has been written to:
      Apr 25 00:22:48 XServe /Applications/MaxMSP 4.5/MaxMSP 4.5.app: /
      Users/himem/Library/Logs/Java/JavaNativeCrash_pid9721.crash. log
      Apr 25 00:22:48 XServe /Applications/MaxMSP 4.5/MaxMSP 4.5.app: If
      this error is reproducible, please report it with the following
      information:
      Apr 25 00:22:48 XServe /Applications/MaxMSP 4.5/MaxMSP 4.5.app: 1.
      Provide the steps to reproduce, a test case, and any relevant
      information
      Apr 25 00:22:48 XServe /Applications/MaxMSP 4.5/MaxMSP 4.5.app: 2.
      The corresponding JavaNativeCrash_pid.crash.log (Java state)
      Apr 25 00:22:48 XServe /Applications/MaxMSP 4.5/MaxMSP 4.5.app: 3.
      The corresponding .crash.log (native state; generated by
      CrashReporter)
      Apr 25 00:22:48 XServe /Applications/MaxMSP 4.5/MaxMSP 4.5.app: File
      report at: http://bugreport.apple.com/
      Apr 25 00:22:50 XServe crashdump[9800]: MaxMSP 4.5.app crashed
      Apr 25 00:22:52 XServe crashdump[9800]: crash report written to: /
      Users/himem/Library/Logs/CrashReporter/MaxMSP 4.5.app.crash.log
      and this is the JavaNativeCrash_pid9721.crash.log:
      # This JavaNativeCrash log describes the Java state at a Native Crash
      in a Java application.
      # The corresponding native state can be found in the crash log
      generated by CrashReporter.
      # If this error is reproducible, please report it with the following
      information:
      # 1. Provide the steps to reproduce, a test case, and any relevant
      information
      # 2. This JavaNativeCrash_pid.crash.log (Java state)
      # 3. The corresponding .crash.log (native state; generated by
      CrashReporter)
      # File report at: http://bugreport.apple.com/
      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : Bus Error occurred at PC=0x35207374
      Function=[Unknown.]
      Library=(N/A)
      NOTE: We are unable to locate the function name symbol for the error
      just occurred. Please refer to release documentation for possible
      reason and solutions.
      Current Java thread:
      Cannot find the last Java frame, printing stack disabled.
      Dynamic libraries and executable:
      [0x000019e0-0x000027f8] /System/Library/Frameworks/Carbon.framework/
      Versions/A/Support/LaunchCFMApp
      [0x908dbe74-0x908dbf44] /System/Library/Frameworks/
      CoreServices.framework/Versions/A/CoreServices
      [0x92ef4e68-0x92ef4f38] /System/Library/Frameworks/Carbon.framework/
      Versions/A/Carbon
      [0x8fa79d60-0x8fc8e920] /System/Library/Frameworks/
      QuickTime.framework/Versions/A/QuickTime
      [0x90000f60-0x9019638c] /usr/lib/libSystem.B.dylib
      [0x90213e80-0x902165d8] /usr/lib/system/libmathCommon.A.dylib
      [0x90b87040-0x90c66bd4] /System/Library/Frameworks/
      CoreServices.framework/Versions/A/Frameworks/CarbonCore.fram ework/
      Versions/A/CarbonCore
      [0x907b9eec-0x90869afc] /System/Library/Frameworks/
      CoreFoundation.framework/Versions/A/CoreFoundation
      [0x90ec4a18-0x90f23a2c] /System/Library/Frameworks/
      CoreServices.framework/Versions/A/Frameworks/OSServices.fram ework/
      Versions/A/OSServices
      [0x90f8de8c-0x90fc8710] /System/Library/Frameworks/
      CoreServices.framework/Versions/A/Frameworks/CFNetwork.frame work/
      Versions/A/CFNetwork
      [0x90fe4030-0x90ff7d5c] /System/Library/Frameworks/
      CoreServices.framework/Versions/A/Frameworks/
      WebServicesCore.framework/Versions/A/WebServicesCore
      [0x9100c11c-0x9106f0bc] /System/Library/Frameworks/
      CoreServices.framework/Versions/A/Frameworks/SearchKit.frame work/
      Versions/A/SearchKit
      [0x910d2ca0-0x910f2564] /System/Library/Frameworks/
      CoreServices.framework/Versions/A/Frameworks/Metadata.framew ork/
      Versions/A/Metadata
      [0x90ae7c90-0x90b45a48] /System/Library/Frameworks/IOKit.framework/
      Versions/A/IOKit
      [0x908de680-0x909ce508] /usr/lib/libicucore.A.dylib
      [0x9110c954-0x91116ad0] /usr/lib/libz.1.dylib
      [0x9111da70-0x91241948] /System/Library/Frameworks/Security.framework/
      Versions/A/Security
      [0x913d0dc8-0x913d8a48] /System/Library/Frameworks/
      DiskArbitration.framework/Versions/A/DiskArbitration
      [0x913e06a0-0x91402158] /System/Library/Frameworks/
      SystemConfiguration.framework/Versions/A/SystemConfiguration
      [0x9141b314-0x91425254] /usr/lib/libgcc_s.1.dylib
      [0x90b6d740-0x90b7c5b4] /usr/lib/libauto.dylib
      [0x90a39fa0-0x90a4cdf8] /usr/lib/libobjc.A.dylib
      [0x92ef7914-0x92f05664] /System/Library/Frameworks/Carbon.framework/
      Versions/A/Frameworks/ImageCapture.framework/Versions/A/Imag eCapture
      [0x92f22fa0-0x92f2ef44] /System/Library/Frameworks/Carbon.framework/
      Versions/A/Frameworks/SpeechRecognition.framework/Versions/A /
      SpeechRecognition
      [0x92f3f15c-0x92f4e20c] /System/Library/Frameworks/Carbon.framework/
      Versions/A/Frameworks/SecurityHI.framework/Versions/A/Securi tyHI
      [0x92f66364-0x92fd9470] /System/Library/Frameworks/Carbon.framework/
      Versions/A/Frameworks/Ink.framework/Versions/A/Ink
      [0x914eee4c-0x914eef1c] /System/Library/Frameworks/
      ApplicationServices.framework/Versions/A/ApplicationServices
      [0x93000fc0-0x930098e0] /System/Library/Frameworks/Carbon.framework/
      Versions/A/Frameworks/Help.framework/Versions/A/Help
      [0x93015b90-0x930364f4] /System/Library/Frameworks/Carbon.framework/
      Versions/A/Frameworks/OpenScripting.framework/Versions/A/Ope nScripting
      [0x9305d248-0x93067ccc] /System/Library/Frameworks/Carbon.framework/
      Versions/A/Frameworks/Print.framework/Versions/A/Print
      [0x9307891c-0x930cca94] /System/Library/Frameworks/Carbon.framework/
      Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTM LRendering
      [0x9310f10c-0x931510a4] /System/Library/Frameworks/Carbon.framework/
      Versions/A/Frameworks/NavigationServices.framework/Versions/ A/
      NavigationServices
      [0x9318c244-0x931a2fb8] /System/Library/Frameworks/Carbon.framework/
      Versions/A/Frameworks/CarbonSound.framework/Versions/A/Carbo nSound
      [0x931bb3d0-0x931c4de8] /System/Library/Frameworks/Carbon.framework/
      Versions/A/Frameworks/CommonPanels.framework/Versions/A/Comm onPanels
      [0x931d1cdc-0x93498b08] /System/Library/Frameworks/Carbon.framework/
      Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolb ox
      [0x9290d88c-0x92aa5554] /System/Library/Frameworks/
      Foundation.framework/Versions/C/Foundation
      [0x92844520-0x928a8610] /System/Library/PrivateFrameworks/
      DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
      [0x91436828-0x91492800] /System/Library/Frameworks/
      CoreAudio.framework/Versions/A/CoreAudio
      [0x914f1058-0x91521114] /System/Library/Frameworks/
      ApplicationServices.framework/Versions/A/Frameworks/AE.frame work/
      Versions/A/AE
      [0x9029344c-0x90330154] /System/Library/Frameworks/
      ApplicationServices.framework/Versions/A/Frameworks/ATS.fram ework/
      Versions/A/ATS
      [0x915446f4-0x915a33ac] /System/Library/Frameworks/
      ApplicationServices.framework/Versions/A/Frameworks/
      ColorSync.framework/Versions/A/ColorSync
      [0x903735ac-0x906d386c] /System/Library/Frameworks/
      ApplicationServices.framework/Versions/A/Frameworks/
      CoreGraphics.framework/Versions/A/CoreGraphics
      [0x9021b148-0x9025c598] /System/Library/Frameworks/
      ApplicationServices.framework/Versions/A/Frameworks/
      CoreText.framework/Versions/A/CoreText
      [0x916669d4-0x916d1894] /System/Library/Frameworks/
      ApplicationServices.framework/Versions/A/Frameworks/
      PrintCore.framework/Versions/A/PrintCore
      [0x9173e484-0x917d6c38] /System/Library/Frameworks/
      ApplicationServices.framework/Versions/A/Frameworks/QD.frame work/
      Versions/A/QD
      [0x91832610-0x91881a44] /System/Library/Frameworks/
      ApplicationServices.framework/Versions/A/Frameworks/
      HIServices.framework/Versions/A/HIServices
      [0x918bf748-0x918da228] /System/Library/Frameworks/
      ApplicationServices.framework/Versions/A/Frameworks/
      LangAnalysis.framework/Versions/A/LangAnalysis
      [0x918f46d8-0x91912690] /System/Library/Frameworks/
      ApplicationServices.framework/Versions/A/Frameworks/
      FindByContent.framework/Versions/A/FindByContent
      [0x9192c1a0-0x91964f7c] /System/Library/Frameworks/
      ApplicationServices.framework/Versions/A/Frameworks/
      LaunchServices.framework/Versions/A/LaunchServices
      [0x9198a080-0x919991cc] /System/Library/Frameworks/
      ApplicationServices.framework/Versions/A/Frameworks/
      SpeechSynthesis.framework/Versions/A/SpeechSynthesis
      [0x919ac9d0-0x919e04dc] /System/Library/Frameworks/
      ApplicationServices.framework/Versions/A/Frameworks/ImageIO. framework/
      Versions/A/ImageIO
      [0x9142a858-0x9143227c] /usr/lib/libbsm.dylib
      [0x91a012cc-0x91aa5524] /usr/lib/libcrypto.0.9.7.dylib
      [0x91b16be8-0x91b28924] /usr/lib/libcups.2.dylib
      [0x91b314c8-0x91b4b2d4] /System/Library/Frameworks/
      ApplicationServices.framework/Versions/A/Frameworks/ImageIO. framework/
      Versions/A/Resources/libJPEG.dylib
      [0x91b536ac-0x91bac574] /System/Library/Frameworks/
      ApplicationServices.framework/Versions/A/Frameworks/ImageIO. framework/
      Versions/A/Resources/libJP2.dylib
      [0x91bd875c-0x91bdcaa4] /System/Library/Frameworks/
      ApplicationServices.framework/Versions/A/Frameworks/ImageIO. framework/
      Versions/A/Resources/libGIF.dylib
      [0x91bde79c-0x91c23840] /System/Library/Frameworks/
      ApplicationServices.framework/Versions/A/Frameworks/ImageIO. framework/
      Versions/A/Resources/libRaw.dylib
      [0x91c2b15c-0x91c4a89c] /System/Library/Frameworks/
      ApplicationServices.framework/Versions/A/Frameworks/ImageIO. framework/
      Versions/A/Resources/libTIFF.dylib
      [0x91c6e5f4-0x91c84f98] /System/Library/Frameworks/
      ApplicationServices.framework/Versions/A/Frameworks/ImageIO. framework/
      Versions/A/Resources/libPng.dylib
      [0x91c8d384-0x91c8fb44] /System/Library/Frameworks/
      ApplicationServices.framework/Versions/A/Frameworks/ImageIO. framework/
      Versions/A/Resources/libRadiance.dylib
      [0x91c91ee0-0x91c91fb0] /System/Library/Frameworks/
      Accelerate.framework/Versions/A/Accelerate
      [0x91c94390-0x91d6fe08] /System/Library/Frameworks/
      Accelerate.framework/Versions/A/Frameworks/vImage.framework/ Versions/
      A/vImage
      [0x91d7c4c4-0x91d7c598] /System/Library/Frameworks/
      Accelerate.framework/Versions/A/Frameworks/vecLib.framework/ Versions/
      A/vecLib
      [0x91e06e40-0x91e6e0a4] /System/Library/Frameworks/
      Accelerate.framework/Versions/A/Frameworks/vecLib.framework/ Versions/
      A/libvMisc.dylib
      [0x91e7f740-0x91efca08] /System/Library/Frameworks/
      Accelerate.framework/Versions/A/Frameworks/vecLib.framework/ Versions/
      A/libvDSP.dylib
      [0x91f2e3a0-0x924af7b8] /System/Library/Frameworks/
      Accelerate.framework/Versions/A/Frameworks/vecLib.framework/ Versions/
      A/libBLAS.dylib
      [0x924e8760-0x9280d8a8] /System/Library/Frameworks/
      Accelerate.framework/Versions/A/Frameworks/vecLib.framework/ Versions/
      A/libLAPACK.dylib
      [0x92c55610-0x92d12a58] /usr/lib/libxml2.2.dylib
      [0x92d53680-0x92d67aa0] /usr/lib/libiconv.2.dylib
      [0x9411c568-0x941abfb4] /System/Library/Frameworks/
      AudioToolbox.framework/Versions/A/AudioToolbox
      [0x942305dc-0x94230f90] /System/Library/Frameworks/
      AudioUnit.framework/Versions/A/AudioUnit
      [0x946fc0e0-0x94750a08] /usr/lib/libstdc++.6.dylib
      [0x98eac54c-0x98eacb90] /System/Library/Frameworks/
      DVComponentGlue.framework/Versions/A/DVComponentGlue
      [0x9738b8d8-0x9739017c] /System/Library/Frameworks/AGL.framework/
      Versions/A/AGL
      [0x9362cf2c-0x93636dc0] /System/Library/Frameworks/OpenGL.framework/
      Versions/A/OpenGL
      [0x92e539e4-0x92e71f4c] /System/Library/Frameworks/OpenGL.framework/
      Versions/A/Libraries/libGL.dylib
      [0x92e7cdb8-0x92ecbed4] /System/Library/Frameworks/OpenGL.framework/
      Versions/A/Libraries/libGLU.dylib
      [0x8ed741e0-0x8f6246c4] /System/Library/QuickTime/
      QuickTimeComponents.component/Contents/MacOS/QuickTimeCompon ents
      [0x96b674f8-0x96b675cc] /System/Library/Frameworks/vecLib.framework/
      Versions/A/vecLib
      [0x94233dd0-0x94370060] /System/Library/Frameworks/
      QuartzCore.framework/Versions/A/QuartzCore
      [0x9447ec68-0x944a29dc] /System/Library/Frameworks/OpenGL.framework/
      Versions/A/Libraries/libGLImage.dylib
      [0x01370548-0x0137ff50] /Library/Application Support/PACE Anti-Piracy/
      iLokSupport.bundle/Contents/MacOS/iLokSupport
      [0x01390fec-0x0139ce24] /System/Library/Extensions/IOUSBFamily.kext/
      Contents/PlugIns/IOUSBLib.bundle/Contents/MacOS/IOUSBLib
      [0x010673d4-0x01083a98] /Library/Frameworks/MaxAPI.framework/MaxAPI
      [0x946dc144-0x946f1f34] /System/Library/Frameworks/
      ApplicationServices.framework/Versions/A/Frameworks/
      CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
      [0x94689558-0x94694724] /System/Library/Frameworks/
      ApplicationServices.framework/Versions/A/Frameworks/
      CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
      [0x9671f890-0x96752088] /System/Library/Frameworks/CoreMIDI.framework/
      CoreMIDI
      [0x94671b4c-0x9467e29c] /System/Library/Frameworks/
      ApplicationServices.framework/Versions/A/Frameworks/
      CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
      [0x040d0988-0x040d1f40] /Library/Frameworks/MaxAudioAPI.framework/
      MaxAudioAPI
      [0x04452890-0x046193f8] /Library/Application Support/Cycling '74/
      jitter-externals/Cg.framework/Cg
      [0x8ec79460-0x8ec7bb4c] /System/Library/QuickTime/
      QuickTimeH264.component/Contents/MacOS/QuickTimeH264
      [0x8eba0e90-0x8ec54438] /System/Library/QuickTime/
      QuickTimeH264.component/Contents/Resources/QuickTimeH264.alt ivec
      [0x98eba2e4-0x98ef97ec] /System/Library/Components/
      VCH263Codec.component/VCH263Codec
      [0x8e995cc0-0x8ea107c4] /System/Library/QuickTime/
      QuickTimeMPEG4.component/Contents/MacOS/QuickTimeMPEG4
      [0x04905b70-0x0497de9c] /System/Library/QuickTime/
      ApplePixletVideo.component/Contents/MacOS/ApplePixletVideo
      [0x9366adec-0x9366d558] /System/Library/Frameworks/JavaVM.framework/
      JavaVM
      [0x95bcd990-0x95ddfa88] /System/Library/Frameworks/JavaVM.framework/
      Versions/1.4/Libraries/libjvm.dylib
      [0x98225b1c-0x9822e1e0] /System/Library/Frameworks/JavaVM.framework/
      Versions/1.4.2/Libraries/libverify.dylib
      [0x982014f0-0x98217778] /System/Library/Frameworks/JavaVM.framework/
      Versions/1.4.2/Libraries/libjava.jnilib
      [0x993d6728-0x993e0298] /System/Library/Frameworks/JavaVM.framework/
      Versions/1.4.2/Libraries/libzip.jnilib
      [0x936b36b0-0x93bf1e94] /System/Library/Frameworks/AppKit.framework/
      AppKit
      [0x94073760-0x940cf5f0] /System/Library/Frameworks/CoreData.framework/
      Versions/A/CoreData
      [0x94439888-0x94470c80] /usr/lib/libsqlite3.0.dylib
      [0x995a6f3c-0x99679ec4] /System/Library/Frameworks/JavaVM.framework/
      Versions/1.4.2/Libraries/libawt.jnilib
      [0x936b0e74-0x936b0f44] /System/Library/Frameworks/Cocoa.framework/
      Versions/A/Cocoa
      [0x992eac2c-0x992ed1a8] /System/Library/Frameworks/JavaVM.framework/
      Versions/1.4.2/Libraries/libfontmanager.jnilib
      [0x09d758d4-0x09d87b58] /System/Library/QuickTime/
      QuickTimeFirewireDV.component/Contents/MacOS/QuickTimeFireWi reDV
      [0x98e10d30-0x98e2ca60] /System/Library/PrivateFrameworks/
      OpenTransport.framework/OpenTransport
      [0x94b40024-0x94b59458] /usr/lib/libresolv.9.dylib
      [0x09f5ef44-0x09f5efa0] /System/Library/Components/
      AppleScript.component/Contents/MacOS/AppleScript
      [0x9854f40c-0x985dd2ec] /System/Library/PrivateFrameworks/
      AppleScript.framework/Versions/A/AppleScript
      [0x09f69db0-0x09f69f1c] /System/Library/ScriptingAdditions/Digital
      Hub Scripting.osax/Contents/MacOS/Digital Hub Scripting
      [0x09fe178c-0x0a01013c] /System/Library/ScriptingAdditions/
      StandardAdditions.osax/Contents/MacOS/StandardAdditions
      [0x95bc4de0-0x95bc9434] /System/Library/PrivateFrameworks/
      URLMount.framework/Versions/A/URLMount
      [0x976779f4-0x976a2470] /System/Library/Frameworks/
      AppleShareClientCore.framework/Versions/A/AppleShareClientCo re
      [0x9765772c-0x97664c80] /System/Library/Frameworks/
      AppleShareClient.framework/Versions/A/AppleShareClient
      [0x92e45044-0x92e4d59c] /System/Library/Frameworks/
      AppleTalk.framework/Versions/A/AppleTalk
      [0x95061e50-0x95163654] /System/Library/Frameworks/Kerberos.framework/
      Versions/A/Kerberos
      [0x0169e174-0x0169f9b4] /System/Library/TextEncodings/Unicode
      Encodings.bundle/Contents/MacOS/Unicode Encodings
      [0x98f05214-0x98f4d2a0] /System/Library/PrivateFrameworks/
      URLAccess.framework/Versions/A/URLAccess
      [0x0a4153c4-0x0a51bd78] /System/Library/Frameworks/OpenGL.framework/
      Resources/GLEngine.bundle/GLEngine
      [0x9729cc5c-0x9733ef18] /System/Library/Frameworks/OpenGL.framework/
      Versions/A/Libraries/libGLProgrammability.dylib
      [0x0a55281c-0x0a69a514] /System/Library/Extensions/
      ATIRadeonGLDriver.bundle/Contents/MacOS/ATIRadeonGLDriver
      [0x09f7b240-0x09f93ca4] /System/Library/Frameworks/OpenGL.framework/
      Versions/A/Resources/GLDriver.bundle/GLDriver
      [0x97388788-0x97389938] /System/Library/Frameworks/OpenGL.framework/
      Versions/A/Libraries/libGLSystem.dylib
      [0x0a0db4c4-0x0a0f56b0] /System/Library/Frameworks/OpenGL.framework/
      Versions/A/Resources/GLRendererFloat.bundle/GLRendererFloat
      [0x0a6a5abc-0x0a734ea4] /System/Library/Frameworks/OpenGL.framework/
      Resources/GLRasterARGB8888D32.bundle/GLRasterARGB8888D32
      [0x9938ce24-0x99394c2c] /System/Library/Frameworks/JavaVM.framework/
      Versions/1.4.2/Libraries/libnet.jnilib
      Local Time = Tue Apr 25 00:22:48 2006
      Elapsed Time = 967458
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.2-54 mixed mode)
      #
      I hope it all makes sense to you.
      Georg
    • Apr 24 2006 | 11:25 pm
      One other question.
      I just upgraded the server to Java 1.5.0 version 4. What are the Max
      config files I need to change?
      BTW, the crash reporter now reports the following lines:
      Thread 4 Crashed:
      0 libjvm.dylib 0x9a757c74 JVM_GetLastErrorString
      + 8420
      1 libjvm.dylib 0x9a63e998 JNI_CreateJavaVM_Impl
      + 44252
      2 libjvm.dylib 0x9a63e88c JNI_CreateJavaVM_Impl
      + 43984
      3 libSystem.B.dylib 0x9002ba68 _pthread_body + 96
      I'm going to check whether Java on Windows XP is better behaved.
      Georg
    • Apr 25 2006 | 3:02 am
      This looks to me like you need to set your hostname and set you FQDN
      (Fully Qualified Domain Name) properly.
      OS X Server does not like DNS to be setup incorrectly. Ive seen many
      many installs where DNS was borked and causing all sorts of issues.
      Im judging from this console entry:
      STILL NOT FOUND*** PATH: Server HD RAID Set 1:/Library/Application
      Support/Cycling '74/Apr 25 00:14:16 XServe servermgrd: servermgr_dns:
      no name available via DNS for 193.175.148.231
      Apr 25 00:14:16 XServe servermgrd: servermgr_dns: no hostname set and
      unable to detect via DNS, services may not function properly - use
      changeip to repair
      MaxMSP qdport_enforce: location=max_eventtimerproc(2), port=48e8420,
      valid=0
      If you are using net.tcp, this might have some relation as well to
      java having issues. Are you using DNS hostnames or ip addresses to
      connect to other machines, can you ping all of your name servers?
      Also, you are using NAT you say. Does your NAT router allow for a DMZ
      machine? What kind of router out of curiosity. Some routers lose
      track of the 'state' of TCP connections that are active for a long
      time. If you can experiment by connecting without the NAT, you could
      at least eliminate that possibility. NAT traversal can be tricky, as
      NAT doesnt work.. quite the same way on every router, although it
      should in theory. BTW, these are all just shots in the dark ;)
      v a d e //
      www.vade.info
      abstrakt.vade.info
    • Apr 25 2006 | 7:03 am
      Hi Vide,
      Thank you for your input.