Comment #2 on issue 1505 by [email protected]: general protection fault due to misaligned addresses with sse in v8::internal::DateParser::Parse
http://code.google.com/p/v8/issues/detail?id=1505

Ah, now it's clear what's happening.

On Solaris you're using something different that looks like:

159 size_t OS::AllocateAlignment() {
160   return static_cast<size_t>(getpagesize());
161 }

If we look at <sys/stack.h> we find that on a 64-bit compilation environment than it will be 16. Since we're in a 32-bit we're not getting the 16 byte alignment and it's less than 16.

What we want there is probably something more like MAX(16, STACK_ALIGN).

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

Reply via email to