[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #26196 [- Select a component]: Abort in test_bridges.c
#26196: Abort in test_bridges.c
--------------------------------------+------------------------------
Reporter: gvanem | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone:
Component: - Select a component | Version: Tor: unspecified
Severity: Normal | Keywords: crash, tests
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
--------------------------------------+------------------------------
Running {{{test.exe bridges/clear_bridge_list}}} causes this assertion:
{{{
bridges/clear_bridge_list: May 23 17:12:53.714 [err]
tor_assertion_failed_():
Bug: container.h:70: smartlist_get: Assertion sl->num_used > idx failed;
}}}
AFAICS, since {{{sweep_bridge_list()}}} caused all entries in
{{{bridgelist}}} to get deleted, an index of zero is illegal. Don't ask me
why.
And since I compiled all {{{test/*.c}}} sources with
{{{-DDEBUG_SMARTLIST}}}, this will trigger this abort(). I fail to see why
this isn't done in the officially.
\\
PS1. I'm on Win-10, tor.exe + libs was built with MSVC 2017.
\\
PS2. Build tor.exe from master at 23 May 2018.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26196>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs