From nobody Fri Mar 29 14:26:28 2024 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 5EAF7DC1529 for ; Fri, 8 Apr 2016 02:50:45 +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 2C368DC0969 for ; Fri, 8 Apr 2016 02:50:44 +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 33C1220B1F43 for ; Fri, 8 Apr 2016 02:50:43 +0000 (UTC) From: Nathan Johnson Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: [alpine-aports] phantonjs question Message-Id: <7BCBCAF4-ED74-4EE4-9CB4-D5C79F7A52C3@nathanjohnson.org> Date: Thu, 7 Apr 2016 21:50:43 -0500 To: alpine-aports@lists.alpinelinux.org 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\)) X-Mailer: Apple Mail (2.3124) X-Virus-Scanned: ClamAV using ClamSMTP I=E2=80=99m playing with a phantomjs port, and it looks like Natanael = Copa already made two PRs to some deps to make it compile (Thanks Natanael!). https://github.com/Vitallium/qtbase/pull/4 https://github.com/Vitallium/qtwebkit/pull/9 I can=E2=80=99t help but think he=E2=80=99s already started down this = path. The bad news is, the test harness seems to bomb. If I run this under the grsec kernel, it signal 11=E2=80=99s 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=E2=80=99s 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. If I don=E2=80=99t hear anything back, I=E2=80=99ll continue into the = rabbit hole. Just wanted to make sure I wasn't duplicating effort. Thanks in advance. Nathan --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org --- From nobody Fri Mar 29 14:26:28 2024 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 --- From nobody Fri Mar 29 14:26:28 2024 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 ---