[tor-bugs] #27808 [Core Tor/Tor]: tor 0.3.5.early-alpha: Raw assertion failed at smartlist_core.c::191191 : idx>=0

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Oct 1 20:41:19 UTC 2018


#27808: tor 0.3.5.early-alpha: Raw assertion failed at smartlist_core.c::191191 :
idx>=0
---------------------------------+------------------------------------
 Reporter:  jchevali             |          Owner:  rl1987
     Type:  defect               |         Status:  needs_information
 Priority:  Very High            |      Milestone:  Tor: 0.3.5.x-final
Component:  Core Tor/Tor         |        Version:  Tor: 0.3.5.1-alpha
 Severity:  Normal               |     Resolution:
 Keywords:  regression 035-must  |  Actual Points:
Parent ID:                       |         Points:
 Reviewer:                       |        Sponsor:
---------------------------------+------------------------------------

Comment (by nickm):

 What if this is actually happening inside "retry_listener_ports", but we
 can't tell from the stack trace, because the function got inlined?

 In particular, I'm looking at how retry_listener_ports can call
 SMARTLIST_DEL on a few different things.  Is it possible that it is
 calling `SMARTLIST_DEL_CURRENT(old_conns, conn);` twice for the same value
 of conn?  That would explain how the index could become negative.

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


More information about the tor-bugs mailing list