Closed
Bug 599762
Opened 15 years ago
Closed 15 years ago
TM: set right compartment in js::ctypes::CClosure::ClosureStub
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: gwagner, Assigned: gal)
References
Details
(Whiteboard: fixed-in-tracemonkey)
Attachments
(1 file, 1 obsolete file)
|
875 bytes,
patch
|
gwagner
:
review+
|
Details | Diff | Splinter Review |
2 libmozjs.so!JS_CallFunctionValue [jsapi.cpp:ef1f16975962 : 4898 + 0x31]
eip = 0x006acea4 esp = 0xa44ed310 ebp = 0xa44ed358 ebx = 0x00a1968c
Found by: call frame info
3 libmozjs.so!js::ctypes::CClosure::ClosureStub [CTypes.cpp:ef1f16975962 : 5373 + 0x52]
eip = 0x0095b28a esp = 0xa44ed360 ebp = 0xa44ed4f8 ebx = 0x00a1968c
esi = 0xa44ed3b4 edi = 0x00000001
Found by: call frame info
4 libmozjs.so!ffi_closure_SYSV_inner [ffi.c:ef1f16975962 : 384 + 0x27]
eip = 0x009706a6 esp = 0xa44ed500 ebp = 0xa44ed558 ebx = 0x00a1968c
esi = 0x0095ae5d edi = 0xa1883240
Found by: call frame info
5 libmozjs.so + 0x2ec89d
eip = 0x0097089e esp = 0xa44ed560 ebp = 0xa44ed588 ebx = 0x00a1968c
esi = 0x00000001 edi = 0xa1883240
Found by: call frame info
6 libmozjs.so + 0x2ec7e1
eip = 0x009707e2 esp = 0xa44ed590 ebp = 0xa44ed598 ebx = 0x00a1968c
esi = 0x00000001 edi = 0xa1883240
Found by: call frame info
http://tinderbox.mozilla.org/showlog.cgi?tree=MozillaTry&errorparser=unittest&logfile=1285526805.1285528507.21126.gz&buildtime=1285526805&buildname=Rev3%20Fedora%2012%20tryserver%20debug%20test%20mochitest-other&fulltext=1#err1
| Assignee | ||
Comment 2•15 years ago
|
||
This is a callback stub and it has to enter the right compartment before calling back into JS.
| Reporter | ||
Comment 3•15 years ago
|
||
I see this assertion now:
http://tinderbox.mozilla.org/showlog.cgi?log=MozillaTry/1285574909.1285576615.23388.gz&fulltext=1#err0
Is this because of bug 599503?
| Assignee | ||
Comment 4•15 years ago
|
||
try jsfnObj instead of thisObj
| Reporter | ||
Comment 5•15 years ago
|
||
changed thisObj.
Attachment #478705 -
Attachment is obsolete: true
| Reporter | ||
Updated•15 years ago
|
Attachment #479514 -
Flags: review?
| Reporter | ||
Comment 6•15 years ago
|
||
Comment on attachment 479514 [details] [diff] [review]
patch
Argh wrong flag. Still Andreas patch.
Attachment #479514 -
Flags: review? → review+
Comment 7•15 years ago
|
||
This patch does fix the problem I ran into in the ctypes test in our chrome mochitests. This should be ready to land IMO, and I can do so unless someone tells me not to...
| Reporter | ||
Comment 8•15 years ago
|
||
I am about to land this.
| Reporter | ||
Comment 9•15 years ago
|
||
Whiteboard: fixed-in-tracemonkey
Comment 10•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•