mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Add a stack trace for help debugging one part of 17659
This commit is contained in:
parent
85a48d5e47
commit
a33e9f208a
@ -11,6 +11,9 @@
|
||||
#define CONNECTION_EDGE_PRIVATE
|
||||
|
||||
#include "or.h"
|
||||
|
||||
#include "backtrace.h"
|
||||
|
||||
#include "addressmap.h"
|
||||
#include "buffers.h"
|
||||
#include "channel.h"
|
||||
@ -855,6 +858,7 @@ connection_ap_mark_as_pending_circuit_(entry_connection_t *entry_conn,
|
||||
log_warn(LD_BUG, "What?? pending_entry_connections already contains %p! "
|
||||
"(called from %s:%d)",
|
||||
entry_conn, fname, lineno);
|
||||
log_backtrace(LOG_WARN, LD_BUG, "To debug, this may help.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user