<p dir="ltr">Will do tomorrow</p>
<p dir="ltr">Sent from phone, thus brief. </p>
<div class="gmail_quote">Am 12.07.2013 22:05 schrieb "Champ Clark III" <<a href="mailto:cclark@quadrantsec.com">cclark@quadrantsec.com</a>>:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
I'll have to run on a different box, as this machine (for whatever<br>
reason) doesn't play well with valgrind. I'll do that from a Ubuntu<br>
VM ASAP.<br>
<br>
If you get a chance, can you glance and the code and see if I'm<br>
blatantly and improperly cleaning up incorrectly?<br>
<br>
I'll let you know the results from valgrind ASAP.<br>
<br>
<br>
On 7/12/13 4:02 PM, Rainer Gerhards wrote:<br>
> Can you run it under valgrind and tell what it says at end of run?<br>
><br>
> Sent from phone, thus brief.<br>
><br>
> Am 12.07.2013 22:00 schrieb "Champ Clark III"<br>
> <<a href="mailto:cclark@quadrantsec.com">cclark@quadrantsec.com</a> <mailto:<a href="mailto:cclark@quadrantsec.com">cclark@quadrantsec.com</a>>>:<br>
><br>
><br>
> Hello All!<br>
><br>
> I've got either a memory leak in liblognorm _or_ I'm not doing<br>
> something correctly. In Sagan, we have "processors" that do log<br>
> analysis using other techniques besides "rules". As part of this<br>
> process, liblognorm is used pretty heavily.<br>
><br>
> In the Sagan processor, if I turn on liblognorm, Sagan slowly<br>
> starts to consume memory. However, if I tell the processor not to<br>
> use liblognorm, the memory stays consistent.<br>
><br>
> My thoughts are that I'm not either clean up after using<br>
> liblognorm correctly or liblognorm has a slow memory leak.<br>
><br>
> My slightly mangled debug/Sagan code is at:<br>
><br>
> <a href="https://github.com/beave/sagan/blob/master/src/sagan-liblognorm.c" target="_blank">https://github.com/beave/sagan/blob/master/src/sagan-liblognorm.c</a><br>
><br>
> I think the problem is in the sagan_normalize_liblognorm()<br>
> function. Near the end, I've tried various ways to clean up, but<br>
> with no affect. (ee_deleteEvent(), free(), etc)<br>
><br>
> Any ideas would be greatly appreciated.<br>
><br>
><br>
> _______________________________________________ Lognorm mailing<br>
> list <a href="mailto:Lognorm@lists.adiscon.com">Lognorm@lists.adiscon.com</a> <mailto:<a href="mailto:Lognorm@lists.adiscon.com">Lognorm@lists.adiscon.com</a>><br>
> <a href="http://lists.adiscon.net/mailman/listinfo/lognorm" target="_blank">http://lists.adiscon.net/mailman/listinfo/lognorm</a><br>
><br>
><br>
><br>
> _______________________________________________ Lognorm mailing<br>
> list <a href="mailto:Lognorm@lists.adiscon.com">Lognorm@lists.adiscon.com</a><br>
> <a href="http://lists.adiscon.net/mailman/listinfo/lognorm" target="_blank">http://lists.adiscon.net/mailman/listinfo/lognorm</a><br>
><br>
<br>
- --<br>
- - Champ Clark III (<a href="mailto:cclark@quadrantsec.com">cclark@quadrantsec.com</a>)<br>
Quadrant Information Security (<a href="http://quadrantsec.com" target="_blank">http://quadrantsec.com</a>)<br>
Key Fingerprint: 2E56 C2EB 1B25 C517 D5BA 2DCF 5E70 B2F8 0381 878A<br>
GPG Key ID: 0381878A<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)<br>
Comment: GPGTools - <a href="http://gpgtools.org" target="_blank">http://gpgtools.org</a><br>
Comment: Using GnuPG with Thunderbird - <a href="http://www.enigmail.net/" target="_blank">http://www.enigmail.net/</a><br>
<br>
iQEcBAEBAgAGBQJR4GGHAAoJENnmXt7Lmc3K4oMH+wRHHkchFSsVgSx/CRZ33Ae3<br>
YAxqJNVKwNNkiS6wRKnMJp+odoV804VxxRzotSEFGHu3Tiz59p9cEPYf9SUK6hve<br>
zWONr3TdeCHkOaXZweeOZT5LK+Q+acehjIZp3314WFgm+NAfJ7Ms6fX/VC4qi/Yh<br>
MgFPlBjYjqYz4xAQRFvS3LtzU7U0mA+FXhT0LpchvfyDMKkSLmhJ+I3S+7qLExJo<br>
YnmI5Bt5laIVc4KAC8rzC/uKLuLRdaXbxrNUTqCZebLDdwJ040Llg267MdAZBiDR<br>
5kQXXqH3a6tykebosydtZUxbp5OrXUVoVmOBZrGQYsQs4bb6P8YLKNtlRImADLA=<br>
=x/xI<br>
-----END PGP SIGNATURE-----<br>
_______________________________________________<br>
Lognorm mailing list<br>
<a href="mailto:Lognorm@lists.adiscon.com">Lognorm@lists.adiscon.com</a><br>
<a href="http://lists.adiscon.net/mailman/listinfo/lognorm" target="_blank">http://lists.adiscon.net/mailman/listinfo/lognorm</a><br>
</blockquote></div>