From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sigve Indregard via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#71744: 29.4; SIGSEGV during completion-at-point in lsp-mode with corfu and cape Date: Wed, 14 Aug 2024 13:22:18 +0000 Message-ID: References: Reply-To: Sigve Indregard Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="------630a5b3cd450405302de499dd418aafd63daab2eb8d878767dd5a295a5b07456"; charset=utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22588"; mail-complaints-to="usenet@ciao.gmane.io" To: "71744@debbugs.gnu.org" <71744@debbugs.gnu.org> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 14 15:37:56 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1seECJ-0005h8-Lr for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Aug 2024 15:37:55 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1seEBt-0005yP-5u; Wed, 14 Aug 2024 09:37:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1seEBr-0005xy-9Q for bug-gnu-emacs@gnu.org; Wed, 14 Aug 2024 09:37:27 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1seEBr-00043J-0N for bug-gnu-emacs@gnu.org; Wed, 14 Aug 2024 09:37:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:From:Date:To:In-Reply-To:References:Subject; bh=LQSocNl/d+9S5D5bV24zA1cxIfEZ8oZoC8pS+uj9XJk=; b=XqCmXsOI0H91wz1gYRsdIU2f/aP80hSrudyq50PMxfrCouSai4YluX7fzCbR68zLlI4Sq23WyyYHO39gS+ZuQB6f2oUxix32JDICnBtcQOiXFErhbQN15MQJzfcTz3DiwxLb66k33pevWyMdQ8h5x2kutdvv5C3UibbxcXeBh13o4JRpH7w2u2+693IfckFCU3UPRvXugfcAS18GhwYMyOz8Fx9eXIGMGZnBkinsMyQ1zUwgRjobmQZcPJqraXuiSzGDPamSQ1aMcypt6k70w9r1ig+vuvLvMRM0W6AYjdGBVLKwF3V3XiiXhWJUmYiO63kSQJLfhKAEEmZHmgWWvg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1seECP-0004mx-Oa for bug-gnu-emacs@gnu.org; Wed, 14 Aug 2024 09:38:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Sigve Indregard Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Aug 2024 13:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71744 X-GNU-PR-Package: emacs Original-Received: via spool by 71744-submit@debbugs.gnu.org id=B71744.172364262318326 (code B ref 71744); Wed, 14 Aug 2024 13:38:01 +0000 Original-Received: (at 71744) by debbugs.gnu.org; 14 Aug 2024 13:37:03 +0000 Original-Received: from localhost ([127.0.0.1]:46521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1seEBS-0004lW-85 for submit@debbugs.gnu.org; Wed, 14 Aug 2024 09:37:03 -0400 Original-Received: from mail-40133.protonmail.ch ([185.70.40.133]:12845) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1seDxy-00047H-Dd for 71744@debbugs.gnu.org; Wed, 14 Aug 2024 09:23:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1723641743; x=1723900943; bh=LQSocNl/d+9S5D5bV24zA1cxIfEZ8oZoC8pS+uj9XJk=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=ZZIGqxfL7xNzYoVBvsNhL1/bRiKo270mD32z+kwRajcR0yb6WJQt5+LJXDF4RiXnR nBiWnkldDVx4ntCEJGBAP6WzrR0e/2d7jyD1AjLESNV6ZKOE6j9Sf3EJlHmoFT6PBE lxLAMq4f7cnutvzBDLS1s2TVy9Gs6MRbEmyw4Euq75K9pWLdwWTRJcCo2150FkHsNC h5hZoBraH7cZsZeYDQBqYjMEpbvln9a9VQ47s7DiWKh3UI+WjhkxTMWiSaaJLHM34A 9ynaZYQvQiRmMFBCIK3kbaHD1aIk5sq1exEQFqNf6WOVbktDRlO8B2tmC7d6+nBm+u fmkxAdDhapV2Q== Feedback-ID: 15346475:user:proton X-Pm-Message-ID: c959856f4bdf25d1c66e5bc652a775c225567da8 X-Mailman-Approved-At: Wed, 14 Aug 2024 09:37:01 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:290141 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------630a5b3cd450405302de499dd418aafd63daab2eb8d878767dd5a295a5b07456 Content-Type: multipart/mixed;boundary=---------------------4ea2511f27fcef57bee521c6cbd1b72b -----------------------4ea2511f27fcef57bee521c6cbd1b72b Content-Transfer-Encoding: quoted-printable Content-Type: text/plain;charset=utf-8 I experience the exact same bug, in that the backtrace looks identical. Similar to the original reporter, it occurs while completing symbols for R= ust, and my setup also involves Corfu. It does not happen on every complet= e, but usually within 10 minutes of development. But some differences are probably important: my setup is with eglot, not l= sp-mode, and I do not use Cape. Maybe it is relevant that the trace ending with the failing Fget starts wi= th jsonrpc. Is there a way to monitor the exact communication emacs has wi= th the language server? * Backtrace (snippet): Thread 1 (Thread 0x7ffff2837080 (LWP 150113) "emacs"): #0 Fget (symbol=3D0x5555564e3dc0, propname=3D0x66f0) at /usr/src/debug/em= acs/emacs-29.4-wayland/src/lisp.h:1152 propval =3D propval =3D #1 Fget (symbol=3D0x5555564e3dc0, propname=3D0x66f0) at /usr/src/debug/em= acs/emacs-29.4-wayland/src/fns.c:2516 propval =3D #2 0x0000555555681201 in parse_modifiers (symbol=3D0x5555564e3dc0) at /us= r/src/debug/emacs/emacs-29.4-wayland/src/keyboard.c:6897 elements =3D elements =3D end =3D modifiers =3D unmodified =3D mask =3D #3 parse_modifiers (symbol=3D0x5555564e3dc0) at /usr/src/debug/emacs/emac= s-29.4-wayland/src/keyboard.c:6888 elements =3D end =3D modifiers =3D unmodified =3D mask =3D #4 0x000055555568e7c8 in reorder_modifiers (symbol=3D) at = /usr/src/debug/emacs/emacs-29.4-wayland/src/keyboard.c:7028 parsed =3D parsed =3D #5 access_keymap_1 (map=3D0x7fffefe131b3, idx=3D, t_ok=3Df= alse, noinherit=3Dfalse, autoload=3Dtrue) at /usr/src/debug/emacs/emacs-29= .4-wayland/src/keymap.c:342 No locals. #6 0x000055555567d16b in access_keymap (noinherit=3Dfalse, autoload=3Dtru= e, map=3D, idx=3D, t_ok=3Dfalse) at /usr/src= /debug/emacs/emacs-29.4-wayland/src/keymap.c:496 val =3D val =3D #7 read_char (commandflag=3D0, map=3D0x0, prev_event=3D0x0, used_mouse_me= nu=3D0x0, end_time=3D0x7fffffffb5b0) at /usr/src/debug/emacs/emacs-29.4-wa= yland/src/keyboard.c:3018 c =3D local_getcjmp =3D {{__jmpbuf =3D {93825000405056, -514732466174953= 7557, 1, 4611686019484352512, 5, 0, -5147324661946669845, -131383469637817= 8325}, __mask_was_saved =3D 0, __saved_mask =3D {__val =3D {0, 93825010269= 488, 93825104789632, 140737488335792, 18446744073709550936, 11, 9382510478= 9616, 140737488335856, 140737279378894, 140737488335856, 140737488335920, = 0, 140737488335920, 0, 93825010269488, 140737488336000}}}} save_jump =3D {{__jmpbuf =3D {12048, 140737188459256, 140737488335= 856, 93825095637120, 16, -7692597586030666240, 48, 1}, __mask_was_saved =3D= 1453957408, __saved_mask =3D {__val =3D {140737488335776, 2, 14073748833= 5824, 140737488335760, 140737321006214, 1, 140737321006651, 14319535557742= 690304, 6, 140737488335696, 140737279373914, 93825000331312, 0, 1, 1, 9382= 3560581122}}}} tem =3D save =3D 0x0 previous_echo_area_message =3D 0x0 also_record =3D 0x0 reread =3D false recorded =3D false polling_stopped_here =3D false orig_kboard =3D 0x5555564e3dc0 retry =3D jmpcount =3D #8 0x0000555555742662 in read_filtered_event (no_switch_frame=3Dfalse, as= cii_required=3Dfalse, error_nonascii=3Dfalse, input_method=3D, seconds=3D0x7a) at /usr/src/debug/emacs/emacs-29.4-wayland/src/lread.c= :702 val =3D delayed_switch_frame =3D end_time =3D {tv_sec =3D 1723636772, tv_nsec =3D 958651372} retry =3D #9 0x00007fffef3c3337 in F7369742d666f72_sit_for_0 () from /usr/bin/../li= b/emacs/29.4/native-lisp/29.4-ebb0abfe/preloaded/subr-13adf6a6-bfb9f448.el= n No symbol table info available. #10 0x000055555571364d in Ffuncall (nargs=3D2, args=3D0x7fffffffb718) at /= usr/src/debug/emacs/emacs-29.4-wayland/src/eval.c:2999 count =3D val =3D #11 0x00007fffce347844 in F6a736f6e7270632d72657175657374_jsonrpc_request_= 0 () from /usr/lib/emacs/29.4/native-lisp/29.4-ebb0abfe/jsonrpc-e62a9c36-6= 2ae7160.eln No symbol table info available. -- Sigve Indregard -----------------------4ea2511f27fcef57bee521c6cbd1b72b-- --------630a5b3cd450405302de499dd418aafd63daab2eb8d878767dd5a295a5b07456 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYKACcFgma8r3AJkGOH0mCP/OA8FiEEsnytF8HYUdIYnvcnY4fSYI/8 4DwAAG80AQDt9liYql+wVmgWc9kE709wR56MCW7eCaGx+zZ0JvoCIwD/db1k 2IgWUDhRUVgYlS47Wh3/UEoxza3En1qd84dQcw8= =K8dQ -----END PGP SIGNATURE----- --------630a5b3cd450405302de499dd418aafd63daab2eb8d878767dd5a295a5b07456--