Closed Bug 413900 Opened 18 years ago Closed 2 years ago

nsLoadCollector "Couldn't get document"

Categories

(Toolkit Graveyard :: Data Collection/Metrics, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: alex, Assigned: pete)

References

()

Details

Attachments

(2 files)

The nsLoadCollector is broken. It is no longer recording <document /> elements. Some example debugging output: -1610559488[507180]: LoadCollector: progress = 13e5e5f4, request = 13a94c9c [http://mxr.mozilla.org/seamonkey/search?find=%2Fextensions%2Fmetrics%2Fsrc%2F&string=t+get+document], flags = 10f0001, status = 0 -1610559488[507180]: LoadCollector: progress = 13e5e5f4, request = 13a94c9c [http://mxr.mozilla.org/seamonkey/search?find=%2Fextensions%2Fmetrics%2Fsrc%2F&string=t+get+document], flags = 1030004, status = 0 -1610559488[507180]: LoadCollector: progress = 13e5e5f4, request = 13a94c9c [http://mxr.mozilla.org/seamonkey/search?find=%2Fextensions%2Fmetrics%2Fsrc%2F&string=t+get+document], flags = 1020010, status = 0 -1610559488[507180]: Couldn't get document -1610559488[507180]: LoadCollector: progress = 13e5e5f4, request = 1481d1fc [http://mxr.mozilla.org/seamonkey/source/extensions/metrics/src/nsLoadCollector.cpp], flags = f0001, status = 0 -1610559488[507180]: LoadCollector: progress = 13e5e5f4, request = 1481d1fc [http://mxr.mozilla.org/seamonkey/source/extensions/metrics/src/nsLoadCollector.cpp], flags = 30004, status = 0 -1610559488[507180]: LoadCollector: progress = 13e5e5f4, request = 1481d1fc [http://mxr.mozilla.org/seamonkey/source/extensions/metrics/src/nsLoadCollector.cpp], flags = 20010, status = 0 -1610559488[507180]: Couldn't get document
Also, if possible, we should add a unit test to make sure this is still working.
Assignee: nobody → pete
Status: NEW → ASSIGNED
Ok, in my build I am not seeing any issues. I am running off a trunk build from about a week and a half ago. I'll sync and then try to reproduce again.
Attached file metrics XML file
I created a new profile and testing using a freshly synced trunk, I can't seem to reproduce.
Attached file Metrics PR Log
Here is my PR Log
Attachment #299790 - Attachment mime type: application/octet-stream → text/plain
Alex, can you provide more detail about the build of metrics you are testing? Is it the last build of XPI binaries?
(In reply to comment #5) > Alex, can you provide more detail about the build of metrics you are testing? > > Is it the last build of XPI binaries? Yep, v2a3 on Mac OS X. Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9b3pre) Gecko/2008012704 Minefield/3.0b3pre
fixed with latest version
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Seeing this again. Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9b5pre) Gecko/2008031804 Minefield/3.0b5pre Spectator version 2a5 Trunk must have moved.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Last version I posted should be 2a6 ... Are you sure you are testing the correct XPI?
(In reply to comment #9) > Last version I posted should be 2a6 ... > > Are you sure you are testing the correct XPI? > I was using 2a5! Whoops! Works fine now.
Status: REOPENED → RESOLVED
Closed: 18 years ago18 years ago
Resolution: --- → FIXED
seeing this on 3.0pre when using 2a6...
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Alex, BTW 2a7 is posted win32 and OSX. had some Linux bustage I need to resolve.
using 2a7 it works fine for me on 3.0pre I'll try updating to a nightly.
Ah, ok it's failing after I upgraded to a nightly. -1610559488[5071d0]: Couldn't get document But I thought we were only targeting Beta release builds? Should I spin off some new builds?
(In reply to comment #14) > Ah, ok it's failing after I upgraded to a nightly. > > -1610559488[5071d0]: Couldn't get document > > But I thought we were only targeting Beta release builds? Indeed -- but I could not get it to work with beta 5 on Mac 10.4. Does it work for you?
I'll go install beta 5 just to be sure. Yes I'm on Mac 10.4.x
Ok, yes I ma seeing the problem on beta 5 as well. I will checkout and build that tag specifically and respin the XPI's.
Product: Toolkit → Toolkit Graveyard
Status: REOPENED → RESOLVED
Closed: 18 years ago2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: