[Webkit-unassigned] [Bug 12841] Crash on ARM due to mis-alignment

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 21 17:21:10 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12841





------- Comment #2 from darin at apple.com  2007-02-21 17:21 PDT -------
(From update of attachment 13292)
I think there's a more-portable way to solve this problem. We could make
pageheap_memory be an array of pointers instead of an array of char. That would
ive us the alignment we need to store pointers in it.

static void* pageheap_memory[(sizeof(TCMalloc_PageHeap) + sizeof(void*) - 1) /
sizeof(void*)];

What do you think?


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list