Is this a relay, or a client? (Tentatively classifying as tor-relay.)
It's a client ... I've explicitely set ClientOnly 1 in the torrc and tor is listening only to local standard ports ( sock port 9050, control port 9051 , transparent proxy port 9040 , dns port 5353 )
I found an instance of this while testing #7802 (moved). It was caused by a path bias probe. I can add a check for circ->n_chan != NULL && (circ->n_chan->state == CHANNEL_STATE_OPEN || circ->n_chan->state == CHANNEL_STATE_MAINT) in pathbias_send_usable_probe(), unless there is a better fix.
Trac: Owner: N/Ato mikeperry Keywords: N/Adeleted, MikePerry201301 added Status: new to assigned
I pushed this fix (modulo DeMorgan) to mikeperry/bug7802 and restarted my testing. The check has been exercised successfully a few times already. It might take me a while to trigger the null condition though. I guess maybe my Internet connection must have dropped?
We just did a little emergency post-merge review, and stuff looks basically okay. Closing this and #7802 (moved); Andrea is opening a new ticket with the issues we found during review.
Trac: Resolution: N/Ato fixed Status: reopened to closed