fatal runtime error

Asked by ghada

i am facing this runtime error, i am trying to let a web app run on jetty server. the app needs a certain .so file to be present at usr/lib.

my java version is:
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.9) (6b20-1.9.9-0ubuntu1~10.04.2)
OpenJDK Server VM (build 19.0-b09, mixed mode)

the error looks as following:

# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x012fd360, pid=8734, tid=2325183344
#
# JRE version: 6.0_20-b20
# Java VM: OpenJDK Server VM (19.0-b09 mixed mode linux-x86 )
# Derivative: IcedTea6 1.9.9
# Distribution: Ubuntu 10.04.1 LTS, package 6b20-1.9.9-0ubuntu1~10.04.2
# Problematic frame:
# V [libjvm.so+0x39b360]
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
#

--------------- T H R E A D ---------------

Current thread (0x09dcd400): JavaThread "15079989@qtp-6603598-7" [_thread_in_vm, id=8754, stack(0x8a927000,0x8a978000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0xfffffffe

Registers:
EAX=0xfffffffe, EBX=0x0166cff4, ECX=0x8a97668c, EDX=0x09dcddec
ESP=0x8a976654, EBP=0x8a9766b8, ESI=0x09dcd400, EDI=0x09d6cd90
EIP=0x012fd360, CR2=0xfffffffe, EFLAGS=0x00010202

Register to memory mapping:

EAX=0xfffffffe
0xfffffffe is pointing to unknown location

EBX=0x0166cff4
0x0166cff4: <offset 0x70aff4> in /usr/lib/jvm/java-6-openjdk/jre/lib/i386/server/libjvm.so at 0x00f62000

ECX=0x8a97668c
0x8a97668c is pointing into the stack for thread: 0x09dcd400
"15079989@qtp-6603598-7" prio=10 tid=0x09dcd400 nid=0x2232 runnable [0x8a976000]
   java.lang.Thread.State: RUNNABLE

EDX=0x09dcddec
0x09dcddec is pointing to unknown location

ESP=0x8a976654
0x8a976654 is pointing into the stack for thread: 0x09dcd400
"15079989@qtp-6603598-7" prio=10 tid=0x09dcd400 nid=0x2232 runnable [0x8a976000]
   java.lang.Thread.State: RUNNABLE

EBP=0x8a9766b8
0x8a9766b8 is pointing into the stack for thread: 0x09dcd400
"15079989@qtp-6603598-7" prio=10 tid=0x09dcd400 nid=0x2232 runnable [0x8a976000]
   java.lang.Thread.State: RUNNABLE

ESI=0x09dcd400
"15079989@qtp-6603598-7" prio=10 tid=0x09dcd400 nid=0x2232 runnable [0x8a976000]
   java.lang.Thread.State: RUNNABLE

EDI=0x09d6cd90
0x09d6cd90 is pointing to unknown location

Top of Stack: (sp=0x8a976654)
0x8a976654: 09dcd400 00000ffc 00000ffc 0165ef48
0x8a976664: 09dcda00 09dcda00 09dcddec 0000004f
0x8a976674: 8a97668c 09dcd9f8 8b2eaf90 00000005
0x8a976684: 8a9766c0 00f52626 09dcd400 00000000
0x8a976694: 00000001 00000005 09dcd400 00000005
0x8a9766a4: 004fc344 0000202c 004fdff4 8d26d968
0x8a9766b4: 09dcd400 8a9766d8 004fcb3d 09dcd518
0x8a9766c4: fffffffe 8a9766ff 004fcb16 09dcd518

Instructions: (pc=0x012fd360)
0x012fd350: c0 8b 47 08 89 45 b0 8b 45 0c 8b 57 0c 89 55 b4
0x012fd360: 8b 10 52 e8 88 fa fe ff 89 04 24 89 45 ac e8 31

Stack: [0x8a927000,0x8a978000], sp=0x8a976654, free space=317k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x39b360]
C [libJWSAM.so+0xb3d] _ZN7JNIEnv_17GetStringUTFCharsEP8_jstringPh+0x27
C [libJWSAM.so+0x943] Java_jwsam_JWSAM_JInitialize_1WSAM+0x47
j jwsam.JWSAM.JInitialize_WSAM(Ljava/lang/String;)Z+0
j com.tayait.taps.Processor.initializeMorphologyAnalyzer(Ljava/lang/String;)Z+1
j SummarizeServlet.doSummarize(Ljava/lang/String;)Ljava/lang/String;+68
j SummarizeServlet.doGet(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+36
j javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+35
j javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+30
j org.mortbay.jetty.servlet.ServletHolder.handle(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+176
j org.mortbay.jetty.servlet.ServletHandler.handle(Ljava/lang/String;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;I)V+477
j org.mortbay.jetty.security.SecurityHandler.handle(Ljava/lang/String;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;I)V+299
j org.mortbay.jetty.servlet.SessionHandler.handle(Ljava/lang/String;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;I)V+225
j org.mortbay.jetty.handler.ContextHandler.handle(Ljava/lang/String;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;I)V+709
j org.mortbay.jetty.webapp.WebAppContext.handle(Ljava/lang/String;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;I)V+25
j org.mortbay.jetty.handler.ContextHandlerCollection.handle(Ljava/lang/String;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;I)V+373
j org.mortbay.jetty.handler.HandlerCollection.handle(Ljava/lang/String;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;I)V+42
j org.mortbay.jetty.handler.HandlerWrapper.handle(Ljava/lang/String;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;I)V+23
j org.mortbay.jetty.Server.handle(Lorg/mortbay/jetty/HttpConnection;)V+110
j org.mortbay.jetty.HttpConnection.handleRequest()V+134
j org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete()V+438
j org.mortbay.jetty.HttpParser.parseNext()J+1773
j org.mortbay.jetty.HttpParser.parseAvailable()J+1
j org.mortbay.jetty.HttpConnection.handle()V+122
j org.mortbay.io.nio.SelectChannelEndPoint.run()V+4
j org.mortbay.thread.QueuedThreadPool$PoolThread.run()V+25
v ~StubRoutines::call_stub
V [libjvm.so+0x387d42]
V [libjvm.so+0x5192a9]
V [libjvm.so+0x386c7f]
V [libjvm.so+0x3877ca]
V [libjvm.so+0x387928]
V [libjvm.so+0x3d20f1]
V [libjvm.so+0x60f63c]
V [libjvm.so+0x60f702]
V [libjvm.so+0x51fcf1]
C [libpthread.so.0+0x596e]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j jwsam.JWSAM.JInitialize_WSAM(Ljava/lang/String;)Z+0
j com.tayait.taps.Processor.initializeMorphologyAnalyzer(Ljava/lang/String;)Z+1
j SummarizeServlet.doSummarize(Ljava/lang/String;)Ljava/lang/String;+68
j SummarizeServlet.doGet(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+36
j javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+35
j javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+30
j org.mortbay.jetty.servlet.ServletHolder.handle(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+176
j org.mortbay.jetty.servlet.ServletHandler.handle(Ljava/lang/String;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;I)V+477
j org.mortbay.jetty.security.SecurityHandler.handle(Ljava/lang/String;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;I)V+299
j org.mortbay.jetty.servlet.SessionHandler.handle(Ljava/lang/String;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;I)V+225
j org.mortbay.jetty.handler.ContextHandler.handle(Ljava/lang/String;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;I)V+709
j org.mortbay.jetty.webapp.WebAppContext.handle(Ljava/lang/String;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;I)V+25
j org.mortbay.jetty.handler.ContextHandlerCollection.handle(Ljava/lang/String;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;I)V+373
j org.mortbay.jetty.handler.HandlerCollection.handle(Ljava/lang/String;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;I)V+42
j org.mortbay.jetty.handler.HandlerWrapper.handle(Ljava/lang/String;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;I)V+23
j org.mortbay.jetty.Server.handle(Lorg/mortbay/jetty/HttpConnection;)V+110
j org.mortbay.jetty.HttpConnection.handleRequest()V+134
j org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete()V+438
j org.mortbay.jetty.HttpParser.parseNext()J+1773
j org.mortbay.jetty.HttpParser.parseAvailable()J+1
j org.mortbay.jetty.HttpConnection.handle()V+122
j org.mortbay.io.nio.SelectChannelEndPoint.run()V+4
j org.mortbay.thread.QueuedThreadPool$PoolThread.run()V+25
v ~StubRoutines::call_stub

--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
  0x0979e000 JavaThread "DestroyJavaVM" [_thread_blocked, id=8735, stack(0xb775c000,0xb77ad000)]
  0x09e0f800 JavaThread "Timer-9" daemon [_thread_blocked, id=8766, stack(0x8a52b000,0x8a57c000)]
  0x09ebc800 JavaThread "Timer-8" daemon [_thread_blocked, id=8765, stack(0x8a57c000,0x8a5cd000)]
  0x09e74000 JavaThread "Timer-7" daemon [_thread_blocked, id=8764, stack(0x8a64e000,0x8a69f000)]
  0x09e9d800 JavaThread "Timer-6" daemon [_thread_blocked, id=8763, stack(0x8a5cd000,0x8a61e000)]
  0x09e3e800 JavaThread "ContinuationBayeux-0" daemon [_thread_blocked, id=8762, stack(0x8a69f000,0x8a6f0000)]
  0x09f84400 JavaThread "Timer-5" daemon [_thread_blocked, id=8761, stack(0x8a6f0000,0x8a741000)]
  0x8ac5fc00 JavaThread "Timer-4" daemon [_thread_blocked, id=8760, stack(0x8a741000,0x8a792000)]
  0x8b08ac00 JavaThread "Timer-3" daemon [_thread_blocked, id=8759, stack(0x8a792000,0x8a7e3000)]
  0x8b15cc00 JavaThread "Timer-2" daemon [_thread_blocked, id=8758, stack(0x8a7e3000,0x8a834000)]
  0x09ddd400 JavaThread "Timer-1" daemon [_thread_blocked, id=8757, stack(0x8a834000,0x8a885000)]
  0x09dd0400 JavaThread "31664352@qtp-6603598-9 - Acceptor0 SelectChannelConnector@0.0.0.0:8080" [_thread_in_native, id=8756, stack(0x8a885000,0x8a8d6000)]
  0x09dcec00 JavaThread "7566193@qtp-6603598-8 - Acceptor1 SelectChannelConnector@0.0.0.0:8080" [_thread_in_native, id=8755, stack(0x8a8d6000,0x8a927000)]
=>0x09dcd400 JavaThread "15079989@qtp-6603598-7" [_thread_in_vm, id=8754, stack(0x8a927000,0x8a978000)]
  0x09dcc400 JavaThread "12053597@qtp-6603598-6" [_thread_blocked, id=8753, stack(0x8a978000,0x8a9c9000)]
  0x09dbe400 JavaThread "3022623@qtp-6603598-5" [_thread_blocked, id=8752, stack(0x8a9c9000,0x8aa1a000)]
  0x09dbd000 JavaThread "26704795@qtp-6603598-4" [_thread_blocked, id=8751, stack(0x8aa1a000,0x8aa6b000)]
  0x09daf400 JavaThread "22939763@qtp-6603598-3" [_thread_blocked, id=8750, stack(0x8aa6b000,0x8aabc000)]
  0x09d72400 JavaThread "12213370@qtp-6603598-2" [_thread_blocked, id=8749, stack(0x8aabc000,0x8ab0d000)]
  0x09d6a400 JavaThread "13446707@qtp-6603598-1" [_thread_blocked, id=8748, stack(0x8ab0d000,0x8ab5e000)]
  0x09d6c000 JavaThread "32755292@qtp-6603598-0" [_thread_blocked, id=8747, stack(0x8ab5e000,0x8abaf000)]
  0x09d93000 JavaThread "Timer-0" daemon [_thread_blocked, id=8746, stack(0x8abaf000,0x8ac00000)]
  0x8c204800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=8744, stack(0x8bd6b000,0x8bdbc000)]
  0x8c202c00 JavaThread "CompilerThread1" daemon [_thread_blocked, id=8743, stack(0x8bdbc000,0x8be3d000)]
  0x8c200800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=8742, stack(0x8be3d000,0x8bebe000)]
  0x0983cc00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=8741, stack(0x8bebe000,0x8bf0f000)]
  0x09829400 JavaThread "Finalizer" daemon [_thread_blocked, id=8740, stack(0x8bf4e000,0x8bf9f000)]
  0x09827c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=8739, stack(0x8bf9f000,0x8bff0000)]

Other Threads:
  0x09823c00 VMThread [stack: 0x8bff0000,0x8c071000] [id=8738]
  0x8c206800 WatcherThread [stack: 0x8bcea000,0x8bd6b000] [id=8745]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 PSYoungGen total 68480K, used 59023K [0xa9bf0000, 0xb21b0000, 0xb4690000)
  eden space 65024K, 88% used [0xa9bf0000,0xad423350,0xadb70000)
  from space 3456K, 42% used [0xadb70000,0xadce0bf0,0xaded0000)
  to space 3456K, 0% used [0xb1e50000,0xb1e50000,0xb21b0000)
 PSOldGen total 21440K, used 5973K [0x94690000, 0x95b80000, 0xa9bf0000)
  object space 21440K, 27% used [0x94690000,0x94c65590,0x95b80000)
 PSPermGen total 16384K, used 12167K [0x8c690000, 0x8d690000, 0x94690000)
  object space 16384K, 74% used [0x8c690000,0x8d271f50,0x8d690000)
VM Arguments:
java_command: start.jar
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
USERNAME=root
LD_LIBRARY_PATH=/usr/lib/jvm/java-6-openjdk/jre/lib/i386/server:/usr/lib/jvm/java-6-openjdk/jre/lib/i386:/usr/lib/jvm/java-6-openjdk/jre/../lib/i386
SHELL=/bin/bash
DISPLAY=:1.0

Signal Handlers:
SIGSEGV: [libjvm.so+0x649f80], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGBUS: [libjvm.so+0x649f80], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGFPE: [libjvm.so+0x51c010], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGPIPE: [libjvm.so+0x51c010], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGXFSZ: [libjvm.so+0x51c010], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGILL: [libjvm.so+0x51c010], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: [libjvm.so+0x51b6c0], sa_mask[0]=0x00000000, sa_flags=0x10000004
SIGHUP: [libjvm.so+0x51e230], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGINT: [libjvm.so+0x51e230], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGTERM: [libjvm.so+0x51e230], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGQUIT: [libjvm.so+0x51e230], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
any suggestions what possible solutions can i try?
Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu openjdk-6 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

If you give the output of:

lsb_release -a; uname -a

I may be able to give a way to install oracle java if you desire....

Revision history for this message
ghada (gmohamed) said :
#2

why do you think i need the oracle java? i don't use it in my application!

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

You are using the open source java in the initial question, you may need the closed source java..

Revision history for this message
ghada (gmohamed) said :
#4

does closed source mean money to pay?

anyway here is the info:

lsb_release -a is:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.3 LTS
Release: 10.04
Codename: lucid

uname -a is:
Linux ubuntu 2.6.32-33-generic #72-Ubuntu SMP Fri Jul 29 21:08:37 UTC 2011 i686 GNU/Linux

many thanks for your help.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Its free as in money, just not free as in source...

Revision history for this message
ghada (gmohamed) said :
#6

okay .. can you help me get it to try if it will solve the problem i have?
Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

cd $HOME; wget http://dl.dropbox.com/u/8850924/install32bitJava; chmod +x ./install32bitJava; sudo ./install32bitJava

Should do it

Can you help with this problem?

Provide an answer of your own, or ask ghada for more information if necessary.

To post a message you must log in.