Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001318 [Resin] crash random 08-28-06 11:19 11-20-06 09:31
Reporter iRideSnow View Status public  
Assigned To ferg
Priority normal Resolution unable to reproduce  
Status closed   Product Version 3.0.21
Summary 0001318: Resin Pro crashes (at initialization?) in SSLEAY32.dll w/OpenSSL v0.9.8b
Description Environment: Resin Windows 2003 Server, Java 1.4.2_b12., 3.0.21 Pro Standalone

We've got OpenSSL 0.9.8b installed. These seem to occur mostly at resin startup. We don't actually have any https pages active at this time, so I'm confused why anyone would be accessing the ssl stuff. Perhaps this only happens when resin initializes, which is why I (think) I'm only seeing these crashes when resin starts?

--- from Scott ---
Can you report that as a second bug?

That would almost certainly be a Resin/SSL/JNI bug. It's possible, even, that an SSL/JNI bug might trigger the original one (e.g. if the JNI is corrupting some code.)

Can you check the log to see if there's a request to SSL?

-- Scott
----------

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0569ca0f, pid=304, tid=3132
#
# Java VM: Java HotSpot(TM) Server VM (1.4.2_12-b03 mixed mode)
# Problematic frame:
# C [SSLEAY32.dll+0xca0f]
#

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

Current thread (0x0453edf8): JavaThread "resin-tcp-connection-*:443-13" daemon [_thread_in_native, id=3132]

siginfo: ExceptionCode=0xc0000005, writing address 0x000000ec

Registers:
EAX=0xffffffff, EBX=0x00000005, ECX=0x00000000, EDX=0x04f00608
ESP=0x05a2b9f0, EBP=0x00000000, ESI=0x03fef6a0, EDI=0x00000000
EIP=0x0569ca0f, EFLAGS=0x00010286

Top of Stack: (sp=0x05a2b9f0)
0x05a2b9f0: 00000017 00004000 03fef6a0 049f0518
0x05a2ba00: 0569d17a 03fef6a0 00000005 00000005
0x05a2ba10: 00000000 00004000 03fef6a0 05a2bae4
0x05a2ba20: 05a2bafc 00000000 00000000 00000000
0x05a2ba30: 00000000 00748c70 049f03b8 03fef6a0
0x05a2ba40: 00002210 00000000 00000002 0000004c
0x05a2ba50: 00000033 00000000 043a3a29 00000000
0x05a2ba60: 00000000 03014c80 00330000 05100000

Instructions: (pc=0x0569ca0f)
0x0569c9ff: 6a 14 e8 e8 57 01 00 83 c4 14 83 c8 ff 8b 4e 58
0x0569ca0f: 89 b9 ec 00 00 00 5f 5e 5d 5b c3 8b 56 58 03 eb


Stack: [0x059f0000,0x05a30000), sp=0x05a2b9f0, free space=238k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [SSLEAY32.dll+0xca0f]

