I have created the debug build of Mozilla Firefox on AIX. When I try to run the debug build, firefox is not coming up. Instead I get the below debug output, more specifically below 3 assertions. Can someone please advise what is going wrong ?
1. ASSERTION: failed to create encoder: '0', file
2. ASSERTION: unable to use nl_langinfo(CODESET): '0',
3. ASSERTION: unable to convert locale to charset using deprecated config: '0', file
Below is the complete debug output.
*** Registering Apprunner components (all right -- a generic module!)
nsNativeComponentLoader: autoregistering begins.
nsNativeComponentLoader: autoregistering succeeded
nsNativeComponentLoader: registering deferred (0)
###!!! ASSERTION: failed to create encoder: '0', file
/home/sjain/sb/ffox-dbg/mozilla/intl/uconv/src/nsUNIXCharset.cpp, line 371
Break: at file /home/sjain/sb/ffox1501201-dbg/mozilla/intl/uconv/src/nsUNIXCharset.cpp, line 371
###!!! ASSERTION: unable to use nl_langinfo(CODESET): '0', file
/home/sjain/sb/ffox1-dbg/mozilla/intl/uconv/src/nsUNIXCharset.cpp, line 305
Break: at file /home/sjain/sb/ffox-dbg/mozilla/intl/uconv/src/nsUNIXCharset.cpp, line 305
###!!! ASSERTION: unable to convert locale to charset using deprecated config: '0', file
/home/sjain/sb/ffox1501201-dbg/mozilla/intl/uconv/src/nsUNIXCharset.cpp, line 129
Break: at file /home/sjain/sb/ffox-dbg/mozilla/intl/uconv/src/nsUNIXCharset.cpp, line 129
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file
/home/sjain/sb/ffox-dbg/mozilla/chrome/src/nsChromeRegistry.cpp, line 1252
GFX: dpi=96 t2p=0.0666667 p2t=15 depth=24
++WEBSHELL == 1
++DOMWINDOW == 1
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file
/home/sjain/sb/ffox-dbg/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp, line 266
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file
/home/sjain/sb/ffox-dbg/mozilla/xpfe/appshell/src/nsAppShellService.cpp, line 361
--WEBSHELL == 0
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file
/home/sjain/sb/ffox-dbg/mozilla/xpfe/appshell/src/nsAppShellService.cpp, line 178
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file
/home/sjain/sb/ffox-dbg/mozilla/toolkit/xre/nsAppRunner.cpp, line 2280
###!!! ASSERTION: Failed to create nsICloseAllWindows impl.: 'closer', file
/home/sjain/sb/ffox-dbg/mozilla/toolkit/components/startup/src/nsAppStartup.cpp, line 508
Break: at file /home/sjain/sb/ffox1501201-dbg/mozilla/toolkit/components/startup/src/nsAppStartup.cpp, line 508
###!!! ASSERTION: Can't veto change!: 'Error', file
/home/sjain/sb/ffox1-dbg/mozilla/toolkit/xre/nsXREDirProvider.cpp, line 631
Break: at file /home/sjain/sb/ffox1501201-dbg/mozilla/toolkit/xre/nsXREDirProvider.cpp, line 631
WARNING: nsExceptionService ignoring thread destruction after shutdown, file
/home/sjain/sb/ffox-dbg/mozilla/xpcom/base/nsExceptionService.cpp, line 191
--DOMWINDOW == 0
JS engine warning: 3 atoms remain after destroying the JSRuntime.
These atoms may point to freed memory. Things reachable
through them have not been finalized.
nsStringStats
=> mAllocCount: 3324
=> mReallocCount: 833
=> mFreeCount: 3324
=> mShareCount: 1635
=> mAdoptCount: 880
=> mAdoptFreeCount: 879 -- LEAKED 1 !!!
[1] + Done(1)
Regards,
Shailendra
You should probably try stepping through
nsCharsetConverterManager::GetUnicodeEncoderRaw and seeing what things
look like there. In particular, what is aDest in that function? Is
MOZ_USE_NATIVE_UCONV defined? If so, does AIX have a functioning uconv?
My guess is that the answers are "yes" and "no" respectively....
-Boris
I have checked whether MOZ_USE_NATIVE_UCONV is defined or not, looks like it is not defined.
Could it be possible that I get the below error without defining MOZ_USE_NATIVE_UCONV.
###!!! ASSERTION: failed to create encoder: '0', file
> /home/sjain/sb/ffox1501201-dbg/mozilla/intl/uconv/src/nsUNIXCharset.cpp,
> line 371
> Break: at file
> /home/sjain/sb/ffox1501201-dbg/mozilla/intl/uconv/src/nsUNIXCharset.cpp,
> line 371
> ###!!! ASSERTION: unable to use nl_langinfo(CODESET): '0', file
> /home/sjain/sb/ffox1501201-dbg/mozilla/intl/uconv/src/nsUNIXCharset.cpp,
> line 305
> Break: at file
> /home/sjain/sb/ffox1501201-dbg/mozilla/intl/uconv/src/nsUNIXCharset.cpp,
> line 305
> ###!!! ASSERTION: unable to convert locale to charset using deprecated
> config: '0', file
> /home/sjain/sb/ffox1501201-dbg/mozilla/intl/uconv/src/nsUNIXCharset.cpp,
> line 129
> Break: at file
> /home/sjain/sb/ffox1501201-dbg/mozilla/intl/uconv/src/nsUNIXCharset.cpp,
> line 129
> WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file
> /home/sjain/sb/ffox1501201-dbg/mozilla/chrome/src/nsChromeRegistry.cpp,
> line 1252
> GFX: dpi=96 t2p=0.0666667 p2t=15 depth=24
> ++WEBSHELL == 1
> ++DOMWINDOW == 1
> WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file
> /home/sjain/sb/ffox1501201-dbg/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp,
> line 266
> WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file
> /home/sjain/sb/ffox1501201-dbg/mozilla/xpfe/appshell/src/nsAppShellService.cpp,
> line 361
> --WEBSHELL == 0
> WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file
> /home/sjain/sb/ffox1501201-dbg/mozilla/xpfe/appshell/src/nsAppShellService.cpp,
> line 178
> WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file
> /home/sjain/sb/ffox1501201-dbg/mozilla/toolkit/xre/nsAppRunner.cpp, line
> 2280
> ###!!! ASSERTION: Failed to create nsICloseAllWindows impl.: 'closer', file
> /home/sjain/sb/ffox1501201-dbg/mozilla/toolkit/components/startup/src/nsAppStartup.cpp,
> line 508
> Break: at file
> /home/sjain/sb/ffox1501201-dbg/mozilla/toolkit/components/startup/src/nsAppStartup.cpp,
> line 508
> ###!!! ASSERTION: Can't veto change!: 'Error', file
> /home/sjain/sb/ffox1501201-dbg/mozilla/toolkit/xre/nsXREDirProvider.cpp,
> line 631
> Break: at file
> /home/sjain/sb/ffox1501201-dbg/mozilla/toolkit/xre/nsXREDirProvider.cpp,
> line 631
> WARNING: nsExceptionService ignoring thread destruction after shutdown,
> file
> /home/sjain/sb/ffox1501201-dbg/mozilla/xpcom/base/nsExceptionService.cpp,
> line 191
> --DOMWINDOW == 0
Regards,
Shailendra
--- On Fri, 9/26/08, Boris Zbarsky <bzba...@mit.edu> wrote:
From: Boris Zbarsky <bzba...@mit.edu>
Subject: Re: Mozilla Firefox - failed to create encoder
To: dev-apps...@lists.mozilla.org
Date: Friday, September 26, 2008, 9:39 AM
-Boris
_______________________________________________
dev-apps-firefox mailing list
dev-apps...@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-apps-firefox
Quite possibly. What's aCharset? Then again, I asked that already in
my previous post, so....
-Boris
The aCharset value is ISO8859-1
Does this cause any issue ?
Regards,
Shailendra
--- On Fri, 10/3/08, Boris Zbarsky <bzba...@mit.edu> wrote:
From: Boris Zbarsky <bzba...@mit.edu>
Subject: Re: Mozilla Firefox - failed to create encoder
To: dev-apps...@lists.mozilla.org
Date: Friday, October 3, 2008, 12:41 PM
-Boris
Sure. There is no such charset, so there can't be an encoder for it.
ISO-8859-1 would work better.
-Boris
Then again, we have ISO8859-1 aliased to ISO-8859-1. So perhaps the
real issue is that someone somewhere along your callstack should be
resolving charset aliases.
-Boris