Closed Bug 855628 Opened 11 years ago Closed 2 years ago

Assertion failure: (objBits >> 47) == 0, at ./jsval.h:712

Categories

(Core :: JavaScript Engine, defect)

17 Branch
PowerPC
AIX
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: juliuscanute, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0
Build ID: 20130307074601

Steps to reproduce:

I compiled SpiderMonkey 17.0.4esrpre with the following configuration options on AIX:

./configure --disable-tracejit --disable-methodjit --enable-debug=-g --disable-tests

I used gcc and g++ for compilation which are at version 4.6.3. I was building 64bit version of SpiderMonkey 17.0.4esrpre.


Actual results:

When I tried to launch SpiderMonkey ./js17, I got the following error:
Assertion failure: (objBits >> 47) == 0, at ./jsval.h:712


Expected results:

SpiderMonkey should have launched and a prompt should have appeared "js>".
OS: Windows 7 → AIX
Hardware: x86_64 → PowerPC
Assignee: nobody → general
Component: Untriaged → JavaScript Engine
Product: Firefox → Core
Julius, it sounds like AIX 64-bit actually uses 64 bits of pointers, not the 47 that x86-64 does.

Spidermonkey's boxing setup relies on only 47 bits being used for pointers, so you will need to make sure your allocator is enforcing that....
How to ensure that AIX uses 47 bits for pointers?
I don't see any mmap() flags that would enable that, unfortunately. You'll have to compile a 32-bit version of SpiderMonkey (or investigate introducing a new struct layout for Value).
Assignee: general → nobody
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.