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 0673EDC1529 for ; Fri, 8 Apr 2016 06:36:12 +0000 (UTC) Received: from newmail.tetrasec.net (unknown [74.117.189.117]) by mail.alpinelinux.org (Postfix) with ESMTP id DA88EDC0969 for ; Fri, 8 Apr 2016 06:36:11 +0000 (UTC) Received: from ncopa-desktop.alpinelinux.org (229.63.200.37.customer.cdi.no [37.200.63.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: n@tanael.org) by newmail.tetrasec.net (Postfix) with ESMTPSA id 78CF55A1309; Fri, 8 Apr 2016 06:36:10 +0000 (GMT) Date: Fri, 8 Apr 2016 08:36:04 +0200 From: Natanael Copa To: Nathan Johnson Cc: alpine-aports@lists.alpinelinux.org Subject: Re: [alpine-aports] phantonjs question Message-ID: <20160408083604.1e65c454@ncopa-desktop.alpinelinux.org> In-Reply-To: <7BCBCAF4-ED74-4EE4-9CB4-D5C79F7A52C3@nathanjohnson.org> References: <7BCBCAF4-ED74-4EE4-9CB4-D5C79F7A52C3@nathanjohnson.org> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.28; x86_64-alpine-linux-musl) X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: ClamAV using ClamSMTP On Thu, 7 Apr 2016 21:50:43 -0500 Nathan Johnson wrote: > 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. phantomjs uses JIT which does not work with the memory protections in grsec kernel. You have to disable those for the phantomjs binary: 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. I published the Dockerfile I used to build phantomjs: https://github.com/ncopa/docker-phantomjs-alpine/blob/master/Dockerfile -nc --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---