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

UNCONFIRMED
Unassigned

Status

()

Core
JavaScript Engine
UNCONFIRMED
5 years ago
4 years ago

People

(Reporter: Julius Canute, Unassigned)

Tracking

17 Branch
PowerPC
AIX
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
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>".
(Reporter)

Updated

5 years ago
OS: Windows 7 → AIX
Hardware: x86_64 → PowerPC

Updated

5 years ago
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....
(Reporter)

Comment 2

5 years ago
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)

Updated

4 years ago
Assignee: general → nobody
You need to log in before you can comment on or make changes to this bug.