Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004285 [Resin] crash always 11-08-10 05:18 02-18-11 17:18
Reporter rmurayama View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.16 Product Version 3.0.26
  Product Build
Summary 0004285: Resin always clash at startup with "<certificate-chain-file> at resin.conf" and "-J-d64 on JVM start parameter"
Description Resin always clash at startup, if you set <certificate-chain-file> at resin.conf" and "-J-d64 on JVM start parameter" as below.

## Stack Trace ########################################################
% dbx /export/home/atnet001/Mx7.9/httpd/resin-webedge/sun/jre/bin/sparcv9/java ./core
(snip)
t@1 (l@1) terminated by signal ABRT (Abort)
0xffffffff7eed4710: __lwp_kill+0x0008: bcc,a,pt %icc,__lwp_kill+0x18 ! 0xffffffff7eed4720
(dbx) where
current thread: t@1
=>[1] __lwp_kill(0x0, 0x6, 0xffffffff7e8521b0, 0x1a1aa0, 0x0, 0x0), at 0xffffffff7eed4710
  [2] raise(0x6, 0x0, 0xffffffff7eff7228, 0xffffffffffffffff, 0xffffffff7efec000, 0x0), at 0xffffffff7ee70bd8
  [3] abort(0x1, 0x1b8, 0xffffffff7e8521b0, 0x1a1aa0, 0x0, 0x0), at 0xffffffff7ee4a66c
  [4] os::abort(0x1, 0xfc00, 0xffffffff7e36e8e0, 0xffffffff7ea22000, 0x267544, 0xb400), at 0xffffffff7e7bab10
  [5] VMError::report_and_die(0x0, 0xffffffff7ead1324, 0xffffffff7ead12f0, 0xffffffff7e90f544, 0xffffffff7eac5838, 0x0), at 0xffffffff7e8521b0
  [6] JVM_handle_solaris_signal(0xb, 0x12fe0, 0xffffffff7fffc0e0, 0x100120640, 0xffffffff7fffc3c0, 0x10800), at 0xffffffff7e36e8e0
  [7] __sighndlr(0xb, 0xffffffff7fffc3c0, 0xffffffff7fffc0e0, 0xffffffff7e36ddb0, 0x0, 0xa), at 0xffffffff7eed3614
  ---- called from signal handler with signal 11 (SIGSEGV) ------
  [8] strlen(0x874140, 0x0, 0x874140, 0x0, 0x0, 0x80808080), at 0xffffffff7ee3b650
  [9] ERR_add_error_data(0x1, 0x50, 0x874140, 0x7, 0xffffffff690c30b8, 0xffffffff7fffc608), at 0xffffffff69028bf4
  [10] file_ctrl(0xffffffff, 0xffffffff00000000, 0xffffffff690c2800, 0x874140, 0x690c2800, 0xffffffff00000000), at 0xffffffff69020750
  [11] SSL_CTX_use_certificate_chain_file(0x100bf4350, 0x874140, 0x1, 0x1006f3c00, 0x1006f3dd0, 0x1006f3c00), at 0xffffffff69002174
  [12] ssl_create_context(0x100120788, 0x100782ad0, 0xffffffff690c3bd0, 0xffffffff00000000, 0x100bf4350, 0xffffffff690be400), at 0xffffffff68ff1754
  [13] Java_com_caucho_vfs_OpenSSLFactory_nativeInit(0x100120788, 0xffffffff7fffcb98, 0x10070be30, 0x100782ad0, 0x8, 0xffffffff7fffc2c1), at 0xffffffff68ff2ee0
  [14] 0xffffffff7400d098(0x100120640, 0xffffffff7fffcb98, 0xffffffff7fffca90, 0xffffffffffffff10, 0x11800, 0xffffffff7ea22000), at 0xffffffff7400d098
  [15] 0xffffffff7400d038(0xfffffffee2464050, 0x0, 0x0, 0x28, 0x8, 0xffffffff7fffc2c1), at 0xffffffff7400d038
  [16] 0xffffffff74005810(0xfffffffee2464050, 0xffffffff60b62be8, 0x0, 0xffffffff74016ee8, 0x8, 0xffffffff7fffc3f1), at 0xffffffff74005810
  [17] 0xffffffff74005e40(0xfffffffee245c398, 0xb6, 0x0, 0xffffffff740173e8, 0xffffffff60b308e8, 0xffffffff7fffc521), at 0xffffffff74005e40
  [18] 0xffffffff74005810(0xfffffffee235a648, 0x0, 0x0, 0xffffffff74016ea0, 0x8, 0xffffffff7fffc651), at 0xffffffff74005810
  [19] 0xffffffff74005810(0xfffffffee235a648, 0xffffffff609942d8, 0x0, 0xffffffff74016ea0, 0x8, 0xffffffff7fffc7b1), at 0xffffffff74005810
  [20] 0xffffffff74005d20(0xfffffffee2305f70, 0x0, 0x0, 0xffffffff740173a0, 0x8, 0xffffffff7fffc8f1), at 0xffffffff74005d20
  [21] 0xffffffff74005930(0xfffffffee231e2d8, 0xffffffff60b15ac0, 0x0, 0xffffffff74016ea0, 0x8, 0xffffffff7fffc9e1), at 0xffffffff74005930
  [22] 0xffffffff74005d20(0xfffffffee2305f70, 0x0, 0x0, 0xffffffff740173a0, 0x8, 0xffffffff7fffcad1), at 0xffffffff74005d20
  [23] 0xffffffff74005810(0xfffffffee09d72b0, 0x0, 0x0, 0xffffffff74016ea0, 0x8, 0xffffffff7fffcc11), at 0xffffffff74005810
  [24] 0xffffffff74005810(0xfffffffee01105f0, 0x0, 0x0, 0xffffffff74016ea0, 0x8, 0xffffffff7fffcd51), at 0xffffffff74005810
  [25] 0xffffffff74005810(0x1, 0x100120640, 0x0, 0xffffffff74016ea0, 0xffffffff7fffd898, 0xffffffff7fffce91), at 0xffffffff74005810
  [26] 0xffffffff7400023c(0xffffffff7fffd878, 0xffffffff7fffdba8, 0xa, 0xffffffff60249468, 0xffffffff7400b560, 0xffffffff7fffdae8), at 0xffffffff7400023c
  [27] JavaCalls::call_helper(0x1, 0x100120640, 0xa, 0xfffffffee007ffc0, 0xffffffff7fffd898, 0x1001213f0), at 0xffffffff7e29b808
  [28] JavaCalls::call(0xffffffff7fffdba0, 0x100120d58, 0xffffffff7fffdad8, 0x100120640, 0x7738a8, 0x100002854), at 0xffffffff7e2ae780
  [29] jni_CallStaticVoidMethod(0x100120788, 0x100120d58, 0xffffffff7eab66e0, 0x100120640, 0xffffffff7eac506c, 0xffffffff7eaaf040), at 0xffffffff7e3e69c0
  [30] main(0x1001213f0, 0x3b0, 0x100113d48, 0xffffffff7eab5e30, 0x6, 0xffffffff7eab5e30), at 0x100002854
