[tor-bugs] #18286 [Tor]: tor 0.2.8.1-alpha-dev - dumping core on test, tor binary dumps core as well

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Apr 4 09:00:45 UTC 2016


#18286: tor 0.2.8.1-alpha-dev - dumping core on test, tor binary dumps core as well
------------------------------------------+--------------------------------
 Reporter:  yancm                         |          Owner:  yawning
     Type:  defect                        |         Status:  needs_review
 Priority:  Very High                     |      Milestone:  Tor:
Component:  Tor                           |  0.2.8.x-final
 Severity:  Critical                      |        Version:  Tor:
 Keywords:  crash must-fix-before-028-rc  |  0.2.8.1-alpha
Parent ID:                                |     Resolution:
 Reviewer:                                |  Actual Points:
                                          |         Points:
                                          |        Sponsor:
------------------------------------------+--------------------------------

Comment (by yancm):

 I am still unable to build tor (master) against OpenSSL (master)?

 I receive the following:
 # gmake
 gmake  all-am
 gmake[1]: Entering directory '/usr/local/src/tor'
   CC       src/common/crypto.o
 src/common/crypto.c: In function 'crypto_early_init':
 src/common/crypto.c:295:5: warning: implicit declaration of function
 'ERR_load_crypto_strings'
 src/common/crypto.c:296:5: warning: implicit declaration of function
 'OpenSSL_add_all_algorithms'
 src/common/crypto.c: In function 'crypto_thread_cleanup':
 src/common/crypto.c:420:3: error: too many arguments to function
 'ERR_remove_thread_state'
 /usr/local/include/openssl/err.h:363:6: note: declared here
 src/common/crypto.c: In function 'openssl_locking_cb_':
 src/common/crypto.c:3082:14: error: 'CRYPTO_LOCK' undeclared (first use in
 this function)
 src/common/crypto.c:3082:14: note: each undeclared identifier is reported
 only once for each function it appears in
 src/common/crypto.c: At top level:
 src/common/crypto.c:3139:43: error: expected ')' before '*' token
 src/common/crypto.c: In function 'setup_openssl_threading':
 src/common/crypto.c:3151:3: warning: implicit declaration of function
 'CRYPTO_num_locks'
 src/common/crypto.c:3156:3: warning: implicit declaration of function
 'CRYPTO_set_locking_callback'
 src/common/crypto.c:3157:3: warning: implicit declaration of function
 'CRYPTO_THREADID_set_callback'
 src/common/crypto.c:3157:32: error: 'tor_set_openssl_thread_id' undeclared
 (first use in this function)
 src/common/crypto.c: In function 'crypto_global_cleanup':
 src/common/crypto.c:3173:3: error: too many arguments to function
 'ERR_remove_thread_state'
 /usr/local/include/openssl/err.h:363:6: note: declared here
 Makefile:3341: recipe for target 'src/common/crypto.o' failed
 gmake[1]: *** [src/common/crypto.o] Error 1
 gmake[1]: Leaving directory '/usr/local/src/tor'
 Makefile:1930: recipe for target 'all' failed
 gmake: *** [all] Error 2

 When you built OpenSSL did you build 1.1.0 api explicitly? ("./config
 --api=1.1.0")

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18286#comment:12>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list