[OpenSER-Devel] [ openser-Bugs-1933653 ] xlog: memory not cleaned up on shutdown
SourceForge.net
noreply at sourceforge.net
Thu Apr 3 22:06:17 CEST 2008
Bugs item #1933653, was opened at 2008-04-03 14:51
Message generated for change (Settings changed) made by osas
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1933653&group_id=139143
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver devel
>Status: Closed
>Resolution: Works For Me
Priority: 5
Private: No
Submitted By: Ovidiu Sas (osas)
Assigned to: Nobody/Anonymous (nobody)
Summary: xlog: memory not cleaned up on shutdown
Initial Comment:
When openser shuts down, most of the allocated memory is cleaned up. There are some leftovers from the xlog fixup functions:
265. N address=0x81b66c0 frag=0x81b66a8 size=44 used=1
alloc'd from xlog.c: xlog_fixup(243)
start check=f0f0f0f0, end check= c0c0c0c0, abcdefed
static int xlog_fixup(void** param, int param_no)
{
...
xlp = (xl_level_p)pkg_malloc(sizeof(xl_level_t));
if(xlp == NULL)
{
LM_ERR("no more memory\n");
return E_UNSPEC;
}
memset(xlp, 0, sizeof(xl_level_t));
...
----------------------------------------------------------------------
>Comment By: Ovidiu Sas (osas)
Date: 2008-04-03 16:06
Message:
Logged In: YES
user_id=1395524
Originator: YES
This seems to be a general issue in the openser architecture (the
reference is lost by the module and it is known only by core).
The only gain in fixing this bug would be in memory leak hunting (the
memory is freed up anyway during shutdown), otherwise the shutdowd is
faster.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1933653&group_id=139143
More information about the Devel
mailing list