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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 21 04:29:37 PST 2007


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

           Summary: Crash on ARM due to mis-alignment
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: public at oscarc.net
                CC: kkowalczyk at gmail.com


ARM has stricter alignment rules than many other architectures. In this case,
pageheap_memory is being declared as a char array, so it is not aligned by the
compiler. It is later used as TCMalloc_PageHeap*, which does require alignment.

When building under ARM, this patch tells the compiler to stricly align
pageheap_memory so that pageheap_memory can be used as TCMalloc_PageHeap*. It
does not affect other platforms.


-- 
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