Navigation


Opened 10 years ago

Closed 10 years ago

#16 closed defect (fixed)

Segmentation faults in sessions

Reported by: Sebastien Decugis Owned by: Sebastien Decugis
Priority: major Milestone: release 1.1.0
Component: framework Version: tip
Keywords: Cc: dev@freediameter.net
Blocked By: Blocking:

Description

It occurs more than often that a call to fd_sess_destroy is made while some references still exist to the session object, for example in some messages.

A more strict management of a reference counter must be maintained for the sessions, taking care of:

  • messages that reference the session
  • states in the session

In particular, on session expiration, the states can be destroyed but not the session itself if it is referenced by some messages in memory.

An update of the API is expected to fix this issue.

Change History (1)

comment:1 Changed 10 years ago by Sebastien Decugis

Resolution: fixed
Status: newclosed

Addressed in 706

Note: See TracTickets for help on using tickets.