[error occurred during error reporting, step 120, id 0xc0000005]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.caucho.vfs.JniStream.readNative(J[BII)I+0
j com.caucho.vfs.JniStream.read([BII)I+43
j com.caucho.vfs.ReadStream.readBuffer()Z+53
j com.caucho.vfs.ReadStream.waitForRead()Z+12
j com.caucho.server.port.TcpConnection.run()V+181
j com.caucho.util.ThreadPool.runTasks()V+187
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 )
  0x04a7fee8 JavaThread "resin-50" daemon [_thread_blocked, id=2992]
  0x04a7fd40 JavaThread "resin-49" daemon [_thread_blocked, id=1928]
  0x04b930a0 JavaThread "resin-tcp-connection-*:80-47" daemon [_thread_in_native, id=2640]
  0x04d7ee00 JavaThread "resin-tcp-connection-*:80-49" daemon [_thread_in_native, id=3972]
  0x04ec3f28 JavaThread "resin-46" daemon [_thread_blocked, id=688]
  0x04a77148 JavaThread "resin-tcp-connection-*:80-41" daemon [_thread_in_native, id=596]
  0x04de4008 JavaThread "resin-tcp-connection-*:80-43" daemon [_thread_in_native, id=2408]
  0x04928da8 JavaThread "resin-tcp-connection-*:80-45" daemon [_thread_in_native, id=1184]
  0x046a4008 JavaThread "resin-42" daemon [_thread_blocked, id=3944]
  0x0446dc80 JavaThread "resin-41" daemon [_thread_blocked, id=4036]
  0x043934a8 JavaThread "resin-tcp-connection-*:443-31" daemon [_thread_in_native, id=3140]
  0x04056d40 JavaThread "resin-tcp-connection-*:80-33" daemon [_thread_in_native, id=1000]
  0x04056bd8 JavaThread "resin-38" daemon [_thread_blocked, id=3128]
  0x00707008 JavaThread "resin-tcp-connection-127.0.0.1:6802-25" daemon [_thread_in_native, id=1620]
  0x047f3918 JavaThread "resin-tcp-connection-127.0.0.1:6802-27" daemon [_thread_in_native, id=2216]
  0x047f3718 JavaThread "resin-tcp-connection-127.0.0.1:6802-29" daemon [_thread_in_native, id=2092]
  0x00707a60 JavaThread "resin-34" daemon [_thread_blocked, id=3948]
  0x03fbe9c8 JavaThread "resin-tcp-connection-127.0.0.1:6802-5" daemon [_thread_in_native, id=848]
  0x04a09bb8 JavaThread "resin-tcp-connection-*:443-19" daemon [_thread_in_native, id=3804]
  0x046fa610 JavaThread "resin-tcp-connection-*:80-22" daemon [_thread_in_native, id=3320]
  0x046fa4a8 JavaThread "resin-tcp-connection-127.0.0.1:6802-23" daemon [_thread_in_native, id=4088]
=>0x0453edf8 JavaThread "resin-tcp-connection-*:443-13" daemon [_thread_in_native, id=3132]
  0x0453ec90 JavaThread "resin-28" daemon [_thread_blocked, id=2832]
  0x046fabe8 JavaThread "resin-tcp-connection-*:443-16" daemon [_thread_in_native, id=3364]
  0x047e6ef0 JavaThread "resin-tcp-connection-*:80-17" daemon [_thread_in_native, id=3188]
  0x047e8b40 JavaThread "resin-port-6802" daemon [_thread_blocked, id=2296]
  0x047df6f0 JavaThread "resin-port-443" daemon [_thread_blocked, id=584]
  0x0486e198 JavaThread "resin-port-80" daemon [_thread_blocked, id=204]
  0x04365d20 JavaThread "resin-select-manager" daemon [_thread_in_native, id=3368]
  0x04364408 JavaThread "resin-tcp-connection-*:443-3" daemon [_thread_in_native, id=3868]
  0x044ec548 JavaThread "resin-tcp-connection-*:80-4" daemon [_thread_in_native, id=2040]
  0x044eb968 JavaThread "resin-tcp-connection-*:443-7" daemon [_thread_in_native, id=2456]
  0x044eadb8 JavaThread "resin-tcp-connection-*:80-9" daemon [_thread_in_native, id=228]
  0x044b0408 JavaThread "resin-21" daemon [_thread_blocked, id=1864]
  0x044af808 JavaThread "resin-20" daemon [_thread_blocked, id=3056]
  0x045a4bf8 JavaThread "resin-19" daemon [_thread_blocked, id=1952]
  0x045a3ff8 JavaThread "resin-18" daemon [_thread_blocked, id=3152]
  0x0472f800 JavaThread "resin-17" daemon [_thread_blocked, id=3504]
  0x04862e28 JavaThread "resin-16" daemon [_thread_blocked, id=2944]
  0x04862690 JavaThread "resin-15" daemon [_thread_blocked, id=244]
  0x044d60b0 JavaThread "resin-14" daemon [_thread_blocked, id=3980]
  0x044d6c60 JavaThread "resin-13" daemon [_thread_blocked, id=2520]
  0x04737d98 JavaThread "resin-12" daemon [_thread_blocked, id=2852]
  0x04737b98 JavaThread "resin-11" daemon [_thread_blocked, id=2168]
  0x044d7760 JavaThread "resin-10" daemon [_thread_blocked, id=3664]
  0x04584d18 JavaThread "resin-9" daemon [_thread_blocked, id=1244]
  0x04584bb0 JavaThread "resin-8" daemon [_thread_blocked, id=2664]
  0x0443b020 JavaThread "resin-7" daemon [_thread_blocked, id=4060]
  0x03fae360 JavaThread "resin-6" daemon [_thread_blocked, id=1512]
  0x0077e408 JavaThread "resin-5" daemon [_thread_blocked, id=2080]
  0x03f3dc08 JavaThread "resin-4" daemon [_thread_blocked, id=2580]
  0x03f9cbb0 JavaThread "resin-3" daemon [_thread_blocked, id=3700]
  0x03f9bfd0 JavaThread "resin-2" daemon [_thread_blocked, id=2488]
  0x03f3e5e8 JavaThread "resin-1" daemon [_thread_blocked, id=4056]
  0x03f3e480 JavaThread "resin-0" daemon [_thread_blocked, id=3460]
  0x03f3e928 JavaThread "resin-thread-scheduler" daemon [_thread_blocked, id=3412]
  0x03f3eda8 JavaThread "resin-thread-launcher" daemon [_thread_blocked, id=2604]
  0x03f8ddc0 JavaThread "resin-alarm" daemon [_thread_blocked, id=1508]
  0x0073a268 JavaThread "CompilerThread1" daemon [_thread_blocked, id=1276]
  0x00739228 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2780]
  0x007384d0 JavaThread "AdapterThread" daemon [_thread_blocked, id=2740]
  0x00736008 JavaThread "Finalizer" daemon [_thread_blocked, id=2420]
  0x0003f378 JavaThread "Reference Handler" daemon [_thread_blocked, id=3324]
  0x00037858 JavaThread "main" [_thread_in_native, id=2012]

