Closed Bug 458781 Opened 16 years ago Closed 16 years ago

1 nsStringBuffer leak triggered by test_bug353415-1.html, test_bug353415-2.html, test_bug392567.html and scriptaculous/...

Categories

(MailNews Core :: Backend, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.9.1b3

People

(Reporter: sgautherie, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: memory-leak)

Attachments

(1 file)

[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1b1pre) Gecko/20081004 SeaMonkey/2.0a2pre] (home, optim default) (W2Ksp4) |python runtests.py --autorun --close-when-done --leak-threshold=21493| After working around bug 391318, { TEST-PASS | runtests-leaks | WARNING leaked 8 bytes during test execution (under threshold set at 21493 bytes) TEST-PASS | runtests-leaks | leaked 1 instance of nsStringBuffer with size 8 bytes } "remains". This leaks appears with any one of these tests; running more than one test does not leak additional strings. The tests are in content/html/content/test/... test_bug353415-1.html test_bug353415-2.html test_bug392567.html and dom/tests/mochitest/ajax/scriptaculous/... [I did not narrow which one(s).]
WFM on Mac. I don't get any leaks with test_bug353415-1.html or with scriptaculous. Can you get a balance tree showing the leaked allocation? http://www.mozilla.org/performance/leak-tutorial.html
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1b2pre) Gecko/20081009 SeaMonkey/2.0a2pre] (home, optim default) (W2Ksp4) XPCOM_MEM_LOG_CLASSES gives me an output like { Serial Numbers of Leaked Objects: 34142 @04B443F8 (1 references) } But I get an endless loop of { ### ERROR: SymGetModuleInfo64: Le module spÚcifiÚ est introuvable. } as soon as I add XPCOM_MEM_REFCNT_LOG :-(
Attached file Balanced tree (attempt 1) (deleted) —
Using XPCOM_MEM_LOG_OBJECTS, I could get a tree (for test_bug353415-1.html), but I'm not sure this one will be that much useful :-/ NB: I added the stacks at the beginning of the file.
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1b2pre) Gecko/20081116 SeaMonkey/2.0a2pre] (home, optim default) (W2Ksp4) (http://hg.mozilla.org/mozilla-central/rev/8b3caddca8f5 +http://hg.mozilla.org/comm-central/rev/ebcb28433bfe) Leak still there.
Flags: wanted1.9.1?
(In reply to comment #1) > WFM on Mac. That's odd/interesting, as bug 450983 comment 39 (now) confirms this bug, on all 3 platforms...
OS: Windows 2000 → All
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.2a1pre) Gecko/20090118 SeaMonkey/2.0a3pre] (experimental/_m-c_, home, optim default) (W2Ksp4) (http://hg.mozilla.org/mozilla-central/rev/aa198b35552d +http://hg.mozilla.org/comm-central/rev/c5c795d2335c) Fail. [Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.2a1pre) Gecko/20090117 SeaMonkey/2.0a3pre] (experimental/_m-c_, home, optim default) (W2Ksp4) (http://hg.mozilla.org/mozilla-central/rev/a3abe1807f71 + bug 446300 patch +http://hg.mozilla.org/comm-central/rev/da4ab57196d6 + bug 446300 patch) Pass. (2 days) Fix timeframe: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=aa198b35552d&tochange=a3abe1807f71
Status: NEW → RESOLVED
Closed: 16 years ago
Component: General → Backend
Depends on: 433316
Flags: wanted1.9.1?
Product: Core → MailNews Core
QA Contact: general → backend
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.1b3
Ftr, (fixed) leak threshold was updated by bug 473686 comment 14.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: