[tor-bugs] #23250 [Core Tor/Tor]: tor-0.3.0.10: test failure on NetBSD

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Feb 15 20:36:14 UTC 2018


#23250: tor-0.3.0.10: test failure on NetBSD
-------------------------------------------------+-------------------------
 Reporter:  wiz                                  |          Owner:  dgoulet
     Type:  defect                               |         Status:
                                                 |  reopened
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.3.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  bsd, test, 032-backport,             |  Actual Points:
  031-backport                                   |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------
Changes (by leot):

 * status:  closed => reopened
 * resolution:  not a bug =>


Comment:

 Hello!
 On NetBSD/amd64 8.99.9 and Tor 0.3.2.9 the problem still exists.

 After trying to investigate a bit more here what's going on: `test-bt-cl
 assert'
 seems to pass while `test-bt-cl crash' does not print out the entire stack
 trace:

 {{{
 % ./src/test/test-bt-cl assert
 Feb 15 21:23:47.472 [err] tor_assertion_failed_(): Bug:
 src/test/test_bt_cl.c:43: crash: Assertion 1 == 0 failed; aborting. (on
 Tor 0.3.2.9 9e8b762fcecfece6)
 Feb 15 21:23:47.473 [err] Bug: Assertion 1 == 0 failed in crash at
 src/test/test_bt_cl.c:43. Stack trace: (on Tor 0.3.2.9 9e8b762fcecfece6)
 Feb 15 21:23:47.473 [err] Bug:     0x8540a675 <log_backtrace+0x45> at
 ./src/test/test-bt-cl (on Tor 0.3.2.9 9e8b762fcecfece6)
 Feb 15 21:23:47.473 [err] Bug:     0x8541d5b0 <tor_assertion_failed_+0x90>
 at ./src/test/test-bt-cl (on Tor 0.3.2.9 9e8b762fcecfece6)
 Feb 15 21:23:47.473 [err] Bug:     0x8540a427 <crash+0x77> at ./src/test
 /test-bt-cl (on Tor 0.3.2.9 9e8b762fcecfece6)
 Feb 15 21:23:47.473 [err] Bug:     0x8540a451 <oh_what+0x21> at ./src/test
 /test-bt-cl (on Tor 0.3.2.9 9e8b762fcecfece6)
 Feb 15 21:23:47.473 [err] Bug:     0x8540a4a2 <a_tangled_web+0x22> at
 ./src/test/test-bt-cl (on Tor 0.3.2.9 9e8b762fcecfece6)
 Feb 15 21:23:47.473 [err] Bug:     0x8540a4f1 <we_weave+0x21> at
 ./src/test/test-bt-cl (on Tor 0.3.2.9 9e8b762fcecfece6)
 Feb 15 21:23:47.473 [err] Bug:     0x854239a2 <main+0xa2> at ./src/test
 /test-bt-cl (on Tor 0.3.2.9 9e8b762fcecfece6)
 Abort (core dumped)
 % ./src/test/test-bt-cl crash

 ============================================================ T= 1518726235
 Tor died: Caught signal 11
 0x14840a558 <crash_handler+0x148400038> at ./src/test/test-bt-cl
 Abort (core dumped)
 }}}

 As a side note the `.core' seems to contain all the information though:

 {{{
 % gdb -core test-bt-cl.core src/test/test-bt-cl
 Reading symbols from src/test/test-bt-cl...(no debugging symbols
 found)...done.
 [New process 1]
 Core was generated by `test-bt-cl'.
 Program terminated with signal SIGABRT, Aborted.
 #0  0x00007904dad29eaa in _lwp_kill () from /usr/lib/libc.so.12
 (gdb) bt
 #0  0x00007904dad29eaa in _lwp_kill () from /usr/lib/libc.so.12
 #1  0x00007904dad29ac5 in abort () at /usr/src/lib/libc/stdlib/abort.c:74
 #2  0x000000010e00a5ed in crash_handler ()
 #3  <signal handler called>
 #4  0x000000010e00a3f0 in crash ()
 #5  0x000000010e00a451 in oh_what ()
 #6  0x000000010e00a4a2 in a_tangled_web ()
 #7  0x000000010e00a4f1 in we_weave ()
 #8  0x000000010e0239a2 in main ()
 }}}

 Unfortunately I have no idea how to address this issue further but
 I'm happy to test any possible patches and/or trying to provide
 any possible further information!


 Thank you for the attention!

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


More information about the tor-bugs mailing list