I got it, it was my fault, using dmalloc shows:
27 (ERROR_OVER_FENCE) failed OVER picket-fence magic-number check
It was a malloc(sizen) and and a strncpy(... sizen) ... ;(

Surprisingly this results in an error many mallocs later.

--
Deutsche Telekom AG
Seamless ICT Security Infrastructure & Management
im Auftrag T-Systems International GmbH
Dipl. Inf Alexander Elgert
Langwadener Strasse 17
64625 Bensheim
+49 176 22 717 661 (Mobil)
+49 671 83419-12 (Tel)
+49 671 83419-30 (Fax)
E-Mail: alexander.elg...@gmx.de

________________________________________
Von: Elgert, Alexander
Gesendet: Dienstag, 16. April 2013 01:32
An: openssl-users@openssl.org
Betreff: CRYPTO_malloc (num=12, file=0x81e3ba9 "lhash.c", line=193) at mem.c:308

Hello,

I got a SIGSEGV while running openssl 1.0.1c under

(uname -a:) SunOS 5.10 Generic_147441-01 i86pc i386 i86pc

while other OSses like AIX, HP-UX, Linux runs fine.

Any suggestions / explainations would be welcome.

gdb Output is:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1 (LWP 1)]
0xfed45b8e in _smalloc () from /lib/libc.so.1
(gdb) bt
#0  0xfed45b8e in _smalloc () from /lib/libc.so.1
#1  0xfed45db5 in _malloc_unlocked () from /lib/libc.so.1
#2  0xfed45bdc in malloc () from /lib/libc.so.1
#3  0x080f7ac4 in CRYPTO_malloc (num=12, file=0x81e3ba9 "lhash.c", line=193) at 
mem.c:308
#4  0x08119f50 in lh_insert (lh=0x8228038, data=0x82248f0) at lhash.c:193
#5  0x0811adca in int_err_set_item (d=0x82248f0) at err.c:407
#6  0x0811b406 in ERR_load_ERR_strings () at err.c:676
#7  0x0811b541 in ERR_load_strings (lib=128, str=0x821fb80) at err.c:683
#8  0x0815072e in ENGINE_load_4758cca () at e_4758cca_err.c:122
#9  0x0811295b in ENGINE_load_builtin_engines () at eng_all.c:86
#10 0x0809f2eb in Curl_ossl_init ()
#11 0x0808b6ff in curl_global_init ()
#12 0x0808757a in download_url ()
#13 0x08085f9d in main__download ()
#14 0x08086325 in main ()

Thanks in advance,

Alexander


--
Deutsche Telekom AG
Seamless ICT Security Infrastructure & Management
im Auftrag T-Systems International GmbH
Dipl. Inf Alexander Elgert
Langwadener Strasse 17
64625 Bensheim
+49 176 22 717 661 (Mobil)
+49 671 83419-12 (Tel)
+49 671 83419-30 (Fax)
E-Mail: alexander.elg...@gmx.de
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to