Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #26196
Closed (moved) (moved)
Open
Created May 24, 2018 by Trac@tracbot

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 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.

Trac:
Username: gvanem

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