Other Threads:
  0x0003ea08 VMThread [id=1452]
  0x0073ba78 WatcherThread [id=3280]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation total 184320K, used 87937K [0x10010000, 0x1c810000, 0x1c810000)
  eden space 163840K, 53% used [0x10010000, 0x155f0650, 0x1a010000)
  from space 20480K, 0% used [0x1a010000, 0x1a010000, 0x1b410000)
  to space 20480K, 0% used [0x1b410000, 0x1b410000, 0x1c810000)
 tenured generation total 1228800K, used 2027K [0x1c810000, 0x67810000, 0x67810000)
   the space 1228800K, 0% used [0x1c810000, 0x1ca0adb0, 0x1ca0ae00, 0x67810000)
 compacting perm gen total 16384K, used 12347K [0x67810000, 0x68810000, 0x6b810000)
   the space 16384K, 75% used [0x67810000, 0x6841ec20, 0x6841ee00, 0x68810000)

Dynamic libraries:
0x00400000 - 0x0040b000 d:\jdk\bin\java.exe
0x7c800000 - 0x7c8c0000 C:\WINDOWS\system32\ntdll.dll
0x77e40000 - 0x77f42000 C:\WINDOWS\system32\kernel32.dll
0x77f50000 - 0x77fec000 C:\WINDOWS\system32\ADVAPI32.dll
0x77c50000 - 0x77cef000 C:\WINDOWS\system32\RPCRT4.dll
0x77ba0000 - 0x77bfa000 C:\WINDOWS\system32\MSVCRT.dll
0x08000000 - 0x082ba000 d:\jdk\jre\bin\server\jvm.dll
0x77380000 - 0x77412000 C:\WINDOWS\system32\USER32.dll
0x77c00000 - 0x77c48000 C:\WINDOWS\system32\GDI32.dll
0x76aa0000 - 0x76acd000 C:\WINDOWS\system32\WINMM.dll
0x10000000 - 0x10007000 d:\jdk\jre\bin\hpi.dll
0x76b70000 - 0x76b7b000 C:\WINDOWS\system32\PSAPI.DLL
0x76f50000 - 0x76f63000 C:\WINDOWS\system32\Secur32.dll
0x00370000 - 0x0037e000 d:\jdk\jre\bin\verify.dll
0x00380000 - 0x00399000 d:\jdk\jre\bin\java.dll
0x003a0000 - 0x003ae000 d:\jdk\jre\bin\zip.dll
0x00670000 - 0x0067f000 D:\JDK\jre\bin\net.dll
0x71c00000 - 0x71c17000 C:\WINDOWS\system32\WS2_32.dll
0x71bf0000 - 0x71bf8000 C:\WINDOWS\system32\WS2HELP.dll
0x71b20000 - 0x71b61000 C:\WINDOWS\system32\mswsock.dll
0x04f40000 - 0x04f99000 C:\WINDOWS\system32\hnetcfg.dll
0x71ae0000 - 0x71ae8000 C:\WINDOWS\System32\wshtcpip.dll
0x76ed0000 - 0x76ef9000 C:\WINDOWS\system32\DNSAPI.dll
0x76f70000 - 0x76f77000 C:\WINDOWS\System32\winrnr.dll
0x76f10000 - 0x76f3e000 C:\WINDOWS\system32\WLDAP32.dll
0x76f80000 - 0x76f85000 C:\WINDOWS\system32\rasadhlp.dll
0x05040000 - 0x05056000 D:\resin\win32\resin.dll
0x05570000 - 0x0557f000 D:\resin\win32\resinssl.dll
0x05580000 - 0x05688000 D:\resin\LIBEAY32.dll
0x71bb0000 - 0x71bb9000 C:\WINDOWS\system32\WSOCK32.dll
0x05690000 - 0x056c1000 D:\resin\SSLEAY32.dll
0x05820000 - 0x0582e000 D:\resin\win32\resin_os.dll
0x05840000 - 0x0586f000 C:\WINDOWS\system32\rsaenh.dll

