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


Message #89 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Justin Schell <justinmschell <at> gmail.com>
To: Andrea Corallo <akrl <at> sdf.org>
Cc: "Andrea Corallo via Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>,
 45701 <at> debbugs.gnu.org, Jim Myhrberg <contact <at> jimeh.me>
Subject: Re: bug#45701: 28.0.50; [feature/native-comp] (33b8ce8) `M-x
 report-emacs-bug` error: "Wrong type argument: stringp, nil"
Date: Mon, 8 Feb 2021 12:49:01 -0800
> 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




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.