Closed Bug 139314 Opened 23 years ago Closed 16 years ago

Freetype alloc's memory even when it is disabled in pref

Categories

(Core :: Internationalization, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: dp, Unassigned)

Details

(Keywords: intl, memory-footprint)

Attachments

(1 file)

nsFreeTypeInitGlobals(void)+81(37319) Callsite Details: Composite Byte Size: 20208 Composite Seconds: 57635.914 Composite Weight: 1516646384 Heap Object Count: 768 Heap Operation Seconds: 0.005000 20k is being allocated by freetype.
Keywords: intl
QA Contact: ruixu → ylong
Status: NEW → ASSIGNED
changed title from: Freetype being initialized even when it is disabled in pref to Freetype alloc's memory even when it is disabled in pref
Summary: Freetype being initialized even when it is disabled in pref → Freetype alloc's memory even when it is disabled in pref
bstell- is this something we should ask katakai to look after ?
Yes, basically we would like the code to not allocate any data if disabled. To avoid a crash we need to make sure that the code does not try to use any of these uninitialized items.
->ftang
Assignee: bstell → ftang
Status: ASSIGNED → NEW
Keywords: footprint
bstell: should we simply wrap if (enable_freetype2) { } around 1176 rv = nsFreeTypeInitGlobals(); 1177 if (NS_FAILED(rv)) { 1178 FreeGlobals(); 1179 return NS_ERROR_OUT_OF_MEMORY; 1180 } ? reassign to shanjian
Assignee: ftang → shanjian
shanjian is no longer working on mozilla for 2 years and these bugs are still here. Mark them won't fix. If you want to reopen it, find a good owner first.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
Mass Bug Re-Open of bugs Frank Tang Closed with no good reason. Spam is his fault not my own
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Mass Re-assinging Frank Tangs old bugs that he closed won't fix and had to be re-open. Spam is his fault not my own
Assignee: shanjian → nobody
Status: REOPENED → NEW
QA Contact: amyy → i18n
I think this was fixed in bug 190031, but in any case the source file (gfx/src/xlib/nsFontMetricsXlib.cpp) no longer exists.
Status: NEW → RESOLVED
Closed: 20 years ago16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: