Closed Bug 284418 Opened 20 years ago Closed 20 years ago

crash if run application without 'file' protocol specifying [@ nsDocShell::DoURILoad ]

Categories

(Core :: DOM: Navigation, defect)

x86
Windows 2000
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 282644

People

(Reporter: surkov, Assigned: adamlock)

Details

(Keywords: crash)

Crash Data

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041108 Firefox/1.0 (ax) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041108 Firefox/1.0 (ax) When I try execute 'mozilla.exe c:\MyProjects\test.xul' then mozilla is crashed. Reproducible: Always Steps to Reproduce:
It's valid in build Mozilla 1.8b (Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b) Gecko/20050217)
Alexander Surkov: Could you provide Talkback incident ID?
Keywords: crash
TB4073686E
-> Emb / Docshell TB4073686E: nsDocShell::DoURILoad [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/docshell/base/nsDocShell.cpp, line 5755] nsDocShell::InternalLoad [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/docshell/base/nsDocShell.cpp, line 5660] nsDocShell::LoadURI [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/docshell/base/nsDocShell.cpp, line 765] nsWindowWatcher::OpenWindowJS [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/embedding/components/windowwatcher/src/nsWindowWatcher.cpp, line 778] nsWindowWatcher::OpenWindow [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/embedding/components/windowwatcher/src/nsWindowWatcher.cpp, line 465] OpenWindow [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/xpfe/bootstrap/nsAppRunner.cpp, line 552] OpenWindow [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/xpfe/bootstrap/nsAppRunner.cpp, line 489] LaunchApplicationWithArgs [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/xpfe/bootstrap/nsAppRunner.cpp, line 671] DoCommandLines [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/xpfe/bootstrap/nsAppRunner.cpp, line 786] main1 [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/xpfe/bootstrap/nsAppRunner.cpp, line 1272] main [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/xpfe/bootstrap/nsAppRunner.cpp, line 1811] WinMain [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/xpfe/bootstrap/nsAppRunner.cpp, line 1839] KERNEL32.DLL + 0x87f5 (0x793a87f5)
Assignee: nobody → adamlock
Component: Cmd-line Features → Embedding: Docshell
QA Contact: adamlock
Summary: crash if run application without 'file' protocol specifying → crash if run application without 'file' protocol specifying [@ nsDocShell::DoURILoad ]
So, looking at nsDocShell line 5755 in the relevant revision we have: 5755 bzbarsky 1.500 nsresult rv2 = mContentListener->OnStartURIOpen(aURI, &abort); 5756 if (NS_SUCCEEDED(rv2) && abort) { Note that the very next day (Feb 18), I checked in a patch for bug 282644, which fixed a similar Camino crash at this very line. So please retest with a current trunk build? That said, this looks like a bug in the Firefox command-line stuff too -- why are we getting into docshell with an unknown-protocol URI?
I can't reproduce this bug with a Mozilla 1.8b (Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b) Gecko/20050217) build. When I try to run xul application as before but with command line argument '-chrome' (i.e 'mozilla.exe -chrome c:\MyProjects\test.xul') then mozilla is crashed. I don't know is this bug the same thing or something else.
Oh, the firefox thing was with 1.0.... Just marking duplicate, then. *** This bug has been marked as a duplicate of 282644 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Crash Signature: [@ nsDocShell::DoURILoad ]
You need to log in before you can comment on or make changes to this bug.