(dbx)

## hs_err_pid file ######################################################
% view hs_err_pid24872.log_core_20101108
"hs_err_pid24872.log_core_20101108" [Read only] 225 lines, 15386 characters
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0xffffffff7ee3b650, pid=24872, tid=1
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_11-b03 mixed mode)
# Problematic frame:
# C [libc.so.1+0x3b650]
#

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

Current thread (0x0000000100120640): JavaThread "main" [_thread_in_native, id=1]

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

Registers:
 O0=0x0000000000874140 O1=0x0000000000000000 O2=0x0000000000874140 O3=0x0000000000000000
 O4=0x0000000000000000 O5=0x0000000080808080 O6=0xffffffff7fffbcc1 O7=0xffffffff69028bf4
 G1=0xffffffff7ee3b600 G2=0xffffffff690c2ae7 G3=0x000000010064dc47 G4=0x0000000000000000
 G5=0x00000000811c4800 G6=0x0000000000000000 G7=0xffffffff7f502000 Y=0x0000000000000000
 PC=0xffffffff7ee3b650 nPC=0xffffffff7ee3b654


Top of Stack: (sp=0xffffffff7fffc4c0)
0xffffffff7fffc4c0: ffffffff690c2ad0 0000000000000000
0xffffffff7fffc4d0: 0000000000000005 0000000000000051
0xffffffff7fffc4e0: 00000000ffffffff 000000010064dc40
0xffffffff7fffc4f0: ffffffff00000000 00000000690c2800
0xffffffff7fffc500: 0000000000000001 0000000000000050
0xffffffff7fffc510: 0000000000874140 0000000000000007
0xffffffff7fffc520: ffffffff690c30b8 ffffffff7fffc608
0xffffffff7fffc530: ffffffff7fffbd71 ffffffff69020750
0xffffffff7fffc540: ffffffff68c00030 ffffffff68f15d20
0xffffffff7fffc550: ffffffff68c00030 ffffffff7f738c90
0xffffffff7fffc560: 0000000006555ba5 000000000000017a
0xffffffff7fffc570: ffffffff690c2ad0 000000000000000e
0xffffffff7fffc580: 00000000fffffc00 00000000fffffc00
0xffffffff7fffc590: 00000000ffffffff 00000000ffffffff
0xffffffff7fffc5a0: ffffffff00000000 00000000690c2800
0xffffffff7fffc5b0: 00000000ffffffff ffffffff00000000

