WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
76605
LEAK : Reg.Date() function memory leak...
https://bugs.webkit.org/show_bug.cgi?id=76605
Summary
LEAK : Reg.Date() function memory leak...
ssseintr
Reported
2012-01-18 23:15:36 PST
Hi All, I had found some memory leak in Date() funtion. As per my understanding, nearly 120 bytes leaked every time when load the below script. <script> str ="Date : "+new Date(); </script> This memory couldn't freed either to load next page or exit from the WebKit. Please help me to solve this problem. Regards, Vicky.
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2012-01-19 12:21:30 PST
Could you please provide steps to reproduce (i.e. what metric to watch for while reloading this test script)?
ssseintr
Comment 2
2012-01-20 19:46:00 PST
You can see the task manager's "mem usage". Because of its small size(typically 120 bytes for each iteration) it needs continuous reloading of below script, <script> str ="Date : "+new Date(); </script> In case of debug mode, valgrind provides the necessary metrics. Also putting traces in fastMalloc,fastFree shows this leak.
Oleg Smirnov
Comment 3
2013-01-28 22:49:58 PST
Can not reproduce this issue on latest WebKitGtk.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug