Closed Bug 469062 Opened 16 years ago Closed 16 years ago

test_multiple_visits_around_sync.js leaks now

Categories

(Toolkit :: Places, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.9.2a1

People

(Reporter: sgautherie, Assigned: mak)

References

Details

(Keywords: fixed1.9.1, memory-leak, regression)

Attachments

(2 files)

[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.2a1pre) Gecko/20081209 Minefield/3.2a1pre] (home, optim default) (W2Ksp4) (http://hg.mozilla.org/mozilla-central/rev/85507cfcdda8) No leak. [Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.2a1pre) Gecko/20081210 Minefield/3.2a1pre] (home, optim default) (W2Ksp4) (http://hg.mozilla.org/mozilla-central/rev/29f1fa84f8fd) [Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.2a1pre) Gecko/20081211 Minefield/3.2a1pre] (home, optim default) (W2Ksp4) (http://hg.mozilla.org/mozilla-central/rev/0d2bceefc012) Leaks. This timeframe includes bug 467971 checkin...
Flags: wanted1.9.2?
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.2a1pre) Gecko/20081211 Minefield/3.2a1pre] (home, optim default) (W2Ksp4) (http://hg.mozilla.org/mozilla-central/rev/0d2bceefc012)
this leak is funny, if i comment out the full test we still leak!
Bug 452899 could be related
Blocks: 452899
'wanted1.9.1=?' now that bug 467971 got landed on the 1.9.1 branch :-/
Flags: wanted1.9.1?
No longer blocks: 452899
Blocks: 452899
Assignee: nobody → mak77
No longer blocks: 452899
Status: NEW → ASSIGNED
Attached patch patch (deleted) — Splinter Review
the leak is actually due to 2 causes: 1. wrong test finish (this is understandable) 2. params binding. This is not understandable, if i bind using BindInt64Parameter we don't leak, if i bind using params["param"] or params.param then we leak. Shawn any idea about that? Hwv i think that if that strange behaviour needs to be investigated it needs probably a new storage bug, this should be fine to take as it is.
Attachment #353019 - Flags: review?(sdwilsh)
i'm removing wanted1.9.1 flags requests because this will make 1.9.1 as soon as baked on trunk, so there's no need to nag drivers
Flags: wanted1.9.2?
Flags: wanted1.9.1?
Target Milestone: --- → mozilla1.9.1
Comment on attachment 353019 [details] [diff] [review] patch r=sdwilsh Please file a bug in storage with steps to reproduce. The current tests in storage that test this do not leak, so something weird is going on.
Attachment #353019 - Flags: review?(sdwilsh) → review+
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: mozilla1.9.1 → mozilla1.9.2a1
(In reply to comment #7) > Please file a bug in storage with steps to reproduce. The current tests in > storage that test this do not leak, so something weird is going on. i'm trying to build one, if successfull i'll file that bug.
filed bug 469972 on the strange leak behaviour
Depends on: 469972
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.2a1pre) Gecko/20081219 Minefield/3.2a1pre] (home, optim default) (W2Ksp4) (http://hg.mozilla.org/mozilla-central/rev/9410ad10c6f7) V.Fixed
Status: RESOLVED → VERIFIED
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.2a1pre) Gecko/20081221 SeaMonkey/2.0a3pre] (home, optim default) (W2Ksp4) (http://hg.mozilla.org/mozilla-central/rev/b839ff0630c6 +http://hg.mozilla.org/comm-central/rev/2a4c4c1f0feb + bug 469606 patch) Confirming Fixed with SeaMonkey too.
Depends on: 469523
No longer depends on: 456414
Was bug 473845 causing this leak ? Should we back the workaround part out ?
the code is correct so i think there's no need to backout it from 2 branches, leaks fix can be verified without the need to touch this. Plus this fixes another leak due to not calling finish_test();
Bug 473845 was likely a major cause of this.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: