Closed
Bug 109256
Opened 24 years ago
Closed 24 years ago
Attempt to display Plane 1 fonts causes Mozilla to crash Trunk M096 [@ nsTextFrame::TextStyle::TextStyle]
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 108105
People
(Reporter: andrewbass, Assigned: asa)
References
()
Details
(Keywords: crash)
Crash Data
Attachments
(5 files)
Currently there's only one True Type font capable of displaying Plane 1 --
Code2001 (http://home.att.net/~jameskass/code2001.htm), it works fine with MSIE
6, but Mozilla crashes while rendering any of the test pages
(http://www.hclrss.demon.co.uk/unicode/old_italic.html,
http://www.hclrss.demon.co.uk/unicode/gothic.html,
http://www.hclrss.demon.co.uk/unicode/deseret.html) with the specified font.
| Reporter | ||
Updated•24 years ago
|
Target Milestone: --- → mozilla0.9.5
Comment 1•24 years ago
|
||
WFM Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.5+) Gecko/20011113
Reporter: What build are you seeing this on? You can find a user-agent string
like the one above by going to Help, About Mozilla.
| Reporter | ||
Comment 2•24 years ago
|
||
Sorry, I just forgot to provide the UserAgent string. Here it is:
Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:0.9.5) Gecko/20011011
Target Milestone: mozilla0.9.5 → ---
Comment 3•24 years ago
|
||
Reporter: Can you please download a nightly and retest this bug? Perhaps it's
been fixed already.
http://ftp.mozilla.org/pub/mozilla/nightly/latest/
| Reporter | ||
Comment 4•24 years ago
|
||
mozilla.org displayed with Code2001 font in MSIE v6.0
| Reporter | ||
Comment 5•24 years ago
|
||
Mozilla does render pages with Code2001, but it takes from 3 to 5 minutes to
render
one.
| Reporter | ||
Comment 6•24 years ago
|
||
I managed to view a page in the latest build (v0.9.5+.2001111303) -- or rather
Mozilla managed to display it (see attachment #2 [details] [diff] [review]). The only issue is that it ate
up all available memory (I'm running the system with 320M of RAM), so that
Windows itself stopped responding -- and then crashed. I was unable to make a
screenshot of Mozilla window at the very moment of crash as there were no free
memory to store the image in the clipboard.
| Reporter | ||
Comment 7•24 years ago
|
||
Bugzilla automatically created a hyperlink in the above comment -- ignore it. I
meant the second attachment for *this* bug.
Comment 8•24 years ago
|
||
Reporter: Okay, my system doesn't have a Code2001 font on it. :) I've never
heard of it, where do you get it from? I still don't have much of a clue on
what "Plane 1 fonts" are.
Also, are you running a TalkBack build? If so, please go to your Mozilla
directory to \bin\components\talkback.exe and run the program. You should get
some TalkBack ID #'s which Mozilla developers can use to identify what has
caused your crash.
| Reporter | ||
Comment 9•24 years ago
|
||
Just for reference. Plane 1 is a section of Unicode (http://unicode.org) that
covers Etruscan, Gothic, and Old Persian Cuneiform characters.
Talkback information follows.
| Reporter | ||
Comment 10•24 years ago
|
||
| Reporter | ||
Comment 11•24 years ago
|
||
| Reporter | ||
Comment 12•24 years ago
|
||
I explored the problem thoroughly. Code2001 is not the cause of crashes.
Still, there *is* a bug.
Font properties for Win32 platform are stored in winpref.js file. Here's an example:
pref("font.name.serif.<character coding>", "<typeface>"); // Times New Roman
pref("font.name.sans-serif.<character coding>", "<typeface>"); // Arial
pref("font.name.monospace.<character coding>", "<typeface>"); // Courier New
pref("font.name.cursive.<character coding>", "<typeface>"); // Comic Sans MS
pref("font.name.fantasy.<character coding>", "<typeface>");
There're two encodings I encountered promlems with.
1. Unicode ("x-unicode")
Default settings:
=================
pref("font.name.serif.x-unicode", "Times New Roman");
pref("font.name.sans-serif.x-unicode", "Arial");
pref("font.name.monospace.x-unicode", "Courier New");
pref("font.name.cursive.x-unicode", "Comic Sans MS");
Whichever fonts you specify for Unicode, no matter in local or in global
preferences, your settings are understood correctly (Mozilla displays font names
in Preferences-->Appearance-->Fonts-->Unicode), but *ignored*. Anyway, UTF-7 and
UTF-8 pages are rendered with Times New Roman, Arial and Courier New.
2. User-defined ("x-user-def")
Default (global) settings are absent. As long as there's no global or local
prefs for this encoding, pages are displayed using those default Times New
Roman, Arial and Courier New, though Mozilla, being unable to find font settings
for x-user-def, says that it uses "Andale Mono IPA" for displaying all five
styles. (Andale Mono IPA is the first font in my Windows font list, sorted
alphabetically.)
But *if* you dare to specify a font for the user-defined enc., no matter in
local or global prefs, Mozilla crashes while displaying a page. Even if you
explicitly specify "Times New Roman" for serif, "Arial" for sans serif and
"Courier New" for monospaced (i.e. if you override the defaults with the
defaults, as these fonts are used for rendering if nothing is specified) -- then
Mozilla will crash!
And Code2001 is not the problem. If you set this font as the default for
displaying any encoding other than ones mentioned above, pages *will* be
displayed with this font, provided it contains the appropriate glyphs. The
crashes described in previous comments occured while trying to use Code2001 font
plus User-defined encoding.
| Reporter | ||
Comment 13•24 years ago
|
||
[Unicode part] Font sizes are ignored, too. "Allow documents to use other fonts"
option is OFF.
[User-defined encoding part] This bug is related to bug 103673.
Comment 14•24 years ago
|
||
Reporter: It would be helpful if you could provide a Talkback ID.
(you can get the talkback id by running <moz-dir>/bin/components/talkback)
You may also wish to try a fresh profile. You can manage/create profiles with
"mozilla.exe -profilemanager".
Severity: major → critical
Keywords: crash,
stackwanted
| Reporter | ||
Comment 15•24 years ago
|
||
The talkback information is already provided. See attachment 57991 [details].
Cut from the attachment:
Deployment Identifier
NetscapeMozillaTrunkWin322001111309
Comment 16•24 years ago
|
||
Yes, I see the attachment :). However, an actual Talkback ID would be handy, as
the talkback information you provided is not in the typical talkback format.
| Reporter | ||
Comment 17•24 years ago
|
||
Then what is "Talkback ID"? I'm afraid I misunderstand you. Is it an "Incident
ID" value in the table of incidents? If so, you can take an incident
#TB38170507Y, for instance.
| Reporter | ||
Comment 18•24 years ago
|
||
And the same behaviour with a fresh profile. Unicode settings are ignored,
selecting the "User-defined" encoding when having any preferences set for this
encoding causes the program either to crash or to eat all memory and crash on
display of the next page.
| Reporter | ||
Comment 19•24 years ago
|
||
Comment 20•24 years ago
|
||
Bass: Yes, that's just what we need :).
CC: stephend@netscape.com, for talkback retrieval please (TB38170507Y)
Keywords: stackwanted
tack Signature nsTextFrame::TextStyle::TextStyle 2d4ebc80
Bug ID
Trigger Time 2001-11-17 18:24:44
Email Address bass@2ka.mipt.ru
URL visited
User Comments
Build ID 2001111309
Product ID MozillaTrunk
Platform
Operating System Win32
Module
Trigger Reason Access violation
Stack Trace
nsTextFrame::TextStyle::TextStyle
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsTextFrame.cpp, line 550]
nsTextFrame::Reflow
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsTextFrame.cpp, line 5001]
nsLineLayout::ReflowFrame
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsLineLayout.cpp, line 1038]
nsBlockFrame::ReflowInlineFrame
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsBlockFrame.cpp, line 3675]
nsBlockFrame::DoReflowInlineFrames
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsBlockFrame.cpp, line 3556]
nsBlockFrame::DoReflowInlineFramesAuto
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsBlockFrame.cpp, line 3481]
nsBlockFrame::ReflowInlineFrames
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsBlockFrame.cpp, line 3426]
nsBlockFrame::ReflowLine
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsBlockFrame.cpp, line 2493]
nsBlockFrame::ReflowDirtyLines
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsBlockFrame.cpp, line 2150]
nsBlockFrame::Reflow
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsBlockFrame.cpp, line 826]
nsBlockReflowContext::DoReflowBlock
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsBlockReflowContext.cpp, line
581]
nsBlockReflowContext::ReflowBlock
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsBlockReflowContext.cpp, line
359]
nsBlockFrame::ReflowBlockFrame
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsBlockFrame.cpp, line 3169]
nsBlockFrame::ReflowLine
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsBlockFrame.cpp, line 2372]
nsBlockFrame::ReflowDirtyLines
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsBlockFrame.cpp, line 2150]
nsBlockFrame::Reflow
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsBlockFrame.cpp, line 826]
nsContainerFrame::ReflowChild
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsContainerFrame.cpp, line 737]
nsTableCellFrame::Reflow
[d:\builds\seamonkey\mozilla\layout\html\table\src\nsTableCellFrame.cpp, line 840]
nsContainerFrame::ReflowChild
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsContainerFrame.cpp, line 737]
nsTableRowFrame::ReflowChildren
[d:\builds\seamonkey\mozilla\layout\html\table\src\nsTableRowFrame.cpp, line 1006]
nsTableRowFrame::Reflow
[d:\builds\seamonkey\mozilla\layout\html\table\src\nsTableRowFrame.cpp, line 1376]
nsContainerFrame::ReflowChild
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsContainerFrame.cpp, line 737]
nsTableRowGroupFrame::ReflowChildren
[d:\builds\seamonkey\mozilla\layout\html\table\src\nsTableRowGroupFrame.cpp,
line 430]
nsTableRowGroupFrame::Reflow
[d:\builds\seamonkey\mozilla\layout\html\table\src\nsTableRowGroupFrame.cpp,
line 1108]
nsContainerFrame::ReflowChild
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsContainerFrame.cpp, line 737]
nsTableFrame::ReflowChildren
[d:\builds\seamonkey\mozilla\layout\html\table\src\nsTableFrame.cpp, line 3124]
nsTableFrame::Reflow
[d:\builds\seamonkey\mozilla\layout\html\table\src\nsTableFrame.cpp, line 1905]
nsContainerFrame::ReflowChild
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsContainerFrame.cpp, line 737]
nsTableOuterFrame::OuterReflowChild
[d:\builds\seamonkey\mozilla\layout\html\table\src\nsTableOuterFrame.cpp, line 976]
nsTableOuterFrame::Reflow
[d:\builds\seamonkey\mozilla\layout\html\table\src\nsTableOuterFrame.cpp, line 1542]
nsBlockReflowContext::DoReflowBlock
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsBlockReflowContext.cpp, line
581]
nsBlockReflowContext::ReflowBlock
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsBlockReflowContext.cpp, line
359]
nsBlockFrame::ReflowBlockFrame
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsBlockFrame.cpp, line 3169]
nsBlockFrame::ReflowLine
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsBlockFrame.cpp, line 2372]
nsBlockFrame::ReflowDirtyLines
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsBlockFrame.cpp, line 2150]
nsBlockFrame::Reflow
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsBlockFrame.cpp, line 826]
nsBlockReflowContext::DoReflowBlock
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsBlockReflowContext.cpp, line
581]
nsBlockReflowContext::ReflowBlock
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsBlockReflowContext.cpp, line
359]
nsBlockFrame::ReflowBlockFrame
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsBlockFrame.cpp, line 3169]
nsBlockFrame::ReflowLine
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsBlockFrame.cpp, line 2372]
nsBlockFrame::ReflowDirtyLines
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsBlockFrame.cpp, line 2150]
nsBlockFrame::Reflow
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsBlockFrame.cpp, line 826]
nsContainerFrame::ReflowChild
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsContainerFrame.cpp, line 737]
CanvasFrame::Reflow
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsHTMLFrame.cpp, line 570]
nsBoxToBlockAdaptor::Reflow
[d:\builds\seamonkey\mozilla\layout\xul\base\src\nsBoxToBlockAdaptor.cpp, line 891]
nsBoxToBlockAdaptor::DoLayout
[d:\builds\seamonkey\mozilla\layout\xul\base\src\nsBoxToBlockAdaptor.cpp, line 540]
nsBox::Layout [d:\builds\seamonkey\mozilla\layout\xul\base\src\nsBox.cpp, line 1002]
nsScrollBoxFrame::DoLayout
[d:\builds\seamonkey\mozilla\layout\xul\base\src\nsScrollBoxFrame.cpp, line 392]
nsBox::Layout [d:\builds\seamonkey\mozilla\layout\xul\base\src\nsBox.cpp, line 1002]
nsContainerBox::LayoutChildAt
[d:\builds\seamonkey\mozilla\layout\xul\base\src\nsContainerBox.cpp, line 653]
nsGfxScrollFrameInner::LayoutBox
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsGfxScrollFrame.cpp, line 1027]
nsGfxScrollFrameInner::Layout
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsGfxScrollFrame.cpp, line 1138]
nsGfxScrollFrame::DoLayout
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsGfxScrollFrame.cpp, line 1035]
nsBox::Layout [d:\builds\seamonkey\mozilla\layout\xul\base\src\nsBox.cpp, line 1002]
nsBoxFrame::Reflow
[d:\builds\seamonkey\mozilla\layout\xul\base\src\nsBoxFrame.cpp, line 928]
nsGfxScrollFrame::Reflow
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsGfxScrollFrame.cpp, line 753]
nsContainerFrame::ReflowChild
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsContainerFrame.cpp, line 737]
ViewportFrame::Reflow
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsViewportFrame.cpp, line 576]
nsHTMLReflowCommand::Dispatch
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsHTMLReflowCommand.cpp, line 217]
PresShell::ProcessReflowCommand
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsPresShell.cpp, line 6017]
PresShell::ProcessReflowCommands
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsPresShell.cpp, line 6072]
ReflowEvent::HandleEvent
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsPresShell.cpp, line 5928]
PL_HandleEvent [d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, line 591]
PL_ProcessPendingEvents [d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c,
line 524]
Comment 22•24 years ago
|
||
Ok, marking as dupe of bug 108105. Reporter: Please reopen this bug if you disagree.
-> HTML Frames, for parity with dupe
*** This bug has been marked as a duplicate of 108105 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Component: Browser-General → HTMLFrames
Resolution: --- → DUPLICATE
Summary: Attempt to display Plane 1 fonts causes Mozilla to crash → Attempt to display Plane 1 fonts causes Mozilla to crash [@ nsTextFrame::TextStyle::TextStyle]
Comment 23•23 years ago
|
||
talkback tracking info
Summary: Attempt to display Plane 1 fonts causes Mozilla to crash [@ nsTextFrame::TextStyle::TextStyle] → Attempt to display Plane 1 fonts causes Mozilla to crash Trunk M096 [@ nsTextFrame::TextStyle::TextStyle]
Updated•14 years ago
|
Crash Signature: [@ nsTextFrame::TextStyle::TextStyle]
Updated•7 years ago
|
Product: Core → Core Graveyard
Updated•7 years ago
|
Component: Layout: HTML Frames → Layout: Images
Product: Core Graveyard → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•