Hi,

We are seeing this segfault in a Java VM. I guess this is a bug in OpenSS=
L?

Ortwin

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

OS:Red Hat Enterprise Linux AS release 3 (Taroon Update 6)

uname:Linux 2.4.21-37.ELsmp #1 SMP Wed Sep 7 13:28:55 EDT 2005 i686
libc:glibc 2.3.2 NPTL 0.60
rlimit: STACK 10240k, CORE 0k, NPROC 7168, NOFILE 65000, AS infinity
load average:2.36 1.36 0.95

CPU:total 4 (cores per cpu 1, threads per core 2) family 15 model 2=20
stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, ht

Memory: 4k page, physical 4101336k(906584k free), swap 249k(247k free)

vm_info: Java HotSpot(TM) Server VM (1.5.0_12-b04) for linux-x86, built=20
on May 2 2007 02:13:16 by java_re with gcc 3.2.1-7a (J2SE release)


#
# SIGSEGV (0xb) at pc=3D0x42d637f0, pid=3D22074, tid=3D1130302384
#
# Java VM: Java HotSpot(TM) Server VM (1.5.0_12-b04 mixed mode)
# Problematic frame:
# C [libcrypto.so.4+0x747f0]

Current thread (0x0849eb70): JavaThread "JMS SessionPool Worker-3"=20
daemon [_thread_in_native, id=3D23095]

siginfo:si_signo=3D11, si_errno=3D0, si_code=3D1, si_addr=3D0x000000d1

Registers:
EAX=3D0x5a900060, EBX=3D0x42ddcbf8, ECX=3D0x000000c9, EDX=3D0x546b64e0
ESP=3D0x435edd98, EBP=3D0x435eddd0, ESI=3D0x5a900084, EDI=3D0x00000080
EIP=3D0x42d637f0, CR2=3D0x000000d1, EFLAGS=3D0x00010206

Top of Stack: (sp=3D0x435edd98)
0x435edd98: 0000000c 42ddcbf8 435eddd0 42d1a2a4
0x435edda8: 0000000c 42dc1ca9 000000c1 00000080
0x435eddb8: 546b62e0 00000000 546b64e0 42ddcbf8
0x435eddc8: 546b56d8 546b56d8 435ede00 42d63598
0x435eddd8: 546b56d8 00000001 42dc23af 00000155
0x435edde8: b7507000 b75cc5c0 020000e4 42ddcbf8
0x435eddf8: 42dc23af 546b56d8 435ede30 42d65cfb
0x435ede08: 546b56d8 42ddf388 42dc23af 00000180

Instructions: (pc=3D0x42d637f0)
0x42d637e0: 74 33 8d b4 26 00 00 00 00 8d bc 27 00 00 00 00
0x42d637f0: 8b 41 08 31 d2 f7 f7 3b 55 ec 0f 84 a5 00 00 00

Stack: [0x43570000,0x435f1000), sp=3D0x435edd98, free space=3D503k
Native frames: (J=3Dcompiled Java code, j=3Dinterpreted, Vv=3DVM code,=20
C=3Dnative code)
C [libcrypto.so.4+0x747f0]
C [libcrypto.so.4+0x74598] lh_insert+0xc8
C [libcrypto.so.4+0x76cfb]
C [libcrypto.so.4+0x77383]
C [libcrypto.so.4+0x77336] ERR_load_ERR_strings+0x76
C [libcrypto.so.4+0x773c5] ERR_load_strings+0x25
C [libssl.so.4+0x29f93] ERR_load_SSL_strings+0x43
C [libssl.so.4+0x2123e] SSL_load_error_strings+0x1e
C [libcups.so.2+0x5ffe] httpInitialize+0x5e
C [libcups.so.2+0x62d8] httpConnectEncrypt+0x28
C [libcups.so.2+0x62a8] httpConnect+0x38
C [libmawt.so+0x400f] Java_sun_print_CUPSPrinter_canConnect+0x4f
j sun.print.CUPSPrinter.canConnect(Ljava/lang/String;I)Z+0
j sun.print.CUPSPrinter.isCupsRunning()Z+71
j=20
sun.print.UnixPrintServiceLookup.getPrintServices( Ljavax/print/DocFlavor;=
Ljavax/print/attribute/AttributeSet[Ljavax/print/PrintService;+125
j=20
javax.print.PrintServiceLookup.getServices(Ljavax/print/DocFlavor;Ljavax/=
print/attribute/AttributeSetLjava/util/ArrayList;+65
j=20
javax.print.PrintServiceLookup.lookupPrintServices (Ljavax/print/DocFlavor=
;Ljavax/print/attribute/AttributeSet[Ljavax/print/PrintService;+2


Dynamic libraries:
42cef000-42dcc000 r-xp 00000000 09:02 82621 /lib/libcrypto.so.0.9.7a
42dcc000-42dde000 rwxp 000dd000 09:02 82621 /lib/libcrypto.so.0.9.7a

__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majordomo@openssl.org