Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001021 [Resin] major always 03-28-06 13:22 03-30-06 11:53
Reporter ycheng_ds View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.0.18 Product Version 3.0.14
  Product Build
Summary 0001021: Libresin causes java hot spot errors on Solaris 8
Description More details are provided in the Additional Information Section.

The libresin.so was built after the mutext typo fix in modules/c/src/resin/resin.h
Steps To Reproduce
Additional Information #
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0xfc205f5c, pid=25836, tid=1257
#
# Java VM: Java HotSpot(TM) Server VM (1.4.2_09-b05 mixed mode)
# Problematic frame:
# C [libresin.so+0x5f5c] Java_com_caucho_vfs_JniStream_writeNative+0x144
#

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

Current thread (0x008188e8): JavaThread "resin-tcp-connection-*:8000-1353323" daemon [_thread_in_native, id=1257]

siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000008

Registers:
 O0=0x00000001 O1=0x6880edb0 O2=0x00000000 O3=0x00004000
 O4=0x6880ad3c O5=0x6880ef30 O6=0x6880acd0 O7=0xfc205f30
 G1=0x00004400 G2=0x00000000 G3=0x80000000 G4=0x008188e8
 G5=0x00445c08 G6=0x00180860 G7=0x6880fd98 Y=0x00000000
 PC=0xfc205f5c nPC=0xfc205f60


Top of Stack: (sp=0x6880acd0)
0x6880acd0: 00000000 00004000 6880ad3c 00000000
0x6880ace0: 00004000 00004000 00000000 008188e8
0x6880acf0: 00818980 6880edb4 00000000 01057510
0x6880ad00: 6880edb0 00000000 6880ed50 f999b510
0x6880ad10: 00000000 00818980 6880edb0 00000000
0x6880ad20: 00004000 6880ad3c 00000000 203c7773
0x6880ad30: 00000000 00000000 00004000 48545450
0x6880ad40: 2f312e31 20323030 204f4b0d 0a536572

Instructions: (pc=0xfc205f5c)
0xfc205f4c: e2 07 80 10 c0 2c 80 11 e0 07 bf ec e0 04 20 10
0xfc205f5c: e6 04 20 08 e2 07 bf ec 21 00 00 10 a0 1c 3f ec

