Closed Bug 394510 Opened 18 years ago Closed 18 years ago

text run leak on garbled input

Categories

(Core Graveyard :: GFX, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sayrer, Assigned: roc)

References

()

Details

(Keywords: memory-leak)

Attachments

(1 file, 1 obsolete file)

The text at the URL is garbled. Caught this with a new script I have that walks the Web for random URLs and checks for leaks. HTTP/1.1 200 OK Date: Fri, 31 Aug 2007 23:05:36 GMT Server: Apache/1.3.37 (Unix) mod_ssl/2.8.28 OpenSSL/0.9.7e-p1 Last-Modified: Mon, 02 Jul 2007 11:14:26 GMT ETag: "2ebdf96-182c-4688de12" Accept-Ranges: bytes Content-Length: 6188 Connection: close Content-Type: text/html
Summary: text run leak → text run leak on garbled input
Attached file garbled page (obsolete) —
Depends on: 394517
Blocks: 394517
No longer depends on: 394517
Assignee: nobody → roc
Flags: blocking1.9?
Flags: blocking1.9? → blocking1.9+
What did you use to detect the leak? I ran with XPCOM_MEM_LEAK_LOG=2 XPCOM_MEM_LOG_CLASSES=gfxTextRun, loaded the page, and then shut down, and I didn't see any leaks of gfxTextRun.
I ran with XPCOM_MEM_LEAK_LOG=1 and launched like so: "./firefox -foreground http://smashingmag.com/tour/02tr/021113primalken.html" then quit. Still get it, but I will update my build and check again.
Comment on attachment 279173 [details] garbled page oops, this attachment doesn't leak, but the site does. will try to get something permanent in the bug.
Attachment #279173 - Attachment is obsolete: true
Attached patch plug leakSplinter Review
We're leaking the hyphen textrun that we create/use to measure and draw soft hyphens. This patch fixes that.
Attachment #279705 - Flags: review?(smontagu)
Attachment #279705 - Flags: review?(smontagu) → review+
checked in.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Flags: in-testsuite?
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: