SIGSEGV 11* segmentation violation

M

manoj

Hi all,
I am new to Linux/AIX...I have experience with Java programming on
Windows..I m trying to integrate a legary third party application in
my JAVA servlets/JSP based application.

This problem is testing my wits...and it is really bugging me a
lot...any help is greatly appreciated..

I have Apache/Jserv combination on my Linux ( RedHat 7.3 ) machine. I
have jdk1.2.2. My servlet uses some of the .so files (
libsmime3.so,libnpsign.so,libnpsign.so, libnpsign.so etc..)., this
servlet basically signs ( digital signature ) a file using a
certificate from Netscape browser certificate store. strangely When i
make a call to servlet first time it runs successfully, when i call it
second time it crashes my JVM..and throws a VM dump in error log file,
which looks like this:

SIGSEGV 11* segmentation violation
si_signo [11]: SIGSEGV 11* segmentation violation
si_errno [0]: Success
si_code [128]: unknown siginfo
stackpointer=0x403e85f0

Full thread dump Classic VM (1.2.2_006, green threads):
"Thread-1" (TID:0x42dded68, sys_thread_t:0x834dae8, state:CW)
prio=5
at java.lang.Thread.sleep(Native Method)
at org.apache.jserv.JServServletManager.run(JServServletManager.java:998)
at java.lang.Thread.run(Thread.java:475)
"Thread-0" (TID:0x42de7858, sys_thread_t:0x82b54a0, state:CW)
prio=1
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at org.apache.java.util.SimpleQueue.waitObject(SimpleQueue.java:117)
at org.apache.java.io.LogWriter$Agent.run(LogWriter.java:431)
"Finalizer" (TID:0x42dce320, sys_thread_t:0x8107548, state:CW)
prio=8
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:108)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:123)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:170)
"Reference Handler" (TID:0x42dce3b0, sys_thread_t:0x8102bb8,
state:CW) prio=10
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110)
"Signal dispatcher" (TID:0x42dce3e0, sys_thread_t:0x81010f0,
state:CW) prio=5
"main" (TID:0x42dce1e0, sys_thread_t:0x804bc18, state:CW) prio=5
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:402)
at java.net.ServerSocket.implAccept(ServerSocket.java:236)
at java.net.ServerSocket.accept(ServerSocket.java:220)
at org.apache.java.net.AuthenticatedServerSocket.accept(AuthenticatedServerSocket.java:160)
at org.apache.jserv.JServ.main(JServ.java:174)
Monitor Cache Dump:
java.lang.ref.ReferenceQueue$Lock@42DCE338/42E03D78: <unowned>
Waiting to be notified:
"Finalizer" (0x8107548)
java.net.PlainSocketImpl@42DE85F0/42E5A068: owner "main"
(0x804bc18) 1 entry
java.lang.ref.Reference$Lock@42DCE3C0/42E038A8: <unowned>
Waiting to be notified:
"Reference Handler" (0x8102bb8)
org.apache.java.util.SimpleQueue@42DDF7B8/42E3E6A0: <unowned>
Waiting to be notified:
"Thread-0" (0x82b54a0)
Registered Monitor Dump:
utf8 hash table: <unowned>
JNI pinning lock: <unowned>
JNI global reference lock: <unowned>
BinClass lock: <unowned>
Class linking lock: <unowned>
System class loader lock: <unowned>
Code rewrite lock: <unowned>
Heap lock: <unowned>
Monitor cache lock: owner "Thread-13" (0x83af918) 1 entry
Dynamic loading lock: <unowned>
Monitor IO lock: <unowned>
User signal monitor: <unowned>
Waiting to be notified:
"Signal dispatcher" (0x81010f0)
Child death monitor: <unowned>
I/O monitor: <unowned>
Alarm monitor: <unowned>
Waiting to be notified:
<unknown thread> (0x8056078)
Thread queue lock: owner "Thread-13" (0x83af918) 1 entry
Monitor registry: owner "Thread-13" (0x83af918) 1 entry


could any one throw some light on what's going wrong? does it have
something to do with green threads and Native code used by .so files
on Linux..
plz feel free to ask for any more onfo...

Thanks in adv
manoj
 

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

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,120
Latest member
ShelaWalli
Top