[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-dev] Abort in test_bridges.c



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 'smartlist_get(bridgelist,0)' should be compiled with
'-DDEBUG_SMARTLIST' in all tests/*.c sources. No?

I'm on Win-10, tor.exe + libs was built with MSVC 2017.

--
--gv
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev