Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #246

Closed (moved)
Open
Created Jan 25, 2006 by Trac@tracbot

segfault after upgrade to Openssl-0.9.8

After upgrading to Openssl-0.9.8, tor SegFaults when trying to establish a TLSv3 session. This bug exists in both current-stable, and .11-alpha and .12-alpha.

Relevent debug info : (tor compiled with --enable-debug)

Jan 25 10:32:02.287 [debug] connection_or_finished_connecting(): OR connect() to router at 82.165.233.43:9001 finished. Jan 25 10:32:02.287 [debug] connection_tls_start_handshake(): starting TLS handshake on fd 7 Jan 25 10:32:02.287 [debug] connection_tls_continue_handshake(): wanted read Jan 25 10:32:02.287 [debug] connection_tls_continue_handshake(): wanted read Jan 25 10:32:02.501 [debug] conn_read_callback(): socket 7 wants to read. Segmentation fault (core dumped)

stack backtrace :

#268 (moved) 0x40066fd0 in ?? () from /usr/lib/libssl.so.0 #269 (moved) 0x082a4a78 in ?? () #270 (moved) 0x081c2120 in ?? () #271 (moved) 0xbfdd26a8 in ?? () #272 (moved) 0x4005485a in SSL_connect () from /usr/lib/libssl.so.0 #273 (moved) 0x082a4a78 in ?? () #274 (moved) 0x0825bbe8 in ?? () #275 (moved) 0x082d5fe0 in ?? () #276 (moved) 0x080be2eb in tor_tls_handshake (tls=0xbfdd23c4) at tortls.c:556 Previous frame inner to this frame (corrupt stack?)

OpenSSL version info :

OpenSSL 0.9.8a 11 Oct 2005 built on: Tue Jan 24 14:01:00 EST 2006 platform: linux-elf options: bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) idea(int) blowfish(idx) compiler: gcc -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -mcpu=pentium -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM OPENSSLDIR: "/etc/ssl"

LDD info for TOR binary :

ldd /usr/local/bin/tor libz.so.1 => /usr/lib/libz.so.1 (0x40026000) libssl.so.0 => /usr/lib/libssl.so.0 (0x40037000) libpthread.so.0 => /lib/libpthread.so.0 (0x40068000) libdl.so.2 => /lib/libdl.so.2 (0x400b9000) libevent-1.1a.so.1 => /usr/local/lib/libevent-1.1a.so.1 (0x400bd000) libc.so.6 => /lib/libc.so.6 (0x400c4000) libcrypto.so.0 => /usr/lib/libcrypto.so.0 (0x401f3000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

[Automatically added by flyspray2trac: Operating System: Other Linux]

Trac:
Username: mindcandy28

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None