[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#839048: marked as done (couchjs crashes on ARM64)



Your message dated Sat, 31 Mar 2018 03:51:38 +0000
with message-id <[🔎] E1f27YI-0007kr-5n@fasolo.debian.org>
and subject line Bug#894238: Removed package(s) from unstable
has caused the Debian Bug report #839048,
regarding couchjs crashes on ARM64
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
839048: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=839048
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libmozjs185-1.0

root@3aeb83a7878f:~# cat a.js
print("hello")
root@3aeb83a7878f:~# couchjs a.js
Segmentation fault (core dumped)

couchjs is in couchdb-bin, but the issues is caused by a bug in mozjs. There is an assumption that the VA bits is less equal than 47 bits in mozjs. But it is not true any more when we compile the kernel with 48 VA bits.

Patch is attached which should fix the problem.

Reference links :
1. upstream fix : https://bugzilla.mozilla.org/show_bug.cgi?id=1143022
2. redhat fix : https://bugzilla.redhat.com/show_bug.cgi?id=1242326

Note : Upstream patch limit the heap in the 47 bits world so that we won't break the assumption. But the attached patch uses a different fix. It uses less tag bits so that we can live with 48 VA bits. Because the old mozjs may take JS objects from C code which is not allocated from JS heap.

Attachment: Modify_tagged_pointer_structure_js1.8.5.patch
Description: Binary data


--- End Message ---
--- Begin Message ---
Version: 1.8.5-1.0.0+dfsg-8+rm

Dear submitter,

as the package mozjs has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/894238

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply to: