From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 4E972791CD for ; Sun, 8 Dec 2019 05:53:39 -0800 (PST) Received: by mail-wm1-x343.google.com with SMTP id q9so12656251wmj.5 for ; Sun, 08 Dec 2019 05:53:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=SAcy80CjiS7lG04oIrlesaCI+5stuf/eSQ/8nMVuXR4=; b=kC+zbLxiOscFoEHgv8JlDLOGjTVi/MV0vLGWu6J64URJJ607Jujwerx4aSMDYOciBe mxngBpQfyL8z+SSCBwM+p1OPcOBJDIPDIJpiGFap2kyoFYhA7w1HbmCFvMS0I1TiZnTr MQ/ss9YRM+S4gTfMb+ArJd+3bzZuzhXd6iN0Uw+5cqeekr9k1os0kLeZsP2OzYT1pxFH qymFZb8hxVxn8A5C6lZXwiuRRFEU87Bonr2st2aZ2DDTEs6hQFl47il89vqHIm/drylg KjJS2MLxM3C36jQe8z1s1ae+enN8NpzbLK6oyysZlxswCSE363WqnTUpMkISpmc5D9Y8 BNZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=SAcy80CjiS7lG04oIrlesaCI+5stuf/eSQ/8nMVuXR4=; b=Ggk6U0RQR4Ee+dDHZYlgkVznwjtlzOXCXpCNmxIQjkgu464g3g4hBWQYcZC2njkj7c DD+OTkQyeN3U5JEk+ubzVfdWDzqXF2B+JFkhOGusHNyv6FU51Ulr6SkF6/9KZxIMMyH2 tNuhFuQM6P0S3s22NKu+sxVA2czEgynsfe8euT4sO7SdO7LTzpSObZNB934d+8Ia5flt AJD+AemqkP2LbOf47dl42g2Z7jp1WMF20muPgwqwtIbWGqVQxMQxB+DdCtwIhDcwUzsi yzi+/Ops+JviarUx4wkUDq7EVId0hbhPNJZ3gBBzico+sQbPQmgigcQhYYdnC57hoCwr dl1w== X-Gm-Message-State: APjAAAVTN9MF539wZmER6qAa20h4KAe43KXDcCyzFxT/ws65UVzslGw6 xIFxUJO6AgXvsOwXTTd6gyM= X-Google-Smtp-Source: APXvYqw5XafAX9C522vojiDAvBTHu+XTqwemzMO+MfOsagUiVozK5iB65LRokNuLWBkodtTcJWNTjQ== X-Received: by 2002:a1c:ba89:: with SMTP id k131mr20541951wmf.108.1575813217758; Sun, 08 Dec 2019 05:53:37 -0800 (PST) Received: from toaster (a.5.9.3.b.f.e.f.f.f.4.4.2.d.a.2.2.4.0.9.2.4.1.1.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:1142:9042:2ad2:44ff:fefb:395a]) by smtp.gmail.com with ESMTPSA id z3sm23157521wrs.94.2019.12.08.05.53.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Dec 2019 05:53:35 -0800 (PST) Date: Sun, 8 Dec 2019 13:53:33 +0000 From: Adam Thompson To: Karl Dahlke Cc: edbrowse-dev@edbrowse.org Subject: Re: [edbrowse-dev] Abort from within duktape when visiting https://www.digicatapult.org.uk/careers Message-ID: <20191208135333.GF194728@toaster> References: <20191207172853.GB194728@toaster> <20191107171426.eklhad@comcast.net> X-BeenThere: edbrowse-dev@edbrowse.org List-Id: Edbrowse Development List MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="jI8keyz6grp/JLjh" Content-Disposition: inline In-Reply-To: <20191107171426.eklhad@comcast.net> User-Agent: Mutt/1.12.2 (2019-09-21) --jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, Dec 07, 2019 at 05:14:26PM -0500, Karl Dahlke wrote: > I'll look at this in one of my insomnia moments. > > Such is usually caused by a bad reference or other js runtime error in an unprotected context. > The last time such happened I had to write a protected layer around a call, see jseng-duk.c line 1644. > But of course that might not be what is happening here. Thanks. > db5 > Sometimes shows us going out to make a low level js call but it doesn't return. Turns out the original URI is a bunch of redirects and the site's home page has the same issue so simply browsing to https://www.digicatapult.org.uk/ is sufficient to reproduce the issue. I've attached the db5 output in case it's useful but from looking at it it just seems like it attempts to run: > set readyState=complete and then the browser's gone. Cheers, Adam. --jI8keyz6grp/JLjh Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="digicatapult.org.uk-dbg.log" Content-Transfer-Encoding: quoted-printable * b https://www.digicatapult.org.uk/ curl> GET / HTTP/2 Host: www.digicatapult.org.uk user-agent: edbrowse/3.7.6 accept: */* accept-encoding: deflate, gzip, br referer: https://www.google.com/search?ie=3DISO-8859-1&hl=3Den-GB&source=3D= hp&biw=3D&bih=3D&q=3Ddigital%20catapult%20uk&btnG=3DGoogle%20Search&iflsig= =3DAAP1E1EAAAAAXe0M0HP3joXOMxxYYrcarAMzipfz80Eb&gbv=3D1 accept-language: en-gb curl< HTTP/2 200=20 date: Sun, 08 Dec 2019 13:47:12 GMT content-type: text/html; charset=3DUTF-8 content text/html; charset=3Dutf-8 set-cookie: __cfduid=3Ddbb3e0d3fcf235459c3962cb1589479151575812831; expires= =3DTue, 07-Jan-20 13:47:11 GMT; path=3D/; domain=3D.digicatapult.org.uk; Ht= tpOnly; Secure cache-control: public, max-age=3D0, must-revalidate age: 141615 vary: Accept-Encoding x-nf-request-id: 3664f40c-efc9-4f99-9e8c-6dec93cfaadd-623949 cf-cache-status: DYNAMIC expect-ct: max-age=3D604800, report-uri=3D"https://report-uri.cloudflare.co= m/cdn-cgi/beacon/expect-ct" server: cloudflare cf-ray: 541f3097c91ce654-LHR content-encoding: br http code 200 text type is ascii 84116 setting of communication channels for javascript > create context for session 1 create js context 0 < ok > set window=3D0x55e3cfd7ae78 < ok > script: < ok > script: < ok > get navigator < 0x55e3d02e1f68 > set userLanguage=3Denglish < ok > set language=3Denglish < ok > set appVersion=3D3.7.6 < ok > set vendorSub=3D3.7.6 < ok > set userAgent=3Dedbrowse/3.7.6 < ok > set oscpu=3DLinux < ok > set platform=3Dx86_64 < ok > get plugins < 0x55e3d014aff8 > get mimeTypes < 0x55e3d02e1dc8 > set [0]=3D(null) < ok > set [0]=3D(null) < ok > set enabledPlugin=3D0x55e3cfed82a8 < ok > set type=3Daudio < ok > set audio=3D0x55e3cff0b598 < ok > set description=3Dstreaming audio < ok > set suffixes=3Drm,ra,ram,ogg,mp3,mp4,m3u,m3u8,flac,wav,voc,au < ok > set description=3Dstreaming audio < ok > set filename=3Dmpv %i < ok > set name=3Dmpv < ok > set [1]=3D(null) < ok > set [1]=3D(null) < ok > set enabledPlugin=3D0x55e3cff0b0c8 < ok > set type=3Dsounds < ok > set sounds=3D0x55e3cfed8438 < ok > set description=3Dbbc sounds player < ok > set suffixes=3D < ok > set description=3Dbbc sounds player < ok > set filename=3Dmpv %i < ok > set name=3Dmpv < ok > set [2]=3D(null) < ok > set [2]=3D(null) < ok > set enabledPlugin=3D0x55e3cff0b458 < ok > set type=3Dpdf < ok > set pdf=3D0x55e3cff55f58 < ok > set description=3Dpdf file < ok > set suffixes=3Dpdf < ok > set description=3Dpdf file < ok > set filename=3Dpdftohtml -i -noframes %i %o >/dev/null < ok > set name=3Dpdftohtml < ok > set [3]=3D(null) < ok > set [3]=3D(null) < ok > set enabledPlugin=3D0x55e3cff55a38 < ok > set type=3DWord doc < ok > set Word doc=3D0x55e3cff573b8 < ok > set description=3DMicrosoft Word document < ok > set suffixes=3Ddoc,docx < ok > set description=3DMicrosoft Word document < ok > set filename=3Dpandoc -t markdown %i < ok > set name=3Dpandoc < ok > get history < 0x55e3d014b218 > set current=3Dhttps://www.digicatapult.org.uk/ < ok > set referrer=3Dlong < ok > set URL=3Dhttps://www.digicatapult.org.uk/ < ok > set location=3Dhttps://www.digicatapult.org.uk/ < ok > set location=3Dhttps://www.digicatapult.org.uk/ < ok > script: < ok > set domain=3Dwww.digicatapult.org.uk < ok line 615 column 28049 - Warning: missing before
line 615 column 28105 - Warning: inserting implicit