Occasional TR segfault after reloading configuration

Bug #1699510 reported by Jennifer Richards
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Moonshot Trust-Router
Fix Released
High
Jennifer Richards

Bug Description

The trust router has been occasionally exiting uncleanly with a SIGSEGV. This seems to happen while going through its community table, which is evidently corrupted. I can only reproduce it after a dynamic reload of the configuration files (i.e., by editing and saving one of the files). I suspect a pointer is either not being updated properly or something is not being reinitialized after cleaning up the old configuration.

Note that I have only observed this in a development branch, I have not tested the releases and I don't recall having encountered this before.

Changed in moonshot-tr:
milestone: none → 3.0
Revision history for this message
Jennifer Richards (jennifer-k) wrote :

Found that the refcount for IDP realms, which is used for sweeping the community tables, was not being initialized when a new IDP realm was allocated, leading to realm table corruption.

Changed in moonshot-tr:
status: New → Fix Committed
Changed in moonshot-tr:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.