Debug Mozilla Firefox

Hi,
I try to build Mozilla Firefox and debug it. I've modify source code 
Firefox by add mozilla-icuthai-2.0.patch for add feature Thai 
lint-breaking. In compile process it complete but in runtime process I 
get some error.

Error message:
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file 
f:/Development/Firefox/mozilla/caps/src/nsScriptSecurityManager.cpp, 
line 2953
###!!! ASSERTION: Failed to initialize nsScriptSecurityManager: 
'NS_SUCCEEDED(rv)', file 
f:/Development/Firefox/mozilla/caps/src/nsScriptSecurityManager.cpp, 
line 3018

Environment on build:
Source: Mozilla Firefox 1.5
OS: Microsoft windows Xp Professionnal SP2
Compiler: Microsoft Visual C++ .NET version 7.1.3088
mozilla-icuthai-2.0.patch: 
http://www.osdev.co.th/download/mozilla-icuthai-2.0.patch

File: .mozconfig
.. $topsrcdir/browser/config/mozconfig
export MOZILLA_OFFICIAL=1
mk_add_options MOZILLA_OFFICIAL=1
export BUILD_OFFICIAL=1
mk_add_options BUILD_OFFICIAL=1
mk_add_options MOZ_CO_PROJECT=browser
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-dbg-@CONFIG_GUESS@
ac_add_options --enable-application=browser
ac_add_options --enable-debug
ac_add_options --enable-logging
ac_add_options --disable-optimize
ac_add_options --disable-strip
ac_add_options --disable-static
ac_add_options --enable-shared
ac_add_options --disable-tests
ac_add_options --with-icu=E:/icu-lite
------------------------------------------------------------
help me please.
0
Mr
2/3/2006 6:30:34 PM
mozilla.dev.builds 1761 articles. 0 followers. Post Follow

4 Replies
612 Views

Similar Articles

[PageSpeed] 29
Get it on Google Play
Get it on Apple App Store

Mr.Chaiwat Maneeboon wrote:
> WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file 
> f:/Development/Firefox/mozilla/caps/src/nsScriptSecurityManager.cpp, 
> line 2953

That's the string bundle service.  It's failing to be created or something. 
Could it be that the intl lib is not loading right?

-Boris
0
Boris
2/3/2006 3:42:01 AM
Mr.Chaiwat Maneeboon wrote:
> Yes, I look around messages when start Firefox(debug mode) I see something.
>     "nsNativeComponentLoader: SelfRegisterDll(i18n.dll) Load FAILED with 
> error: error 126"

Right.  So now you need to figure out why.

-Boris
0
Boris
2/3/2006 4:59:28 PM
Boris Zbarsky wrote:
> Mr.Chaiwat Maneeboon wrote:
>> WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file 
>> f:/Development/Firefox/mozilla/caps/src/nsScriptSecurityManager.cpp, 
>> line 2953
> 
> That's the string bundle service.  It's failing to be created or 
> something. Could it be that the intl lib is not loading right?
> 
> -Boris

Yes, I look around messages when start Firefox(debug mode) I see something.
	"nsNativeComponentLoader: SelfRegisterDll(i18n.dll) Load FAILED with 
error: error 126"
I search "i18n.dll" on Firefox build's directory, I found three 
position, see this below.

F:\Development\Firefox\dev-shared-dbg-mozilla-firefox-1.5.0.1.0\mozilla\obj-dbg-i586-pc-msvc\intl\build
F:\Development\Firefox\dev-shared-dbg-mozilla-firefox-1.5.0.1.0\mozilla\obj-dbg-i586-pc-msvc\dist\bin\components
F:\Development\Firefox\dev-shared-dbg-mozilla-firefox-1.5.0.1.0\mozilla\obj-dbg-i586-pc-msvc\dist\gre\components

what should I do?


0
Mr
2/4/2006 12:51:11 AM
Mr.Chaiwat Maneeboon wrote:

> Yes, I look around messages when start Firefox(debug mode) I see something.
>     "nsNativeComponentLoader: SelfRegisterDll(i18n.dll) Load FAILED with
> error: error 126"

