Closed
Bug 680917
Opened 14 years ago
Closed 14 years ago
Assertion failure@yarr/PageAllocation.h:103 on ia64: system page size is 0x4000 while requested size is 0x1000
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla10
People
(Reporter: jhorak, Assigned: jhorak)
Details
(Whiteboard: [inbound])
Attachments
(1 file)
476 bytes,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
On arch ia64 js engine is asserting at:
Assertion failure: isPageAligned(size)
(tip/js/src/yarr/PageAllocation.h:103 static WTF::PageAllocation WTF::PageAllocation::allocate(size_t, WTF::OSAllocator::Usage, bool, bool))
Called with following parameters:
WTF::PageAllocation::allocate (size=4096, usage=UnknownUsage, writable=true, executable=false)
From:
http://mxr.mozilla.org/mozilla-central/source/js/src/yarr/PageBlock.h#41
The isPageAligned check use systemPageSize() which returns 0x4000, size is 0x1000.
The check !(size & (pageSize() - 1)) fails because of that.
Comment 1•14 years ago
|
||
FWIW, I think there are much more places in the code that assume a page size of 4KB.
Assignee | ||
Comment 2•14 years ago
|
||
Tested attached patch with ia64 and together with patches from:
https://bugzilla.mozilla.org/show_bug.cgi?id=589735
works just fine.
Attachment #555079 -
Flags: review?(luke)
![]() |
||
Updated•14 years ago
|
Attachment #555079 -
Flags: review?(luke) → review+
Assignee | ||
Updated•14 years ago
|
Keywords: checkin-needed
![]() |
||
Comment 3•14 years ago
|
||
Please put a checkin comment describing what the patch does either in the patch or in the bug?
Updated•14 years ago
|
Assignee: general → jhorak
Keywords: checkin-needed
Comment 4•14 years ago
|
||
Whiteboard: [inbound]
Comment 5•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla10
You need to log in
before you can comment on or make changes to this bug.
Description
•