NECKO: Crash on startup

VERIFIED FIXED in M9

Status

()

Core
Networking
P3
normal
VERIFIED FIXED
19 years ago
19 years ago

People

(Reporter: jim_nance, Assigned: Gagan)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

19 years ago
Using a 30 June 6:00 EDT checkout, and configuring using
--with-nekco, I get a reproducable exit at startup.  I ran
it in the debugger, and here is what I have so far:

508       /*
509        * Initialize the Shell...
510        */
511 >     rv = appShell->Initialize( cmdLineArgs );
512       if (NS_FAILED(rv)) {
513         goto done;                  // don't use goto in C++!
514       }
515
(gdb) s
nsStreamTransfer component created
Initialized app shell component {beba91c0-070f-11d3-8068-00600811a9c3},
rv=0x00000000
nsUnknownContentTypeHandler component created
Initialized app shell component {42770b50-03e9-11d3-8068-00600811a9c3},
rv=0x00000000
nsFindComponent component created
Initialized app shell component {4aa267a0-f81d-11d2-8067-00600811a9c3},
rv=0x00000000
XPInstall Component created
Initialized app shell component {18c2f989-b09f-11d2-bcde-00805f0e1353},
rv=0x00000000
Assertion: "uh oh, couldn't Init() for some reason" (NS_SUCCEEDED(rv)) at file
/home/jlnance/src/19980429/mozilla/xpfe/appshell/src/nsWindowMediator.cpp, line
352
512       if (NS_FAILED(rv)) {
(gdb) p rv
$1 = 0
(gdb) w
#0  main (argc=3, argv=0xbffff5a4)
    at /home/jlnance/src/19980429/mozilla/xpfe/bootstrap/nsAppRunner.cpp:512
507
508       /*
509        * Initialize the Shell...
510        */
511       rv = appShell->Initialize( cmdLineArgs );
512 >     if (NS_FAILED(rv)) {
513         goto done;                  // don't use goto in C++!
514       }
515
516       /*
(gdb) n
528       rv = NS_NewURI(&url, urlstr);
(gdb)
531       if (NS_FAILED(rv)) {
(gdb)
532         goto done;                  // don't use goto in C++!
(gdb) p urlstr
$2 = 0x804c696 "chrome://navigator/content/"
(gdb) p url
$3 = (nsIURI *) 0x0
(gdb)
(Assignee)

Comment 1

19 years ago
Past necko landing...

Comment 2

19 years ago
Changing all Networking Library/Browser bugs to Networking-Core component for
Browser.

Occasionally, Bugzilla will burp and cause Verified bugs to reopen when I do
this in a bulk change.  If this happens, I will fix. ;-)
(Assignee)

Updated

19 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED
Summary: Crash on startup → NECKO: Crash on startup
(Assignee)

Comment 3

19 years ago
Pl. verify with Necko.

Updated

19 years ago
Status: RESOLVED → VERIFIED

Comment 4

19 years ago
I will assume this is fixed also...

Comment 5

19 years ago
Bulk move of all Networking-Core (to be deleted component) bugs to new
Networking component.
You need to log in before you can comment on or make changes to this bug.