VM aborts with signal 11

V

vissuyk

Hi,

I get the foll error and system hangs after this. I am using Sun 1.4.2
hotspot.
I get a thread dump but not very useful. The error (as per VM dump)
seems to be happening in libc.so. We are using Linux box. Has anyone
experienced this and if so what should we try to resolve the problem?

Thanks very much
Vissu

Unexpected Signal : 11 occurred at PC=<some address>
Function name=(N/A)
Library=(N/A)
 
M

Missaka Wijekoon

Did the VM generate a code dump? If so, see if you can get a stack trace
with gdb. It might be an issue with the Linux kernel, libc and/or
threads implementation in Linux.

What version of Linux do you use?

-Misk
 
G

Gordon Beaton

I get the foll error and system hangs after this. I am using Sun
1.4.2 hotspot. I get a thread dump but not very useful. The error
(as per VM dump) seems to be happening in libc.so. We are using
Linux box. Has anyone experienced this and if so what should we try
to resolve the problem?

Signal 11 is a segmentation fault, and it is caused by the process
attempting to access memory it does not have access to.

If this happens in an application with no native code, you have a
problem with your JVM installation (perhaps a library mismatch, or you
are missing some required OS patches) or there is a serious error in
the JVM itself.

If this happens in an application with native code, the problem is
most likely due to an error in the native code.

/gordon
 
V

vissuyk

Thanks for your suggestions. Very helpful. We have no native code. I
will look in core dump for clues. Two more questions.

1. How can I tell which libc the VM is compiled with ? so i can make
sure we have a similar one.
2. Where are OS pacthes listed ? (needed by VM)
3. We have one of the older linux OS (2.4.9)

It seem to complain in libc.so. I am assuming this is related to some
c runtime.

Any further thoughts would be appreciated

Thanks

Vissu
 
G

Gordon Beaton

Thanks for your suggestions. Very helpful. We have no native code. I
will look in core dump for clues. Two more questions.

1. How can I tell which libc the VM is compiled with ? so i can make
sure we have a similar one.

Use ldd to see the runtime linkage.
2. Where are OS pacthes listed ? (needed by VM)

Sorry, I was thinking of Solaris, not Linux. But read the release
notes that came with the JVM to see what OS requirements there are.
3. We have one of the older linux OS (2.4.9)

It seem to complain in libc.so. I am assuming this is related to some
c runtime.

That really doesn't mean anything. Pointer errors often appear to come
from libc ("I've discovered a bug in malloc!") when that isn't the
case.

/gordon
 
J

Jhair Tocancipa Triana

vissuyk said:
Unexpected Signal : 11 occurred at PC=<some address>
Function name=(N/A)
Library=(N/A)

Can you reproduce the error? If yes, does disabling JIT-compilation
(-Xint flag) fix it?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,534
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top