GNU bug report logs - #45701
28.0.50; [feature/native-comp] (33b8ce8) `M-x report-emacs-bug` error: "Wrong type argument: stringp, nil"

Previous Next

Package: emacs;

Reported by: Justin Schell <justinmschell <at> gmail.com>

Date: Wed, 6 Jan 2021 19:26:01 UTC

Severity: normal

Found in version 28.0.50

Done: Andrea Corallo <akrl <at> sdf.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Justin Schell <justinmschell <at> gmail.com>
To: Andrea Corallo <akrl <at> sdf.org>
Cc: 45701 <at> debbugs.gnu.org, contact <at> 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:33:57 -0800
> > 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




This bug report was last modified 4 years and 105 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.