Closed Bug 56385 Opened 25 years ago Closed 25 years ago

Weird assertion on startup

Categories

(Core :: Networking, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED DUPLICATE of bug 56505

People

(Reporter: bugzilla, Assigned: gagan)

Details

From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98) BuildID: 20001014 I get this popup assertion at startup ###!!! ASSERTION: HTTP cannot send practical requests without this much: '(!mApp Name.IsEmpty() || !mAppVersion.IsEmpty() || !mAppPlatform.IsEmpty() || !mAppSecu rity.IsEmpty() || !mAppOSCPU.IsEmpty())', file c:\download\cvs\mozilla\netwerk\p rotocol\http\src\nsHTTPHandler.cpp, line 1288 Reproducible: Always Steps to Reproduce: 1. Start up Mozilla 2. 3. Actual Results: Mozilla popped up an assertion Expected Results: Mozilla start up without an assertion Mozilla still appears to report its user agent correctly, so the assertion seems invalid.
Reproduced here, Windows 2000, AMD processor.
After commenting out the assertion and testing each individual component it shows all of the tested components to be empty. As the user agent is reported normally later the BuildUserAgent() must be called more than once.
Actually BuildUserAgent() is called each time a component of the agent is set, the other occasion is at the end of PrefsChanged() so it looks like it makes no sense to test the string unless at least one assignment has been made. The assertion should be changed to a warning.
I see this too, branch and trunk. Started happening during the day 10/12. Needs investigationo for RTM. It could indicate a failure to generate the user agent string correctly.
Keywords: rtm
In bug 56505 is a patch attached *** This bug has been marked as a duplicate of 56505 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
vrfy dup
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.