Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

memory leak from lua regexps #18

Closed
niq opened this issue Dec 9, 2011 · 1 comment
Closed

memory leak from lua regexps #18

niq opened this issue Dec 9, 2011 · 1 comment

Comments

@niq
Copy link
Contributor

niq commented Dec 9, 2011

PCRE cpatt is compiled but never freed. Unfortunately the traceback is incomplete: only pcre.c and matcher.c are informative.

==1888== 142 bytes in 2 blocks are definitely lost in loss record 1,901 of 2,307
==1888== at 0x4C26FDE: malloc (vg_replace_malloc.c:236)
==1888== by 0x4E40C3A: ink_malloc (in /usr/lib64/libtsutil.so.3.0.0)
==1888== by 0x58B89E1: pcre_compile2 (in /lib64/libpcre.so.0.0.1)
==1888== by 0xEE62B16: modpcre_compile (pcre.c:95)
==1888== by 0xE84B55F: ib_matcher_compile (matcher.c:113)
==1888== by 0xFEEC290: lj_vm_ffi_call (in /usr/local/ironbee/lib/ibmod_lua.so

@ghost ghost assigned b1v1r Dec 15, 2011
@ironbee
Copy link
Owner

ironbee commented Feb 15, 2012

With major recent changes to mpool code all mem leaks will be investigated as a task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants