Closed Bug 27824 Opened 25 years ago Closed 24 years ago

Changing default language crashes browser

Categories

(SeaMonkey :: Preferences, defect, P3)

x86
Windows 2000
defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 30638

People

(Reporter: cu, Assigned: matt)

Details

(Keywords: crash)

Win2000 build 2151 (aka RC3), PIII, Regional Settings set to Turkish

I begin with a clean unzipped version. I select Preferences and console says:
nsLayoutHistoryState::GetState, ERROR getting History state for the key (dont 
know if it relates to this?)

Then, I set default lang. to Turkish, press OK, it doesnt crash but when I enter 
preferences again, the browser seems to unset my settings, i.e. I don't see any 
language set.

Furthermore, whenever I try to change "use document specified fonts" from 
font preferences panel and press OK browser crashes.
sairuh,

can you see if this happens for you
on windows 2000
Severity: normal → critical
Keywords: crash
can you check this out on win2000 since i can't
find a machine around here with it.
then reassign back to me if it still is a problem.
Assignee: matt → sairuh
http://bugzilla.mozilla.org/show_bug.cgi?id=28021
similiar crashing bug but i have yet to reproduce it
how do you change default fonts if Languages has been disabled in the prefs? do 
you mean going to the View menu and selecting Character Encoding > Windows > 
Turkish (windows 1254)?

if you need to set the language from the Prefs, then this would be a 
[temporarily] Invalid bug since we've disabled that feature for beta1. otherwise 
(on win2000, using opt mozilla bits from 2000022208):

1. select turkish from the menu described above (but don't notice anything 
changing).
2. go to Prefs Fonts to make the browser accept my default fonts.
3. click OK to dismiss Prefs.
4. reopen Prefs, go to Fonts and click the radio button for "use fonts chosen by 
page."
5. click OK to dismiss Prefs.

result: i see no crashing...

i've reassigned this to teruko/matt for further input. :-)
Assignee: sairuh → matt
QA Contact: sairuh → teruko
Uhm, my first subject line is a bit misleading I think. As far as I could 
isolate, what crashes the browser is certainly choosing "use document specified 
fonts" and pressing OK.
I recently switched back to WinNT 4.0, and the very same thing crashed Mozilla 
at 14 of my 14 tries.

Besides this crashing, I meant to say changing default language (not the page 
encoding in View menu) is of no use. This setting does not crash the browser, 
but it seems to be nonfunctional (yet?).
Summary: Changing language & size crashes browser → Changing default language crashes browser
we took the "use document specified 
fonts".  I believe this is fixed in the new builds
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
I tested this in 2000030610 Win32 build under Winnt 4.0.  
I saw the crash as follows
1. Launch netscape6
2. Select menu View|Charset coding->ISO ->Turkish (ISO-8859-15)
3. Select menu Edit|Preferences...
   Select Appearance-Fonts 
     Select Turkish in Fonts for. and try to change the fonts
4. Click OK in Preference dialog
Netscape6 will crash.  

Talkback incident #6396581
 Trigger Type:  Program Crash 
 Trigger Reason:  Stack overflow 
 Thread ID:   
 Call Stack:    (Signature = Compare2To2 196526de) 
     Compare2To2                                                     [d:\builds\seamonkey\mozilla\xpcom\ds\bufferRoutines.h, line 507]
     nsStr::Compare 
[d:\builds\seamonkey\mozilla\xpcom\ds\nsStr.cpp, line 612]
     nsString::Equals 
[d:\builds\seamonkey\mozilla\xpcom\ds\nsString2.cpp, line 1889]
     nsString::operator== 
[d:\builds\seamonkey\mozilla\xpcom\ds\nsString2.cpp, line 1832]
     nsStringKey::Equals 
[d:\builds\seamonkey\mozilla\xpcom\ds\nsHashtable.cpp, line 278]
     _hashKeyCompare 
[d:\builds\seamonkey\mozilla\xpcom\ds\nsHashtable.cpp, line 38]
     PL_HashTableRawLookup 
[plhash.c, line 190]
     PL_HashTableLookup 
[plhash.c, line 345]
     nsHashtable::Get 
[d:\builds\seamonkey\mozilla\xpcom\ds\nsHashtable.cpp, line 170]
     nsObserverService::GetObserverList 
[d:\builds\seamonkey\mozilla\xpcom\ds\nsObserverService.cpp, line 123]

Status: RESOLVED → REOPENED
Resolution: FIXED → ---

*** This bug has been marked as a duplicate of 30638 ***
Status: REOPENED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → DUPLICATE
Verified as dup.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.