Closed Bug 78855 Opened 24 years ago Closed 24 years ago

ASSERTION: failed to create encoder: '0'

Categories

(Core :: Internationalization, defect)

Sun
Solaris
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
mozilla0.9.9

People

(Reporter: timeless, Assigned: shanjian)

References

()

Details

(Keywords: assertion, intl)

y:/tmp/obj-sparc-sun-solaris2.7/dist/bin: ./mozilla -splash ./run-mozilla.sh ./mozilla-bin -splash MOZILLA_FIVE_HOME=. LD_LIBRARY_PATH=.:./plugins:/tmp/idl/lib:/tmp/glib/lib:/tmp/qt-2.2.0/lib LIBRARY_PATH=.:./components SHLIB_PATH=. LIBPATH=. ADDON_PATH=. MOZ_PROGRAM=./mozilla-bin MOZ_TOOLKIT= moz_debug=0 moz_debugger= File descriptors set to 512 Type Manifest File: /tmp/obj-sparc-sun-solaris2.7/dist/bin/components/xpti.dat nsNativeComponentLoader: autoregistering begins. nsNativeComponentLoader: autoregistering succeeded nNCL: registering deferred (0) ###!!! ASSERTION: failed to create encoder: '0', file /tmp/mozilla/intl/uconv/src/nsUNIXCharset.cpp, line 396 ###!!! Break: at file /tmp/mozilla/intl/uconv/src/nsUNIXCharset.cpp, line 396 ###!!! ASSERTION: unable to use nl_langinfo(CODESET): '0', file /tmp/mozilla/intl/uconv/src/nsUNIXCharset.cpp, line 320 ###!!! Break: at file /tmp/mozilla/intl/uconv/src/nsUNIXCharset.cpp, line 320 GFX: dpi=96 t2p=0.0666667 p2t=15 depth=32 WEBSHELL+ = 1 Note: verifyreflow is disabled ###!!! ASSERTION: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed: '(!((rv) & 0x80000000))', file /tmp/mozilla/dom/src/base/nsGlobalWindow.cpp, line 2951 ###!!! Break: at file /tmp/mozilla/dom/src/base/nsGlobalWindow.cpp, line 2951 ###!!! ASSERTION: NS_ENSURE_TRUE(cssDecl) failed: 'cssDecl', file /tmp/mozilla/xpfe/appshell/src/nsXULWindow.cpp, line 982 ###!!! Break: at file /tmp/mozilla/xpfe/appshell/src/nsXULWindow.cpp, line 982 CanUnload_enumerate: skipping native ###!!! ASSERTION: nsDOMEvent not thread-safe: 'owningThread == NS_CurrentThread()', file /tmp/mozilla/xpcom/base/nsDebug.cpp, line 528 ###!!! Break: at file /tmp/mozilla/xpcom/base/nsDebug.cpp, line 528 Details, yet another attempt by me to build and run w/ Qt. Other bugs already exist for some of these assertions [Bug 77300, Bug 78854], and I will probably file more for the remainining assertions. This build is based on this morning's sourceball and a cvs update from sometime in the morning (it takes a while to build). A profile manager window can/will appear for a moment, however it dies very quickly (and my use of MIX w/ a bad twm results in me not actually seeing the content because twm is waiting for me to place the window). I actually am getting grief from the plugin component, so I moved libgkplugin.so plugin.xpt out of components/ , zapped component.reg and ran regxpcom [more bugs]. I'm having trouble running mozilla w/ gdb due to swap/tmp constraints so if we can debug w/ printf's that'd be nice.
Blocks: qt
I have no idea what this bug is about, or why it is assigned to me. Sending back to the component owner. If the component is wrong, then it may need to be passed on again.
Assignee: law → jst
law: i filed the bug against you because blame fingered you (see url)
How about fixing the first asserts before trying to deal with ones down the list that could very well be because of the first ones... Over to internationalization
Assignee: jst → yokoyama
Component: DOM Mozilla Extensions → Internationalization
QA Contact: lchiang → andreasb
Summary: ###!!! ASSERTION: NS_ENSURE_TRUE(cssDecl) failed: 'cssDecl', → ASSERTION: failed to create encoder: '0'
assiging to shanjian
Assignee: yokoyama → shanjian
bstell might be a better person to handle this issue.
Assignee: shanjian → bstell
timeless- what is your environment variale ? in particular LC_ALL and LANG
Bugzilla Bug 77300 ASSERTION: unable to use nl_langinfo(CODESET): '0' describes my env vars...
Switching qa contact to katakai@japan.sun.com for now. Please re-assign further as appropriate.
Keywords: intl
QA Contact: andreasb → katakai
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.6
Target Milestone: mozilla0.9.6 → mozilla0.9.7
--> ftang
Assignee: bstell → ftang
Status: ASSIGNED → NEW
shanjian- please take this. I don't want bstell work on bugs not related to font stuff now. Take your time. Pick the right milestone by yourself. I trust your judgement.
Assignee: ftang → shanjian
The problem should be in mozilla/intl/uconv/src/nsUNIXCharset.cpp when resolving charset. I don't know what's really happening in that function. timeless, could you put some printf in "nsUNIXCharset::InitGetCharset(nsString &oString)" to see what's happening in each steps? We probably need to define additional mapping for some solaris locales. retarget to 0.9.9
Target Milestone: mozilla0.9.7 → mozilla0.9.9
timeless, Please let me know what is your locale setting and the return value of "nl_langinfo(CODESET)' in nsUNIXCharset.cpp.
Status: NEW → ASSIGNED
Bugzilla Bug 77300 ASSERTION: unable to use nl_langinfo(CODESET): '0' answers most of those questions. unfortunately, my access to the solaris boxes indicated in this set of bugs has evaporated. I'll see if i can get someone else w/ access to the same boxes to build and answer any remaining questions you may have.
When nl_langinfo is unavailable, we will resort to unixcharset.properties to figure out the charset for current locale. If there is an unknown locale name, we need to add it to unixcharset.properties. I will close this bug as worksforme, since we added a group of entries to this file. Feel free to open it if it happens again, but please provide detail information about you OS, version and most important, your locale setting.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
Keywords: assertion
You need to log in before you can comment on or make changes to this bug.