From unknown Mon Jun 23 02:22:15 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#45701 <45701@debbugs.gnu.org> To: bug#45701 <45701@debbugs.gnu.org> Subject: Status: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" Reply-To: bug#45701 <45701@debbugs.gnu.org> Date: Mon, 23 Jun 2025 09:22:15 +0000 retitle 45701 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bu= g` error: "Wrong type argument: stringp, nil" reassign 45701 emacs submitter 45701 Justin Schell severity 45701 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 06 14:25:44 2021 Received: (at submit) by debbugs.gnu.org; 6 Jan 2021 19:25:44 +0000 Received: from localhost ([127.0.0.1]:45594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxERD-0000th-MC for submit@debbugs.gnu.org; Wed, 06 Jan 2021 14:25:43 -0500 Received: from lists.gnu.org ([209.51.188.17]:56512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxEIP-0000g7-Aq for submit@debbugs.gnu.org; Wed, 06 Jan 2021 14:16:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35632) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxEIO-0006hc-Sa for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2021 14:16:37 -0500 Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]:32905) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kxEIM-0006g5-0j for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2021 14:16:36 -0500 Received: by mail-lf1-x134.google.com with SMTP id l11so9138033lfg.0 for ; Wed, 06 Jan 2021 11:16:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=MiQatm4BAjUuMhJca2n7FvP9y/ORLIRlL5R0RmoP9OQ=; b=Bp+trdAu+ZkMC25Kpirq/wjsoAFQh7O7AzIjkBSohNHEJiDb93w83kbDeJv+CPJb7b jUa34Sq5L/zQ1jhBZ9cQEq8GRxIVwnPZZj9+DCE/2ckPuzlYS0SnHQ/8vma+UsH6QxiS YzqgMjEvf1hTOBGc42KEc5BKTsWFqemUVnNmPYPzxlQK+C9CvAEg2jxCjH56eWi59dhF EGgCApxrpQFIsoZ6zJSLr5M9lyz74KVJL77iTNwuWONyYnwrptNqqe5UKDu2biEivsnA vWbq7uTqQMTMeYfH3eTz8FxugJWSFHNx3iHZFy1L/yDMO49aYj3v6FDvixJIOOfbrsHJ 7wjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=MiQatm4BAjUuMhJca2n7FvP9y/ORLIRlL5R0RmoP9OQ=; b=D5rqFIIvtq0ypa5vNSLmJH7XhrIbt5Zp7LYCT+jFGi2r5/hhoQoTUy/mlfdnrpDJ+Y +5h2jX8HEDZnV035mTX0LJquOwu2AUijAjWHmeW/xebGXFLQPz7vKS31zFawOxGe9F5N zXUcAHlkcgnVCRCt+200tt6DZ2SO9lUiF5sdNov95WsvHYbHnRDuIn4eUMKbsB+CaFPm s2EfkE6XTfKg3GVpYqSeYZrabKLbFG5sLzTXyCbBLoblzjmyGy1Lvh+Gwo/zbg7X9F5k V67HvQinuNCBFMfU0OyRqxJXd//3TSdAhmnxygT0kyQraNr0VX/WT0Tr5RjVy5rvTzab nC6w== X-Gm-Message-State: AOAM532L2Cu1x/TZFh9cwd1AbxFb6BFSA5FFaQENcsBghyayBDdZrSm8 k6KtCExihbb9rJdErghzwx00bBou6xjebd85Jjsj5dREsVhwzg== X-Google-Smtp-Source: ABdhPJxw4QF+W+UwIhgI/2/CnUYUl0UXdws9byOqYRWzscd+JJyiXRZbfYqBeMfTk3JOgeNDjeiYOvzdh/vTrEbqY4g= X-Received: by 2002:a19:c309:: with SMTP id t9mr2511329lff.46.1609960591110; Wed, 06 Jan 2021 11:16:31 -0800 (PST) MIME-Version: 1.0 From: Justin Schell Date: Wed, 6 Jan 2021 11:16:04 -0800 Message-ID: Subject: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="00000000000022b6ed05b8402992" Received-SPF: pass client-ip=2a00:1450:4864:20::134; envelope-from=justinmschell@gmail.com; helo=mail-lf1-x134.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 06 Jan 2021 14:25:41 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --00000000000022b6ed05b8402992 Content-Type: text/plain; charset="UTF-8" Sorry for emailing this list directly, but with emacs build from the latest commit on `feature/native-comp`, `M-x report-emacs-bug` results in the error "apply: Wrong type argument: stringp, nil". Enabling `debug-on-error` doesn't result in a debug session starting when executing that command, so I'm not sure how to provide any more context for the location that's throwing the error. GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin19.6.0, NS appkit-1894.60 Version 10.15.6 (Build 19G2021)) of 2021-01-06 This version of emacs was built using https://github.com/jimeh/build-emacs-for-macos from the latest commit on `feature/native-comp` (33b8ce865fcfd58538ae2d7c3fff04998fcd3330). The `build-emacs-for-macos` package also applies the fixes from `feature/native-comp-macos-fixes`. Let me know if you need more information. Justin --00000000000022b6ed05b8402992 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Sorry for emailing this list directly, but with emacs buil= d from the latest commit on `feature/native-comp`, `M-x report-emacs-bug` r= esults in the error "apply: Wrong type argument: stringp, nil". E= nabling `debug-on-error` doesn't result in a debug session starting whe= n executing that command, so I'm not sure how to provide any more conte= xt for the location that's throwing the error.

GNU E= macs 28.0.50 (build 1, x86_64-apple-darwin19.6.0, NS appkit-1894.60 Version= 10.15.6 (Build 19G2021))
=C2=A0of 2021-01-06

This version of emacs was built using=C2=A0https://github.com/jimeh/build-emacs-for-maco= s from the latest commit on `feature/native-comp` (33b8ce865fcfd58538ae= 2d7c3fff04998fcd3330). The `build-emacs-for-macos` package also applies the= fixes from `feature/native-comp-macos-fixes`.

Let= me know if you need more information.

