Closed Bug 349820 Opened 18 years ago Closed 16 years ago

crash on startup, when environment PATH is longer than about 2554 Bytes

Categories

(Toolkit :: Startup and Profile System, defect)

1.8.0 Branch
x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: mozilla.org, Unassigned)

Details

(Keywords: crash)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6

Firefox/1.5.0.6 runs fine on my machine. But when I start it from the cmd.exe, where PATH is longer than 2554 bytes, it crashes. With a PATH upto 2554 bytes, it starts and works.
Old Firefox/1.5.0 does not have this problem.


Reproducible: Always

Steps to Reproduce:
1. start cmd.exe
2. set PATH to be longer than 2554 Bytes
3. start firefox from the prompt

Actual Results:  
Windows tells me, that an error happend, when starting firefox.

Expected Results:  
Should statup without problems.

I tested this by taking a short PATH, where Firefox worked and than extended PATH by continously adding C:\ to the PATH until Firefox crashed. So, it is not weired content, which causes the problem.
I don't get a crash. Do you get a talkback ID? http://kb.mozillazine.org/Talkback
Does it happen with a clean profile?
I don't get a crash either, trunk debug build. You're unlikely to get a talkback ID because the crash is likely before component registration (which is when talkback gets hooked up, as far as I can tell).
I did not install talkback, so I have not got an ID, but I reproduced the problem several times. The profile is not clean. It was first setup, when Firefox was called Phoenix ;-). It also contains quite a few extensions, which are installed locally since the Firefox-Directory is readonly on my machine. Firefox 1.5.0 runs without problems with the same profile.
I will try to setup firefox in a VM and try to find out, whether the problem occurs there too.
I installed a new firefox on a virtual machine with windows 2000 and had no problems. Then I copied my profile to this machine, and I had the same crash. I also sent a talkback, which I installed this time. Then I startet to delete one extension after another and tried again. After deleting "HTML Validator 0.7.9.3" the problem disappeared. Then I deleted my whole profile. No Problem. Into the new profile I installed only "HTML Validator 0.7.9.3". Firefox crashes. So the problem appears under the following conditions: Firefox 1.5.0.6, HTML Validator 0.7.9.3 and a long string in PATH. (4420 Bytes I had in this test)

I tried the same test with Firefox 1.5.0, since I first noticed the problem after I installed 1.5.0.6. The problem also occurs in 1.5.0. So it seems as if I have not started firefox from the commandline in the last time - what a surprise to me ;-)
Incident ID: 22475702
Stack Signature	MSVCRT.DLL + 0x12fa3 (0x78012fa3) 305544a7
Product ID	Firefox15
Build ID	2006072814
Trigger Time	2006-08-24 15:54:19.0
Platform	Win32
Operating System	Windows NT 5.0 build 2195
Module	MSVCRT.DLL + (00012fa3)
URL visited	
User Comments	see Bug 349820
Since Last Crash	158 sec
Total Uptime	158 sec
Trigger Reason	Access violation
Source File, Line No.	N/A
Stack Trace 	
MSVCRT.DLL + 0x12fa3 (0x78012fa3)

Not useful, try following the instructions at http://developer.mozilla.org/en/docs/How_to_get_a_stacktrace_with_WinDbg ?
Reporter, do you still see this problem with the latest Firefox 2?
Keywords: crash
Version: unspecified → 1.5.0.x Branch
Product: Firefox → Toolkit
=> incomplete due to no response
if you still see this problem, please post a crash report id
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.