Opened 14 years ago

Last modified 7 years ago

#241 closed defect (Fixed)

segfaults with HW acceleration

Reported by: weasel Owned by:
Priority: Low Milestone:
Component: Core Tor/Tor Version: 0.1.1.12-alpha
Severity: Keywords:
Cc: weasel Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

as reported in #tor, Tor 0.1.1.12 (from the RPM) crashes when HW
crypto engines are available. OpenSSL was probably at 0.9.7.

Jan 16 11:22:48.845 [notice] Using OpenSSL engine Aep hardware engine support [aep] for RSA
Jan 16 11:22:48.845 [notice] Using OpenSSL engine Aep hardware engine support [aep] for DH
Jan 16 11:22:48.846 [notice] Using OpenSSL engine Aep hardware engine support [aep] for RAND

Core was generated by `tor -f /etc/tor/torrc'.

(gdb) bt
#0 0x00828480 in ?? ()
#1 0x02f5affe in ENGINE_load_aep () from /lib/libcrypto.so.4
#2 0x02f5aadb in ENGINE_load_aep () from /lib/libcrypto.so.4
#3 0x02f48082 in RSA_blinding_on () from /lib/libcrypto.so.4
#4 0x02f460a4 in RSA_PKCS1_SSLeay () from /lib/libcrypto.so.4
#5 0x02f46531 in RSA_PKCS1_SSLeay () from /lib/libcrypto.so.4
#6 0x02f47e9e in RSA_private_encrypt () from /lib/libcrypto.so.4
#7 0x02f486c6 in RSA_sign () from /lib/libcrypto.so.4
#8 0x02f75393 in EVP_SignFinal () from /lib/libcrypto.so.4
#9 0x02f7de9d in ASN1_item_sign () from /lib/libcrypto.so.4
#10 0x02f9c74e in X509_sign () from /lib/libcrypto.so.4
#11 0x080b122a in tor_tls_create_certificate ()
#12 0x080b14fc in tor_tls_context_new ()
#13 0x097ba2f0 in ?? ()
#14 0x080ba9cf in command_c_id ()
#15 0xbfeea670 in ?? ()
#16 0x43cc17af in ?? ()
#17 0xffffffff in ?? ()
#18 0xbfeea668 in ?? ()
#19 0x02f22e1d in CRYPTO_free () from /lib/libcrypto.so.4
Previous frame inner to this frame (corrupt stack?)

[Automatically added by flyspray2trac: Operating System: All]

Child Tickets

Change History (5)

comment:1 Changed 13 years ago by nickm

Right now, hw acceleration is off by default, which seems good enough. We'll wait till there's somebody who
a) gets a crash, and b) runs with accel hw.

comment:2 Changed 13 years ago by phobos

we have reports from 'Orum that hardware accell on the Via C3 works well in 0.1.1.23.

comment:3 Changed 13 years ago by phobos

More reports from 'Orum and coderman that hardware accel works fine with Via chipsets.

comment:4 Changed 13 years ago by phobos

flyspray2trac: bug closed.

comment:5 Changed 7 years ago by nickm

Component: Tor ClientTor
Note: See TracTickets for help on using tickets.