Instructions: (pc=0xffffffff7ee3b650)
0xffffffff7ee3b640: 80 8a 60 ff 02 40 00 22 94 02 a0 01 94 02 a0 01
0xffffffff7ee3b650: d2 02 80 00 19 00 40 40 1b 20 20 20 98 13 21 01

Stack: [0xffffffff7fefe000,0xffffffff80000000), sp=0xffffffff7fffc4c0, free space=1017k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libc.so.1+0x3b650]
C [libresinssl.so+0x120758]
C [libresinssl.so+0x10217c]
C [libresinssl.so+0xf175c]
C [libresinssl.so+0xf2ee8]
j com.caucho.vfs.OpenSSLFactory.nativeInit(JJ)V+0
j com.caucho.vfs.OpenSSLFactory.nativeInit(JJ)V+0
j com.caucho.vfs.OpenSSLFactory.create(Ljava/net/InetAddress;I)Lcom/caucho/vfs/QServerSocket;+54
j com.caucho.server.port.Port.bind()V+273
j com.caucho.server.resin.ServletServer.bindPorts()V+86
j com.caucho.server.resin.ServletServer.start()V+426
j com.caucho.server.deploy.DeployController.startImpl()Lcom/caucho/server/deploy/DeployInstance;+161
j com.caucho.server.deploy.AbstractDeployControllerStrategy.start(Lcom/caucho/server/deploy/DeployController;)V+8
j com.caucho.server.deploy.DeployController.start()V+5
j com.caucho.server.resin.ResinServer.start()V+82
j com.caucho.server.resin.Resin.init()V+570
j com.caucho.server.resin.Resin.main([Ljava/lang/String;)V+17
v ~StubRoutines::call_stub
V [libjvm.so+0x29b810]
V [libjvm.so+0x2ae788]
V [libjvm.so+0x3e69c8]
C [java+0x285c]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.caucho.vfs.OpenSSLFactory.nativeInit(JJ)V+0
j com.caucho.vfs.OpenSSLFactory.create(Ljava/net/InetAddress;I)Lcom/caucho/vfs/QServerSocket;+54
j com.caucho.server.port.Port.bind()V+273
j com.caucho.server.resin.ServletServer.bindPorts()V+86
j com.caucho.server.resin.ServletServer.start()V+426
j com.caucho.server.deploy.DeployController.startImpl()Lcom/caucho/server/deploy/DeployInstance;+161
j com.caucho.server.deploy.AbstractDeployControllerStrategy.start(Lcom/caucho/server/deploy/DeployController;)V+8
j com.caucho.server.deploy.DeployController.start()V+5
j com.caucho.server.resin.ResinServer.start()V+82
j com.caucho.server.resin.Resin.init()V+570
j com.caucho.server.resin.Resin.main([Ljava/lang/String;)V+17
v ~StubRoutines::call_stub
(snip)

## Setting of "resin.conf" ##############################################
 (snip)
    <http port='5443'>
 <openssl>
 <certificate-file>/export/home/atnet001/Mx7.9/httpd/resin-webedge/openssl_64/bin/2009cert.pem</certificate-file>
<certificate-key-file>/export/home/atnet001/Mx7.9/httpd/resin-webedge/openssl_64/bin/2009key.pem</certificate-key-file>
<certificate-chain-file>/export/home/atnet001/Mx7.9/httpd/resin-webedge/openssl_64/bin/chain.txt</certificate-chain-file>
      <password>xxxxx</password>
    </openssl>
(snip)

## Setting of "JVM start up parameter" ####################################
 -J-d64 -Xms2g -Xmx2g -XX:SurvivorRatio=2 -XX:NewSize=1024m -XX:MaxNewSize=1024m -XX:+UseParNewGC -J-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+DisableExplicitGC -Xloggc:details.out -XX:ParallelGCThreads=8 -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled


Could you please investigate this problem and let me know a root cause and point out any workaround if you know.
Ryota Murayama
OPENWAVE
Tokyo Japan
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0004825)
rmurayama
11-09-10 20:26

Can you please pay your attention to this matter?

Ryota
 

- Issue History
Date Modified Username Field Change
11-08-10 05:18 rmurayama New Issue
11-08-10 05:20 rmurayama Issue Monitored: rmurayama
11-09-10 20:26 rmurayama Note Added: 0004825
02-18-11 17:18 ferg Assigned To  => ferg
02-18-11 17:18 ferg Status new => closed
02-18-11 17:18 ferg Resolution open => fixed
02-18-11 17:18 ferg Fixed in Version  => 4.0.16


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