Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003740 [Resin] minor have not tried 11-03-09 16:13 04-05-10 16:16
Reporter alex View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.2.0
Summary 0003740: Open SSL seg fault
Description Three different traces added, separated by =====
Stack: [0x9e3fe000,0x9e4ff000), sp=0x9e4f9154, free space=1004k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libcrypto.so.4+0x9a805] X509_NAME_cmp+0x26
C [libcrypto.so.4+0x9abf6] X509_subject_name_cmp+0x2e
C [libcrypto.so.4+0x9fbde]
C [libc.so.6+0x29b45]
C [libc.so.6+0x29a1d]
C [libc.so.6+0x29a3b]
C [libc.so.6+0x29a1d]
C [libc.so.6+0x29a3b]
C [libc.so.6+0x29a3b]
C [libc.so.6+0x29cdc] qsort+0x14c
C [libcrypto.so.4+0x7209f] sk_sort+0x48
C [libcrypto.so.4+0x72110] sk_find+0x63
C [libcrypto.so.4+0x9ffbc] X509_OBJECT_idx_by_subject+0x5e
C [libcrypto.so.4+0xa0018] X509_OBJECT_retrieve_by_subject+0x2c
C [libcrypto.so.4+0xa0068] X509_STORE_get_by_subject+0x32
C [libssl.so.4+0x19bb2] ssl3_output_cert_chain+0x19e
C [libssl.so.4+0xfe59] ssl3_send_server_certificate+0x50
C [libssl.so.4+0x11310] ssl3_accept+0x145a
C [libssl.so.4+0x200c3] SSL_accept+0x26
C [libssl.so.4+0x1a895] ssl23_get_client_hello+0x99
C [libssl.so.4+0x1b319] ssl23_accept+0x22a
C [libssl.so.4+0x200db] SSL_accept+0x3e
C [libresinssl.so+0x2451]
C [libresinssl.so+0x28b8]
C [libresin.so+0x30a4] Java_com_caucho_vfs_JniSocketImpl_readNative+0x3c
=======================================================
# Java VM: Java HotSpot(TM) Client VM (1.5.0_03-b07 mixed mode, sharing)
# Problematic frame:
# C [libcrypto.so.4+0x515b8] RSA_free+0x55
#

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

Current thread (0x08e4c0a8): JavaThread "http-a-8443-20" daemon [_thread_in_native, id=29433]

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

Registers:
EAX=0x00000000, EBX=0x001da6fc, ECX=0x08f4a670, EDX=0x001c5cc7
ESP=0xa0dfab94, EBP=0xa0dfabbc, ESI=0x68747541, EDI=0x08f49bf8
EIP=0x001525b8, CR2=0x00000020, EFLAGS=0x00010286

Top of Stack: (sp=0xa0dfab94)
0xa0dfab94: 68747579 ffffffff 00000009 001c5cc7
0xa0dfaba4: 000000d0 000000f1 0012bfdb 0015256d
0xa0dfabb4: 0021e858 08f4af30 a0dfabec 0020e5a8
0xa0dfabc4: 68747541 ffffffff 0000000d 00219753
0xa0dfabd4: 0000013d 00000000 0020e4f3 0021e858
0xa0dfabe4: 08f4af30 08de6788 a0dfac1c 0020d25f
0xa0dfabf4: 08f49bf8 08f4af30 08f4b01c 002195ca
0xa0dfac04: 000001a5 00000000 00000000 0020d0ec

Instructions: (pc=0x001525b8)
0x001525a8: fd ff 85 c0 7e 07 83 c4 20 5b 5e 5d c3 8b 46 08
0x001525b8: 8b 50 20 85 d2 0f 85 8b 00 00 00 8b 46 0c 85 c0

