Closed
Bug 564754
Opened 15 years ago
Closed 15 years ago
Don't work structure type on windows x64 build
Categories
(Core :: js-ctypes, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: m_kato, Assigned: m_kato)
References
Details
libffi may use alloca() when type is structure or long double.
So ffi_call may override values->mData in FunctionType::Call(), then, ~AutoValue tries to freeing invalid memory.
Assignee | ||
Updated•15 years ago
|
Hardware: x86 → x86_64
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → m_kato
Blocks: tracking_win64
Assignee | ||
Comment 1•15 years ago
|
||
I post a patch to libffi. http://www.cygwin.com/ml/libffi-discuss/2010/msg00099.html
Also, I will create a patch for m-c.
Comment 2•15 years ago
|
||
Thanks. We should wait for it to get acked on the libffi list; once that happens, you can roll a patch for m-c. (No need to add it to js/src/ctypes/libffi.patch if it's already been upstreamed.)
Comment 3•15 years ago
|
||
Did your patch get accepted? If not, can you repost?
Assignee | ||
Comment 4•15 years ago
|
||
(In reply to comment #3)
> Did your patch get accepted? If not, can you repost?
no reply, so I will repost it.
Comment 5•15 years ago
|
||
Fixed by libffi git pull.
http://hg.mozilla.org/tracemonkey/rev/e2265b714a02
Whiteboard: fixed-in-tracemonkey
Comment 6•15 years ago
|
||
Merged to m-c ages ago.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: fixed-in-tracemonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•