[Bro-Dev] [JIRA] (BIT-831) Interpreter exceptions cause memory leaks (was "Memory leak in print")

Johanna Amann (JIRA) jira at bro-tracker.atlassian.net
Mon Oct 19 13:39:00 PDT 2015


     [ https://bro-tracker.atlassian.net/browse/BIT-831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Johanna Amann updated BIT-831:
------------------------------
    Resolution: Won't Fix
        Status: Closed  (was: Open)

Closing - we will not be able to fix this anytime in the forseeable future because of the current internal architecture. Fixing this would be part of a major rewrite of the scripting functionality of Bro--and we will not forget about it; this is one of the well-known current gotchas of Bro.

> Interpreter exceptions cause memory leaks (was "Memory leak in print")
> ----------------------------------------------------------------------
>
>                 Key: BIT-831
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-831
>             Project: Bro Issue Tracker
>          Issue Type: Problem
>          Components: Bro
>    Affects Versions: git/master
>            Reporter: Johanna Amann
>             Fix For: 2.5
>
>         Attachments: bug.bro, leak.pdf
>
>
> The following bro script apparently triggers a memory-leak in the print statement.
> {noformat}
> event HTTP::log_http(rec: HTTP::Info)
> {
> 	print fmt("%s %s", rec$md5, rec);
> }
> {noformat}
> To reproduce run bro using 2009-M57-day11-18.trace. pprof output is attached.



--
This message was sent by Atlassian JIRA
(v7.0.0-OD-08-002#70107)


More information about the bro-dev mailing list