From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 1DC38791CD for ; Sat, 7 Dec 2019 09:28:57 -0800 (PST) Received: by mail-wm1-x32a.google.com with SMTP id p17so10530153wmi.3 for ; Sat, 07 Dec 2019 09:28:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=Q+1pqqUwGdcOU8Dgo4m4qnGi+FVuOPQ4ei55poTI2Kg=; b=ofuEmmdc86YwGDmKyB2aJ7zU3O/qt/EX3zbBVX+8JVRv0i4Gfmn7RrjLAP1nbWxhCa 1XttwTCXlofeL/XDjeHSXCPeq6gpMgTna8gmBo5lPdSVhV7Zn7ml/E4XMQppo0GxM2gq A9A17oz4wU6+b+OoftBSG21DqG1k4MTG+gG9oQK0NpqgqJEeg7lVPAhnNkRrWpBgrS9P F+EFiKUjG16/p7j8RQATCnqOFse11JxsDYds6fkwIhmlAgF+NbccY+mhR2WozJzOMvkN 0j8ysW8QvqFCFQhDkW2nLq81eRuHghba3kZK0Q6BpiFdF/JKoCLPw0VLgMWsy2WKVx9u ehTg== 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:subject:message-id:mime-version :content-disposition:user-agent; bh=Q+1pqqUwGdcOU8Dgo4m4qnGi+FVuOPQ4ei55poTI2Kg=; b=uhYXOedEqHBZBmHTOJ1eCZQ6Jcb0GOulHREDaCmsXRU2iBC+k/u3VvU+nrfLc5jlOG SgptM+5+IJ/bFsVTWU4tV0RubH0OYH80Lu7k8YtbTYkkNJsfqUFTuLeuqNaouMqz2Bbh WY7OlcqrtYm2P/YC9uhB2EC5uoQ+evW3forJpc5zgoecoEKNfNnEO1a9o41/l3q7S3Ym d6u9Un4sR84VSuf3tTUSmywfN9x0jLrkyS6YqTYsIET5KVHIOwDwqF4vQsY5A/cS9Tcd XNBVrCLMUL8vePkDFV+j9VA1MRkwpPOO4PFmYzYnco7labsoq5JTDJV9iRdZjYXgRQ2b Zqsw== X-Gm-Message-State: APjAAAWqU4G8kafdJZPxADWYfaOG8Ea7oX5IiN0zN3PaJ9GkRr9g/I+5 Bm/Lzj68jCll0LoizQu3A8KFcTA3YgM= X-Google-Smtp-Source: APXvYqzZgexDdW2+KkkGm02Jw99RrKWkjI89IB4/jkysFDJLDOp3WC4BHpf/jVK9cVaZ+qRnXtoimw== X-Received: by 2002:a1c:6707:: with SMTP id b7mr17285305wmc.54.1575739736068; Sat, 07 Dec 2019 09:28:56 -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 c17sm20005874wrr.87.2019.12.07.09.28.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Dec 2019 09:28:55 -0800 (PST) Date: Sat, 7 Dec 2019 17:28:53 +0000 From: Adam Thompson To: edbrowse-dev@edbrowse.org Subject: [edbrowse-dev] Abort from within duktape when visiting https://www.digicatapult.org.uk/careers Message-ID: <20191207172853.GB194728@toaster> X-BeenThere: edbrowse-dev@edbrowse.org List-Id: Edbrowse Development List MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.12.2 (2019-09-21) Hi all, As per the subject really. This blew up with both my older compiled version of duktape and the version from Debian sid. I'd give a full backtrace but I'm lacking a duktape with debug symbols (how do I get this) and thus the interesting part disappears (see below for what I have): b https://www.digicatapult.org.uk/careers [New Thread 0x7ffff6c73700 (LWP 293666)] [Thread 0x7ffff6c73700 (LWP 293666) exited] 119328 [New Thread 0x7ffff6c73700 (LWP 293667)] [Thread 0x7ffff6c73700 (LWP 293667) exited] [New Thread 0x7ffff6c73700 (LWP 293668)] [Thread 0x7ffff6c73700 (LWP 293668) exited] [New Thread 0x7ffff6c73700 (LWP 293669)] [New Thread 0x7ffff61c1700 (LWP 293670)] [New Thread 0x7ffff59c0700 (LWP 293671)] [New Thread 0x7ffff51bf700 (LWP 293672)] [Thread 0x7ffff51bf700 (LWP 293672) exited] [Thread 0x7ffff6c73700 (LWP 293669) exited] [Thread 0x7ffff61c1700 (LWP 293670) exited] [Thread 0x7ffff59c0700 (LWP 293671) exited] Thread 1 "edbrowse" received signal SIGABRT, Aborted. __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 #1 0x00007ffff7a22535 in __GI_abort () at abort.c:79 #2 0x00007ffff7d2ccf6 in ?? () from /usr/lib/x86_64-linux-gnu/libduktape.so.204 #3 0x00007ffff7d35649 in duk_fatal_raw () from /usr/lib/x86_64-linux-gnu/libduktape.so.204 #4 0x00007ffff7d4849b in ?? () from /usr/lib/x86_64-linux-gnu/libduktape.so.204 #5 0x00007ffff7d39929 in ?? () from /usr/lib/x86_64-linux-gnu/libduktape.so.204 #6 0x00007ffff7d2ce16 in ?? () from /usr/lib/x86_64-linux-gnu/libduktape.so.204 #7 0x00007ffff7d369fb in ?? () from /usr/lib/x86_64-linux-gnu/libduktape.so.204 #8 0x00007ffff7d36a8c in ?? () from /usr/lib/x86_64-linux-gnu/libduktape.so.204 #9 0x00005555555d6494 in set_property_string_nat (parent=0x555555ac8268, name=0x5555555d9e3d "readyState", value=0x5555555d9e34 "complete") at jseng-duk.c:1839 #10 0x00005555555ae57a in set_property_string (obj=0x555555ac8268, name=0x5555555d9e3d "readyState", value=0x5555555d9e34 "complete") at ebjs.c:416 #11 0x000055555559d452 in htmlParse (buf=0x555555d267e0 "", remote=1) at html.c:926 #12 0x000055555558dd95 in browseCurrentBuffer () at buffers.c:6757 #13 0x000055555558ce61 in runCommand (line=0x555555bc6c12 "https://www.digicatapult.org.uk/careers") at buffers.c:6383 #14 0x000055555558d6f4 in edbrowseCommand (line=0x555555bc6c10 "b https://www.digicatapult.org.uk/careers", script=0 '\000') at buffers.c:6573 #15 0x0000555555578db2 in inputForever (ptr=0x0) at main.c:904 #16 0x0000555555578d3d in main (argc=0, argv=0x7fffffffea30) at main.c:890 (gdb) Sorry for the second post in an hour and for neither of them actually containing a full fix. Cheers, Adam.