all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Sigve Indregard <sigve.indregard@pm.me>
Cc: 71744@debbugs.gnu.org
Subject: bug#71744: 29.4; SIGSEGV during completion-at-point in lsp-mode with corfu and cape
Date: Wed, 14 Aug 2024 16:57:04 +0300	[thread overview]
Message-ID: <86mslf8axb.fsf@gnu.org> (raw)
In-Reply-To: <vg_LwJgMLRxmmvWDzEi5jju4NCWBzOOaYb3lgnkHu-hUlD_C3YtjdDis6jGriB3HPruYNQ0MgT8OoQ1jH_mzUhAxr9Yb1zkAlu9wvpb-D8I=@pm.me> (bug-gnu-emacs@gnu.org)

> Date: Wed, 14 Aug 2024 13:22:18 +0000
> From:  Sigve Indregard via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> I experience the exact same bug, in that the backtrace looks identical.
> 
> Similar to the original reporter, it occurs while completing symbols for Rust, and my setup also involves Corfu. It does not happen on every complete, but usually within 10 minutes of development.
> 
> But some differences are probably important: my setup is with eglot, not lsp-mode, and I do not use Cape.
> 
> Maybe it is relevant that the trace ending with the failing Fget starts with jsonrpc. Is there a way to monitor the exact communication emacs has with the language server?
> 
> * Backtrace (snippet):
> 
> Thread 1 (Thread 0x7ffff2837080 (LWP 150113) "emacs"):
> #0  Fget (symbol=0x5555564e3dc0, propname=0x66f0) at /usr/src/debug/emacs/emacs-29.4-wayland/src/lisp.h:1152
>         propval = <optimized out>
>         propval = <optimized out>
> #1  Fget (symbol=0x5555564e3dc0, propname=0x66f0) at /usr/src/debug/emacs/emacs-29.4-wayland/src/fns.c:2516
>         propval = <optimized out>
> #2  0x0000555555681201 in parse_modifiers (symbol=0x5555564e3dc0) at /usr/src/debug/emacs/emacs-29.4-wayland/src/keyboard.c:6897
>         elements = <optimized out>
>         elements = <optimized out>
>         end = <optimized out>
>         modifiers = <optimized out>
>         unmodified = <optimized out>
>         mask = <optimized out>
> #3  parse_modifiers (symbol=0x5555564e3dc0) at /usr/src/debug/emacs/emacs-29.4-wayland/src/keyboard.c:6888
                       ^^^^^^^^^^^^^^^^^^^^^
Please show what is this symbol.  Something like this:

  (gdb) source /path/to/emacs/src/.gdbinit
  (gdb) p symbol
  (gdb) xsymbol

Also, what is the value of globals.f_Voverriding_plist_environment?





  reply	other threads:[~2024-08-14 13:57 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-23 21:16 bug#71744: 29.4; SIGSEGV during completion-at-point in lsp-mode with corfu and cape Matthew Rothlisberger
2024-06-24 12:28 ` Eli Zaretskii
2024-06-26 23:27   ` Matthew Rothlisberger
2024-06-27 10:05     ` Eli Zaretskii
2024-08-14 13:22 ` Sigve Indregard via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-14 13:57   ` Eli Zaretskii [this message]
2024-08-14 15:40     ` Sigve Indregard via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-14 16:03       ` Eli Zaretskii
2024-08-14 16:22         ` Eli Zaretskii
2024-08-14 16:37           ` Sigve Indregard via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-14 17:03           ` Pip Cet via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-15  9:07           ` Pip Cet via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-16 15:08             ` Pip Cet via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-17  4:37               ` Paul Eggert
2024-08-17  6:14                 ` Eli Zaretskii
2024-08-17 18:23                   ` Paul Eggert
2024-08-17  7:46                 ` Pip Cet via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-17 18:27                   ` Paul Eggert

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

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

  git send-email \
    --in-reply-to=86mslf8axb.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=71744@debbugs.gnu.org \
    --cc=sigve.indregard@pm.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.