Justin
--00000000000022b6ed05b8402992-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 06 14:28:20 2021 Received: (at 45701) by debbugs.gnu.org; 6 Jan 2021 19:28:20 +0000 Received: from localhost ([127.0.0.1]:45599 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxETk-0000xr-7N for submit@debbugs.gnu.org; Wed, 06 Jan 2021 14:28:20 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxETi-0000xb-Km for 45701@debbugs.gnu.org; Wed, 06 Jan 2021 14:28:18 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39303) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxETd-0002Gq-0w; Wed, 06 Jan 2021 14:28:13 -0500 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3451 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kxETa-0006tl-UJ; Wed, 06 Jan 2021 14:28:11 -0500 Date: Wed, 06 Jan 2021 21:28:10 +0200 Message-Id: <83im8927cl.fsf@gnu.org> From: Eli Zaretskii To: Justin Schell In-Reply-To: (message from Justin Schell on Wed, 6 Jan 2021 11:16:04 -0800) Subject: Re: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45701 Cc: 45701@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Justin Schell > Date: Wed, 6 Jan 2021 11:16:04 -0800 > > Sorry for emailing this list directly, but with emacs build from the latest commit on `feature/native-comp`, > `M-x report-emacs-bug` results in the error "apply: Wrong type argument: stringp, nil". No need to apologize, you did the right thing. Thanks for telling us about this problem. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 06 15:21:08 2021 Received: (at 45701) by debbugs.gnu.org; 6 Jan 2021 20:21:08 +0000 Received: from localhost ([127.0.0.1]:45671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxFIp-0002Fu-TD for submit@debbugs.gnu.org; Wed, 06 Jan 2021 15:21:08 -0500 Received: from mx.sdf.org ([205.166.94.24]:63281) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxFIn-0002Fl-9d for 45701@debbugs.gnu.org; Wed, 06 Jan 2021 15:21:06 -0500 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 106KL3jW017306; Wed, 6 Jan 2021 20:21:04 GMT From: Andrea Corallo To: Justin Schell Subject: Re: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" References: Date: Wed, 06 Jan 2021 20:21:03 +0000 In-Reply-To: (Justin Schell's message of "Wed, 6 Jan 2021 11:16:04 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 45701 Cc: 45701@debbugs.gnu.org, Jim Myhrberg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Justin Schell writes: > Sorry for emailing this list directly, but with emacs build from the latest commit on `feature/native-comp`, `M-x > report-emacs-bug` results in the error "apply: Wrong type argument: stringp, nil". Enabling `debug-on-error` doesn't > result in a debug session starting when executing that command, so I'm not sure how to provide any more context for the > location that's throwing the error. Hi Justin, thanks for reporting, I swear this is not a trick to cheat on the bug-rate ;) > GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin19.6.0, NS appkit-1894.60 Version 10.15.6 (Build 19G2021)) > of 2021-01-06 > > This version of emacs was built using https://github.com/jimeh/build-emacs-for-macos from the latest commit on > `feature/native-comp` (33b8ce865fcfd58538ae2d7c3fff04998fcd3330). That's strange, I just tried a M-x report-emacs-bug on the same commit on a emacs -Q session and it just works for me. I'm Ccing Jim so maybe he can try to reproduce on apple-darwin. > The `build-emacs-for-macos` package also applies the fixes from > `feature/native-comp-macos-fixes`. That's odd AFAIK these are not necessary (and if they are we should probably merge them). Thanks Andrea From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 06 15:47:29 2021 Received: (at 45701) by debbugs.gnu.org; 6 Jan 2021 20:47:29 +0000 Received: from localhost ([127.0.0.1]:45702 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxFiL-0002u1-Lp for submit@debbugs.gnu.org; Wed, 06 Jan 2021 15:47:29 -0500 Received: from mail-lf1-f52.google.com ([209.85.167.52]:36640) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxFiK-0002tn-0E for 45701@debbugs.gnu.org; Wed, 06 Jan 2021 15:47:28 -0500 Received: by mail-lf1-f52.google.com with SMTP id o13so9670160lfr.3 for <45701@debbugs.gnu.org>; Wed, 06 Jan 2021 12:47:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yK9pmoWxvm094XzD2GlxRslnnslcGMtNuoavYBlt2YE=; b=GLayI01d6z+doWQzeUErQ9WTmIN15u6GumtljUxcWAwY8+7dZdAilmiVPYMUmbRk7q FKq7BbJsuGMtn2GCYKXgRRKsGaqmiYUYrWprvgaIj513QneVks7Sj64+GhvjFEgGMjqp eJsRz6JB1YmoSU5y3J3Ak46aO9c0o6v9L/zoXQgIx1LUJXMcXWiF0RQbckGn5lVuyljm 1sT3+TBgf/BeayUlgjF3BhUvsgRugnVkg22b0UbcG/A4m2DjTGMbjATkncesQhH6UIW6 VuqUOSvmtsEKSddoqBzBwFunvwf0KE94Bp0/9k9HBxBLoXrjWGmGitaiGbSseriEvpkG cheA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yK9pmoWxvm094XzD2GlxRslnnslcGMtNuoavYBlt2YE=; b=GZZhqblSfq7Fwqf5XkjTQOcMhchATNMyX7TVofLy4MtSL06PYJJgDOdrWIX9g8KbhL qiPz+GNGJ6aHHzme6N27eDNctyZeGZlbBOEzCiFlKB5XM6JKqzJoU6ii/VV/NVNFpAJA 3WBWdQkDV7SF4tH16+1EV0Pwosl1M+Gw3O/8IY5hjSuT5qC2krTlU64tQNpFWwGJFFII Mw2Qb6OZSEgWCBMBKTkXGY4wF3szFdgtOBGO/DjByi6WLBoQR0HReH528W7M9EP103en 0pMEi8qbXfuVaBXq6YP439qhBaiOZxMjJ++S2J36YG8yF8GuvGFOphMUnv+eWr5X8vty /cQA== X-Gm-Message-State: AOAM5314U6qsgN7Zdqi1FsiFx1oGRuPsoJKQmeWUmzptiEmaQpjmJ2/a 1OU0Jbpu6IBa4/iyALUriThJsxZre24BbAwhKks= X-Google-Smtp-Source: ABdhPJw7p7gt+PEzYWUBiFoOuapMtZONQ0hTcByFesuSxfhxeRIrQQ+KhQNvg8qBLSsaYj4L4puVQqZoCPqNN1mrutk= X-Received: by 2002:a19:8c13:: with SMTP id o19mr2389300lfd.573.1609966041760; Wed, 06 Jan 2021 12:47:21 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Justin Schell Date: Wed, 6 Jan 2021 12:46:55 -0800 Message-ID: Subject: Re: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 45701 Cc: 45701@debbugs.gnu.org, Jim Myhrberg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > > The `build-emacs-for-macos` package also applies the fixes from > > `feature/native-comp-macos-fixes`. > > That's odd AFAIK these are not necessary (and if they are we should > probably merge them). Actually, it looks like `build-emacs-for-macos` no longer does that. The author just updated the readme a few minutes ago. I've been trying to isolate the commit that introduced the reported issue and it appears to be between commits `0f561ee` (issue not present) and `a3f2373` (issue present). Justin From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 06 15:49:02 2021 Received: (at 45701) by debbugs.gnu.org; 6 Jan 2021 20:49:02 +0000 Received: from localhost ([127.0.0.1]:45711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxFjq-0002wi-9M for submit@debbugs.gnu.org; Wed, 06 Jan 2021 15:49:02 -0500 Received: from mail-oi1-f175.google.com ([209.85.167.175]:33119) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxFjo-0002wB-Gz for 45701@debbugs.gnu.org; Wed, 06 Jan 2021 15:49:01 -0500 Received: by mail-oi1-f175.google.com with SMTP id d203so4970280oia.0 for <45701@debbugs.gnu.org>; Wed, 06 Jan 2021 12:49:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jimeh.me; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hXyNVB41ll+pU1irphbwvtnweKkX1Du/kejWmvAKszQ=; b=XPld0wEGX+j0ksRbmiIdUSJXAN3MTpweHtp/G3FyNJ8hPliY7F7MfEqwjp6X7Bxdnp VNs3g1gwvIcbJ0WncNbOGUASiHS01vGyhxKQdCfZV9lwEzaqJQkw3OC9e1vm6WeS0IpB rV9ZFJK53RhTdwmUc6VVuqy6awsn3RQRYpCnNdBRCTexbs+27W+uhnl/2QUCbo9N7Dp+ FcV1OoIPwdF9k3E1eq6ettcQ102ktdI6D5ReiQnSnzj9LUwDdQQeaFUbOkbfPFsF/aY2 +tpSkQTeFInaMkS1qN8bk/XxurXpCO3rIoj6VCAcpeCuZ9n/PjITB1XVXXw10wPiV8Si mI9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hXyNVB41ll+pU1irphbwvtnweKkX1Du/kejWmvAKszQ=; b=b7IBSvR/G09gDSH5HFgn0815NhgOQINcbjU2VU3yLc+y4CXl940wuVenfYJkqOx3fe seu8qUlFWfDkCZhJSeod5N9vDJidqS1p54tRH67qLfHtnoeebRsGRL/7lMSNjZDSTfOm KtnzO7uVqPgXPW4LiZe5bpkD8MIfhOH54embi9WyNxj45K5gIGN7GcPWhjGUts5eOLMx S2g/VnPuxsNnwMdl+3JoaaQ/lPEq/8JSPQE2wfSOtoJ3BOrh04ZZ+RKb2PSn72ZRz2yP BNTRZpYFMWpw2LhYqJtHUPcaA+PS6AZCbC0r75mnQrhumMk7bcIH7kG0wL13bnYtFtBj WVhg== X-Gm-Message-State: AOAM5339VD6tWCYQpHXZOkMcuhGpThsNQQ2WzObgPBy/q/dD+5GYnjfE CVBfOCml4Xg+hgUhba29/+8ZBpF01sp09DTRKhdymw== X-Google-Smtp-Source: ABdhPJzXSE+OAXwsg2UaTdK1XFIdXziWhv2Wk/ZAR1udk7dtivOjwbAh5Xzw7dQ73onFswwSZ/sK9IJXvNTOyAtyvXk= X-Received: by 2002:aca:44d:: with SMTP id 74mr4534911oie.4.1609966134726; Wed, 06 Jan 2021 12:48:54 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Jim Myhrberg Date: Wed, 6 Jan 2021 20:48:43 +0000 Message-ID: Subject: Re: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 45701 Cc: 45701@debbugs.gnu.org, Justin Schell X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Oops, apologies for the confusion, I removed the feature/native-comp-macos-fixes patch in v0.4.1 (2020-10-29) of build-emacs-for-macos. But I somehow forgot to remove the CLI flag and README mentions >_<. I just pushed v0.4.5 which removes all references to it. More details and links to commits are available in the changelog here: https://github.com/jimeh/build-emacs-for-macos/blob/master/CHANGELOG.md I'm currently building commit 33b8ce8 so I can test `M-x report-emacs-bug` myself. I'll report back later tonight on it. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 06 18:55:15 2021 Received: (at 45701) by debbugs.gnu.org; 6 Jan 2021 23:55:15 +0000 Received: from localhost ([127.0.0.1]:45908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxIe3-0007bU-98 for submit@debbugs.gnu.org; Wed, 06 Jan 2021 18:55:15 -0500 Received: from mail-ot1-f50.google.com ([209.85.210.50]:35383) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxIe1-0007bH-6J for 45701@debbugs.gnu.org; Wed, 06 Jan 2021 18:55:13 -0500 Received: by mail-ot1-f50.google.com with SMTP id i6so4738990otr.2 for <45701@debbugs.gnu.org>; Wed, 06 Jan 2021 15:55:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jimeh.me; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RNKkTaQf1bM3F2PgwQZWdFyh/XkS/ANLaa2HKa0CBBQ=; b=qhFIXBYiqFVtLLSxRUvoTfB9z/UeN5GBq4/CwVj/ScUDAtexL5ml6ECfxBMT/5POGQ QwHyPl9kub0pC/Da9WCByajhuulG49+XTQw7a25KVPz7pArLmfjDJ0PSZM3GZTxx9p8K FqSPHnZbfH4QHk2y3/FfZsSTB7v2aPNmBM8fGQEyXAypIFJMtstaqxSnlL9As+Dg/byp oOJ3cS4Pd9d7/Sz9LPruEwnjaDsEmnnrq4WiHDkbu9p7bSRUVKcgdTeYWWRjTL6tH9E8 eIrV1OIUvuDL/jiUDrkX+LeCnssNhvO2p/vGVUPGvITPlO2+SZpmih3FKImQ6JjtlDiC ZrOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RNKkTaQf1bM3F2PgwQZWdFyh/XkS/ANLaa2HKa0CBBQ=; b=jbCxTeUUH9Pj2JQN6JP0u1J3Mt2j+NfL2uy4coTJ7Y4URNVKmtLdd0UBRnl6kpDc6/ plfu5c1XioMYpwtqQ1B7bD2waJQiB6MKTSRmLKe+7OQSUbv/rzXh9y5MXyMuh0ZWpVTD Y9qR5Iu6+T6W5BH9BsnDQq2Qu9+PE8JpZ1KsvHD4D1oMHPInnVVMKfzuDeVHFU7hX5CQ lKW5Ij1ma1OwfqIaNSJc63TJcoapbzBlt4mcCogu0U4oaO7rDXwnZDEFTiU2AzqjHb24 BlPdtwBXgo6pa/XE1ErkyTZI5Eg8gJm3w2oDoFNU9AT43Fd0q/E0gzzartekhpeUVU6f aVWg== X-Gm-Message-State: AOAM533KO8gu2RfXfMCI/zVLyrzI/svuBcNEBTCHUhOIxwpSYW691rSU lKfGLiPseuDo5tDJ+zJOU1ouUgEt2zYJosMtQL1dKA== X-Google-Smtp-Source: ABdhPJzZnhqTIXED6AKcMiR5KIG6kaNzvdCFfKYG2xkSo73na3gbzLX2TO37RvRXqAb1yQG7aw3oIwxxV7anE5+eDNM= X-Received: by 2002:a9d:614f:: with SMTP id c15mr4986232otk.362.1609977307367; Wed, 06 Jan 2021 15:55:07 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Jim Myhrberg Date: Wed, 6 Jan 2021 23:54:56 +0000 Message-ID: Subject: Re: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 45701 Cc: 45701@debbugs.gnu.org, Justin Schell X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I'm afraid I can't reproduce the `M-x report-emacs-bug` issue on 33b8ce8, both with -Q and with my full config. I'm currently on macOS Big Sur 11.1 (20C69) and Xcode 12.3 (12C33), with all the latest dependencies from the Brewfile installed. But I have a build of commit bd693cc (2020-12-25) from macOS Catalina 10.15.7 which does not exhibit the issue either. Justin, if your Xcode or Homebrew deps are not fully up to date, I'd say start there, I've seen odd behavior a few times fixed by simply updating deps. > I've been trying to isolate the commit that introduced the reported > issue and it appears to be between commits `0f561ee` (issue not > present) and `a3f2373` (issue present). As far as I can tell commit 0f561ee is from the master branch, so it does not include any of the changes from the feature/native-comp branch. I tend to use this as a quick way to see recent commits: https://github.com/emacs-mirror/emacs/compare/feature/native-comp And probably of less use in this particular case, but I maintain a list of feature/native-comp commits which have yielded problem free builds for me: https://github.com/jimeh/build-emacs-for-macos/issues/6 From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 06 19:45:42 2021 Received: (at 45701) by debbugs.gnu.org; 7 Jan 2021 00:45:42 +0000 Received: from localhost ([127.0.0.1]:45936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxJQr-0000Kx-VQ for submit@debbugs.gnu.org; Wed, 06 Jan 2021 19:45:42 -0500 Received: from mail-lf1-f51.google.com ([209.85.167.51]:37146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxJQq-0000Kj-OF for 45701@debbugs.gnu.org; Wed, 06 Jan 2021 19:45:41 -0500 Received: by mail-lf1-f51.google.com with SMTP id o17so10809007lfg.4 for <45701@debbugs.gnu.org>; Wed, 06 Jan 2021 16:45:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JrENx9lpVVpKg4z7uw6gg8QLZ7VEiyxFYJSFCrEg7AE=; b=Cj19jgZs2bVqs7v4QFmBG1ZhzNA2Xq7TlQgck+Jx0lGuSvx1GfW7isYSdsDj2jGyQy jZllmWqr/u96aJ5pC3uwHOzaYCk80VyuOeBob/dKHDD6Zp8orrVZ5L+wjhKctl/xOmem sjvFqnBxjpUN44qtc/um86OiS+rVTSm2RcBUGA3uT9AGh3FEuPG60IniydUy3RUZFv/x PjoSSyBF9Yv/6G9uQMNNB8l85JB/I92M2WurUsD/R1NBCsjuQnPPTfXtP71uHR/XIqbK JJzz94804ZQCccgNVJ7QnU73aMODgaU865WtzgLFthxl9kkyY5vDr4H7yb8Hsp76t1w5 FzXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JrENx9lpVVpKg4z7uw6gg8QLZ7VEiyxFYJSFCrEg7AE=; b=Nuqpy8bnXEPwA/DRPQpvd47ybjp5O0Q4AtHChhhbndL/BSrvtZjBW0yjf33OXvp+fi tawgKKr2wnqo5KFU0RauxyEKsSzZ0pNScit+GY+4Mb2jxkjvSsMtHb/fv+epyiUbcBCN 6pGGYs2CSVY1S6b+v7AO9zxqWLQTuqi/Vb6WygvZazp8Gle2B4+fh9tnVquIdJxxPN5r EDRjGcu9vRW+nN4RCca6JCfO3R3BlQ90XpurHWqgorJ0PVF821Ury6XGRiAacAu6iffU wIIqp+QKEtAR5eYTfncGZp14Qby2H8wzUSrlWu2Vd2M4zWtlY9QwG6rP661udgeVYSP7 NK6g== X-Gm-Message-State: AOAM532Kk2G9cTVmfeQnGbkAGkjGDL4u294R9Z0K5b2JqP4ORCGkx4MW syzplCA9TVTQ8ulN0A+RkQp6UYO9AJV4vnRDjZE= X-Google-Smtp-Source: ABdhPJzWdGx81M5CkVEluO+RDg2EM1yHO8gSRs7qsODbby/6lTcoWhyZ7K0OXv2LegOA6wegFHl5wNQIzXsYEJfMmjo= X-Received: by 2002:a05:6512:34d3:: with SMTP id w19mr3108011lfr.180.1609980334623; Wed, 06 Jan 2021 16:45:34 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Justin Schell Date: Wed, 6 Jan 2021 16:45:08 -0800 Message-ID: Subject: Re: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" To: Jim Myhrberg Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 45701 Cc: 45701@debbugs.gnu.org, Andrea Corallo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Thanks for the replies Jim. > Justin, if your Xcode or Homebrew deps are not fully up to date, I'd > say start there, I've seen odd behavior a few times fixed by simply > updating deps. FWIW, I'm still on Catalina, so there's a potential difference between our setups (avoiding upgrading to Big Sur for now). I do also have a pending Xcode update that I hadn't installed because for some reason it thinks it needs 40GB of free space to install. I managed to clear the space and am downloading the update now, but it'll take a while. I'll test once that's installed and check my Homebrew deps as well. > > I've been trying to isolate the commit that introduced the reported > > issue and it appears to be between commits `0f561ee` (issue not > > present) and `a3f2373` (issue present). > > As far as I can tell commit 0f561ee is from the master branch, so it > does not include any of the changes from the feature/native-comp > branch. I tend to use this as a quick way to see recent commits: > https://github.com/emacs-mirror/emacs/compare/feature/native-comp Sorry if what I said was confusing. I meant that `M-x report-emacs-bug` works fine as of commit `0f561ee`, but not as of commit `a3f2373`. There are a few commits in that range, but I haven't had time to test all of them as the build takes a fair bit of time to complete. Also, FWIW, I initially ran into the "Wrong type argument: stringp, nil" error when `(native-compile-async "~/.emacs.d/elpa" t)` ran. When I went to use `M-x report-emacs-bug`, I noticed the same error. So, the underlying issue is presumably something lower-level than either of those functions themselves. Justin From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 07 17:45:52 2021 Received: (at 45701) by debbugs.gnu.org; 7 Jan 2021 22:45:52 +0000 Received: from localhost ([127.0.0.1]:48857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxe2S-00066v-3e for submit@debbugs.gnu.org; Thu, 07 Jan 2021 17:45:52 -0500 Received: from mx.sdf.org ([205.166.94.24]:63558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxe2P-00066j-VL for 45701@debbugs.gnu.org; Thu, 07 Jan 2021 17:45:50 -0500 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 107MjkIu028037; Thu, 7 Jan 2021 22:45:46 GMT From: Andrea Corallo To: Justin Schell Subject: Re: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" References: Date: Thu, 07 Jan 2021 22:45:46 +0000 In-Reply-To: (Justin Schell's message of "Wed, 6 Jan 2021 16:45:08 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 45701 Cc: 45701@debbugs.gnu.org, Jim Myhrberg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Justin Schell writes: > Thanks for the replies Jim. > >> Justin, if your Xcode or Homebrew deps are not fully up to date, I'd >> say start there, I've seen odd behavior a few times fixed by simply >> updating deps. > > FWIW, I'm still on Catalina, so there's a potential difference between > our setups (avoiding upgrading to Big Sur for now). > > I do also have a pending Xcode update that I hadn't installed because > for some reason it thinks it needs 40GB of free space to install. I > managed to clear the space and am downloading the update now, but > it'll take a while. > > I'll test once that's installed and check my Homebrew deps as well. For completness, I've tried also with a "NATIVE_FULL_AOT=1" bootstrap but still worked for me on x86_64-linux-gnu. Andrea From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 07 19:21:22 2021 Received: (at 45701) by debbugs.gnu.org; 8 Jan 2021 00:21:23 +0000 Received: from localhost ([127.0.0.1]:48929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxfWs-0000T4-K4 for submit@debbugs.gnu.org; Thu, 07 Jan 2021 19:21:22 -0500 Received: from mail-lf1-f47.google.com ([209.85.167.47]:33429) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxfWr-0000Sr-7d for 45701@debbugs.gnu.org; Thu, 07 Jan 2021 19:21:21 -0500 Received: by mail-lf1-f47.google.com with SMTP id l11so18987673lfg.0 for <45701@debbugs.gnu.org>; Thu, 07 Jan 2021 16:21:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=siSw4x798wDq1NsrWBhrth2eKpsBrKnyeeTK10RV+jw=; b=TfApINQntuBRWmIRjjnRn/9XBEauGOEUIcOLJ0Tr9roDQlHDIAthGmKkp0Zv7Gd2Fn 4hdpWBlAeCOMSJlws/JxE1Fm6vlikS6bokRlJSdYBEL6CW27tG2SPsHZUn0csT7Lu3Lx m97fGJfQT/0j0O92kQNmBjFEMYYgRjdzrTRXmMz6pMrolF4yghFTsHnB1Oarmk192vkx cHwI9yBPaFAVETUBa8/q5qzCKmYkTE7drpR5+4tx6W1lm0srKTmNXTnKYTih3wjkqnQx fuN+hh2d3FO81tmNhGNjC+J14DrNqxq/xlEu8krZC5gxVGRQy0Eu2zKVXrFOMkfguwEP 8JbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=siSw4x798wDq1NsrWBhrth2eKpsBrKnyeeTK10RV+jw=; b=Y81LiM4PeHyu55ysqCuCsIgx4ovDeSuVpDfU4UANs0WMiKnK2PuwfSqBeoAwNepmz/ LAWxdPXORbAMol9Jay3At1VAhczHOG9D7z/rTfwHn85DqpqfBfRCI6BdkgoXKdEzeu8h 456srkmXZAt5AEcrpIKbqx6Td2K3z5IL8zeX/SMoavm6NeteEmWBtcGUSYNi1ESYBrnZ 5vSiKz/+EgmPCh69e0jIzveJ1HsRnjBrJ5e+gpluXRxqrK5ZzQpCoE0/pn6j2RwOBFDi BtNLnEwUhriutufIN1mmV2gsFt1geMBOprDFwlykDf+NV7nGP0g1SKTBpXT6eQRcVCMu SR2w== X-Gm-Message-State: AOAM5319149HpyzMyjVmveayZu5CewE7BkYGc3u88ESNeWLNSox8/TBB DaqRJKm9N/7DiWj9om5uTOEGYpG1hy9X/l0Yceo= X-Google-Smtp-Source: ABdhPJzAayQq/9hxb9qsktTHHX4r8WuRg/TWn9TuZiMdFrW2hxS0Cbe5Cn+QEquagMsXRAN8IPQu/zZZvL6tB25BDjI= X-Received: by 2002:a05:651c:316:: with SMTP id a22mr367827ljp.473.1610065275106; Thu, 07 Jan 2021 16:21:15 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Justin Schell Date: Thu, 7 Jan 2021 16:20:49 -0800 Message-ID: Subject: Re: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 45701 Cc: 45701@debbugs.gnu.org, Jim Myhrberg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I'm still seeing the `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" issue in builds of `feature/native-comp` made since updating Xcode and all Homebrew deps this morning. However, this issue does indeed seem to be caused by something going awry in the build process on my machine as I just rebuilt from a commit that I had been using for quite a while (`cb293cf` from 2020-09-10) and I'm now seeing this issue in that build as well. I still have the build of that commit that I ran in September and `M-x report-emacs-bug` works fine. I saved the build log and scrolled through it, but didn't see anything obviously wrong apart from a few compiler warnings. Note that I don't see that issue in builds from `master`, so it seems to be related to a dependency of `feature/native-comp`. I also saved the build log from a (successful) `master` build. I can try to compare the logs from the two branches, but I'm not sure if that will be fruitful. Any other suggestions for how to debug this issue? Justin PS - Something that confused the situation yesterday when I was trying to isolate the "bad" commit is that due to how Github presents it's commit logs, specifically with merge commits, I didn't realize that when I was attempting to build a commit from `feature/native-comp`, sometimes I was actually building a commit from `master`. Executing a build with the format from https://github.com/jimeh/build-emacs-for-macos/issues/6, e.g., `./build-emacs-for-macos --git-sha 0f561ee55348ff451600cc6027db5940ee14606f feature/native-comp` is actually building building a commit from `master` and specifying the `feature/native-comp` branch name in that command is superfluous. From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 08 06:18:33 2021 Received: (at 45701) by debbugs.gnu.org; 8 Jan 2021 11:18:33 +0000 Received: from localhost ([127.0.0.1]:49324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxpmr-0001dm-Fa for submit@debbugs.gnu.org; Fri, 08 Jan 2021 06:18:33 -0500 Received: from mx.sdf.org ([205.166.94.24]:54873) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxpmo-0001db-3K for 45701@debbugs.gnu.org; Fri, 08 Jan 2021 06:18:32 -0500 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 108BIR1B024257; Fri, 8 Jan 2021 11:18:27 GMT From: Andrea Corallo To: Justin Schell Subject: Re: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" References: Date: Fri, 08 Jan 2021 11:18:27 +0000 In-Reply-To: (Justin Schell's message of "Thu, 7 Jan 2021 16:20:49 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 45701 Cc: 45701@debbugs.gnu.org, Jim Myhrberg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Justin Schell writes: > I'm still seeing the `M-x report-emacs-bug` error: "Wrong type > argument: stringp, nil" issue in builds of `feature/native-comp` made > since updating Xcode and all Homebrew deps this morning. > > However, this issue does indeed seem to be caused by something going > awry in the build process on my machine as I just rebuilt from a > commit that I had been using for quite a while (`cb293cf` from > 2020-09-10) and I'm now seeing this issue in that build as well. I > still have the build of that commit that I ran in September and `M-x > report-emacs-bug` works fine. I saved the build log and scrolled > through it, but didn't see anything obviously wrong apart from a few > compiler warnings. > > Note that I don't see that issue in builds from `master`, so it seems > to be related to a dependency of `feature/native-comp`. I also saved > the build log from a (successful) `master` build. I can try to compare > the logs from the two branches, but I'm not sure if that will be > fruitful. > > Any other suggestions for how to debug this issue? Hi Justin, look like there's some odd state that is complicating the investigation. Have you tried removing the 'eln-cache' folder? I'm not sure where in MacOS is, I have it under '~/.emacs.d/eln-cache'. Also, are we talking about an 'emacs -Q' session correct? Thanks Andrea From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 08 09:48:20 2021 Received: (at 45701) by debbugs.gnu.org; 8 Jan 2021 14:48:20 +0000 Received: from localhost ([127.0.0.1]:49543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxt3r-0000sz-RW for submit@debbugs.gnu.org; Fri, 08 Jan 2021 09:48:20 -0500 Received: from mail-lf1-f48.google.com ([209.85.167.48]:45967) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxt3p-0000si-Cv for 45701@debbugs.gnu.org; Fri, 08 Jan 2021 09:48:17 -0500 Received: by mail-lf1-f48.google.com with SMTP id x20so23385230lfe.12 for <45701@debbugs.gnu.org>; Fri, 08 Jan 2021 06:48:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BVKTkfQ3FPgKSi6JpGqQT9OZRDJ16IJ4E+UqPD1F048=; b=ISeZwWPFsI+bsaqoMlbgmLgC+h7UEOVRHQwLOemhPmMxQZdMbZVvIUKgN+Ld/DnGx/ qWJyHDXT3xjLB5VXHydmJx1qru4Ie16x3bYvYpTTmXW49FE3nSVv41OX2QfMNE/RInh6 gnvnbYmkhhCv3gI7xNeBktRGBP0XGRLWkm0WB2rBhSsVDtgiuMidODzRMSz7NooL13iG 1PmSXKkRocQjmTjN+hdMhCeEYkU/Vf60zEb06j9n+2HtMdrsiyVYaxxiyPRGLzExr1Wa UvIhH4vs8D7wST0hYvPIJGvYnNJzA+MUoyxCgKdqykUvmANIdd0Y+mlIpA7sZ5cPcN94 k0Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BVKTkfQ3FPgKSi6JpGqQT9OZRDJ16IJ4E+UqPD1F048=; b=qugKznObYmcDgCB4Tk6Jbl0CU1MxAzj5TaIBorgwUhEhEj2Nfey4T+eQkts76LojB7 +DOC1Fvp7mmHSIHO462Vxv1gO75O/KF6WXIvdsILnwfXv/M/oInCDFoKvhX18jb1z9SG Cb6jIVv5YL34lwEB/wARMNY3qjHapPsTEwmKeWNwJDpSAIIXcdFCP5l55ZxDBLQCsRuW /vlJYX5X+L+RCijPXyDml5S/3Jz7c5hS2gBneBRyxlImKbGN200WmlmS0PsoALby3lsz Q8/kBcXyBvzUKNp7pJEZv+uRlDn0ccPYpxfYPH+V42Syzex2YpOeik3UbJt3E6nWPkYp NbUQ== X-Gm-Message-State: AOAM530jhfrIEiY6MVg1v1PeQ+dbKnG5p1lJIoIvAjL7OD2/O3w/2Jup e+89GEtoqQCt/ooKpnWteFBx4m9CGoK8wL5ecw4= X-Google-Smtp-Source: ABdhPJyxVG38QyUm8B1bMeE1f7Mkd0A7Yz97q+kThI2gaomTFTGIHreeXhEg7NetFmqb3XHBbxkksB3uZO+Q9P/6sTA= X-Received: by 2002:a2e:b889:: with SMTP id r9mr1574599ljp.44.1610117291259; Fri, 08 Jan 2021 06:48:11 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Justin Schell Date: Fri, 8 Jan 2021 06:47:45 -0800 Message-ID: Subject: Re: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 45701 Cc: 45701@debbugs.gnu.org, Jim Myhrberg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > look like there's some odd state that is complicating the investigation. > Have you tried removing the 'eln-cache' folder? I'm not sure where in > MacOS is, I have it under '~/.emacs.d/eln-cache'. Yes, it still happens after removing the `eln-cache` folder. > Also, are we talking about an 'emacs -Q' session correct? Correct. Justin From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 08 10:37:37 2021 Received: (at 45701) by debbugs.gnu.org; 8 Jan 2021 15:37:38 +0000 Received: from localhost ([127.0.0.1]:50356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxtpZ-0002M0-Mx for submit@debbugs.gnu.org; Fri, 08 Jan 2021 10:37:37 -0500 Received: from mx.sdf.org ([205.166.94.24]:53670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxtpX-0002Lr-NP for 45701@debbugs.gnu.org; Fri, 08 Jan 2021 10:37:37 -0500 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 108FbY8s025584; Fri, 8 Jan 2021 15:37:34 GMT From: Andrea Corallo To: Justin Schell Subject: Re: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" References: Date: Fri, 08 Jan 2021 15:37:34 +0000 In-Reply-To: (Justin Schell's message of "Fri, 8 Jan 2021 06:47:45 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 45701 Cc: 45701@debbugs.gnu.org, Jim Myhrberg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Justin Schell writes: >> look like there's some odd state that is complicating the investigation. >> Have you tried removing the 'eln-cache' folder? I'm not sure where in >> MacOS is, I have it under '~/.emacs.d/eln-cache'. > > Yes, it still happens after removing the `eln-cache` folder. > >> Also, are we talking about an 'emacs -Q' session correct? > > Correct. I guess the next step for me would be to produce a batch reproducer and then run it under gdb with a break point in 'wrong_type_argument' to see where this is going wrong. It's also bizarre that the Lisp debugger is not triggered by `toggle-debug-on-error'. Andrea From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 01 16:13:15 2021 Received: (at submit) by debbugs.gnu.org; 1 Feb 2021 21:13:15 +0000 Received: from localhost ([127.0.0.1]:33409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6gVW-0003Jp-49 for submit@debbugs.gnu.org; Mon, 01 Feb 2021 16:13:15 -0500 Received: from lists.gnu.org ([209.51.188.17]:46884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6gVS-0003JU-IM for submit@debbugs.gnu.org; Mon, 01 Feb 2021 16:13:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40614) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6gVS-0005Tm-DQ for bug-gnu-emacs@gnu.org; Mon, 01 Feb 2021 16:13:10 -0500 Received: from mab.sdf.org ([205.166.94.33]:37688 helo=ma.sdf.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6gVQ-0006Tk-Op for bug-gnu-emacs@gnu.org; Mon, 01 Feb 2021 16:13:10 -0500 Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1l6gVM-0006Za-BE; Mon, 01 Feb 2021 21:13:04 +0000 From: Andrea Corallo To: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Subject: Re: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" References: Date: Mon, 01 Feb 2021 21:13:04 +0000 In-Reply-To: (Andrea Corallo via's message of "Fri, 08 Jan 2021 15:37:34 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=205.166.94.33; envelope-from=akrl@sdf.org; helo=ma.sdf.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: 45701@debbugs.gnu.org, Justin Schell , Jim Myhrberg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > Justin Schell writes: > >>> look like there's some odd state that is complicating the investigation. >>> Have you tried removing the 'eln-cache' folder? I'm not sure where in >>> MacOS is, I have it under '~/.emacs.d/eln-cache'. >> >> Yes, it still happens after removing the `eln-cache` folder. >> >>> Also, are we talking about an 'emacs -Q' session correct? >> >> Correct. > > I guess the next step for me would be to produce a batch reproducer and > then run it under gdb with a break point in 'wrong_type_argument' to see > where this is going wrong. It's also bizarre that the Lisp debugger is > not triggered by `toggle-debug-on-error'. > > Andrea Is this issue still present? Was it investigated as suggested? Thanks Andrea From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 01 16:51:40 2021 Received: (at submit) by debbugs.gnu.org; 1 Feb 2021 21:51:40 +0000 Received: from localhost ([127.0.0.1]:33440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6h6h-0004Eg-Sq for submit@debbugs.gnu.org; Mon, 01 Feb 2021 16:51:40 -0500 Received: from lists.gnu.org ([209.51.188.17]:45280) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6h6f-0004EP-6D for submit@debbugs.gnu.org; Mon, 01 Feb 2021 16:51:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6h6e-0002mE-Kl for bug-gnu-emacs@gnu.org; Mon, 01 Feb 2021 16:51:36 -0500 Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]:44654) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l6h6c-0006pv-K7 for bug-gnu-emacs@gnu.org; Mon, 01 Feb 2021 16:51:36 -0500 Received: by mail-lj1-x22d.google.com with SMTP id f2so21534512ljp.11 for ; Mon, 01 Feb 2021 13:51:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AyvdIeVEBSQN0aYnZ9cknjBy6mSsiRjsLE7q4KEPkgY=; b=tpfOQanTrQzhgqbsw0Edeh6/itSGS3RggD9DOlvlLfELDoNxaSaMPG3JqIElR7oJjX FQ5ue4wRtRAR2Cd8xinEpQNxXNW9V57S8UBdGm2yP+FzGcnPCGqU5PxgL/dOiR5s1rXo 3yFbR+f5YDDeRU+F6gnhWyW66zD4uN5FVJhWEP837kfQp/TLYj6GTjjxvA8mVtG/7szY 5DtKt1WQaRv56J+5CsO2z2fCFDcZdk/f8nVIKapCp+vuwAVRLEwrUSz6bNSU45+Bzc6O XY1b7fvEkU2QQEy2VctsA8H3KRW24aHLMWTr0C42VdOIRiomykC+bf180BQRU8NyHVVi T4/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AyvdIeVEBSQN0aYnZ9cknjBy6mSsiRjsLE7q4KEPkgY=; b=meLG7uQXbcwQA/UDeV5pfKyNo0AEVsioKmc8U8skGJ/qBlmohlb282GTXgcQ17onL8 +abXkpGdunumh0FyH5TkbZrdUJSAM7WXW2WG50Xr7Q1MxUgrMvobXlM1qT9WZbLrqJJb iaWkISfdED0dNtfkaTVMo9HT0tyObX3GiGWqcqQvvXo0dhxFnyXkudNm3HgD58JydiMB 9nyIDZlq6AL2ajh641WQici60AqnKNPZ1UbNXEOEvckl7M2K+8aq+mRevlahDSUz6Ca/ qGaCySMnP8vRN+ffJnbt/lYlykpgG3DaEanLLkyg4qjA4BFLF2qhhMlQL0pabwCmmpB8 GMLg== X-Gm-Message-State: AOAM532O44rKC9jIthuLcotp/gupPeh7S/wrjvq2a8HTYJCZaIePYdBL 5OAszkNsIFo7JSfQaFUTwx6N9vWnIIq7Uk3RNpk= X-Google-Smtp-Source: ABdhPJyoi3Uujpg1W/PGK4nybKC+GrCeOqUGHGUmwi77F9L8ZKwcVqjAWtrkLhjUBAVl3YlOENr58aJwRJSeSsbFJAU= X-Received: by 2002:a2e:980a:: with SMTP id a10mr11374562ljj.280.1612216289048; Mon, 01 Feb 2021 13:51:29 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Justin Schell Date: Mon, 1 Feb 2021 13:51:03 -0800 Message-ID: Subject: Re: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::22d; envelope-from=justinmschell@gmail.com; helo=mail-lj1-x22d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: "Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 45701@debbugs.gnu.org, Jim Myhrberg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > Is this issue still present? Was it investigated as suggested? Yes, I just built from the latest `feature/native-comp` commit (`a8b8d22`) and the issue is still present. Re: investigation, I was under the impression from your last comment (below) that you needed to do something to "produce a batch reproducer". Or did I misunderstand and that's something that I can do? If so, is there a guide or instructions as I'm not familiar with how to do that. > > I guess the next step for me would be to produce a batch reproducer and > > then run it under gdb with a break point in 'wrong_type_argument' to see > > where this is going wrong. It's also bizarre that the Lisp debugger is > > not triggered by `toggle-debug-on-error'. Justin From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 01 17:21:29 2021 Received: (at submit) by debbugs.gnu.org; 1 Feb 2021 22:21:29 +0000 Received: from localhost ([127.0.0.1]:33468 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6hZZ-0004wg-4q for submit@debbugs.gnu.org; Mon, 01 Feb 2021 17:21:29 -0500 Received: from lists.gnu.org ([209.51.188.17]:33150) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6hZX-0004wY-H4 for submit@debbugs.gnu.org; Mon, 01 Feb 2021 17:21:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52912) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6hZW-0003sr-LX for bug-gnu-emacs@gnu.org; Mon, 01 Feb 2021 17:21:26 -0500 Received: from mab.sdf.org ([205.166.94.33]:53272 helo=ma.sdf.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6hZU-0003as-P5 for bug-gnu-emacs@gnu.org; Mon, 01 Feb 2021 17:21:26 -0500 Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1l6hZS-0006Kk-2z; Mon, 01 Feb 2021 22:21:22 +0000 From: Andrea Corallo To: Justin Schell Subject: Re: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" References: Date: Mon, 01 Feb 2021 22:21:22 +0000 In-Reply-To: (Justin Schell's message of "Mon, 1 Feb 2021 13:51:03 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=205.166.94.33; envelope-from=akrl@sdf.org; helo=ma.sdf.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: "Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 45701@debbugs.gnu.org, Jim Myhrberg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Justin Schell writes: >> Is this issue still present? Was it investigated as suggested? > > Yes, I just built from the latest `feature/native-comp` commit > (`a8b8d22`) and the issue is still present. > > Re: investigation, I was under the impression from your last comment > (below) that you needed to do something to "produce a batch > reproducer". Or did I misunderstand and that's something that I can > do? If so, is there a guide or instructions as I'm not familiar with > how to do that. I think there's no specific guide other than some basic Elisp knowledge and some experimentation :) Perhaps something like this is already sufficient to trigger the error? emacs -batch -eval '(report-emacs-bug "")' >> > I guess the next step for me would be to produce a batch reproducer and >> > then run it under gdb with a break point in 'wrong_type_argument' to see >> > where this is going wrong. It's also bizarre that the Lisp debugger is >> > not triggered by `toggle-debug-on-error'. > > Justin Andrea From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 01 18:11:33 2021 Received: (at submit) by debbugs.gnu.org; 1 Feb 2021 23:11:33 +0000 Received: from localhost ([127.0.0.1]:33516 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6iLy-0006Cy-Tu for submit@debbugs.gnu.org; Mon, 01 Feb 2021 18:11:33 -0500 Received: from lists.gnu.org ([209.51.188.17]:44038) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6iLw-0006Cq-FS for submit@debbugs.gnu.org; Mon, 01 Feb 2021 18:11:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60554) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6iLw-0006js-Ay for bug-gnu-emacs@gnu.org; Mon, 01 Feb 2021 18:11:28 -0500 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]:33536) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l6iLu-0001Xl-OH for bug-gnu-emacs@gnu.org; Mon, 01 Feb 2021 18:11:28 -0500 Received: by mail-lf1-x12e.google.com with SMTP id b2so25247607lfq.0 for ; Mon, 01 Feb 2021 15:11:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1K20xnBNirfIRo4QqfpOKaqWQ5ijOzTr4i+c0LK6tcE=; b=H5brrEtV36Atl13ZOCnnTPG8LTtdSNi61G1M2+KW94j9+9rMwaFN9N1qSt5OyAfpFX XEvKmLSfzfN8ThTU9pngQVXnF3qOQbAemaPWVPCi/08/5Scm5Vbqny+BIwkq28hQ/j5Z koZwHWFtiXSPSX9xHWAPwlS0De/VBvXQDSHFyioZZzAVN0xy2mjrmWOkuDHSWMFoKIyz NPo181DAAgL4vufL/BZvmWuzjVfUlKjm8vHh5EE8X+Wa3Q+iuXNAKf/SaaK9R9Un8mec +8rhJruNpfxZvf+yarTK5Gy50Kn9h7/hewiKD0kuacEVtuX7/kCz0aYBgzZWO3OVBMsP mgvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1K20xnBNirfIRo4QqfpOKaqWQ5ijOzTr4i+c0LK6tcE=; b=sZ691nVfe+vI41w2LhXO2AwfGqdArKHc89IaGszdpyGKka4g74zDg5qn4XlIRM/OMZ 5lyzPM4+tlpjJvYBPnR18sDNPmvVhRXOfnL4ZiJ2h/lFmE4li15448BZr62tcIrabn4y vX2K/Nnd7JJ9pC1VWkoohuvyiyZbniZOnwZZc042FWwY6h88aixL77ZtmgJF1SlRQeAd 7Mf2PArp38+4qkyKJWGW9EGElQQc9/bRud4nBJfd8OaRYqOumCAATz/raDMnjwgzjBs+ nPY5DtlbjSuBiT159bbKJSRXvbYBJWFrR6OJtoij/9cRLARQ/0Y20lCSgxi8cg3Fgpvj 7ROA== X-Gm-Message-State: AOAM530qjyWe42aDNAI3n4wCq5ZP0MbamwI1d83s0vxwRzZEtKeVuiCA KAW9L+CbF5Acx8PdN4nHhTPfbqdDH4ctzgCT+R4= X-Google-Smtp-Source: ABdhPJylqyO2tvfjUh48D6K/Xa622ZvJp12efiqAAe2GmqUUi7UpaVxK/1dRO5vo8EAk2v1ZERALGq5s/2QEkWLaSK0= X-Received: by 2002:ac2:5e2a:: with SMTP id o10mr9201848lfg.349.1612221084634; Mon, 01 Feb 2021 15:11:24 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Justin Schell Date: Mon, 1 Feb 2021 15:10:58 -0800 Message-ID: Subject: Re: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::12e; envelope-from=justinmschell@gmail.com; helo=mail-lf1-x12e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: "Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 45701@debbugs.gnu.org, Jim Myhrberg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > emacs -batch -eval '(report-emacs-bug "")' Ah, sorry, I misunderstood as I had never heard of batch mode before. Simply calling `report-emacs-bug` did not do the trick: ``` [builds (master-)]$ Emacs.app-\[feature-native-comp\]\[2021-01-30\]\[a8b8d22\]\[macOS-10.15\]\[x86_64\].app/Contents/MacOS/Emacs -batch -eval '(progn (message "foo") (report-emacs-bug "") (message "bar"))' foo Checking for load-path shadows... Checking for load-path shadows...done bar [builds (master-)]$ ``` I'll continue to try to figure out how to repro, though. Justin From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 02 04:05:48 2021 Received: (at submit) by debbugs.gnu.org; 2 Feb 2021 09:05:48 +0000 Received: from localhost ([127.0.0.1]:34055 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6rd5-0001sr-Lw for submit@debbugs.gnu.org; Tue, 02 Feb 2021 04:05:48 -0500 Received: from lists.gnu.org ([209.51.188.17]:51636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6rd2-0001sb-LI for submit@debbugs.gnu.org; Tue, 02 Feb 2021 04:05:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33858) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6rd2-0002sY-E4 for bug-gnu-emacs@gnu.org; Tue, 02 Feb 2021 04:05:44 -0500 Received: from mab.sdf.org ([205.166.94.33]:35676 helo=ma.sdf.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6rd0-0007tf-NL for bug-gnu-emacs@gnu.org; Tue, 02 Feb 2021 04:05:44 -0500 Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1l6rcx-0004xJ-1m; Tue, 02 Feb 2021 09:05:39 +0000 From: Andrea Corallo To: Justin Schell Subject: Re: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" References: Date: Tue, 02 Feb 2021 09:05:39 +0000 In-Reply-To: (Justin Schell's message of "Mon, 1 Feb 2021 15:10:58 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=205.166.94.33; envelope-from=akrl@sdf.org; helo=ma.sdf.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: "Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 45701@debbugs.gnu.org, Jim Myhrberg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Justin Schell writes: >> emacs -batch -eval '(report-emacs-bug "")' > > Ah, sorry, I misunderstood as I had never heard of batch mode before. > > Simply calling `report-emacs-bug` did not do the trick: > ``` > [builds (master-)]$ > Emacs.app-\[feature-native-comp\]\[2021-01-30\]\[a8b8d22\]\[macOS-10.15\]\[x86_64\].app/Contents/MacOS/Emacs > -batch -eval '(progn (message "foo") (report-emacs-bug "") (message > "bar"))' > foo > Checking for load-path shadows... > Checking for load-path shadows...done > bar > [builds (master-)]$ > ``` > > I'll continue to try to figure out how to repro, though. > > Justin Hi Justin, one could also place the breackpoint from gdb for an interactive session, is just a little more annoying if one want to re-run multiple times while debugging. BTW dumb question: the issue is present also running "emacs -Q" right? Thanks Andrea From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 02 20:30:53 2021 Received: (at submit) by debbugs.gnu.org; 3 Feb 2021 01:30:53 +0000 Received: from localhost ([127.0.0.1]:36430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l770N-0001N2-Kc for submit@debbugs.gnu.org; Tue, 02 Feb 2021 20:30:53 -0500 Received: from lists.gnu.org ([209.51.188.17]:36892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l770J-0001Mm-TN for submit@debbugs.gnu.org; Tue, 02 Feb 2021 20:30:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l770J-0007bQ-Gz for bug-gnu-emacs@gnu.org; Tue, 02 Feb 2021 20:30:47 -0500 Received: from mail-oi1-x235.google.com ([2607:f8b0:4864:20::235]:33259) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l770H-0002Yz-Pq for bug-gnu-emacs@gnu.org; Tue, 02 Feb 2021 20:30:47 -0500 Received: by mail-oi1-x235.google.com with SMTP id j25so25096137oii.0 for ; Tue, 02 Feb 2021 17:30:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xJsTWax5UnZRATq373O/kxeDq3UYHRQv/o9Xioz39DI=; b=N3FOzARcxDVJj2mm20NJ1nau8ug1qs8zmK//uYtCyFtdwBXW5R82XxlPVV0xy5cgNW fko/C0cfgi6eE8hPddZASdMIyFvmE8ZH8qmq01Jx/PyOHc6ULBNp/2ouGI3nv5k5wl+g EhUyc/OuXrbUTgSmtfNG5kf0DSbLiOHsEmwlaRcQ53sni5kLNgTuZP57XG8R3mlEotav q0XWiL719RRcjY+kVKIFw9SSvC/+OV8Zy/e++QcqqLA7hExiIZ5ODPnJiYVblCJA/2Te bm6ecYIeMqsiIaXXO/FARMi253fJWcnKZ/DFp5elfSGYRmTLbZ52S+q7NPYlKdkfu7V9 8QKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xJsTWax5UnZRATq373O/kxeDq3UYHRQv/o9Xioz39DI=; b=F+ZM/2lLdJdayYonVQXZ3KsL3ugaHAaWHYZuFdS7hbbWUPGRnLG1vbH6nktz0sJoBQ D2LRy7+h9RpJfg7Z585M0W84EZHVwh4QuCYLNwKj70vzvxPJjnfkOSTaYORExnvwYdBN /ZT9wrQWHG7rfDiVcUDpBZIeyQo/FciieFqc+bGCwz6j/OUMNhJrlMx4rE/alzu4rIm7 xaOIIxgOTwiI9IN+4dt967Oaz2cUZCV2fRZElTxpNKwRAi3Dj6OPUwyMzIud5LLYzU8x E5OW3W7NFwruHyds9olMEMTQbQhlqMeH131pK0JDqHnTKww1RGym4vjdjK7xfq306T3J vnGg== X-Gm-Message-State: AOAM5316wTmjTUSWD9oPOJNvW1dUCMugtpyWQSVGPJ74sxEjkmR9FWeD g1LARC3iM2uRljh17oIXWV3cxw3IFksWyJ3/+HQ= X-Google-Smtp-Source: ABdhPJxo0cy8h7vEPLc1lP7wypv6Cb/6xg/jDFFPBbBQ4Z1booOZADwt76dA7T107ZThbos5NOuwjpyzdRhvWpd5DKg= X-Received: by 2002:aca:fd81:: with SMTP id b123mr433653oii.159.1612315842378; Tue, 02 Feb 2021 17:30:42 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Justin Schell Date: Tue, 2 Feb 2021 17:30:15 -0800 Message-ID: Subject: Re: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::235; envelope-from=justinmschell@gmail.com; helo=mail-oi1-x235.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: "Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 45701@debbugs.gnu.org, Jim Myhrberg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > BTW dumb question: the issue is present also running "emacs -Q" right? Yes. > one could also place the breackpoint from gdb for an interactive > session, is just a little more annoying if one want to re-run multiple > times while debugging. Trying to do that, but I have no idea what I'm doing with gdb. The following doesn't seem to do anything useful. It does seem to run an emacs process, but there's no window that comes up for me to interact with and nothing else seems to happen: ``` [builds (master %=)]$ gdb Emacs.app-\[feature-native-comp\]\[2021-01-30\]\[a8b8d22\]\[macOS-10.15\]\[x86_64\].app/Contents/MacOS/Emacs GNU gdb (GDB) 10.1 Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-apple-darwin19.6.0". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from Emacs.app-[feature-native-comp][2021-01-30][a8b8d22][macOS-10.15][x86_64].app/Contents/MacOS/Emacs... (No debugging symbols found in Emacs.app-[feature-native-comp][2021-01-30][a8b8d22][macOS-10.15][x86_64].app/Contents/MacOS/Emacs) (gdb) (gdb) catch throw Catchpoint 1 (throw) (gdb) run -Q Starting program: /Users/jschell/src_ext/build-emacs-for-macos/builds/Emacs.app-[feature-native-comp][2021-01-30][a8b8d22][macOS-10.15][x86_64].app/Contents/MacOS/Emacs -Q [New Thread 0x1b03 of process 4105] [New Thread 0x2303 of process 4105] ``` I've also tried with `-nw` with similar results. Am I going to have to build with debug symbols to do anything useful? I can try to figure that out, but that's not something that I've done either. Justin From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 03 15:31:31 2021 Received: (at submit) by debbugs.gnu.org; 3 Feb 2021 20:31:31 +0000 Received: from localhost ([127.0.0.1]:38965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7OoF-0003c2-89 for submit@debbugs.gnu.org; Wed, 03 Feb 2021 15:31:31 -0500 Received: from lists.gnu.org ([209.51.188.17]:45316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7OoE-0003bv-9I for submit@debbugs.gnu.org; Wed, 03 Feb 2021 15:31:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33766) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7OoE-0004Nl-1Q for bug-gnu-emacs@gnu.org; Wed, 03 Feb 2021 15:31:30 -0500 Received: from mab.sdf.org ([205.166.94.33]:45896 helo=ma.sdf.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7Oo8-00065k-8O for bug-gnu-emacs@gnu.org; Wed, 03 Feb 2021 15:31:29 -0500 Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1l7Oo5-0004uy-EM; Wed, 03 Feb 2021 20:31:21 +0000 From: Andrea Corallo To: Justin Schell Subject: Re: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" References: Date: Wed, 03 Feb 2021 20:31:21 +0000 In-Reply-To: (Justin Schell's message of "Tue, 2 Feb 2021 17:30:15 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=205.166.94.33; envelope-from=akrl@sdf.org; helo=ma.sdf.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: "Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 45701@debbugs.gnu.org, Jim Myhrberg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Justin Schell writes: >> BTW dumb question: the issue is present also running "emacs -Q" right? > > Yes. > >> one could also place the breackpoint from gdb for an interactive >> session, is just a little more annoying if one want to re-run multiple >> times while debugging. > > Trying to do that, but I have no idea what I'm doing with gdb. The > following doesn't seem to do anything useful. It does seem to run an > emacs process, but there's no window that comes up for me to interact > with and nothing else seems to happen: I think the idea would be ~ to: - compile with debug symbols - start gdb loading emacs - source .gdbinit - add a breakpoint in 'wrong_type_argument' - run Emacs and let the error happen - At this point gdb should take control and you should be able to type 'bt' to obtain and report the backtrace Thanks Andrea From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 03 15:37:27 2021 Received: (at submit) by debbugs.gnu.org; 3 Feb 2021 20:37:27 +0000 Received: from localhost ([127.0.0.1]:38974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7Otz-0003kV-6N for submit@debbugs.gnu.org; Wed, 03 Feb 2021 15:37:27 -0500 Received: from lists.gnu.org ([209.51.188.17]:48640) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7Otx-0003kP-Ag for submit@debbugs.gnu.org; Wed, 03 Feb 2021 15:37:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34986) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7Otw-00067M-UO for bug-gnu-emacs@gnu.org; Wed, 03 Feb 2021 15:37:25 -0500 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]:43537) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l7Otq-0000EX-Rc for bug-gnu-emacs@gnu.org; Wed, 03 Feb 2021 15:37:21 -0500 Received: by mail-lf1-x12c.google.com with SMTP id d3so1083618lfg.10 for ; Wed, 03 Feb 2021 12:37:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pC5j7pGD0ZW7V0YI11DOW/5gqU/rJuYRV5pmPweeXk0=; b=nZciRZAiwWPR6x3XmCgCSTc1p56Abi32czDnfGBvvxMPcbwhTY3NPszEL3fymt9t5q 1+CbvvYHTQMBjGL6nWO/1WEiqwE8a4IWbcaBjgZB0ln7iiIFcMuLm4RXgaZYP6rRCFSC DFetKYOrBJOREsznxYhARbI15ncj5HWrHojmIbVZgQ0ZUiWqf5WiHWnk8zA+V7NFuZ1x qcGCIber8+q1dEVxdbf3XISx+Rhika6gL96Wchj1JxzH6FVj1pn9/5rWStEj2FHbC9uN Ygo5ZCiVJwEWqO6HYVslH6O2ZiOXaccF0V1gMzN1P5g5ZEkaQSMOcX0qeRKNUw9JocVA dAZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pC5j7pGD0ZW7V0YI11DOW/5gqU/rJuYRV5pmPweeXk0=; b=k4O2eSfsQAmHoo7WzBjN8ZPqCb9Szh2dwasM+gInLNetAmrLgIJ1lApab3K10UJBSk Slqn+inxZPlSFghaVwj8dx4j705hFZb6fl3F0vSe/1mvmC1eyq8kRN6SgkWniISvIaK6 A7G63frjs+KElaoiYWDTnCWh1rXN7LJwBiL0ty0df/QSuGdF72Ugrw1XhkZL7zJKfpYg P6QlsKzLJ67GQFLAoyLZUiZIuQMPzC1zVLB5yZoYD2akDadC0lsA/8NUQ6DxF5AWcynP agjcltZFn0vSbXJduYTYRo/B3UIAOgwJC+7dJJX1ywXZneTLKJImCrT3SvO0RzSKM7tc LQPQ== X-Gm-Message-State: AOAM533AbT2wrX6GfpeO7TyIead/AbgJmHR8vVHuiHpqsIbM5AY4wRaN X9Z7pqAv6dk6a6nc0ZTltQE0YCstuukfjg+ZnWY= X-Google-Smtp-Source: ABdhPJxBhzu4PEh/IimXQyBUt5aEBTgc9Y6qTVig0wLlnYKjOCAug0AaavvfRlB8Xmyfav4P77VZqdskHeB1WdZnm9U= X-Received: by 2002:ac2:5293:: with SMTP id q19mr2610877lfm.303.1612384637022; Wed, 03 Feb 2021 12:37:17 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Justin Schell Date: Wed, 3 Feb 2021 12:36:50 -0800 Message-ID: Subject: Re: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::12c; envelope-from=justinmschell@gmail.com; helo=mail-lf1-x12c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: "Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 45701@debbugs.gnu.org, Jim Myhrberg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > I think the idea would be ~ to: > > - compile with debug symbols > > - start gdb loading emacs > > - source .gdbinit > > - add a breakpoint in 'wrong_type_argument' > > - run Emacs and let the error happen > > - At this point gdb should take control and you should be able to type > 'bt' to obtain and report the backtrace Thanks, I'll give that a go soon. Justin From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 08 15:49:42 2021 Received: (at submit) by debbugs.gnu.org; 8 Feb 2021 20:49:42 +0000 Received: from localhost ([127.0.0.1]:52010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9DTa-0003lp-16 for submit@debbugs.gnu.org; Mon, 08 Feb 2021 15:49:42 -0500 Received: from lists.gnu.org ([209.51.188.17]:37408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9DTS-0003lM-BL for submit@debbugs.gnu.org; Mon, 08 Feb 2021 15:49:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54526) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9DTR-0007sr-Vh for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2021 15:49:33 -0500 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]:43145) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l9DTQ-00070V-1z for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2021 15:49:33 -0500 Received: by mail-lf1-x132.google.com with SMTP id d3so24529864lfg.10 for ; Mon, 08 Feb 2021 12:49:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=uweMNlYS4LziJbTO8TSlDnjx/rkR15dtSle6ZjIwfb8=; b=qoZJb0+HWeCt4wK6ja0stl33hame76T9v1awht+OayRCRKIqzNSy/BsvTwIey3QCfk s0ZNUNciQArQVqfdxF9qjP8fuRMIVY65W6P8+biMfpO0EzVTsGHrdWfZSx6NZo8R/Wdq /GifTtO8faUpHyQu1UZwWPeBjkx48Fwacv30a4C84TUx4Vk4+WGewUnoyFnfUc3bFZr7 tNHRXH98IWcJGoWhxwLsKvLnEUmd+Gdyr2j8YZpAXB0WqghN0/3gMFhicFt2L5yF3Uyt kV0mpUH7YWgU6RBnSjlP0OqRisBJOCYFfNvguuyjSMKq6Jo34M2ZwC5giQva9nTHKGU2 CCVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uweMNlYS4LziJbTO8TSlDnjx/rkR15dtSle6ZjIwfb8=; b=QDzD47CIeY+Cpeq7M4VrPTE7Dmlw0Ko/q5Bsgh7QtqPqSB7HyItlJ8v5UD+CY0Tcyq NNEL2KNx/Hr38Vro3x5aHjTzNX+sYqRnZEftOJ9U3TgM1c+h/d4zgAvzkfqh+kw+XHqA qODbzzBqQEf6lvBMPweN/WcyU11an4qm7GKig1ufAq6vjEsYK9Am2GmXFdHV75/8f1gJ 1txhHvv1sIrP3TY4NMzSLWQh/ACMkKHbyJ03s1qVCcvrrc0ctycLAfiNS5j1GIpJp6S6 PDeFxMoDwsDUukKWtMi1b7IdEaWYqewS6IrcGpQRF/TYJ+4cnbYmWydDKXXzZPyBo3oQ OAKA== X-Gm-Message-State: AOAM531pYeSreoqHvj1+3WdGJgFqp+2TN6jrciUWdqYYiwUHwDv2jlhY HP4Ab+15PGpPtyIM6Qas1YL+gzeq73eh/TOAhYw= X-Google-Smtp-Source: ABdhPJybay6Luv5bBVGV+qmwokeDvipgtbcguOw/lFYTKRAgNFdhS4MI11RVyxO9iKOXtViEg+uHqYrhn3sqmm1fku0= X-Received: by 2002:ac2:5f05:: with SMTP id 5mr11935340lfq.127.1612817369483; Mon, 08 Feb 2021 12:49:29 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Justin Schell Date: Mon, 8 Feb 2021 12:49:01 -0800 Message-ID: Subject: Re: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::132; envelope-from=justinmschell@gmail.com; helo=mail-lf1-x132.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: "Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 45701@debbugs.gnu.org, Jim Myhrberg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > I think the idea would be ~ to: > > - compile with debug symbols > > - start gdb loading emacs > > - source .gdbinit > > - add a breakpoint in 'wrong_type_argument' > > - run Emacs and let the error happen > > - At this point gdb should take control and you should be able to type > 'bt' to obtain and report the backtrace Hi Andrea, So, I was able to build emacs with debug symbols and run via gdb as directed above, but unfortunately, gdb doesn't hit the breakpoint when I run `M-x report-emacs-bug`. gdb does break quite a few times (770 times, to be exact) on `wrong_type_argument` during startup, though. I looked at the emacs source a bit to try to put a breakpoint somewhere that would be more fruitful, but I didn't really see where I would do so. I did a screen capture of my reproducing the issue on this thread. Perhaps you could take a look and would have an idea for what I might be doing wrong or what to try next. See https://github.com/schellj/emacs-native-comp-debug/blob/wrong-type-argument/emacs-native-comp-wrong-type-argument.mov Thanks, Justin From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 08 15:57:51 2021 Received: (at submit) by debbugs.gnu.org; 8 Feb 2021 20:57:51 +0000 Received: from localhost ([127.0.0.1]:52022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9DbS-00040L-Lb for submit@debbugs.gnu.org; Mon, 08 Feb 2021 15:57:50 -0500 Received: from lists.gnu.org ([209.51.188.17]:58544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9DbP-00040C-R1 for submit@debbugs.gnu.org; Mon, 08 Feb 2021 15:57:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56896) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9DbO-0008U6-Eq for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2021 15:57:46 -0500 Received: from mail-lj1-x22a.google.com ([2a00:1450:4864:20::22a]:33059) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l9DbK-0002Rh-Ei for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2021 15:57:45 -0500 Received: by mail-lj1-x22a.google.com with SMTP id a25so19169290ljn.0 for ; Mon, 08 Feb 2021 12:57:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fwOxq6UOsv6J/wwy/0hgmgtdLe3xltttcq3TnQF5xJI=; b=rDaYGM0x3FJJos/sbhX6xL/p7wI7djuuTT+zBHdmpiTOttRaqfx4i2HlTT893SRzL/ EcBbRy9t4JRg65jUiTWHwWgHeM4X5JDrUrwZZSsD91Kz3d5E3IPqxD1wml86Y1CBclZY XAG198qbzGO/nJQpwK5u1dGThxarzgUQmlk8Fautsxg3tca9R0dzIVOOskoe9GYjyy8S Fhhpd1rD3Lc7+iFiAqklkw90Ylfqti3B9Whdaqo1ERLcvi3jzD5OfYBjhSj/gy0EK25w bNpFLz5RFLRQZPyQbnV9gWOtREMot6J4GLOFVIGHec0XehgJNXTnQ2b/l6IxOQyjUoa+ uaSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fwOxq6UOsv6J/wwy/0hgmgtdLe3xltttcq3TnQF5xJI=; b=sIIc+IFasM6DQHgq1LSqFOPPxIEcxYH1GwwouVDzRFgCxwQZRWuDRw7FU+eyrEte7c PRNjCkyWgTJ+czi513xLEhKcu91m79kAagByX2uSSpyFcejN3LW2KfgCiyN2FIFkPE47 sRmWjcbkdztNnSjclODOfKNsvJtjDNJrHAUuuCJ7lX8GG1K8/iUV0xKSIA5mYpqEGMH+ uPznyjfpqEvQwCxoOeglJQKLrwzcPWuCvV7CR0TYuISJBrMP66wXmwGPFdo8OEknUcUo QgiVcD0Q/LuuouuXKDYceNT4eljdoAVhoAeIjoLKO8XauK/dZybUX6MU4XzGxsxfbUuT TkRA== X-Gm-Message-State: AOAM532+Yc3+DaU/pLh+vdGU4wrMHGPleepmpDgvQmdg8lMz0CReRZsq w/gZ5t4YcGi4f/vBiTMakSOhnqnAm2JqEhxIv7Y= X-Google-Smtp-Source: ABdhPJwRKD1TvNT7X/Q+Hz49C2e+y/yv+pIuNIcbZItb79IIN5vM2JkejA1aUj+WTl+iWSgfstUym7UHRiqrJxYuwvE= X-Received: by 2002:a2e:980a:: with SMTP id a10mr12335074ljj.280.1612817859505; Mon, 08 Feb 2021 12:57:39 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Justin Schell Date: Mon, 8 Feb 2021 12:57:13 -0800 Message-ID: Subject: Re: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::22a; envelope-from=justinmschell@gmail.com; helo=mail-lj1-x22a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: "Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 45701@debbugs.gnu.org, Jim Myhrberg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Also, here are backtraces from the first two times that the `wrong_type_argument` breakpoint was hit during startup: ``` Thread 2 hit Breakpoint 2, wrong_type_argument (predicate=XIL(0xd9), value=make_fixnum(35183774783506)) at data.c:143 143 xsignal2 (Qwrong_type_argument, predicate, value); (gdb) bt #0 wrong_type_argument (predicate=XIL(0xd9), value=make_fixnum(35183774783506)) at data.c:143 #1 0x0000000100222b2e in dump_discard_mem (mem=0x145bcca3d, size=5464967736) at pdumper.c:4650 #2 0x00007ffeefbfed20 in ?? () #3 0x0000000145bfd225 in ?? () #4 0x00007ffeefbfed10 in ?? () #5 0x000000010021f5a9 in HASH_VALUE (h=0x145bcca3d, idx=5464967736) at ./lisp.h:2380 #6 0x0000000145bcca38 in ?? () #7 0x0000000145bcca3d in ?? () #8 0x00007ffeefbfed40 in ?? () #9 0x000000010021a271 in thaw_hash_tables () at pdumper.c:5671 Backtrace stopped: frame did not save the PC (gdb) c Continuing. Thread 2 hit Breakpoint 2, wrong_type_argument (predicate=XIL(0x447), value=XIL(0x145bcca38)) at data.c:143 143 xsignal2 (Qwrong_type_argument, predicate, value); (gdb) bt #0 wrong_type_argument (predicate=XIL(0x447), value=XIL(0x145bcca38)) at data.c:143 #1 0x0000000100222b2e in dump_discard_mem (mem=0x145b7e085, size=5464645760) at pdumper.c:4650 #2 0xfffffffffffffffe in ?? () #3 0x0000000145bfd225 in ?? () #4 0x00007ffeefbfed10 in ?? () #5 0x000000010021f5a9 in HASH_VALUE (h=0x145b7e085, idx=5464645760) at ./lisp.h:2380 #6 0x0000000145b7e080 in ?? () #7 0x0000000145b7e085 in ?? () #8 0x00007ffeefbfed40 in ?? () #9 0x000000010021a271 in thaw_hash_tables () at pdumper.c:5671 Backtrace stopped: frame did not save the PC ``` On Mon, Feb 8, 2021 at 12:49 PM Justin Schell wrote: > > > I think the idea would be ~ to: > > > > - compile with debug symbols > > > > - start gdb loading emacs > > > > - source .gdbinit > > > > - add a breakpoint in 'wrong_type_argument' > > > > - run Emacs and let the error happen > > > > - At this point gdb should take control and you should be able to type > > 'bt' to obtain and report the backtrace > > Hi Andrea, > > So, I was able to build emacs with debug symbols and run via gdb as > directed above, but unfortunately, gdb doesn't hit the breakpoint when > I run `M-x report-emacs-bug`. gdb does break quite a few times (770 > times, to be exact) on `wrong_type_argument` during startup, though. I > looked at the emacs source a bit to try to put a breakpoint somewhere > that would be more fruitful, but I didn't really see where I would do > so. > > I did a screen capture of my reproducing the issue on this thread. > Perhaps you could take a look and would have an idea for what I might > be doing wrong or what to try next. See > https://github.com/schellj/emacs-native-comp-debug/blob/wrong-type-argument/emacs-native-comp-wrong-type-argument.mov > > Thanks, > Justin From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 09 15:44:01 2021 Received: (at submit) by debbugs.gnu.org; 9 Feb 2021 20:44:01 +0000 Received: from localhost ([127.0.0.1]:54789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9Zrc-0000Zr-Rc for submit@debbugs.gnu.org; Tue, 09 Feb 2021 15:44:01 -0500 Received: from lists.gnu.org ([209.51.188.17]:52732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9ZrZ-0000ZV-5D for submit@debbugs.gnu.org; Tue, 09 Feb 2021 15:43:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9ZrY-0004UI-SF for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 15:43:56 -0500 Received: from mx.sdf.org ([205.166.94.24]:63128) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9ZrW-0007HZ-Th for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 15:43:56 -0500 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 119KhhuG012244 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Tue, 9 Feb 2021 20:43:44 GMT From: Andrea Corallo To: Justin Schell Subject: Re: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" References: Date: Tue, 09 Feb 2021 20:43:43 +0000 In-Reply-To: (Justin Schell's message of "Mon, 8 Feb 2021 12:49:01 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=205.166.94.24; envelope-from=akrl@sdf.org; helo=mx.sdf.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: "Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 45701@debbugs.gnu.org, Jim Myhrberg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Justin Schell writes: >> I think the idea would be ~ to: >> >> - compile with debug symbols >> >> - start gdb loading emacs >> >> - source .gdbinit >> >> - add a breakpoint in 'wrong_type_argument' >> >> - run Emacs and let the error happen >> >> - At this point gdb should take control and you should be able to type >> 'bt' to obtain and report the backtrace > > Hi Andrea, > > So, I was able to build emacs with debug symbols and run via gdb as > directed above, but unfortunately, gdb doesn't hit the breakpoint when > I run `M-x report-emacs-bug`. gdb does break quite a few times (770 > times, to be exact) on `wrong_type_argument` during startup, though. I > looked at the emacs source a bit to try to put a breakpoint somewhere > that would be more fruitful, but I didn't really see where I would do > so. I think we are likely to be interested only in the last occurence. You can ignore the breakpoint 769 times to see what's going on: (gdb) b wrong_type_argument Breakpoint 5 at 0x58a0a2: file data.c, line 143. (gdb) ignore 5 769 Will ignore next 769 crossings of breakpoint 5. (gdb) run Thanks Andrea From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 09 16:10:47 2021 Received: (at submit) by debbugs.gnu.org; 9 Feb 2021 21:10:47 +0000 Received: from localhost ([127.0.0.1]:54838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9aHW-0001Er-K2 for submit@debbugs.gnu.org; Tue, 09 Feb 2021 16:10:46 -0500 Received: from lists.gnu.org ([209.51.188.17]:37796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9aHU-0001Ed-0D for submit@debbugs.gnu.org; Tue, 09 Feb 2021 16:10:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58182) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9aHT-0007Nu-RU for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 16:10:43 -0500 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]:44434) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l9aHR-0002Wl-Sy for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 16:10:43 -0500 Received: by mail-lf1-x136.google.com with SMTP id p21so30508353lfu.11 for ; Tue, 09 Feb 2021 13:10:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=YixDNY/mbzE4Mr0+W7KAAz5C2tR5AqluEmmNfvcfT6c=; b=Qd3S26KC3lUITJ8fv6IuekEDtbl5YiKH+ut9V8X1IoJAatg4K9CYlg4LHyVVw5lyFs euewxtfG7TvpMpkArGM6VcBqavM5lyo9hzRtgfU7HDRXUEZKU0ANmX8izJhJhqZo4s3a hEV5zi0fhQ6ayZBX9B1IZK42oClRcPT8z0zgWliV5bJizob4nkQw8yqy2B0kBPYsnjUv du04mrgsa/cMK/+xH6mfYdUsKzdMTcvfFbraxP5ia1++tneFBKcq6qk+IW2CxnYYRh9c 1ktWGnu6tMqt5AYKXoyTNrjoemKOQ4JAt8PNneM1YT9viYmmTCaX43050FZ66PekiQDm 9yqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YixDNY/mbzE4Mr0+W7KAAz5C2tR5AqluEmmNfvcfT6c=; b=hophDDYAGBXjk+rYtVv6iBqLY8uBw5dMK6kiAg6qnwE8IIO6b9udBM03LQv5u3/RvD ++VcrLDJdMHxf6fNbccT0mofN20fB/uhTJeYgI8YZfK1/GvTMMqovp+xQtrj5g4RJsDX 8mtxn2MlyLETdat7Ui1qZ8FyLI64IK1M/abD7Vqp010tCtoyJkfzN3ICRGhQVxxzohh8 cx6m0ApZxDib0D7Wq/5YgVsDKjtMJmBYMxfG4XFiBw8GvewZV1Xy39dx/+UxuppSDTA7 rI3gHADl9r9JqxGgVDdnI4fE/qF8qBiacD/FoStDHp7x88NB3FE1gJhWHBh+5mOkpo1B DCWQ== X-Gm-Message-State: AOAM533wifPq/5sNZFKzhLmFYkSaCFPaTX+QNzyutOZ0iQO+gmuZ1hcv BEsMHNwKIj32pdUqbR2clvpGTLTmzzle0pYNJJk= X-Google-Smtp-Source: ABdhPJzTY792xt+K3iQYwCvEZ+oaKnuW3oRF7tdoo63ZmP3mA4GUrdJYI6veTvZ4kTLFEGF6P9LFjkz4dS9PqD9pXnI= X-Received: by 2002:ac2:5293:: with SMTP id q19mr14007913lfm.303.1612905038978; Tue, 09 Feb 2021 13:10:38 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Justin Schell Date: Tue, 9 Feb 2021 13:10:13 -0800 Message-ID: Subject: Re: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::136; envelope-from=justinmschell@gmail.com; helo=mail-lf1-x136.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: "Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 45701@debbugs.gnu.org, Jim Myhrberg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > I think we are likely to be interested only in the last occurence. You > can ignore the breakpoint 769 times to see what's going on: > > (gdb) b wrong_type_argument > Breakpoint 5 at 0x58a0a2: file data.c, line 143. > (gdb) ignore 5 769 > Will ignore next 769 crossings of breakpoint 5. > (gdb) run I apparently double-counted before; it was actually only 385 occurrences, but I was able to actually get it to break after executing `M-x report-emacs-bug` this time. I can try to debug this later, but I imagine you'll have an idea of what's going on this time. ``` [builds (master *%=)]$ gdb Emacs.app-\[feature-native-comp\]\[2021-02-03\]\[1f626e9\]\[macOS-10.15\]\[x86_64\].app/Contents/MacOS/Emacs GNU gdb (GDB) 10.1 Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-apple-darwin19.6.0". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from Emacs.app-[feature-native-comp][2021-02-03][1f626e9][macOS-10.15][x86_64].app/Contents/MacOS/Emacs... (gdb) source ../sources/emacs-mirror-emacs-1f626e9/src/.gdbinit Warning: /Users/jschell/src_ext/build-emacs-for-macos/builds/../lwlib: No such file or directory. SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from terminal] DISPLAY = /private/tmp/com.apple.launchd.tuA6638B13/org.macosforge.xquartz:0 TERM = xterm-256color Breakpoint 1 at 0x100156df0: terminate_due_to_signal. (2 locations) (gdb) b wrong_type_argument Breakpoint 2 at 0x100222bc5: wrong_type_argument. (2 locations) (gdb) set startup-with-shell off (gdb) ignore 2 384 Will ignore next 384 crossings of breakpoint 2. (gdb) run -Q Starting program: /Users/jschell/src_ext/build-emacs-for-macos/builds/Emacs.app-[feature-native-comp][2021-02-03][1f626e9][macOS-10.15][x86_64].app/Contents/MacOS/Emacs -Q [New Thread 0x2603 of process 49252] [New Thread 0x2303 of process 49252] warning: unhandled dyld version (16) Thread 2 hit Breakpoint 2, wrong_type_argument (predicate=XIL(0x9), value=XIL(0x145813f50)) at data.c:143 143 xsignal2 (Qwrong_type_argument, predicate, value); (gdb) bt #0 wrong_type_argument (predicate=XIL(0x9), value=XIL(0x145813f50)) at data.c:143 #1 0x0000000100222b2e in dump_discard_mem (mem=0x14581345d, size=5461062744) at pdumper.c:4650 #2 0xfffffffffffffffe in ?? () #3 0x00000001463fd225 in ?? () #4 0x00007ffeefbfed10 in ?? () #5 0x000000010021f5a9 in HASH_VALUE (h=0x14581345d, idx=5461062744) at ./lisp.h:2380 #6 0x0000000145813458 in ?? () #7 0x000000014581345d in ?? () #8 0x00007ffeefbfed40 in ?? () #9 0x000000010021a271 in thaw_hash_tables () at pdumper.c:5671 Backtrace stopped: frame did not save the PC (gdb) c Continuing. [New Thread 0x1c03 of process 49252] [New Thread 0x1d03 of process 49252] [New Thread 0x1e03 of process 49252] [New Thread 0x1f03 of process 49252] [New Thread 0x2003 of process 49252] [New Thread 0x252b of process 49252] Thread 2 hit Breakpoint 2, 0x00000001003cb6a0 in ?? () (gdb) bt #0 0x00000001003cb6a0 in ?? () #1 0x00000001001ba3cd in Ffind_file_name_handler (filename=XIL(0), operation=make_fixnum(18049580734087168)) at fileio.c:304 #2 0x01007ffe00000002 in ?? () #3 0x0000000000000000 in ?? () [New Thread 0x2657 of process 49252] Lisp Backtrace: "native-compile-setup-environment-variables" (0xefbfa558) "apply" (0xefbfa808) "native--compile-async" (0xefbfaf50) "defalias" (0xefbfb150) "require" (0xefbfbb60) "byte-code" (0xefbfc340) "require" (0xefbfcd50) "byte-code" (0xefbfd470) "command-execute" (0xefbfdf20) "execute-extended-command" (0xefbfe2a0) "funcall-interactively" (0xefbfe298) "command-execute" (0xefbfecd0) (gdb) c Continuing. [New Thread 0x210f of process 49252] ``` From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 09 16:24:00 2021 Received: (at 45701) by debbugs.gnu.org; 9 Feb 2021 21:24:00 +0000 Received: from localhost ([127.0.0.1]:54876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9aUJ-0001aL-Q7 for submit@debbugs.gnu.org; Tue, 09 Feb 2021 16:24:00 -0500 Received: from mx.sdf.org ([205.166.94.24]:56375) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9aUG-0001aB-Uh for 45701@debbugs.gnu.org; Tue, 09 Feb 2021 16:23:58 -0500 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 119LNtrx019725 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Tue, 9 Feb 2021 21:23:56 GMT From: Andrea Corallo To: Justin Schell Subject: Re: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" References: Date: Tue, 09 Feb 2021 21:23:55 +0000 In-Reply-To: (Justin Schell's message of "Tue, 9 Feb 2021 13:10:13 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 45701 Cc: "Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 45701@debbugs.gnu.org, Jim Myhrberg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Justin Schell writes: >> I think we are likely to be interested only in the last occurence. You >> can ignore the breakpoint 769 times to see what's going on: >> >> (gdb) b wrong_type_argument >> Breakpoint 5 at 0x58a0a2: file data.c, line 143. >> (gdb) ignore 5 769 >> Will ignore next 769 crossings of breakpoint 5. >> (gdb) run > > I apparently double-counted before; it was actually only 385 > occurrences, but I was able to actually get it to break after > executing `M-x report-emacs-bug` this time. I can try to debug this > later, but I imagine you'll have an idea of what's going on this time. [...] > Thread 2 hit Breakpoint 2, wrong_type_argument (predicate=XIL(0x9), > value=XIL(0x145813f50)) at data.c:143 > 143 xsignal2 (Qwrong_type_argument, predicate, value); > (gdb) bt > #0 wrong_type_argument (predicate=XIL(0x9), value=XIL(0x145813f50)) > at data.c:143 > #1 0x0000000100222b2e in dump_discard_mem (mem=0x14581345d, > size=5461062744) at pdumper.c:4650 > #2 0xfffffffffffffffe in ?? () > #3 0x00000001463fd225 in ?? () > #4 0x00007ffeefbfed10 in ?? () > #5 0x000000010021f5a9 in HASH_VALUE (h=0x14581345d, idx=5461062744) > at ./lisp.h:2380 > #6 0x0000000145813458 in ?? () > #7 0x000000014581345d in ?? () > #8 0x00007ffeefbfed40 in ?? () > #9 0x000000010021a271 in thaw_hash_tables () at pdumper.c:5671 > Backtrace stopped: frame did not save the PC > (gdb) c > Continuing. > [New Thread 0x1c03 of process 49252] > [New Thread 0x1d03 of process 49252] > [New Thread 0x1e03 of process 49252] > [New Thread 0x1f03 of process 49252] > [New Thread 0x2003 of process 49252] > [New Thread 0x252b of process 49252] > > Thread 2 hit Breakpoint 2, 0x00000001003cb6a0 in ?? () > (gdb) bt > #0 0x00000001003cb6a0 in ?? () > #1 0x00000001001ba3cd in Ffind_file_name_handler (filename=XIL(0), > operation=make_fixnum(18049580734087168)) > at fileio.c:304 > #2 0x01007ffe00000002 in ?? () > #3 0x0000000000000000 in ?? () > [New Thread 0x2657 of process 49252] > > Lisp Backtrace: > "native-compile-setup-environment-variables" (0xefbfa558) Okay this is odd, in feature/native-comp we don't have a function called `native-compile-setup-environment-variables' so I guess this is coming from somewhere else, look like the problem is there. Do you know where this function is coming from? Andrea > "apply" (0xefbfa808) > "native--compile-async" (0xefbfaf50) > "defalias" (0xefbfb150) > "require" (0xefbfbb60) > "byte-code" (0xefbfc340) > "require" (0xefbfcd50) > "byte-code" (0xefbfd470) > "command-execute" (0xefbfdf20) > "execute-extended-command" (0xefbfe2a0) > "funcall-interactively" (0xefbfe298) > "command-execute" (0xefbfecd0) > (gdb) c > Continuing. > [New Thread 0x210f of process 49252] > ``` > -- akrl@sdf.org From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 09 16:34:30 2021 Received: (at submit) by debbugs.gnu.org; 9 Feb 2021 21:34:30 +0000 Received: from localhost ([127.0.0.1]:54904 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9aeU-0001rm-61 for submit@debbugs.gnu.org; Tue, 09 Feb 2021 16:34:30 -0500 Received: from lists.gnu.org ([209.51.188.17]:55342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9aeS-0001re-KR for submit@debbugs.gnu.org; Tue, 09 Feb 2021 16:34:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37048) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9aeS-0000Od-Cy for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 16:34:28 -0500 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]:44016) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l9aeP-0003yf-Kp for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 16:34:28 -0500 Received: by mail-lj1-x22b.google.com with SMTP id a22so53797ljp.10 for ; Tue, 09 Feb 2021 13:34:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DY2w1/Oos8hErYL4hNs/vBZjVEdtH10S97XO5yFu4J4=; b=um4+6sB23T5eCEAwF93xgQK7osyTjx9GY3Pu9tImx2L4MaOArcqxs3lKgTEXxwM6Ko rcHkv8KrxzBWZUVBhgklMPyCiSjZre8kt+3bTnotsig6Yrd9xNhCOVtTJtAGitXyyqh0 TvGk86g8osbX95fjVtLIUltP2sLmHdcLYv2GAywBzsAC1IjhzDoxwe+3EYnTsPDQt9mT ucVxfcsHqO5+3V2x7LPUZlDs3s5ZhI0Kd9ZMWy9WIILMGbErBycQO8SVYGlWG8yN4msn xcs5yxDGPiY+NbrhGAshx1wGXbKV9qoe9P7wyfKAL8WGT1jplBcVRnHxitTkDY6pN4Ox g3IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DY2w1/Oos8hErYL4hNs/vBZjVEdtH10S97XO5yFu4J4=; b=FAgRjms9jUYHdEtPShEH3bQyrKfeFaxa1G7l53FQa4iqA87iNH4n0GA0Nm69u578s0 a9potgTMLiIyx9aEN0dGltvciRd/pw8WoMwN/HD710fleKMt4lDXaQa0g4qznGV6/4K9 ImhAl1AU7gpdlBZLG9yt6F5e8oPw9XR+A+GZxG95/rIh61bJxwdzOh0UiNkFk0fIccwM KWoemXSeISK6DonGRlubgx9I5BfMHan5jBdEmpYbZyyzsAVN+ETHHyUoMETTj+gw84A7 XnL+AjfDjUvgX/57lK1SG8tiASWjzrgmGZtsF+sbAsAKAkrPODzNoZO8LRn9BRxPlH4z /TEA== X-Gm-Message-State: AOAM532e1C+N3sBFxJiBrPyL2D/RfV5Gi9sdx7a7bbZpxOHW5WTSlRxP 5Xj7YLaqecjtnmDSCUsXYFwNgRVJRGnx2lMGw2I= X-Google-Smtp-Source: ABdhPJz8eA2qzkpKvkIg/W3r6rg3iH/DMzqj2dtHKwFlnLgxOXBrDqf0/nNQ3g6BzVV0dP83OHPeskJwMZUXE9aB2Kk= X-Received: by 2002:a2e:980a:: with SMTP id a10mr15709767ljj.280.1612906463653; Tue, 09 Feb 2021 13:34:23 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Justin Schell Date: Tue, 9 Feb 2021 13:33:57 -0800 Message-ID: Subject: Re: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::22b; envelope-from=justinmschell@gmail.com; helo=mail-lj1-x22b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: "Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 45701@debbugs.gnu.org, Jim Myhrberg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > > Thread 2 hit Breakpoint 2, wrong_type_argument (predicate=XIL(0x9), > > value=XIL(0x145813f50)) at data.c:143 > > 143 xsignal2 (Qwrong_type_argument, predicate, value); > > (gdb) bt > > #0 wrong_type_argument (predicate=XIL(0x9), value=XIL(0x145813f50)) > > at data.c:143 > > #1 0x0000000100222b2e in dump_discard_mem (mem=0x14581345d, > > size=5461062744) at pdumper.c:4650 > > #2 0xfffffffffffffffe in ?? () > > #3 0x00000001463fd225 in ?? () > > #4 0x00007ffeefbfed10 in ?? () > > #5 0x000000010021f5a9 in HASH_VALUE (h=0x14581345d, idx=5461062744) > > at ./lisp.h:2380 > > #6 0x0000000145813458 in ?? () > > #7 0x000000014581345d in ?? () > > #8 0x00007ffeefbfed40 in ?? () > > #9 0x000000010021a271 in thaw_hash_tables () at pdumper.c:5671 > > Backtrace stopped: frame did not save the PC > > (gdb) c > > Continuing. > > [New Thread 0x1c03 of process 49252] > > [New Thread 0x1d03 of process 49252] > > [New Thread 0x1e03 of process 49252] > > [New Thread 0x1f03 of process 49252] > > [New Thread 0x2003 of process 49252] > > [New Thread 0x252b of process 49252] > > > > Thread 2 hit Breakpoint 2, 0x00000001003cb6a0 in ?? () > > (gdb) bt > > #0 0x00000001003cb6a0 in ?? () > > #1 0x00000001001ba3cd in Ffind_file_name_handler (filename=XIL(0), > > operation=make_fixnum(18049580734087168)) > > at fileio.c:304 > > #2 0x01007ffe00000002 in ?? () > > #3 0x0000000000000000 in ?? () > > [New Thread 0x2657 of process 49252] > > > > Lisp Backtrace: > > "native-compile-setup-environment-variables" (0xefbfa558) > > Okay this is odd, in feature/native-comp we don't have a function called > `native-compile-setup-environment-variables' so I guess this is coming > from somewhere else, look like the problem is there. > > Do you know where this function is coming from? Yeah, looks like it's patched in by build-emacs-for-macos: https://github.com/jimeh/build-emacs-for-macos/blob/master/patches/native-comp-env-setup.patch#L10 Jim, if you're still following this thread, would you be able to take a look? Justin From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 09 22:19:06 2021 Received: (at submit) by debbugs.gnu.org; 10 Feb 2021 03:19:06 +0000 Received: from localhost ([127.0.0.1]:55266 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9g1x-0005r8-Jk for submit@debbugs.gnu.org; Tue, 09 Feb 2021 22:19:05 -0500 Received: from lists.gnu.org ([209.51.188.17]:55504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9g1q-0005qS-Of for submit@debbugs.gnu.org; Tue, 09 Feb 2021 22:19:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47444) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9g1q-0001ot-Ge for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 22:18:58 -0500 Received: from mail-oi1-x22d.google.com ([2607:f8b0:4864:20::22d]:44564) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l9g1o-000840-Ip for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 22:18:58 -0500 Received: by mail-oi1-x22d.google.com with SMTP id r75so502410oie.11 for ; Tue, 09 Feb 2021 19:18:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jimeh.me; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mkponjx3f8nTxB9NXQJtpOfhsZ8tKmcpw6QnHX296o8=; b=bu25d9Cf/0q13B/niGfwjxJg9VNddUzCXJqryemFjAJ1ZXjqqHfoIH8RRSMtWB4RkH J+tiiG76omiN/KQXJWKItxhor0rC7ez8Kr3e5CHAH9+smL0ezFUdL6rf4sXEyCFkunSF jCiMIVz9iysBqRQG89AfKc0OzxHIeeuhnbMWZgBZyxPpPB/r3SEzEJUsoectWpNTmeJy WvpN2M6NCCxoD1kAN+VZqz5Bx0ofB2/GFHwpWbb2t5xhu4OognL32Rs3JHLbJleOLcpQ qTGXXiWe5LIfiLT205eKTqKcivnJXj1nUvoPdHJ++ek6qZxlXppbgoIQaHhS8CtjNQuz jcLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mkponjx3f8nTxB9NXQJtpOfhsZ8tKmcpw6QnHX296o8=; b=PEJGabglID6kOFqQGUUWEukuXqHB2JncxUfsNcmHklaknWDw3dUSZVx7eU+G7jCV8d goIIdVSRiCfqcJo18YPSZZFZRiHAKc7jWmQ56T2kchntOhK18tumL0Du1BVhFeL7FTXh Qq1Km/8UIrqjh1syTNn0tjZKXBfuJ3e0J+RyP974o2IvmYtPfcaC5JQLadYW0OXnJr2s 9SVXyhaqrQENtu9qxEeZu79BLQHz842MM4lZCZibD2/ikejGxfMgM4ZqNay3yWSB4vOJ MpUXCHDtJ1PtnWwf/yhJbqBPHMFDNERF3e0HIZGKsQTCriOYWHsa9k9eV8Etv+6wWSDC 30UA== X-Gm-Message-State: AOAM531xhbNWk9/qGzkF5uqTa6LD6Uu1U7kP8F1JWJA/2Pr2NNrx0MYw FidYy88CRteOb16overw80/ISgypzl6vSey56ZVjsA== X-Google-Smtp-Source: ABdhPJzY+M8XWtXjq8j16NAZ/UzXZAALIpxKruyNr0UMvoGUI08eJNK3LZBqn3EIxK30JEearZv0ITXdK9+s64Ni53E= X-Received: by 2002:aca:d405:: with SMTP id l5mr714565oig.100.1612927134700; Tue, 09 Feb 2021 19:18:54 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Jim Myhrberg Date: Wed, 10 Feb 2021 03:18:43 +0000 Message-ID: Subject: Re: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" To: Justin Schell Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::22d; envelope-from=contact@jimeh.me; helo=mail-oi1-x22d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: "Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 45701@debbugs.gnu.org, Andrea Corallo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) The TL;DR for the patch; It is essentially a horrible and hacky first draft I threw together to set the LIBRARY_PATH environment variable to point at the GCC directories that my build script copies into the macOS "Emacs.app" bundle to make it fully self-contained. The LIBRARY_PATH environment variable needs to be set to point at the "embedded" GCC directories before any native compilation starts, which is currently done through the horrible advice-add/remove stuff. Justin, I've not had any reports of similar issues to yours, but I have just managed to reproduce the error by breaking my Emacs.app bundle in a very specific way. What folders do you have under "Emacs.app/Contents/MacOS/lib/gcc" in your app bundle? There's supposed to be a folder called "10". I reproduced the issue by renaming my "10" folder so it no longer matches regexp "^[0-9]+$". If you have something else, it's time to debug how that happened and where my build script went wrong. Either way this seems to fall pretty much into my area, so I've created a GitHub issue to track improvements to the patch, and I'm happy to continue discussions there: https://github.com/jimeh/build-emacs-for-macos/issues/29 Andrea, I've actually been meaning to ask you for months if you might be able suggest a better approach for the patch, and I'd greatly appreciate any time you can spare :) And finally, I'm sorry for all the headache which was most likely caused by my hacky patch :( On Tue, Feb 9, 2021 at 9:34 PM Justin Schell wrote: > > > > Thread 2 hit Breakpoint 2, wrong_type_argument (predicate=XIL(0x9), > > > value=XIL(0x145813f50)) at data.c:143 > > > 143 xsignal2 (Qwrong_type_argument, predicate, value); > > > (gdb) bt > > > #0 wrong_type_argument (predicate=XIL(0x9), value=XIL(0x145813f50)) > > > at data.c:143 > > > #1 0x0000000100222b2e in dump_discard_mem (mem=0x14581345d, > > > size=5461062744) at pdumper.c:4650 > > > #2 0xfffffffffffffffe in ?? () > > > #3 0x00000001463fd225 in ?? () > > > #4 0x00007ffeefbfed10 in ?? () > > > #5 0x000000010021f5a9 in HASH_VALUE (h=0x14581345d, idx=5461062744) > > > at ./lisp.h:2380 > > > #6 0x0000000145813458 in ?? () > > > #7 0x000000014581345d in ?? () > > > #8 0x00007ffeefbfed40 in ?? () > > > #9 0x000000010021a271 in thaw_hash_tables () at pdumper.c:5671 > > > Backtrace stopped: frame did not save the PC > > > (gdb) c > > > Continuing. > > > [New Thread 0x1c03 of process 49252] > > > [New Thread 0x1d03 of process 49252] > > > [New Thread 0x1e03 of process 49252] > > > [New Thread 0x1f03 of process 49252] > > > [New Thread 0x2003 of process 49252] > > > [New Thread 0x252b of process 49252] > > > > > > Thread 2 hit Breakpoint 2, 0x00000001003cb6a0 in ?? () > > > (gdb) bt > > > #0 0x00000001003cb6a0 in ?? () > > > #1 0x00000001001ba3cd in Ffind_file_name_handler (filename=XIL(0), > > > operation=make_fixnum(18049580734087168)) > > > at fileio.c:304 > > > #2 0x01007ffe00000002 in ?? () > > > #3 0x0000000000000000 in ?? () > > > [New Thread 0x2657 of process 49252] > > > > > > Lisp Backtrace: > > > "native-compile-setup-environment-variables" (0xefbfa558) > > > > Okay this is odd, in feature/native-comp we don't have a function called > > `native-compile-setup-environment-variables' so I guess this is coming > > from somewhere else, look like the problem is there. > > > > Do you know where this function is coming from? > > Yeah, looks like it's patched in by build-emacs-for-macos: > https://github.com/jimeh/build-emacs-for-macos/blob/master/patches/native-comp-env-setup.patch#L10 > > Jim, if you're still following this thread, would you be able to take a look? > > Justin From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 09 23:40:45 2021 Received: (at submit) by debbugs.gnu.org; 10 Feb 2021 04:40:45 +0000 Received: from localhost ([127.0.0.1]:55299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9hIz-0007lm-7v for submit@debbugs.gnu.org; Tue, 09 Feb 2021 23:40:45 -0500 Received: from lists.gnu.org ([209.51.188.17]:44930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9hIu-0007lU-CD for submit@debbugs.gnu.org; Tue, 09 Feb 2021 23:40:42 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59012) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9hIt-00047s-MG for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 23:40:39 -0500 Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]:33102) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l9hIp-0001ZG-HK for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 23:40:39 -0500 Received: by mail-lj1-x231.google.com with SMTP id a25so1161936ljn.0 for ; Tue, 09 Feb 2021 20:40:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qt419bOBYb6lSsy3baPRMH9uEJorXJWSz0kgodddCCw=; b=LZyuYvb7sJS6DZgpGUc0IscCsDyqFy3OkZDDhwWvdHMI4qZDT2kPIbxq2ZR7Fq1r4Q 53bWrCZojtBSw7WLg3NCCTVl86E9YQvTkj28TbD49ndVZSlsuLxEN1h5ICjtWBm1ha4f 9VjohAe0QUE5HB1qB2K3Oq8fBHbnuib1z1hfJVZXkeAtYUYoNPwzLYFJvrZGZbKHgmri rjYNlMQPLr2FypRNJmbWQyMTprNAopSL3FhsaK5v3CSd3rIUc/KGI2Kws8hArxHT5Tx/ 9BQmHbT/EeSk5Lna7tSiFGONYnEhBg4Rub8O7Mxsdk8SbKEga1pyfF4TEcA78DigRBtX o+7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qt419bOBYb6lSsy3baPRMH9uEJorXJWSz0kgodddCCw=; b=q73C2a60X9jNjTqhklEPZUWUQkZpC6Df7poJw/qp3NZh90T7fbch5oVDIUVOVG5qmd 06GnTZG0wz9P5aEClrIk/WaKrmoCQ3IQMkXJsk8UyrCvn8NNrqNtKSyotoa9b6GsN4Wd hEKfhabfiCPzQ6Aqszg8aKTLIDnDDJM9DyDQI3FRPJouY7PomB1i8url3NCD9LqdXjVI eI+zDvpCQHQi2PxojQQZ6nczXtlLw7yaenjwiu6o6xO4JZYY+2mKly+n4Yh5onCHWCM8 qcQNjhfSh+aqaZP0r0AWSpbiV2RgoxIRKJ3hbo1+oUo0sKe3YLYIcHjNylaL04Lqg5ti qcRw== X-Gm-Message-State: AOAM5313KQqk80xs+aZEOBDbf648AeXfzDroSm9Zy0mY8gDDI5bizBVl q1SbWExvjj1nyNDLv4a3D60kIob6rrCxWsjuu7g= X-Google-Smtp-Source: ABdhPJwsbaj/+D9JXAmsQeV9hfhAiiIx+vHanGbmSAQxhGQzlJjZVlNA+LX3SNEuXqTXFTZXJUjASB58nP+8XGPX37c= X-Received: by 2002:a05:651c:30b:: with SMTP id a11mr746113ljp.113.1612932032904; Tue, 09 Feb 2021 20:40:32 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Justin Schell Date: Tue, 9 Feb 2021 20:40:06 -0800 Message-ID: Subject: Re: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" To: Jim Myhrberg Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::231; envelope-from=justinmschell@gmail.com; helo=mail-lj1-x231.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: "Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 45701@debbugs.gnu.org, Andrea Corallo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > Justin, I've not had any reports of similar issues to yours, but I > have just managed to reproduce the error by breaking my Emacs.app > bundle in a very specific way. What folders do you have under > "Emacs.app/Contents/MacOS/lib/gcc" in your app bundle? There's > supposed to be a folder called "10". I reproduced the issue by > renaming my "10" folder so it no longer matches regexp "^[0-9]+$". If > you have something else, it's time to debug how that happened and > where my build script went wrong. Jim, I do have a `Emacs.app/Contents/MacOS/lib/gcc/10` directory. However, I seem to have found the issue. Since I had been doing builds from several different branches and commits, I had been naming the base-dir of the Emacs.app in concert with the name of the build tarball that `build-emacs-for-macos` produces to keep track of which was which. E.g., 'Emacs.app-[feature-native-comp][2021-02-03][1f626e9][macOS-10.15][x86_64].app'. If I rename that to just 'Emacs.app', I can no longer reproduce the `M-x report-emacs-bug` "Wrong type argument: stringp, nil" error. Thus, somewhere the `native-compile-setup-environment-variables` patch code doesn't seem to handle that sort of invocation-dir name. I don't have time to debug exactly where right now, but let me know if you need anything else. Glad that it seems that we've found the root issue (at least approximately). Thanks for the help, all. Justin From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 10 04:09:53 2021 Received: (at 45701-done) by debbugs.gnu.org; 10 Feb 2021 09:09:53 +0000 Received: from localhost ([127.0.0.1]:55434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9lVQ-0007zu-Qc for submit@debbugs.gnu.org; Wed, 10 Feb 2021 04:09:53 -0500 Received: from mx.sdf.org ([205.166.94.24]:58372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9lVO-0007zl-3O for 45701-done@debbugs.gnu.org; Wed, 10 Feb 2021 04:09:51 -0500 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 11A99mv1003697 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Wed, 10 Feb 2021 09:09:49 GMT From: Andrea Corallo To: Jim Myhrberg Subject: Re: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" References: Date: Wed, 10 Feb 2021 09:09:48 +0000 In-Reply-To: (Jim Myhrberg's message of "Wed, 10 Feb 2021 03:18:43 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 45701-done Cc: "Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors" , Justin Schell , 45701-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Jim Myhrberg writes: > The TL;DR for the patch; It is essentially a horrible and hacky first > draft I threw together to set the LIBRARY_PATH environment variable to > point at the GCC directories that my build script copies into the > macOS "Emacs.app" bundle to make it fully self-contained. The > LIBRARY_PATH environment variable needs to be set to point at the > "embedded" GCC directories before any native compilation starts, which > is currently done through the horrible advice-add/remove stuff. > > Justin, I've not had any reports of similar issues to yours, but I > have just managed to reproduce the error by breaking my Emacs.app > bundle in a very specific way. What folders do you have under > "Emacs.app/Contents/MacOS/lib/gcc" in your app bundle? There's > supposed to be a folder called "10". I reproduced the issue by > renaming my "10" folder so it no longer matches regexp "^[0-9]+$". If > you have something else, it's time to debug how that happened and > where my build script went wrong. > > Either way this seems to fall pretty much into my area, so I've > created a GitHub issue to track improvements to the patch, and I'm > happy to continue discussions there: > https://github.com/jimeh/build-emacs-for-macos/issues/29 > > Andrea, I've actually been meaning to ask you for months if you might > be able suggest a better approach for the patch, and I'd greatly > appreciate any time you can spare :) Hi Jim, sure I'll try to have a look and come with a comment on that. As there's a specific issue on the correct repo I'm closing this. Thanks Andrea From unknown Mon Jun 23 02:22:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 10 Mar 2021 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator