[asterisk-bugs] [Asterisk 0011446]: Memory Leak when running asterisk -rx "xxxxxx"
noreply at bugs.digium.com
noreply at bugs.digium.com
Wed Dec 5 11:46:20 CST 2007
The following issue has been ASSIGNED.
======================================================================
http://bugs.digium.com/view.php?id=11446
======================================================================
Reported By: licedey
Assigned To: russell
======================================================================
Project: Asterisk
Issue ID: 11446
Category: Core-General
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
Asterisk Version: 1.4.15
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 12-03-2007 10:03 CST
Last Modified: 12-05-2007 11:46 CST
======================================================================
Summary: Memory Leak when running asterisk -rx "xxxxxx"
Description:
There is a memory leak, when we use asterisk -rx too often:
To reproduce the bug, you have to enable the threadstorage debugging:
make menuselect
-->10.Compile Flags
[X] 4. DEBUG_THREADLOCALS
save
make clean && make && make install
restart asterisk
from console run:
asterisk -rx "threadstorage show allocations utils.c"
Everytime you run it, the number of allocated threads will grow.
======================================================================
----------------------------------------------------------------------
svnbot - 12-05-07 11:46
----------------------------------------------------------------------
Repository: asterisk
Revision: 91197
_U trunk/
U trunk/main/threadstorage.c
------------------------------------------------------------------------
r91197 | russell | 2007-12-05 11:46:19 -0600 (Wed, 05 Dec 2007) | 18 lines
Merged revisions 91192 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r91192 | russell | 2007-12-05 11:31:42 -0600 (Wed, 05 Dec 2007) | 10 lines
Make the lock in the threadstorage debugging code untracked to avoid a
deadlock
on thread destruction.
(closes issue http://bugs.digium.com/view.php?id=11207)
Reported by: ys
Patches:
threadstorage.c.diff uploaded by ys (license 281)
Also fixes an open bug report: (closes issue
http://bugs.digium.com/view.php?id=11446)
........
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=91197
Issue History
Date Modified Username Field Change
======================================================================
12-05-07 11:46 svnbot Checkin
12-05-07 11:46 svnbot Note Added: 0074840
12-05-07 11:46 svnbot Status new => assigned
12-05-07 11:46 svnbot Assigned To => russell
======================================================================
More information about the asterisk-bugs
mailing list