It seems like somehow GetProcAddress (or sth. like that) failed. Windows
error 126 is 'ERROR_PROC_NOT_FOUND'

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/system_error_codes__0-499_.asp

You have to figure out why you got that error. Perhaps, related with the
patch you applied.

Jungshik

0
Jungshik
2/15/2006 12:45:12 PM
Reply:

Similar Artilces:

superreview cancelled: [Bug 299404] Can't build dmg of Firefox debug build on Mac : [Attachment 187976] Put DeerPark debug builds in DeerParkDebug.app
Mark Mentovai <mark@moxienet.com> has cancelled Mark Mentovai <mark@moxienet.com>'s request for superreview: Bug 299404: Can't build dmg of Firefox debug build on Mac https://bugzilla.mozilla.org/show_bug.cgi?id=299404 Attachment 187976: Put DeerPark debug builds in DeerParkDebug.app https://bugzilla.mozilla.org/attachment.cgi?id=187976&action=edit ...

superreview requested: [Bug 299404] Can't build dmg of Firefox debug build on Mac : [Attachment 187976] Put DeerPark debug builds in DeerParkDebug.app
Mark Mentovai <mark@moxienet.com> has asked Simon Fraser <sfraser_bugs@smfr.org> for superreview: Bug 299404: Can't build dmg of Firefox debug build on Mac https://bugzilla.mozilla.org/show_bug.cgi?id=299404 Attachment 187976: Put DeerPark debug builds in DeerParkDebug.app https://bugzilla.mozilla.org/attachment.cgi?id=187976&action=edit ...

superreview cancelled: [Bug 248528] JS strict warnings should be on (at least for chrome) in debug builds : [Attachment 208020] Set showInConsole to true for Firefox debug builds
Benjamin Smedberg [:bs] (bsmedberg@) <benjamin@smedbergs.us> has cancelled Daniel Cater <DJCater@Gmail.com>'s request for superreview: Bug 248528: JS strict warnings should be on (at least for chrome) in debug builds https://bugzilla.mozilla.org/show_bug.cgi?id=248528 Attachment 208020: Set showInConsole to true for Firefox debug builds https://bugzilla.mozilla.org/attachment.cgi?id=208020&action=edit ...

superreview requested: [Bug 248528] JS strict warnings should be on (at least for chrome) in debug builds : [Attachment 208020] Set showInConsole to true for Firefox debug builds
Daniel Cater <DJCater@Gmail.com> has asked Benjamin Smedberg [:bs] (bsmedberg@) <benjamin@smedbergs.us> for superreview: Bug 248528: JS strict warnings should be on (at least for chrome) in debug builds https://bugzilla.mozilla.org/show_bug.cgi?id=248528 Attachment 208020: Set showInConsole to true for Firefox debug builds https://bugzilla.mozilla.org/attachment.cgi?id=208020&action=edit ------- Additional Comments from Daniel Cater <DJCater@Gmail.com> Yeah, I've changed my mind too, strict isn't useful really, and produces far too many messages. ...

superreview cancelled: [Bug 248528] JS strict warnings should be on (at least for chrome) in debug builds : [Attachment 207896] Set showInConsole to true for Firefox debug builds and strict to true f
Benjamin Smedberg [:bs] (bsmedberg@) <benjamin@smedbergs.us> has cancelled Daniel Cater <DJCater@Gmail.com>'s request for superreview: Bug 248528: JS strict warnings should be on (at least for chrome) in debug builds https://bugzilla.mozilla.org/show_bug.cgi?id=248528 Attachment 207896: Set showInConsole to true for Firefox debug builds and strict to true for all debug builds https://bugzilla.mozilla.org/attachment.cgi?id=207896&action=edit ------- Additional Comments from Benjamin Smedberg [:bs] (bsmedberg@) <benjamin@smedbergs.us> I agree with AJ: sh...

