Summary: | ASTERISK-12765: Memory leacks in stress test with failure | ||
Reporter: | triccyx (triccyx) | Labels: | |
Date Opened: | 2008-09-23 03:00:03 | Date Closed: | 2008-10-14 17:27:48 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) memtest.tar.gz | |
Description: | During stress tests I notice a memory leak. Test: *about 10 calls for sec. *some called phones are not present so " app_dial.c:1450 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown)" *g729 used *no packet2packet *no transcoding ****** ADDITIONAL INFORMATION ****** Using scripts with simpleopal for test | ||
Comments: | By: snuffy (snuffy) 2008-09-23 03:14:04 There is already a bug related to this issue. This will be closed unless you produce the required output Recompile with MALLOC_DEBUG (and DONT_OPTIMIZE) and upload the resulting memory log. You should also try the patch listed in ASTERISK-12746 By: triccyx (triccyx) 2008-09-23 06:04:23 I've applied the two patches to my 1.6.0 from trunk svn. The mem leak still be present. I discover them from watch -n 2 "ps aux | grep asterisk" By: triccyx (triccyx) 2008-09-23 06:06:03 I attach the files. The first is 1.txt the last is 5.txt after 30 mm By: Tilghman Lesher (tilghman) 2008-10-07 14:36:40 triccyx: Please apply the patch in ASTERISK-12746 and report back with the memory show allocations. By: triccyx (triccyx) 2008-10-08 02:08:32 Ok the patch is good for me By: Digium Subversion (svnbot) 2008-10-14 17:27:46 Repository: asterisk Revision: 149199 U trunk/channels/chan_sip.c U trunk/include/asterisk/chanvars.h U trunk/include/asterisk/config.h U trunk/include/asterisk/hashtab.h U trunk/include/asterisk/strings.h U trunk/main/chanvars.c U trunk/main/config.c U trunk/main/hashtab.c U trunk/pbx/pbx_spool.c U trunk/res/res_indications.c ------------------------------------------------------------------------ r149199 | tilghman | 2008-10-14 17:27:42 -0500 (Tue, 14 Oct 2008) | 8 lines Add additional memory debugging to several core APIs, and fix several memory leaks found with these changes. (Closes issue ASTERISK-12746, closes issue ASTERISK-12765) Reported by: mav3rick, triccyx Patches: 20081001__bug13505.diff.txt uploaded by Corydon76 (license 14) Tested by: mav3rick, triccyx ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=149199 |