Closed Bug 917009 Opened 11 years ago Closed 11 years ago

Assertion failure: aFirst && aSecond (Don't pass null pointers!), at caps/src/nsScriptSecurityManager.cpp:941

Categories

(Core :: Security: CAPS, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla27

People

(Reporter: dbaron, Unassigned)

Details

(Keywords: assertion, crash)

Attachments

(2 files)

While using https://twitter.com/ (I think I was trying to search for a user in the box at the top), I hit the fatal assertion: Assertion failure: aFirst && aSecond (Don't pass null pointers!), at /home/dbaron/builds/ssd/mozilla-central/mozilla/caps/src/nsScriptSecurityManager.cpp:941 Might not be caps's fault, though, given the massive instability in builds today.
Hit it a second time, just loading https://twitter.com/
So, this is happening because the old-fashioned mechanism for accessing object principals (which we invoke in debug builds to check our results) is returning null for some reason. I'm mildly curious to know why, but I think this code can also just go away. I'll attach a patch.
Comment on attachment 806087 [details] [diff] [review] Remove old-style object principal calculation. v1 r=me
Attachment #806087 - Flags: review?(bzbarsky) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: