Closed
Bug 39432
Opened 26 years ago
Closed 26 years ago
Crash when clicked on Language option in Prefs
Categories
(Core :: Internationalization, defect, P3)
Tracking
()
VERIFIED
FIXED
M16
People
(Reporter: shrir, Assigned: ftang)
References
Details
(Keywords: crash, platform-parity, Whiteboard: [nsbeta2+]fix in hand - wrong/missing entry in the windows packager file)
Build : 2000051608
Open Edit-Prefs-Navigator and click on Languages option.
Browser crashes.
Stack trace:
Call Stack: (Signature = nsStringBundle::GetSimpleEnumeration e3d35e86)
nsStringBundle::GetSimpleEnumeration
[d:\builds\seamonkey\mozilla\intl\strres\src\nsStringBundle.cpp, line 220]
XPTC_InvokeByIndex
[d:\builds\seamonkey\mozilla\xpcom\reflect\xptcall\src\md\win32\xptcinvoke.cpp,
line 139]
nsXPCWrappedNativeClass::CallWrappedMethod
[d:\builds\seamonkey\mozilla\js\src\xpconnect\src\xpcwrappednativeclass.cpp,
line 915]
WrappedNative_CallMethod
[d:\builds\seamonkey\mozilla\js\src\xpconnect\src\xpcwrappednativejsops.cpp,
line 195]
js_Invoke
[d:\builds\seamonkey\mozilla\js\src\jsinterp.c, line 687]
js_Interpret
[d:\builds\seamonkey\mozilla\js\src\jsinterp.c, line 2486]
js_Invoke
[d:\builds\seamonkey\mozilla\js\src\jsinterp.c, line 703]
js_InternalInvoke
[d:\builds\seamonkey\mozilla\js\src\jsinterp.c, line 776]
JS_CallFunctionValue
[d:\builds\seamonkey\mozilla\js\src\jsapi.c, line 2768]
nsJSContext::CallEventHandler
[d:\builds\seamonkey\mozilla\dom\src\base\nsJSEnvironment.cpp, line 792]
nsJSEventListener::HandleEvent
[d:\builds\seamonkey\mozilla\dom\src\events\nsJSEventListener.cpp, line 155]
nsEventListenerManager::HandleEventSubType
[d:\builds\seamonkey\mozilla\layout\events\src\nsEventListenerManager.cpp, line
709]
nsEventListenerManager::HandleEvent
[d:\builds\seamonkey\mozilla\layout\events\src\nsEventListenerManager.cpp, line
1284]
GlobalWindowImpl::HandleDOMEvent
[d:\builds\seamonkey\mozilla\dom\src\base\nsGlobalWindow.cpp, line 400]
nsWebShell::OnEndDocumentLoad
[d:\builds\seamonkey\mozilla\webshell\src\nsWebShell.cpp, line 1164]
nsDocLoaderImpl::FireOnEndDocumentLoad
[d:\builds\seamonkey\mozilla\uriloader\base\nsDocLoader.cpp, line 701]
nsDocLoaderImpl::DocLoaderIsEmpty
[d:\builds\seamonkey\mozilla\uriloader\base\nsDocLoader.cpp, line 542]
nsDocLoaderImpl::OnStopRequest
[d:\builds\seamonkey\mozilla\uriloader\base\nsDocLoader.cpp, line 485]
nsLoadGroup::RemoveChannel
[d:\builds\seamonkey\mozilla\netwerk\base\src\nsLoadGroup.cpp, line 551]
nsFileChannel::OnStopRequest
[d:\builds\seamonkey\mozilla\netwerk\protocol\file\src\nsFileChannel.cpp, line
634]
nsOnStopRequestEvent::HandleEvent
[d:\builds\seamonkey\mozilla\netwerk\base\src\nsAsyncStreamListener.cpp, line
307]
nsStreamListenerEvent::HandlePLEvent
[d:\builds\seamonkey\mozilla\netwerk\base\src\nsAsyncStreamListener.cpp, line
106]
PL_HandleEvent
[d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, line 576]
PL_ProcessPendingEvents
[d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, line 539]
_md_EventReceiverProc
[d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, line 1032]
USER32.dll + 0x1820 (0x77e71820)
Comment 1•26 years ago
|
||
windows only, according to shrir.
Comment 3•26 years ago
|
||
This is really bug #32477 (and bug #16807 which was wrongly reopened
to also cover this crash) but I'll let someone else sort out the trail
and just give this one to jbetak :-)
It looks like language.properties is not being packaged up in the
windows builds. If you drop a copy of this file int .\res, then all
works fine.
[Although on a side note this seems rather fragile that the absence of
a single file will crash the application. In particular, it seems bad
that 'component://netscape/intl/stringbundle' will return a xpconnect
object even when passed a path to a non-existent file. It should throw
an exception, no?]
Assignee: ben → jbetak
Component: Preferences → Internationalization
Comment 4•26 years ago
|
||
Hi Tao,
John is right, maybe it would be appropriate to beef up stringbundle's error
handling?
Status: NEW → ASSIGNED
Updated•26 years ago
|
QA Contact: sairuh → teruko
Comment 7•26 years ago
|
||
nominating for Beta2, can't browse the preference window on Windows without
crashing. Fix is very superficial and low risk - we missed the correct entry in
the Windows installation packager file
http://lxr.mozilla.org/seamonkey/source/xpinstall/packager/packages-win#212
Whiteboard: fix in hand - wrong/missing entry in the windows packager file
Whiteboard: fix in hand - wrong/missing entry in the windows packager file → [nsbeta2+]fix in hand - wrong/missing entry in the windows packager file
Updated•26 years ago
|
Target Milestone: --- → M16
| Assignee | ||
Comment 10•26 years ago
|
||
Is this bug got fixed ? should we mark this bug fixed ?
Comment 11•26 years ago
|
||
M16 has been out for a while now, these bugs target milestones need to be
updated.
Comment 12•26 years ago
|
||
some of my local changes still didn't make it and there is a number of issues
remaing. We might want to create new bugs for them and close this one.
1) update languagename.properties and regionnames.properties with Momoi-san's
latest changes
2) switch region IDs to upper case
3) create a JS-based parser to allow more natural input of user-defined
locale/language pairs. "English Australia" or "Australia English" e.g. should
be allowed instead of the less descriptive en-AU. Also, the entry needs to be
case-insensitive, so "en-au" and "en-AU" would lead to the same result.
4) resolve remaing UI issues with Ben Goodger. He already filed two bugs
against himself as I complained on the misalignement of the buttons and missing
definition of arrow buttons in pref.css. Oups, pref.css doesn't exist anymore,
which mean that we need to find out, how to render arrow buttons in the prefs
dialog now. The customize.css does contain the neccessary stuff as can be seen
by usage in pref-charset.xul.
Assignee: jbetak → ftang
Status: ASSIGNED → NEW
| Assignee | ||
Comment 13•26 years ago
|
||
This crash problem itself is gone. Mark this as FIXED. File bew bugs for
remaining problems.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•