Public bug reported:

[Impact]
libmozjs24 does not support 48-bit virtual addresses on arm64. 48-bit virtual 
addresses are enabled in the Ubuntu 16.04 kernel (though not on the kernel used 
on the buildds). This causes applications to crash.

[Test Case]
apt source mozjs24
sudo apt build-dep -y mozjs24
sudo apt install -y fakeroot
cd mozjs24-24.2.0
fakeroot make -f debian/rules build
cd js/src
make
./jsapi-tests/jsapi-tests 

Unpatched source crashes for me immediately on xenial:
dannf@mustang:~/mozjs24-24.2.0/js/src$ ./jsapi-tests/jsapi-tests 
testXDR_sourceMap
Segmentation fault

All tests pass w/ patched source

[Regression Risk] 
I'd suggest running through the jsapi-tests on each supported Ubuntu 
architecture. I've only ran it on arm64 so far.

** Affects: mozjs
     Importance: Unknown
         Status: Unknown

** Affects: mozjs24 (Ubuntu)
     Importance: Critical
     Assignee: dann frazier (dannf)
         Status: Confirmed


** Tags: arm64

** Bug watch added: Mozilla Bugzilla #1143022
   https://bugzilla.mozilla.org/show_bug.cgi?id=1143022

** Also affects: mozjs via
   https://bugzilla.mozilla.org/show_bug.cgi?id=1143022
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1571017

Title:
  [arm64] libmozjs24 crashes w/ 48-bit VA

To manage notifications about this bug go to:
https://bugs.launchpad.net/mozjs/+bug/1571017/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to