Closed Bug 620280 Opened 14 years ago Closed 14 years ago

crash [@ XPCJSRuntime::GCCallback] if !self

Categories

(Core :: XPConnect, defect)

defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla5

People

(Reporter: timeless, Assigned: timeless)

References

(Blocks 1 open bug)

Details

(Keywords: coverity, crash)

Crash Data

Attachments

(1 file)

576 JSBool XPCJSRuntime::GCCallback(JSContext *cx, JSGCStatus status) 577 { 578 XPCJSRuntime* self = nsXPConnect::GetRuntimeInstance(); careful: 579 if(self) 580 { 856 } oops: 858 nsTArray<JSGCCallback> callbacks(self->extraGCCallbacks);
Attached patch patch (deleted) — Splinter Review
Assignee: nobody → timeless
Status: NEW → ASSIGNED
Attachment #498681 - Flags: review?(mrbkap)
Attachment #498681 - Flags: approval2.0?
Comment on attachment 498681 [details] [diff] [review] patch I'd be interested to know if this can actually happen. FWIW, a diff -w would have been nice here. Thanks for patching, though.
Attachment #498681 - Flags: review?(mrbkap) → review+
Comment on attachment 498681 [details] [diff] [review] patch Mass minusing patch approval that don't have high return. Please renominate if this is more important for 2.0 than it appears.
Attachment #498681 - Flags: approval2.0? → approval2.0-
This is a nice fix. I agree its not super high priority, but can we make sure we collect these and land them after FF4 and they don't just disappear in the void?
This patch no longer applies cleanly on the trunk.
Whiteboard: not-ready
ehsan: in general my patches should be present in a queue i maintain on hg/users: http://hg.mozilla.org/users/timeless_mozdev.org/mozilla-central-mq/file/default/620280-XPCJSRuntime-GCCallback appears to be current as it's mentioned in: http://hg.mozilla.org/users/timeless_mozdev.org/mozilla-central-mq/file/default/series this of course doesn't guarantee it compiles, but it will apply.
Whiteboard: not-ready → try-patch-from-queue
Well, can you make sure that it compiles before I land it? :)
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: try-patch-from-queue
Target Milestone: --- → mozilla2.2
Crash Signature: [@ XPCJSRuntime::GCCallback]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: