X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 6B44ADC04E3 for ; Sun, 10 Apr 2016 14:42:51 +0000 (UTC) Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 42355DC00B1 for ; Sun, 10 Apr 2016 14:42:51 +0000 (UTC) Received: from [10.10.5.62] (c-71-236-42-116.hsd1.tn.comcast.net [71.236.42.116]) by smtp.webfaction.com (Postfix) with ESMTP id 3B4D820C9235; Sun, 10 Apr 2016 14:42:49 +0000 (UTC) Content-Type: text/plain; charset=utf-8 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: [alpine-aports] phantonjs question From: Nathan Johnson In-Reply-To: <20160408083604.1e65c454@ncopa-desktop.alpinelinux.org> Date: Sun, 10 Apr 2016 09:42:49 -0500 Cc: alpine-aports@lists.alpinelinux.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <7BCBCAF4-ED74-4EE4-9CB4-D5C79F7A52C3@nathanjohnson.org> <20160408083604.1e65c454@ncopa-desktop.alpinelinux.org> To: Natanael Copa X-Mailer: Apple Mail (2.3124) X-Virus-Scanned: ClamAV using ClamSMTP First off, thank you for the reply. Second, sorry it took so long to get back to you. I=E2=80=99ve compiled PhantomJS in several different ways, and I keep getting a hangup on even trivial examples. I=E2=80=99ve opened a bug = here: https://github.com/ariya/phantomjs/issues/14186 I was able to reproduce the same hangup in an image built from your Dockerfile. So far I=E2=80=99m not seeing anything interesting in = strace, for now I seem to be stuck. I=E2=80=99ll keep digging, but curious if = you can reproduce this. Thanks, Nathan > On Apr 8, 2016, at 1:36 AM, Natanael Copa = wrote: >=20 > On Thu, 7 Apr 2016 21:50:43 -0500 > Nathan Johnson wrote: >=20 >> I*m playing with a phantomjs port, and it looks like Natanael Copa >> already made two PRs to some deps to make it compile (Thanks = Natanael!). >>=20 >> https://github.com/Vitallium/qtbase/pull/4 >>=20 >> https://github.com/Vitallium/qtwebkit/pull/9 >>=20 >> I can*t help but think he*s already started down this path. >>=20 >> The bad news is, the test harness seems to bomb. If I run this under >> the grsec kernel, it signal 11*s all over the place. If I run under >> vanilla, no segfaults, but it does time out when phantomjs tries to >> connect to the python httpd process. For what it*s worth, I also get >> similar timeouts when doing a wget to localhost on the same port, so >> I am inclined to believe it might be an issue with the python script. >=20 >=20 > phantomjs uses JIT which does not work with the memory protections in > grsec kernel. You have to disable those for the phantomjs binary: >=20 > paxctl -cm bin/phantomjs >=20 >> If I don*t hear anything back, I*ll continue into the rabbit hole. >> Just wanted to make sure I wasn't duplicating effort. >=20 > I published the Dockerfile I used to build phantomjs: >=20 > = https://github.com/ncopa/docker-phantomjs-alpine/blob/master/Dockerfile >=20 > -nc >=20 >=20 > --- > Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org > Help: alpine-aports+help@lists.alpinelinux.org > --- >=20 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---