superreview requested: [Bug 248528] JS strict warnings should be on (at least for chrome) in debug builds : [Attachment 207896] Set showInConsole to true for Firefox debug builds and strict to true f
Daniel Cater <DJCater@Gmail.com> has asked Benjamin Smedberg [:bs] (bsmedberg@) <benjamin@smedbergs.us> for superreview: Bug 248528: JS strict warnings should be on (at least for chrome) in debug builds https://bugzilla.mozilla.org/show_bug.cgi?id=248528 Attachment 207896: Set showInConsole to true for Firefox debug builds and strict to true for all debug builds https://bugzilla.mozilla.org/attachment.cgi?id=207896&action=edit ------- Additional Comments from Daniel Cater <DJCater@Gmail.com> all-thunderbird.js already has showInConsole set to true. I didn...

Dev Builds of Java SE 7 Plug-ins Not Working In Firefox 3.6a1pre builds
Dev Builds of Java SE 7 Plug-ins have not been working for over a couple of weeks now. I'm using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2a1pre) Gecko/20090630 Minefield/3.6a1pre on Windows XP SP3. I'm not sure if I should file a bug with Mozilla or Sun. I know that Mozilla has been making changes under the hood with regards to how Firefox deal with java plug-ins and what not. The plug-in's list in the add-on's window suggests that it is working fine, but when I try to play java games that use the plug-in, it doesn't recognize that I have java ...

Firefox debug-symbol build
I've uploaded a Firefox build with debug symbols enabled if anyone ever gets the urge to use a debugger on it. The latest patches apply (readme is the only one updated) and the mozconfig file I used along with the one extra patch (fix sse alignment) is in gecko_10_12_debug_patch.zip Dave Dave Yeo wrote: > I've uploaded a Firefox build with debug symbols enabled URL is ftp://ftp.netlabs.org/incoming/mozilla/firefox-10.0.12.en-US.os2.debug.7z Used 7z as it was over 50% smaller Dave On Sun, 10 Feb 2013 05:24:36 UTC, Dave Yeo <dave.r.yeo@gmail.com> wrote: >...

superreview requested: [Bug 54828] Build should default to non-debug/optimized build. : [Attachment 146531] Build moz optimized & non-debug by default
Chris Seawood <cls@seawood.org> has asked Daniel (Leaf) Nunes <leaf@mozilla.org> for superreview: Bug 54828: Build should default to non-debug/optimized build. http://bugzilla.mozilla.org/show_bug.cgi?id=54828 Attachment 146531: Build moz optimized & non-debug by default http://bugzilla.mozilla.org/attachment.cgi?id=146531&action=edit ...

superreview granted: [Bug 54828] Build should default to non-debug/optimized build. : [Attachment 146531] Build moz optimized & non-debug by default
Daniel (Leaf) Nunes <leaf@mozilla.org> has granted Chris Seawood <cls@seawood.org>'s request for superreview: Bug 54828: Build should default to non-debug/optimized build. http://bugzilla.mozilla.org/show_bug.cgi?id=54828 Attachment 146531: Build moz optimized & non-debug by default http://bugzilla.mozilla.org/attachment.cgi?id=146531&action=edit ------- Additional Comments from Daniel (Leaf) Nunes <leaf@mozilla.org> woot. so --disable-debug is a noop now. has this been announced as upcoming in the newsgroups? (obviously, i haven't been keeping up...

Firefox not building debug + Mozillazine forums down?
Am trying to build Firefox 9.0 code from yesterday and getting a compile error. Tried to connect with http://forums.mozillazine.org/ to report the problem but there's apparently something wrong with that server - getting this generic error: General Error SQL ERROR [ mysql4 ] Lost connection to MySQL server at 'reading initial communication packet', system error: 111 [2013] An sql error occurred while fetching this page. Please contact an administrator if this problem persists. Anyone tending that server listen to this list? Anyway, below i...

Firefox debug build and https: sec_error_bad_signature
Hello! Any https page I try to load shows: Peer's certificate has an invalid signature. Error code: sec_error_bad_signature I can't even run mochitests that load https pages. Internet searches only point me to faulty certificates, to self-signed certs, etc. The issue I am having seems slightly different - must be related to my system configs. I'm using Ubuntu 12.04, up-to-date. I remember having this problem since early days when I did my first Firefox builds. I never bothered to try and fix it, believing it's a temporary issue. Can someone ...

