unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Justin Schell <justinmschell@gmail.com>
To: Andrea Corallo <akrl@sdf.org>
Cc: 45701@debbugs.gnu.org, contact@jimeh.me
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	[thread overview]
Message-ID: <CAPDfab4eObz__EKYBWo-XMQLqZnKCfUNk_ZyQN7zxysUkHndTQ@mail.gmail.com> (raw)
In-Reply-To: <xjfh7mlx98g.fsf@sdf.org>

> 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 <http://gnu.org/licenses/gpl.html>
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:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

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]
```





  reply	other threads:[~2021-02-09 21:10 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-06 19:16 bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil" Justin Schell
2021-01-06 19:28 ` Eli Zaretskii
2021-01-06 20:21 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-01-06 20:46   ` Justin Schell
2021-01-06 20:48   ` Jim Myhrberg
2021-01-06 23:54     ` Jim Myhrberg
2021-01-07  0:45       ` Justin Schell
2021-01-07 22:45         ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-01-08  0:20           ` Justin Schell
2021-01-08 11:18             ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-01-08 14:47               ` Justin Schell
2021-01-08 15:37                 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-01 21:13                   ` akrl--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-01 21:51                     ` Justin Schell
2021-02-01 22:21                       ` akrl--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-01 23:10                         ` Justin Schell
2021-02-02  9:05                           ` akrl--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-03  1:30                             ` Justin Schell
2021-02-03 20:31                               ` akrl--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-03 20:36                                 ` Justin Schell
2021-02-08 20:49                                 ` Justin Schell
2021-02-08 20:57                                   ` Justin Schell
2021-02-09 20:43                                   ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-09 21:10                                     ` Justin Schell [this message]
2021-02-09 21:23                                       ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-09 21:33                                         ` Justin Schell
2021-02-10  3:18                                           ` Jim Myhrberg
2021-02-10  4:40                                             ` Justin Schell
2021-02-10  9:09                                             ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPDfab4eObz__EKYBWo-XMQLqZnKCfUNk_ZyQN7zxysUkHndTQ@mail.gmail.com \
    --to=justinmschell@gmail.com \
    --cc=45701@debbugs.gnu.org \
    --cc=akrl@sdf.org \
    --cc=contact@jimeh.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).