From: Eli Zaretskii <eliz@gnu.org>
To: Andrea Corallo <acorallo@gnu.org>
Cc: ravijdelia@gmail.com, 72025@debbugs.gnu.org
Subject: bug#72025: SEGFAULT when using corfu and lsp-mode with clangd
Date: Wed, 10 Jul 2024 14:57:23 +0300 [thread overview]
Message-ID: <868qy9o3x8.fsf@gnu.org> (raw)
In-Reply-To: <yp1frsheknp.fsf@fencepost.gnu.org> (message from Andrea Corallo on Wed, 10 Jul 2024 04:06:02 -0400)
> Cc: 72025@debbugs.gnu.org
> From: Andrea Corallo <acorallo@gnu.org>
> Date: Wed, 10 Jul 2024 04:06:02 -0400
>
> Ravi D'Elia <ravijdelia@gmail.com> writes:
>
> > At unpredictable times while editing c++ files, emacs will segfault.
> > I haven't been able to reproduce without lsp-mode, but with how
> > unpredictable this is I don't think that necessarily means much.
> > The problem exists with and without native compilation- this
> > report assumes without.
> >
> > STEPS TO REPRODUCE:
> > - Let '~/minimal' contain the attached init file
> > - Start emacs with 'emacs --init-directory ~/minimal'
> > - Open a c++ file
> > - Edit it, taking care to type quickly and go back to edit within
> > words. I can usually get a crash within 10 minutes, but I haven't
> > been able to iterate enough to figure out exactly what is
> > happening. It's always while typing though, I think in response
> > to a keydown.
> >
> > Attached is the init file I used to reproduce this, and the backtrace.
> > I had issues with the .gdbinit, which I will hopefully address when
> > I get back from vacation.
> >
>
> Hi Ravi,
>
> thanks for reporting, how did you produce the stack trace? I ask
> because without function names in it is not very useful.
>
> Here we have some information on how to process backtraces when Emacs
> crashes [1] and here [2] some info on how to run Emacs under gdb (and
> produce the backtrace there).
>
> Probably debugging Emacs under gdb would be the best option here.
I think he already ran Emacs from GDB, but his Emacs is stripped of
debugging symbols, so GDB couldn't display anything useful. So the
procedures you mention will not help. What _would_ help is rebuilding
Emacs with debug info, or downloading the debug info from the distro
where you got the Emacs binaries.
next prev parent reply other threads:[~2024-07-10 11:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-09 23:20 bug#72025: SEGFAULT when using corfu and lsp-mode with clangd Ravi D'Elia
2024-07-10 8:06 ` Andrea Corallo
2024-07-10 11:57 ` Eli Zaretskii [this message]
2024-07-10 14:07 ` Andrea Corallo
2024-07-10 14:37 ` Eli Zaretskii
2024-07-10 15:27 ` Ravi D'Elia
2024-07-11 0:18 ` Ravi D'Elia
2024-07-11 4:55 ` 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=868qy9o3x8.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=72025@debbugs.gnu.org \
--cc=acorallo@gnu.org \
--cc=ravijdelia@gmail.com \
/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).