On Sat, Dec 22, 2012 at 2:00 PM, Stephan Beal <[email protected]> wrote:

> #
> # Fatal error in v8::Object::SetAlignedPointerInInternalField()
> # Pointer is not aligned
> #
>
> Is there a known problem for x64 with these routines or is there another
> replacement we should be using instead of the deprecated
> SetPointerInInternalField()?
>
> gcc 4.6.3 on Ubuntu 12.04, Linux 3.2.0 on x64. v8 trunk r13274.
>

i can confirm that this is also happening in a 32-bit VM with the same
OS/compiler, hosted on the above 64-bit system, but a colleague reports
that it is not happening on his Windows (32-bit) box.

The only pointers i am using as internal fields are allocated either on the
stack or via the system allocator, so i would certainly expect them to be
aligned properly. Using Get/SetPointerInInternalField() works flawlessly as
before but break my normal build process because i use -Werror and they are
marked as deprecated.

Any "pointers" (as it were) would be appreciated.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to