Firefox debug build on Windows 7 fails
Hi All, I tried to built Firefox debug version from the latest source code. Environment: Windows 7 + "Microsoft Visual C++ 2008" Build failed in the follow stage: c:/foss/mozilla-central/objdir-ff-debug/dist/bin/xpt_link.exe _xpidlgen/xpcom_components.xpt _xpidlgen/nsIModuleLoader.xpt _xpidlgen/nsIComponentManagerObsolete.xpt _xpidlgen/nsIClassInfo.xpt _xpidlgen/nsIComponentRegistrar.xpt _xpidlgen/nsIFactory.xpt _xpidlgen/nsIModule.xpt _xpidlgen/nsIServiceManager.xpt _xpidlgen/nsIComponentManager.xpt _xpidlgen/nsICategoryManager.xpt ERROR: file _xpidlgen/nsIComponentMan...

Cant build debug bits - FireFox
I can build release OK with the folowing mozconfig file - however, when I try to add ac-add_options -- enable-debug the build fails with link errors - can someone suggest the fix ? ####################################### .. $topsrcdir/browser/config/mozconfig export BUILD_OFFICIAL=1 export MOZILLA_OFFICIAL=1 mk_add_options BUILD_OFFICIAL=1 mk_add_options MOZILLA_OFFICIAL=1 ac_add_options --disable-shared ac_add_options --enable-static ac_add_options --disable-activex ac_add_options --disable-activex-scripting ####################################### was that a typo in...

People building and debugging Firefox on Windows wanted
Hi, While working on shared compilation cache for windows, I noticed I could get a 20% build time improvement with the following in .mozconfig: mk_add_options "export COMPILE_PDB_FLAG=" mk_add_options "export HOST_PDB_FLAG=" mk_add_options "export MOZ_DEBUG_FLAGS=-Z7" (the downside is a 40% disk space increase of the objdir) This is what is currently used on try, and as far as testing goes, it is good enough for breakpad symbols to have the right data so that crashes in tests can be handled correctly. I'm looking for people to t...

Web resources about - Debug Mozilla Firefox - mozilla.dev.builds

Mozilla Firefox Web Browser — Free Download — mozilla.org
Mozilla Different by Design Proudly non-profit Innovating for you Fast, flexible, secure Download Firefox — English (US) Windows Linux Mac OS ...

Mozilla Labs
Popcorn lets users link social media, news feeds, data visualizations and other content directly to moving images. The result is a new form of ...

Mozilla Tips
Mozilla’s Firefox is one of the most popular browsers in the digital market today. The ongoing commitment of Mozilla to performance, privacy ...

Mozilla — Home of the Mozilla Project — mozilla.org
Mozilla Mission About Projects Get Involved We are Non-profit, for the good of the Web Different by Design Proudly non-profit Innovating for ...

Mozilla Firefox Web Browser — Free Download — mozilla.org
Mozilla Different by Design Proudly non-profit Innovating for you Fast, flexible, secure Download Firefox — English (US) Windows Linux Mac OS ...

Mozilla Festival - Open web developers, journalists and educators coming together to reinvent media on ...
Here’s a curated selection of #MozFest tweets and media, filtered for links, demos, interviews and documentation created by Mozilla Festival ...

Mozilla Ignite
Design and build apps for the faster, smarter internet of the future . Mozilla and the National Science Foundation invite you to take part in ...

Mozilla Links
Recent Firefox nightlies feature more bits from Australis, the new major theme update. This time, toolbar buttons have gone flat, featuring no ...

Mozilla Popcorn - Making video work like the web
mozilla Home Popcorn.js Popcorn Maker Learn Popcorn Blog What is POPCORN? Popcorn makes video work like the web. We create tools and programs ...

The Mozilla Blog - News, notes and ramblings from the Mozilla project
News, notes and ramblings from the Mozilla project

Resources last updated: 12/19/2015 9:58:28 AM