Page 3 of 3 FirstFirst 123
Results 41 to 46 of 46
  1. #41
    javaOrC is offline Member
    Join Date
    Jan 2011
    Location
    NewYork
    Posts
    13
    Rep Power
    0

    Default

    I am not using JNI. I don't know why libc is involved.
    I am using 3rd party tool called JCS.(cache). Probably that's using libc.
    I can try an alternative for that.

  2. #42
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,097
    Rep Power
    20

    Default

    That SIGSEGV (Oxb) is almost always a result of some JNI code.

  3. #43
    javaOrC is offline Member
    Join Date
    Jan 2011
    Location
    NewYork
    Posts
    13
    Rep Power
    0

    Default

    I have some 3rd party apps(jar files) and since my code doesn't use JNI explicitly, one of the 3rd party tools should be using.

    Is there any tool which tells me who is using libc in my application?
    Something like what ldd does for a binary.

  4. #44
    toadaly is offline Senior Member
    Join Date
    Jan 2009
    Posts
    671
    Rep Power
    6

    Default

    You could locate the shared objects used by your 3rd party product and examine the symbols in it. But that doesn't really tell you much, because even if your 3rd party native code doesn't depend directly on libc, it can still cause a stacktrace with libc in it, since the JVM uses libc.

  5. #45
    toadaly is offline Senior Member
    Join Date
    Jan 2009
    Posts
    671
    Rep Power
    6

    Default

    It just occured to me that I've seen this type of problem also when you have multiple versions of java installed and the library path is set up wrong such that you're using a JVM from one version and load libraries from another java version. You might want to check for that possibility.

  6. #46
    javaOrC is offline Member
    Join Date
    Jan 2011
    Location
    NewYork
    Posts
    13
    Rep Power
    0

    Default

    Thanks,
    I confirmed from both: hs_err_pid.log file generated upon crash and jconsole summary details that the libraries used are from jdk1.6.0-24 only.

Page 3 of 3 FirstFirst 123

Similar Threads

  1. In defense of the Garbage Collector
    By Katanagas in forum Advanced Java
    Replies: 2
    Last Post: 10-25-2010, 06:40 PM
  2. Garbage Collector Doubt
    By CristOm in forum New To Java
    Replies: 9
    Last Post: 05-04-2010, 11:26 AM
  3. Q about Garbage Collector
    By m00nchile in forum New To Java
    Replies: 4
    Last Post: 02-05-2010, 05:57 AM
  4. Garbage Collector and finalize()
    By arefeh in forum New To Java
    Replies: 5
    Last Post: 01-09-2010, 09:04 PM
  5. Garbage collector and its impacts
    By RadhaJayalakshmi in forum Advanced Java
    Replies: 1
    Last Post: 07-23-2008, 11:56 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •