unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Sébastien Le Callonnec" <sebastien@weblogism.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: acm@muc.de, 48433@debbugs.gnu.org
Subject: bug#48433: 28.0.50; Emacs Core Dump when trying to visit file
Date: Sat, 15 May 2021 12:16:20 +0100	[thread overview]
Message-ID: <fe3fbf3d-315b-bca8-9920-5b607cce8aaf@weblogism.com> (raw)
In-Reply-To: <831ra8xotx.fsf@gnu.org>

Hi Eli,

On 15/05/2021 11:40, Eli Zaretskii wrote:
>> Cc: 48433@debbugs.gnu.org, acm@muc.de
>> From: Sébastien Le Callonnec <sebastien@weblogism.com>
>> Date: Sat, 15 May 2021 11:10:38 +0100
>>
>>> Thanks, but can you also provide a Lisp backtrace, by invoking
>>> "xbacktrace" from GDB?  That command is defined in src/.gdbinit.
>>>
>>
>> I am not having much luck there:
>>
>> (gdb) xbacktrace
>> 'backtrace_top' has unknown return type; cast the call to its declared
>> return type
> 
> How did you compile Emacs?  Please compile with -g3 on the compiler
> command line.


Ah, I was not using -g3, here it is:

```
(gdb) xbacktrace
"active-minibuffer-window" (0xffffa300)
"minibuffer-window-active-p" (0xffffa7a0)
"powerline-set-selected-window" (0xfffface0)
"run-hooks" (0xffffae48)
"read-from-minibuffer" (0xffffb318)
"ido-read-internal" (0xffffbe30)
"ido-file-internal" (0xffffc610)
"ido-find-file" (0xffffce40)
"funcall-interactively" (0xffffce38)
"call-interactively" (0xffffcfe0)
"command-execute" (0xffffd538)

```

(ok, seems to be triggered by powerline, that's why I could not create
that recipe...)

```
(gdb) bt full
#0  terminate_due_to_signal (sig=21845, backtrace_limit=1481635280) at
emacs.c:399
#1  0x000055555571c837 in emacs_abort () at sysdep.c:2282
#2  0x000055555573decb in Factive_minibuffer_window () at minibuf.c:231
        frames = XIL(0x1f1dad70d)
        frame = make_fixnum(23456248280808)
        f = 0x55555623e6a5
        innermost_MB = XIL(0)
#3  0x00005555557ba8eb in funcall_subr (subr=0x555555c6b7e0
<Sactive_minibuffer_window>, numargs=0, args=0x7fffffffa300) at eval.c:3109
        internal_argbuf = {XIL(0x8700010000), XIL(0),
XIL(0x555555ce3da0), XIL(0x109ebdb700), XIL(0x555555c6b7e0),
XIL(0x7fffffffa258), make_fixnum(23456248679553), XIL(0x1000000000)}
        internal_args = 0x7fffffffa300
#4  0x00005555557ba4b2 in Ffuncall (nargs=1, args=0x7fffffffa2f8) at
eval.c:3036
        fun = XIL(0x555555c6b7e5)
        original_fun = XIL(0x2aaa9c0cbee0)
        funcar = XIL(0x7fffffffa2d0)
        numargs = 0
        val = XIL(0x30)
        count = 52
```

>> This seems to isolate the issue to `read_minibuf_unwind`, which is part
>> of the changeset of the commit I bisected to.
> 
> That was clear before, what is not clear is _where_ in
> read_minibuf_unwind it happens, and why.  That's a very large
> function.
> 

Sorry if I was stating the obvious. (=


Regards,
Sébastien.







  reply	other threads:[~2021-05-15 11:16 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-15  8:39 bug#48433: 28.0.50; Emacs Core Dump when trying to visit file Sébastien Le Callonnec
2021-05-15  9:35 ` Eli Zaretskii
2021-05-15 10:10   ` Sébastien Le Callonnec
2021-05-15 10:40     ` Eli Zaretskii
2021-05-15 11:16       ` Sébastien Le Callonnec [this message]
2021-05-15 11:25         ` Eli Zaretskii
2021-05-15 12:06           ` Sébastien Le Callonnec
2021-05-15 12:18           ` Sébastien Le Callonnec
2021-05-15 12:33             ` Eli Zaretskii
2021-05-15 11:23       ` Sébastien Le Callonnec
2021-05-15 11:36         ` Eli Zaretskii
2021-05-15 11:44         ` Eli Zaretskii

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=fe3fbf3d-315b-bca8-9920-5b607cce8aaf@weblogism.com \
    --to=sebastien@weblogism.com \
    --cc=48433@debbugs.gnu.org \
    --cc=acm@muc.de \
    --cc=eliz@gnu.org \
    /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).