VM Arguments:
jvm_args: -Xmn200M -Xms1400M -Xmx1400M -Xrs -Xloggc:log/gc.log -Dhttp.maxConnections=50 -Dresin.home=D:\resin -Dserver.root=D:\resin -Djava.util.logging.manager=com.caucho.log.LogManagerImpl -Djavax.management.builder.initial=com.caucho.jmx.MBeanServerBuilderImpl
java_command: com.caucho.server.resin.Resin -socketwait 4686
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=d:\jdk
CLASSPATH=D:\resin\classes;D:\resin\lib\resin.jar;d:\jdk\lib\tools.jar;d:\jdk\jre\lib\rt.jar;D:\resin\lib\activation.jar;D:\resin\lib\aopalliance.jar;D:\resin\lib\CoreSystems.jar;D:\resin\lib\eclipse-compiler.jar;D:\resin\lib\ejb-20.jar;D:\resin\lib\ejb-30.jar;D:\resin\lib\j2ee-deploy-10.jar;D:\resin\lib\j2ee-management-10.jar;D:\resin\lib\javamail-14.jar;D:\resin\lib\jca-15.jar;D:\resin\lib\jms-11.jar;D:\resin\lib\jmx-12.jar;D:\resin\lib\jsdk-24.jar;D:\resin\lib\jstl-11.jar;D:\resin\lib\jta-101.jar;D:\resin\lib\license.jar;D:\resin\lib\Muse.jar;D:\resin\lib\ORSC.jar;D:\resin\lib\portlet-10.jar;D:\resin\lib\pro.jar;D:\resin\lib\ProphetCore.jar;D:\resin\lib\quercus.jar;D:\resin\lib\Razorfish.jar;D:\resin\lib\resin-jdk15.jar;D:\resin\lib\resinboot.jar;D:\resin\lib\script-10.jar;D:\resin\lib\SharedClientServer.jar;D:\resin\lib\WebLib.jar;D:\resin\lib\webutil.jar;D:\resin\lib\_commons-collections.jar;D:\resin\lib\_commons-logging.jar;D:\resin\lib\_concurrent.jar;D:\resin\lib\_iText.jar;D:\resin\lib\_jakarta-oro.jar;D:\resin\lib\_jdom.jar;D:\resin\lib\_log4j.jar;D:\resin\lib\_mail.jar;D:\resin\lib\_messners.jar;D:\resin\lib\_Opta2000.jar;D:\resin\lib\_oroinc.jar;D:\resin\lib\_serializer.jar;D:\resin\lib\_xerces.jar
PATH=C:\Program Files\Windows Resource Kits\Tools\;C:\Program Files\Support Tools\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\IBM\Director\bin;D:\resin\bin;D:\resin\win32;\openssl\bin
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 3, GenuineIntel


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

OS: Windows Server 2003 family Build 3790 Service Pack 1

CPU:total 4 family 15, cmov, cx8, fxsr, mmx, sse, sse2

Memory: 4k page, physical 2096392k(1588552k free), swap 4194303k(4194303k free)

vm_info: Java HotSpot(TM) Server VM (1.4.2_12-b03) for windows-x86, built on May 9 2006 12:13:48 by "java_re" with MS VC++ 6.0

Additional Information
Attached Files

- Relationships

- Notes
(0001592)
ferg
11-20-06 09:31

You might need to check that you have the multithreaded version of openssl.

Openssl can be compiled with multithreading or without it. The non-multithreaded version will not work in Resin.
 

- Issue History
Date Modified Username Field Change
08-28-06 11:19 iRideSnow New Issue
11-20-06 09:31 ferg Note Added: 0001592
11-20-06 09:31 ferg Assigned To  => ferg
11-20-06 09:31 ferg Status new => closed
11-20-06 09:31 ferg Resolution open => unable to reproduce
11-20-06 09:31 ferg Fixed in Version  => 3.0.22


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