Stack: [0xa0cff000,0xa0e00000), sp=0xa0dfab94, free space=1006k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libcrypto.so.4+0x515b8] RSA_free+0x55
C [libssl.so.4+0x215a8] ssl_cert_free+0xc0
C [libssl.so.4+0x2025f] SSL_free+0x17d
C [libresinssl.so+0x2511]
C [libresinssl.so+0x28b8]
C [libresin.so+0x30a4] Java_com_caucho_vfs_JniSocketImpl_readNative+0x3c
j com.caucho.vfs.JniSocketImpl.readNative(J[BIIJ)I+0
j com.caucho.vfs.JniSocketImpl.read([BIIJ)I+10
j com.caucho.vfs.JniStream.read([BII)I+42
J com.caucho.vfs.ReadStream.readBuffer()Z
j com.caucho.vfs.ReadStream.waitForRead()Z+12
j com.caucho.server.port.TcpConnection$AcceptTask.doAccept(Z)V+236
j com.caucho.server.port.TcpConnection$AcceptTask.run()V+2
j com.caucho.util.ThreadPool$Item.runTasks()V+246
j com.caucho.util.ThreadPool$Item.run()V+75
j java.lang.Thread.run()V+11
==============================================================
Stack: [0x985fc000,0x986fd000), sp=0x986f7a18, free space=1006k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libcrypto.so.4+0x2b03f] CRYPTO_add_lock+0x6f
C [libcrypto.so.4+0x515aa] RSA_free+0x47
C [libssl.so.4+0x215a8] ssl_cert_free+0xc0
C [libssl.so.4+0x2025f] SSL_free+0x17d
C [libresinssl.so+0x2511]
C [libresinssl.so+0x28b8]
C [libresin.so+0x30a4] Java_com_caucho_vfs_JniSocketImpl_readNative+0x3c
J com.caucho.vfs.JniSocketImpl.readNative(J[BIIJ)I
J com.caucho.vfs.JniStream.read([BII)I
J com.caucho.vfs.ReadStream.readBuffer()Z
J com.caucho.server.port.TcpConnection$AcceptTask.doAccept(Z)V
v ~RuntimeStub::alignment_frame_return Runtime1 stub
j com.caucho.server.port.TcpConnection$AcceptTask.run()V+2
J com.caucho.util.ThreadPool$Item.runTasks()V
v ~RuntimeStub::alignment_frame_return Runtime1 stub
j com.caucho.util.ThreadPool$Item.run()V+75
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
Additional Information S:Red Hat Enterprise Linux ES release 4 (Nahant Update 8)

uname:Linux 2.6.9-89.0.11.ELsmp 0000001 SMP Mon Aug 31 11:01:10 EDT 2009 i686
libc:glibc 2.3.4 NPTL 2.3.4
rlimit: STACK 2048k, CORE 0k, NPROC 49152, NOFILE 65536, AS infinity
load average:0.06 0.09 0.16

CPU:total 1 family 6, cmov, cx8, fxsr, mmx, sse, sse2, ht

Memory: 4k page, physical 760k(152k free), swap 1447k(1447k free)

vm_info: Java HotSpot(TM) Client VM (1.5.0_03-b07) for linux-x86, built on Apr 13 2005 03:17:07 by java_re with gcc 3.2.1-7a (J2SE release)

 
Attached Files  hs_err.tar.gz [^] (452,678 bytes) 11-03-09 16:13

- Relationships

- Notes
(0004282)
alex
11-05-09 08:33

sent by Benjamin Loy
  
SIGSEGV (0xb) at pc=0x00007fbb48b04c1c, pid=15293, tid=1421265232
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (11.0-b15 mixed mode linux-amd64)
# Problematic frame:
# C [libc.so.6+0x75c1c]
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp [^]
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

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

Current thread (0x00007fb5d8e86000): JavaThread "http-lion102-5060-91$738938264" daemon [_thread_in_native, id=21013, stack(0x0000000054af0000,0x0000000054b6d000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=128 (), si_addr=0x0000000000000000

Registers:
RAX=0x0000000000000002, RBX=0x0000800000000001, RCX=0x0000000000000000, RDX=0x0000000000000020
RSP=0x0000000054b6b6a0, RBP=0x0000000000000002, RSI=0x0000000000000018, RDI=0x00007fbb48ddd9e0
R8 =0x00007fb5cc0ac5c0, R9 =0x0000000000000020, R10=0x0000000000000018, R11=0x00007fbb48b069e0
R12=0x00000000000000bf, R13=0x00007fb5ddd7b4e2, R14=0x00007fbb48ddd9e0, R15=0x0000000000000020
RIP=0x00007fbb48b04c1c, EFL=0x0000000000010202, CSGSFS=0x0000000000000033, ERR=0x0000000000000000
 TRAPNO=0x000000000000000d

Top of Stack: (sp=0x0000000054b6b6a0)
0x0000000054b6b6a0: 0000000000000018 0000000000000021
0x0000000054b6b6b0: 00007fbb48bac690 00007fbb48b07afe
0x0000000054b6b6c0: 0000000000000018 00000002d6a9b5f0
0x0000000054b6b6d0: 00007fbb48bac690 0000000000000018
0x0000000054b6b6e0: 00007fbb48ddd9e0 00000000000000bf
0x0000000054b6b6f0: 00007fb5ddd7b4e2 0000000000000018
0x0000000054b6b700: 00007fbb48ddd9e0 00000000000000bf
0x0000000054b6b710: 00007fb5ddd7b4e2 0000000054b6b8c0
0x0000000054b6b720: 00007fb5d8e86000 00007fbb48b06a78
0x0000000054b6b730: 0000000000000000 0000000000000018
0x0000000054b6b740: 00000000000000bf 00007fb5ddcc28f3
0x0000000054b6b750: 00007fb5d8e86000 0000000000008001
0x0000000054b6b760: 00007fb5de02a0ef 00007fb5de02a0d9
0x0000000054b6b770: 00007fb5d8e861c0 00007fb5ddcc562f
0x0000000054b6b780: 00007fb5d1497be0 00007fb5d1497be0
0x0000000054b6b790: 0000000000000100 00007fb5de0269e6
0x0000000054b6b7a0: 0000000054b6b800 00007fb5de23ae1f
0x0000000054b6b7b0: 0000000000000000 00007fb5eecd2a50
0x0000000054b6b7c0: 0000000000000000 00007fb5d1ab2130
0x0000000054b6b7d0: 00007fb5d1497be0 0000000000000100
0x0000000054b6b7e0: 00007fb5e4dbde80 00007fb5de23b3f0
0x0000000054b6b7f0: 00007fb5d1ab2130 00007fb5e4dbde80
0x0000000054b6b800: 0000000054b6b880 00007fbb44063852
0x0000000054b6b810: 00007fb5eecd0e16 0000000054b6b858
0x0000000054b6b820: 00007fb5eecd5fa8 0000000000000000
0x0000000054b6b830: 00007fb5eecd0e40 0000000000000000
0x0000000054b6b840: 0000000054b6b840 0000000000000000
0x0000000054b6b850: 0000000054b6b8c0 00007fb5e4dbe580
0x0000000054b6b860: 0000000000000000 00007fb5e4dbde80
0x0000000054b6b870: 0000000000000000 0000000054b6b8a0
0x0000000054b6b880: 0000000054b6b908 00007fbb44058253
0x0000000054b6b890: 0000000000000000 00007fbb44060357

Instructions: (pc=0x00007fbb48b04c1c)
0x00007fbb48b04c0c: 03 83 e8 02 89 c5 48 8b 5c ef 08 48 85 db 74 44
0x00007fbb48b04c1c: 48 8b 43 08 4c 8d 63 10 c1 e8 03 83 e8 02 48 39

Stack: [0x0000000054af0000,0x0000000054b6d000], sp=0x0000000054b6b6a0, free space=493k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libc.so.6+0x75c1c]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.caucho.vfs.OpenSSLFactory.open(JJ)J+0
j com.caucho.vfs.OpenSSLFactory.accept(Lcom/caucho/vfs/QSocket;)Z+27
j com.caucho.server.port.Port.accept(Lcom/caucho/server/port/TcpConnection;Z)Z+142
j com.caucho.server.port.TcpConnection.run()V+328
j com.caucho.util.ThreadPool$Item.runTasks()V+278
j com.caucho.util.ThreadPool$Item.run()V+106
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub

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

- Issue History
Date Modified Username Field Change
11-03-09 16:13 alex New Issue
11-03-09 16:13 alex File Added: hs_err.tar.gz
11-05-09 08:33 alex Note Added: 0004282
04-05-10 16:16 ferg Assigned To  => ferg
04-05-10 16:16 ferg Status new => closed
04-05-10 16:16 ferg Resolution open => fixed
04-05-10 16:16 ferg Fixed in Version  => 4.0.6
06-27-10 22:32 rmurayama Issue Monitored: rmurayama


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