Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#3930 closed defect (wontfix)

tor 0.2.2.32 crashes with SIGSEGV on SSL_CIPHER_get_name

Reported by: monochromec Owned by:
Priority: High Milestone: Tor: 0.2.2.x-final
Component: Core Tor/Tor Version: Tor: 0.2.2.32
Severity: Keywords: relay libssl sigsegv ssl_cipher_get_name tor-relay
Cc: monochromec@… Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description (last modified by arma)

When running in daemon mode as a relay, tor crashes with a SIGSEV in in libssl.

Here the stack trace:

#0  0x40168b00 in SSL_CIPHER_get_name () from /lib/libssl.so.1.0.0
#1  0x000bdbb4 in tor_tls_client_is_using_v2_ciphers (ssl=<value optimized out>, address=0x3a0ed8 "[scrubbed]") at tortls.c:866
#2  0x000bde9c in tor_tls_handshake (tls=0x39ea38) at tortls.c:1294
#3  0x00077d98 in connection_tls_continue_handshake (conn=0x39f608) at connection_or.c:920
#4  0x0006e72c in connection_handle_read (conn=0x39f608) at connection.c:2610
#5  0x0001136c in conn_read_callback (fd=<value optimized out>, event=0, _conn=0x401765bc) at main.c:514
#6  0x401018a4 in event_base_loop () from /opt/lib/libevent-2.0.so.5
#7  0x0000e7b8 in do_main_loop () at main.c:1564
#8  0x0000ea70 in tor_main (argc=1, argv=<value optimized out>) at main.c:2226
#9  0x403159a0 in __libc_start_main () from /lib/libc.so.6
#10 0x0000d388 in _start ()

Plattform is a Synology DS211j: Linux 2.6.32.12 #1748 Wed Jun 29 11:44:24 CST 2011 armv5tel GNU/Linux synology_88f6281_211j

Client-only operation works fine.

Child Tickets

Change History (7)

comment:1 Changed 7 years ago by arma

Description: modified (diff)
Milestone: Tor: 0.2.2.x-final
Summary: tor 0.2.2.32 crashes with SIGSEV on SSL_CIPGER_get_nametor 0.2.2.32 crashes with SIGSEV on SSL_CIPHER_get_name

comment:2 Changed 7 years ago by arma

What version of OpenSSL are you using?

comment:3 Changed 7 years ago by monochromec

OpenSSL 1.0 (libssl.so.1.0.0)

Let me know if there's more information I can provide.

comment:4 Changed 7 years ago by monochromec

Cc: monochromec@… added
Keywords: sigsegv added; sigsev removed
Summary: tor 0.2.2.32 crashes with SIGSEV on SSL_CIPHER_get_nametor 0.2.2.32 crashes with SIGSEGV on SSL_CIPHER_get_name

And this should be SIGSEGV of course :-).

comment:5 Changed 7 years ago by monochromec

Resolution: wontfix
Status: newclosed

Problem seems to boild down to incompatibilities between header files using for compiling and so library using for RT-linking.

I think we can close this.

comment:6 Changed 6 years ago by nickm

Keywords: tor-relay added

comment:7 Changed 6 years ago by nickm

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