Stack: [0x68710000,0x6880fd98), sp=0x6880acd0, free space=1003k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libresin.so+0x5f5c] Java_com_caucho_vfs_JniStream_writeNative+0x144
J com.caucho.vfs.JniStream.writeNative(J[BII)I
J com.caucho.vfs.JniStream.write([BIIZ)V
v ~I2CAdapter
j com.caucho.vfs.WriteStream.nextBuffer(I)[B+16
v ~C2IAdapter
J com.caucho.server.connection.ResponseStream.writeNext([BIIZ)V
J com.caucho.server.connection.ToByteResponseStream.flushByteBuffer()V
J com.caucho.server.connection.ToByteResponseStream.write([BII)V
J org.apache.axis.utils.ByteArray.writeTo(Ljava/io/OutputStream;)V
v ~I2CAdapter
j org.apache.axis.SOAPPart.writeTo(Ljava/io/OutputStream;)V+39
j org.apache.axis.Message.writeTo(Ljava/io/OutputStream;)V+50
j org.apache.axis.transport.http.AxisServlet.sendResponse(Ljava/lang/String;Ljavax/servlet/http/HttpServletResponse;Lorg/apache/axis/Message;)V+79
v ~C2IAdapter
J org.apache.axis.transport.http.AxisServlet.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
v ~I2CAdapter
j javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+267
j org.apache.axis.transport.http.AxisServletBase.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+6
j javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+15
v ~C2IAdapter
J com.caucho.server.dispatch.ServletFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
J com.caucho.server.webapp.WebAppFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
J com.caucho.server.http.HttpRequest.handleRequest()Z
J com.caucho.server.port.TcpConnection.run()V
J com.caucho.util.ThreadPool.runTasks()V
v ~I2CAdapter
j com.caucho.util.ThreadPool.run()V+85
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
V [libjvm.so+0x15db74]
V [libjvm.so+0x24c4cc]
V [libjvm.so+0x25f728]
V [libjvm.so+0x2709ac]
V [libjvm.so+0x26a084]
V [libjvm.so+0x266564]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J com.caucho.vfs.JniStream.writeNative(J[BII)I
J com.caucho.vfs.JniStream.write([BIIZ)V
v ~I2CAdapter
j com.caucho.vfs.WriteStream.nextBuffer(I)[B+16
v ~C2IAdapter
J com.caucho.server.connection.ResponseStream.writeNext([BIIZ)V
J com.caucho.server.connection.ToByteResponseStream.flushByteBuffer()V
J com.caucho.server.connection.ToByteResponseStream.write([BII)V
J org.apache.axis.utils.ByteArray.writeTo(Ljava/io/OutputStream;)V
v ~I2CAdapter
j org.apache.axis.SOAPPart.writeTo(Ljava/io/OutputStream;)V+39
j org.apache.axis.Message.writeTo(Ljava/io/OutputStream;)V+50
j org.apache.axis.transport.http.AxisServlet.sendResponse(Ljava/lang/String;Ljavax/servlet/http/HttpServletResponse;Lorg/apache/axis/Message;)V+79
v ~C2IAdapter
J org.apache.axis.transport.http.AxisServlet.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
v ~I2CAdapter
j javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+267
j org.apache.axis.transport.http.AxisServletBase.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+6
j javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+15
v ~C2IAdapter
J com.caucho.server.dispatch.ServletFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
J com.caucho.server.webapp.WebAppFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
J com.caucho.server.http.HttpRequest.handleRequest()Z
J com.caucho.server.port.TcpConnection.run()V
J com.caucho.util.ThreadPool.runTasks()V
v ~I2CAdapter
j com.caucho.util.ThreadPool.run()V+85
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
  0x0035e108 JavaThread "resin-tcp-connection-*:8000-1353381" daemon [_thread_in_native, id=1259]
  0x0080e088 JavaThread "resin-1199" daemon [_thread_blocked, id=1258]
=>0x008188e8 JavaThread "resin-tcp-connection-*:8000-1353323" daemon [_thread_in_native, id=1257]
  0x0047d210 JavaThread "resin-1197" daemon [_thread_blocked, id=1256]
  0x0057b910 JavaThread "resin-tcp-connection-*:8000-1353375" daemon [_thread_in_native, id=1255]
  0x0023c3c8 JavaThread "resin-1195" daemon [_thread_blocked, id=1254]
  0x006cc080 JavaThread "resin-1194" daemon [_thread_blocked, id=1253]
  0x006e9ed8 JavaThread "resin-1193" daemon [_thread_blocked, id=1252]
  0x00d74fb8 JavaThread "resin-1192" daemon [_thread_blocked, id=1251]
  0x00192cc0 JavaThread "resin-1191" daemon [_thread_blocked, id=1250]
  0x001c5408 JavaThread "resin-tcp-connection-*:8000-1353379" daemon [_thread_in_native, id=1249]
  0x00205648 JavaThread "resin-1189" daemon [_thread_blocked, id=1248]
  0x0035d280 JavaThread "resin-tcp-connection-*:8000-1353391" daemon [_thread_in_native, id=1247]
  0x00283350 JavaThread "resin-1187" daemon [_thread_blocked, id=1246]
  0x001434b8 JavaThread "resin-1186" daemon [_thread_blocked, id=1245]
  0x00360538 JavaThread "resin-1185" daemon [_thread_blocked, id=1244]
  0x0031ecf8 JavaThread "resin-1184" daemon [_thread_blocked, id=1243]
  0x004feea8 JavaThread "resin-1183" daemon [_thread_blocked, id=1242]
  0x0020e308 JavaThread "resin-1182" daemon [_thread_blocked, id=1241]
  0x00203240 JavaThread "resin-1181" daemon [_thread_blocked, id=1240]
  0x004ff450 JavaThread "resin-tcp-connection-*:8000-1353393" daemon [_thread_in_native, id=1239]
  0x0080d4a8 JavaThread "resin-1179" daemon [_thread_blocked, id=1238]
  0x006f0190 JavaThread "resin-1178" daemon [_thread_blocked, id=1237]
  0x00358668 JavaThread "resin-1176" daemon [_thread_blocked, id=1235]
  0x001c3fb0 JavaThread "resin-1175" daemon [_thread_blocked, id=1234]
  0x0080dee0 JavaThread "resin-1174" daemon [_thread_blocked, id=1233]
  0x00537948 JavaThread "resin-1173" daemon [_thread_blocked, id=1232]
  0x0080ff40 JavaThread "resin-1172" daemon [_thread_blocked, id=1231]
  0x007f7508 JavaThread "resin-1171" daemon [_thread_blocked, id=1230]
  0x0057dac8 JavaThread "resin-tcp-connection-*:8000-1353387" daemon [_thread_in_native, id=1228]
  0x00361a60 JavaThread "resin-1168" daemon [_thread_blocked, id=1227]
  0x0080bdc0 JavaThread "resin-1164" daemon [_thread_blocked, id=1223]
  0x0020e4b0 JavaThread "resin-1160" daemon [_thread_blocked, id=1219]
  0x005fb398 JavaThread "resin-1141" daemon [_thread_blocked, id=1200]
  0x006aa1a8 JavaThread "resin-1138" daemon [_thread_blocked, id=1197]
  0x002188a8 JavaThread "resin-1126" daemon [_thread_blocked, id=1185]
  0x00222098 JavaThread "resin-tcp-connection-*:8443-19" daemon [_thread_blocked, id=839]
  0x002834f8 JavaThread "resin-tcp-connection-*:8443-7" daemon [_thread_blocked, id=838]
  0x00350a58 JavaThread "resin-tcp-connection-*:8443-801159" daemon [_thread_blocked, id=830]
  0x00221ef0 JavaThread "resin-tcp-connection-*:8443-3" daemon [_thread_blocked, id=826]
  0x0035df60 JavaThread "resin-tcp-connection-*:8443-801163" daemon [_thread_blocked, id=819]
  0x004d2a08 JavaThread "resin-tcp-connection-*:8443-801143" daemon [_thread_blocked, id=802]
  0x0035af18 JavaThread "resin-tcp-connection-*:8443-15" daemon [_thread_blocked, id=792]
  0x00231020 JavaThread "resin-tcp-connection-*:8443-9" daemon [_thread_blocked, id=80]
  0x0022e840 JavaThread "resin-port-8443" daemon [_thread_blocked, id=78]
  0x0022e660 JavaThread "resin-port-8000" daemon [_thread_blocked, id=77]
  0x0021af98 JavaThread "Thread-23" daemon [_thread_blocked, id=76]
  0x005812e8 JavaThread "StaticPool:BufferPool$ICReclaimThread" [_thread_blocked, id=44]
  0x006218f8 JavaThread "resin-select-manager" daemon [_thread_in_native, id=42]
  0x001897e8 JavaThread "resin-thread-scheduler" daemon [_thread_blocked, id=15]
  0x00180860 JavaThread "resin-thread-launcher" daemon [_thread_blocked, id=14]
  0x0017fe58 JavaThread "resin-alarm" daemon [_thread_blocked, id=13]
  0x0010fe58 JavaThread "CompilerThread1" daemon [_thread_blocked, id=11]
  0x0010ef50 JavaThread "CompilerThread0" daemon [_thread_blocked, id=10]
  0x0010e2e0 JavaThread "AdapterThread" daemon [_thread_blocked, id=9]
  0x0010d710 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=8]
  0x0010a318 JavaThread "Finalizer" daemon [_thread_blocked, id=6]
  0x001091b0 JavaThread "Reference Handler" daemon [_thread_blocked, id=5]
  0x00039748 JavaThread "main" [_thread_blocked, id=1]

Other Threads:
  0x001085c8 VMThread [id=4]
  0x00111648 WatcherThread [id=12]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation total 352704K, used 73275K [0x75400000, 0x8b6e0000, 0x9fea0000)
  eden space 342016K, 18% used [0x75400000, 0x7911ee20, 0x8a200000)
  from space 10688K, 100% used [0x8ac70000, 0x8b6e0000, 0x8b6e0000)
  to space 10688K, 0% used [0x8a200000, 0x8a200000, 0x8ac70000)
 tenured generation total 726392K, used 709661K [0x9fea0000, 0xcc3fe000, 0xf5400000)
   the space 726392K, 97% used [0x9fea0000, 0xcb3a7478, 0xcb3a7600, 0xcc3fe000)
 compacting perm gen total 19968K, used 18721K [0xf5400000, 0xf6780000, 0xf9400000)
   the space 19968K, 93% used [0xf5400000, 0xf66484d0, 0xf6648600, 0xf6780000)

Dynamic libraries:
0x00010000 /binlib/DistributedComputing/j2sdk1.4.2_09/bin/java
0xff350000 /usr/lib/libthread.so.1
0xff340000 /usr/lib/libdl.so.1
0xff200000 /usr/lib/libc.so.1
0xff390000 /usr/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1
0xfe000000 /binlib/DistributedComputing/j2sdk1.4.2_09/jre/lib/sparc/server/libjvm.so
0xff1d0000 /usr/lib/libCrun.so.1
0xff1b0000 /usr/lib/libsocket.so.1
0xff080000 /usr/lib/libnsl.so.1
0xff160000 /usr/lib/libm.so.1
0xff2d0000 /usr/lib/libsched.so.1
0xff140000 /usr/lib/libmp.so.2
0xff040000 /binlib/DistributedComputing/j2sdk1.4.2_09/jre/lib/sparc/native_threads/libhpi.so
0xff020000 /usr/lib/nss_files.so.1
0xfe7e0000 /usr/lib/nss_nis.so.1
0xfe7a0000 /binlib/DistributedComputing/j2sdk1.4.2_09/jre/lib/sparc/libverify.so
0xfe760000 /binlib/DistributedComputing/j2sdk1.4.2_09/jre/lib/sparc/libjava.so
0xfe730000 /binlib/DistributedComputing/j2sdk1.4.2_09/jre/lib/sparc/libzip.so
0xfe6a0000 /usr/lib/locale/en_US.ISO8859-1/en_US.ISO8859-1.so.2
0xfc220000 /binlib/DistributedComputing/j2sdk1.4.2_09/jre/lib/sparc/libnet.so
0xfc200000 /binlib/DistributedComputing/datasynapse_vdscommander_4.2/libexec/solaris/libresin.so
0xf9490000 /usr/lib/nss_dns.so.1
0xf9440000 /usr/lib/libresolv.so.2
0xf9420000 /binlib/DistributedComputing/j2sdk1.4.2_09/jre/lib/sparc/libnio.so
0x753e0000 /usr/lib/librt.so.1
0x753c0000 /usr/lib/libaio.so.1
0x753a0000 /usr/lib/libsendfile.so.1

VM Arguments:
jvm_args: -Xmx2048m -Dds.baseDir=/opt/datasynapse_basedir -Duser.region=US -Duser.language=en -Dds.resinBaseDir=/opt/datasynapse_basedir -Dds.resinConf=/opt/datasynapse_basedir/conf/resin.conf -Xss1m -Dresin.home=/binlib/DistributedComputing/datasynapse_vdscommander_4.2 -Dserver.root=/binlib/DistributedComputing/datasynapse_vdscommander_4.2 -Djava.util.logging.manager=com.caucho.log.LogManagerImpl -Djavax.management.builder.initial=com.caucho.jmx.MBeanServerBuilderImpl
java_command: com.caucho.server.resin.Resin -socketwait 46895 -conf /datlib/DistributedComputing/datasynapse_vdscommander_4.2/conf/resin.conf -stdout /datlib/DistributedComputing/datasynapse_vdscommander_4.2/log/stdout.log -stderr /datlib/DistributedComputing/datasynapse_vdscommander_4.2/log/stderr.log

Environment Variables:
JAVA_HOME=/binlib/DistributedComputing/j2sdk1.4.2_09
PATH=/bin:/usr/bin:/usr/local/bin
LD_LIBRARY_PATH=/binlib/DistributedComputing/j2sdk1.4.2_09/jre/lib/sparc/server:/binlib/DistributedComputing/j2sdk1.4.2_09/jre/lib/sparc:/binlib/DistributedComputing/j2sdk1.4.2_09/jre/../lib/sparc::/binlib/DistributedComputing/datasynapse_vdscommander_4.2/libexec/solaris:/binlib/DistributedComputing/datasynapse_vdscommander_4.2/libexec
SHELL=/bin/ksh
DISPLAY=lonswd08.emea:2.0
HOSTTYPE=sun4
OSTYPE=solaris
MACHTYPE=sparc


--------------- S Y S T E M ---------------

OS: Solaris 8 2/04 s28s_hw4wos_05a SPARC
           Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
                            Assembled 08 January 2004

uname:SunOS 5.8 Generic_117350-11 sun4u (T1 libthread)
rlimit: STACK 8192k, CORE 0k, NOFILE 4096, AS infinity
load average:0.05 0.04 0.03

CPU:total 2 has_v8, has_v9, has_vis1, has_vis2, is_ultra3

Memory: 8k page, physical 2097152k(523584k free)

vm_info: Java HotSpot(TM) Server VM (1.4.2_09-b05) for solaris-sparc, built on Jul 25 2005 23:03:32 by unknown with Workshop 5.2 compat=5

Attached Files

- Relationships

- Notes
(0000974)
ferg
03-30-06 11:50

That issue has been fixed in more recent versions of Resin.
 

- Issue History
Date Modified Username Field Change
03-28-06 13:22 ycheng_ds New Issue
03-30-06 11:50 ferg Note Added: 0000974
03-30-06 11:50 ferg Assigned To  => ferg
03-30-06 11:50 ferg Status new => assigned
03-30-06 11:50 ferg Resolution open => fixed
03-30-06 11:50 ferg Fixed in Version  => 3.0.18
03-30-06 11:53 ferg Status assigned => closed


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker