From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Justin Schell Newsgroups: gmane.emacs.bugs Subject: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" Date: Tue, 9 Feb 2021 13:10:13 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35269"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 45701@debbugs.gnu.org, contact@jimeh.me To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 09 22:11:16 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l9aHz-000945-IK for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Feb 2021 22:11:15 +0100 Original-Received: from localhost ([::1]:36394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9aHy-0007ZI-GD for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Feb 2021 16:11:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58298) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9aHo-0007Yt-CS for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 16:11:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43294) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l9aHm-0002dn-6C for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 16:11:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l9aHm-0001FR-2f for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 16:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Justin Schell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Feb 2021 21:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45701 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: "Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 45701@debbugs.gnu.org, Jim Myhrberg Original-Received: via spool by submit@debbugs.gnu.org id=B.16129050474770 (code B ref -1); Tue, 09 Feb 2021 21:11:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Feb 2021 21:10:47 +0000 Original-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 Original-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 Original-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 Original-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 Original-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) In-Reply-To: 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:199736 Archived-At: > 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] ```