Your message dated Fri, 09 Dec 2016 03:03:43 +0000 with message-id <E1cFBTL-000EJk-LH@fasolo.debian.org> and subject line Bug#839048: fixed in mozjs 1.8.5-1.0.0+dfsg-5.1 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: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=839048 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: submit@bugs.debian.org
- Cc: Steve Capper <steve.capper@linaro.org>, Steve McIntyre <steve.mcintyre@linaro.org>
- Subject: couchjs crashes on ARM64
- From: Zheng Xu <zheng.xu@linaro.org>
- Date: Wed, 28 Sep 2016 14:51:23 +0800
- Message-id: <CACc6TXLV7urKXCWyM0+rHJzRBGrHmsCCQos=mdGWNMd=zT8JwA@mail.gmail.com>
Package: libmozjs185-1.0
root@3aeb83a7878f:~# cat a.jsprint("hello")root@3aeb83a7878f:~# couchjs a.jsSegmentation 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=11430222. redhat fix : https://bugzilla.redhat.com/show_bug.cgi?id=1242326Note : 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 ---
- To: 839048-close@bugs.debian.org
- Subject: Bug#839048: fixed in mozjs 1.8.5-1.0.0+dfsg-5.1
- From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
- Date: Fri, 09 Dec 2016 03:03:43 +0000
- Message-id: <E1cFBTL-000EJk-LH@fasolo.debian.org>
Source: mozjs Source-Version: 1.8.5-1.0.0+dfsg-5.1 We believe that the bug you reported is fixed in the latest version of mozjs, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 839048@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> (supplier of updated mozjs package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Fri, 09 Dec 2016 02:53:56 +0100 Source: mozjs Binary: libmozjs185-1.0 libmozjs185-dev Architecture: source amd64 Version: 1.8.5-1.0.0+dfsg-5.1 Distribution: sid Urgency: medium Maintainer: Debian QA Group <packages@qa.debian.org> Changed-By: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Description: libmozjs185-1.0 - SpiderMonkey JavaScript engine libmozjs185-dev - SpiderMonkey JavaScript library - development headers Closes: 839048 Changes: mozjs (1.8.5-1.0.0+dfsg-5.1) unstable; urgency=medium . * Non-maintainer upload. * Add Modify_tagged_pointer_structure_js1.8.5.patch to modify tagged pointer to use 48 bit virtual address space (Closes: #839048). * Add M68k-alignment-fixes.patch to enforce 32-bit alignment on m68k for some StackSegment, JSStackFrame and JSScript. Checksums-Sha1: 56833280bcb88fbf7de650c78740cfa3169d43f5 2127 mozjs_1.8.5-1.0.0+dfsg-5.1.dsc 2c35f979f8ddcb401a243e410984947adec6e623 53464 mozjs_1.8.5-1.0.0+dfsg-5.1.debian.tar.xz ffe116be874f3f44de13c2d45574fdaf092b28e4 84768 libmozjs185-1.0-dbgsym_1.8.5-1.0.0+dfsg-5.1_amd64.deb 272bf7de923d47d53b02b4d2575e6a8279f97978 1110242 libmozjs185-1.0_1.8.5-1.0.0+dfsg-5.1_amd64.deb 0da6ae099e2c6b812c95ce3ed5756fecda0e5185 1547808 libmozjs185-dev_1.8.5-1.0.0+dfsg-5.1_amd64.deb 624432300c8b9580ce5fa344df49e469de83b73f 6037 mozjs_1.8.5-1.0.0+dfsg-5.1_amd64.buildinfo Checksums-Sha256: 96b214ca0f9d3087fde1076723ad8e2e06ad8bd7a85d6fae12d0f565f0c6a7ee 2127 mozjs_1.8.5-1.0.0+dfsg-5.1.dsc c7fed45b2c8f2fb9348aa3bb3267a341c08682958e78e1963a37ec5b5b92d88e 53464 mozjs_1.8.5-1.0.0+dfsg-5.1.debian.tar.xz 5f33806b6d1717258a90a63feef48d34b70bb854e5761e7d5184dc15d7dc9353 84768 libmozjs185-1.0-dbgsym_1.8.5-1.0.0+dfsg-5.1_amd64.deb 433210d3a8dc8a257997d1d2963a72fd5511f9e6e66e759e1ae8d6f830c84666 1110242 libmozjs185-1.0_1.8.5-1.0.0+dfsg-5.1_amd64.deb 87d4f906f51357f425bcbe69fef4c98309e737c7959615885e4e9de5a84f5e78 1547808 libmozjs185-dev_1.8.5-1.0.0+dfsg-5.1_amd64.deb 0cb3c77b0dd7b9a574b92ea8ee80fb3cba2f9bda119d1bf2af6cc5beacddefd2 6037 mozjs_1.8.5-1.0.0+dfsg-5.1_amd64.buildinfo Files: 25c8ae2c2a3911c35c3f05a47812f3c5 2127 libs extra mozjs_1.8.5-1.0.0+dfsg-5.1.dsc 4329984f37dad4dd67f9b985efa1ac3a 53464 libs extra mozjs_1.8.5-1.0.0+dfsg-5.1.debian.tar.xz 2bcd891dd4bab92a5544d3d2b4eb9504 84768 debug extra libmozjs185-1.0-dbgsym_1.8.5-1.0.0+dfsg-5.1_amd64.deb d0039ede8f142dadb417349fec4f7095 1110242 libs extra libmozjs185-1.0_1.8.5-1.0.0+dfsg-5.1_amd64.deb e9d41bd43f5078dff2c1233d906b8fdc 1547808 libdevel extra libmozjs185-dev_1.8.5-1.0.0+dfsg-5.1_amd64.deb f8f2ef7ef781d88f1139706c1daf61f3 6037 libs extra mozjs_1.8.5-1.0.0+dfsg-5.1_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEYv+KdYTgKVaVRgAGdCY7N/W1+RMFAlhKEnwACgkQdCY7N/W1 +RMUjA//eYW8GBdC7tyJaIKPhz0NTDU1Z3evh/QVTcEgC7x+xp1Xjk1Q6rFHuzqD shXYuekfYIEuQHhCUQ23bm9NBZ7LBQXh5CWhM+qdspj/CDPuVaBtJBRCavWY6xE5 ueQWNMzo7NXY49cYoLKPNC5FVNQ19wv1930YeyC3BHYSVpxj6aJfUtCV1SG1U5pi Kn/3JU6dGiHiGDcOs6Vfm0Vt3G8iGWqky2siDtUIJc3Md+bQuLgMtVblIqcBWn1A RxqnZaH5rnEYGZ/rWl3avj8TXUCgcTK3uHPnO8n28KPzSdlZ6yNrNMegx3EdcR3/ iXWlqQgmRCpRHcR0F8QOu9W7unpvBrUs22qzxwiq229lV3E4LCn9H+vNwXaWrqwK xnrGYC98yS/b0IZ4KQ8nXxnRX2Ym5MiJEmbXiujoGproP2aXeMZwRdlL5MQQ8Bz/ xapU2u1+7ZRHyEYyfB3WETYHkDtXUlhAF1A+Ys4RtyQuBEkKWw9s3Dzq+a+xHIRF kcHKE09EwM0dtA1Qv9xH+pcz82wRpEh4AesOBLMmjSG1oK2NkZPbyCbwYzvCypUl /B97J1Nm69XdWWuzlKN97m3FTn0yEINPGdLxk2RWLBcsjRcQWpGiTKGdoeAjRDKb riHT2TcHSXgd1rboulpHCKoVF7rdabhZkLYQlmqSZ4l9o4CUHlI= =f/7O -----END PGP SIGNATURE-----
--- End Message ---