Menu

invalid pointer crash on disconnect()

Help
Anonymous
2010-07-13
2013-04-24
  • Anonymous

    Anonymous - 2010-07-13

    Greetings,

    I seem to be having intermittent crashes with vixJava related to memory management / JNA / libc. This seems to happen when VixVsphereHostHandle.disconnect() is called.

    Sometimes I see this:

    #
    # A fatal error has been detected by the Java Runtime Environment:
    #
    #  SIGSEGV (0xb) at pc=0x00007fdf9f51f4a3, pid=4303, tid=140598373299984
    #
    # JRE version: 6.0-b16
    # Java VM: OpenJDK 64-Bit Server VM (14.0-b16 mixed mode linux-amd64 )
    # Distribution: Custom build (Thu Sep 10 17:06:47 EDT 2009)
    # Problematic frame:
    # C 
    #
    # An error report file with more information is saved as:

    And sometimes I see this:

    *** glibc detected *** java: free(): invalid pointer: 0x00007f4cf0260260 ***
    ======= Backtrace: =========
    /lib64/libc.so.6(+0x74576)
    /tmp/jna726006502634518972.tmp(Java_com_sun_jna_Memory_free+0x20)

    ======= Memory map: ========
    00400000-00408000 r-xp 00000000 fd:00 30552                              /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java
    00608000-00609000 rw-p 00008000 fd:00 30552                              /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java
    0149d000-014be000 rw-p 00000000 00:00 0                                 
    7f4ccbdd9000-7f4ccbdff000 r-xp 00000000 fd:00 8682                       /usr/lib64/libnsspem.so
    7f4ccbdff000-7f4ccbfff000 --p 00026000 fd:00 8682                       /usr/lib64/libnsspem.so

    I'm using Vix 1.8 on a 64-bit Fedora 12 box with vSphere/vCenter.

    Any ideas would be appreciated.

    - Chris

     
  • Anonymous

    Anonymous - 2010-07-13

    Also got this variation:

    *** glibc detected *** java: double free or corruption (out): 0x00007f9d6c0117b0 ***
    ======= Backtrace: =========
    /lib64/libc.so.6(+0x74576)
    /tmp/jna4233983086385250854.tmp(Java_com_sun_jna_Memory_free+0x20)

    ======= Memory map: ========
    00400000-00408000 r-xp 00000000 fd:00 30552                              /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java
    00608000-00609000 rw-p 00008000 fd:00 30552                              /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java
    01db1000-01dd2000 rw-p 00000000 00:00 0                                 
    7f9d6c000000-7f9d6c249000 rw-p 00000000 00:00 0
    7f9d6c249000-7f9d70000000 --p 00000000 00:00 0
    7f9d70bac000-7f9d70bd2000 r-xp 00000000 fd:00 8682                       /usr/lib64/libnsspem.so
    7f9d70bd2000-7f9d70dd2000 --p 00026000 fd:00 8682                       /usr/lib64/libnsspem.so

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.