Closed Bug 420150 Opened 17 years ago Closed 10 years ago

Cycle collector fault when launching runtests.pl

Categories

(Core :: XPCOM, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bent.mozilla, Assigned: bent.mozilla)

Details

Attachments

(1 file)

sdwilsh said he has seen this fault while running runtests.pl: multiple registrations of language runtime (ptr: 4a11cd0) Worth looking into.
This happens for me, too, every time I run "perl runtests.pl". This is frustrating because I'm trying to debug another problem that might be specific to runtests.py.
I've seen this running make check before; a make build will fix the matter. I don't recall seeing it in Mochitests, but I might just not be remembering.
(In reply to comment #0) > sdwilsh said he has seen this fault while running runtests.pl: > > multiple registrations of language runtime (ptr: 4a11cd0) I'm seeing this frequently on my local mac builds of Thunderbird (OS X 10.5). Though I've not always been running tests. The sort of situations it seems to occur (and I can't quite say the definitive possibilities yet): * Rebuilding parts of Thunderbird just doing mailnews and mail, though most of the time this seems ok. * Messing around with profiles, such that a default doesn't exist, or trying to load a profile that doesn't exist. * After running xpcshell tests (via make check or check-interactive).
I know what causes this.
Assignee: nobody → bent.mozilla
Status: NEW → ASSIGNED
Attached patch Patch, v1Splinter Review
The problem was that we were getting a relative path in the module loader hash which was causing the xpconnect module (among others!) to initialize twice.
Attachment #339138 - Flags: review?(benjamin)
Attachment #339138 - Flags: review?(benjamin) → review+
Comment on attachment 339138 [details] [diff] [review] Patch, v1 You really don't need the extra COMPtr, you could just do (*aDirectory)->Normalize() but this is ok.
But then your static checker would yell at me for setting an outparam and then maybe returning failure, right?
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: