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




13 years ago
10 years ago


(Reporter:, Unassigned)



1.8.0 Branch
Windows XP

Firefox Tracking Flags

(Not tracked)




13 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv: Gecko/20060728 Firefox/
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv: Gecko/20060728 Firefox/

Firefox/ 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?
Does it happen with a clean profile?

Comment 2

13 years ago
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).

Comment 3

13 years ago
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.

Comment 4

13 years ago
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" the problem disappeared. Then I deleted my whole profile. No Problem. Into the new profile I installed only "HTML Validator". Firefox crashes. So the problem appears under the following conditions: Firefox, HTML Validator 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 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 ;-)

Comment 5

13 years ago
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 ?
Reporter, do you still see this problem with the latest Firefox 2?
Keywords: crash
Version: unspecified → 1.5.0.x Branch


11 years ago
Product: Firefox → Toolkit
=> incomplete due to no response
if you still see this problem, please post a crash report id
Last Resolved: 10 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.