Hello steve, I was out of office for the last one week and so I was not able to follow up with the core dump errrors.
The following commands core dumps on my machine. 1) openssl asn1parse -in cacertificate.pem -strparse 29 [ cacertificate.pem => openssl req -new -x509 -out cacertificate.pem -batch ] 2) openssl speed -multi 900000000 3) openssl pkcs8 -in rsa_key -topk8 -v2 rc4 [ rsa_key => openssl genrsa -out rsa_key ] The details are as follows. OpenSSL version: OpenSSL 0.9.7d 17 Mar 2004 built on: Tue Apr 20 01:20:12 IST 2004 platform: hpux-cc options: bn(64,32) md2(int) rc4(ptr,int) des(ptr,risc1,16,long) blowfish(idx) compiler: cc +Z -DZLIB -DOPENSSL_THREADS -DDSO_DL -DOPENSSL_NO_KRB5 -DOPENSSL_NO_RC5 -DOP ENSSL_NO_IDEA +DA1.1 -Wl,+nodefaultrpath -DB_ENDIAN -DBN_DIV2W -DMD32_XARRAY -Ae +ESlit +O3 -z OPENSSLDIR: "/opt/openssl" OS Name, Version, Hardware platform HP-UX B.11.11 U 9000/800 and HP-UX B.11.22 U ia64 Compiler Details (name, version) HP92453-01 A.11.01.21 HP C Compiler PA HP aC++/C B3910B A.05.36 IPF Problem Description The following commands core dumps. 1) openssl asn1parse -in cacertificate.pem -strparse 29 [ cacertificate.pem => openssl req -new -x509 -out cacertificate.pem -batch ] 2) openssl speed -multi 900000000 3) openssl pkcs8 -in rsa_key -topk8 -v2 rc4 [ rsa_key => openssl genrsa -out rsa_key ] Stack Traceback 1) openssl asn1parse -in cacertificate.pem -strparse 29 # gdb -q `which openssl` core ..(no debugging symbols found)... Core was generated by `openssl'. Program terminated with signal 11, Segmentation fault. (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...#0 0x41b6a40:1 in asn1parse_main+0x1461 () (gdb) bt #0 0x41b6a40:1 in asn1parse_main+0x1461 () #1 0x42ec630:0 in do_cmd+0x120 () #2 0x4097200:0 in main+0x700 () 2) openssl speed -multi 900000000 # gdb -q `which openssl` core (no debugging symbols found)...Core was generated by `openssl'. Program terminated with signal 11, Segmentation fault. (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...#0 0x42a3ba0:1 in do_multi+0x1b1 () (gdb) bt #0 0x42a3ba0:1 in do_multi+0x1b1 () #1 0x429bee0:0 in speed_main+0x1f60 () #2 0x42ec630:0 in do_cmd+0x120 () #3 0x4097200:0 in main+0x700 () 3) openssl pkcs8 -in rsa_key -topk8 -v2 rc4 # gdb -q `which openssl` core (no debugging symbols found)...Core was generated by `openssl'. Program terminated with signal 11, Segmentation fault. (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...#0 0x40c7f80:0 in asn1_ex_i2c+0x7c0 () (gdb) bt #0 0x40c7f80:0 in asn1_ex_i2c+0x7c0 () #1 0x40c75a0:0 in asn1_i2d_ex_primitive+0x60 () #2 0x40c57c0:0 in ASN1_item_ex_i2d+0x240 () #3 0x40c6740:0 in ASN1_template_i2d+0x600 () #4 0x40c5e30:0 in ASN1_item_ex_i2d+0x8b0 () #5 0x40c6740:0 in ASN1_template_i2d+0x600 () #6 0x40c5e30:0 in ASN1_item_ex_i2d+0x8b0 () #7 0x40c5560:0 in ASN1_item_i2d+0x1d0 () #8 0x42bde90:0 in i2d_PBE2PARAM+0x40 () #9 0x42bb550:0 in ASN1_pack_string+0x1a0 () #10 0x42bdaf0:0 in PKCS5_pbe2_set+0x7d0 () #11 0x42bd0b0:0 in PKCS8_encrypt+0xd0 () #12 0x42c1ce0:0 in pkcs8_main+0x1570 () #13 0x42ec630:0 in do_cmd+0x120 () #14 0x4097200:0 in main+0x700 () PS: The -z option of HP C compiler is necessary to catch this core dump error. Here with I have attached three sample programs to reproduce the same bugs and my analysis on the same. Has this been fixed in the latest snapshot ? If so kindly point me the location for the corresponding patch. Thanks and regards, Murugesan ========================================================================= On Mon, Jun 21, 2004, murugesan wrote: > Hello all, > > I am using HP-UX > > 1) openssl asn1parse -in ca_cert.pem -strparse 29 > 2) openssl speed -multi 100000000 > 3) openssl pkcs8 -in rsakey -topk8 -v2 rc4 > > ( ca_cert.pem -> openssl req -new -x509 -out ca_cert.pem -batch ) > > The above commands produces core dump on my sistem. Is this has been fixed > in the latest snapshot ? > > They haven't been addressed yet. I've confirmed the first problem and I'm working on a fix. In future please report bugs via RT. Steve. -- Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage OpenSSL project core developer and freelance consultant. Funding needed! Details on homepage. Homepage: http://www.drh-consultancy.demon.co.uk ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]