SIGSEGV with empty COI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Moonshot Trust-Router |
Fix Committed
|
High
|
Jennifer Richards |
Bug Description
It might occur with other combinations, but this is what I found.
When there is an empty COI (ie. COI without any IDP realm or RP realm), and you perform several tidc queries (both successful and failed), it eventually SIGSEGVs.
#0 0x000000000041aedb in tr_comm_sweep_func (head=0x63b550) at common/
comm = 0x0
old_next = <optimized out>
#1 tr_comm_table_sweep (ctab=0x636080) at common/
No locals.
#2 0x000000000040c466 in trps_sweep_ctable (trps=trps@
tmp_ctx = 0x636330
sweep_time = {tv_sec = 11410, tv_nsec = 672013793}
memb = <optimized out>
iter = 0x638f90
rc = TRP_ERROR
#3 0x000000000040603f in tr_trps_sweep (listener=
at tr/tr_trp.c:354
cookie = <optimized out>
trps = 0x634310
ev = 0x639520
table_str = 0x0
#4 0x00007ffff76923dc in event_base_loop () from /usr/lib/
No symbol table info available.
#5 0x0000000000403fd0 in main (argc=<optimized out>, argv=<optimized out>) at tr/tr_main.c:256
main_ctx = 0x634070
tr = 0x634150
opts = {version_requested = 0, config_dir = 0x4277b9 "."}
ev_base = 0x639b60
tids_ev = {n_sock_fd = 2, sock_fd = {8, 9, 0, 0, 0, 0, 0, 0, 0, 0}, ev = {0x637e20, 0x6363e0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0}}
cfgwatch_ev = 0x6390f0
affects: | moonshot.tr → moonshot-tr |
Changed in moonshot-tr: | |
status: | New → In Progress |
assignee: | nobody → Jennifer Richards (jennifer-k) |
Changed in moonshot-tr: | |
status: | In Progress → Fix Committed |
This is possibly related to #1751320