From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#71744: 29.4; SIGSEGV during completion-at-point in lsp-mode with corfu and cape Date: Thu, 27 Jun 2024 13:05:19 +0300 Message-ID: <867cea66qo.fsf@gnu.org> References: <86r0cmbk48.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14769"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71744@debbugs.gnu.org To: Matthew Rothlisberger Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 27 12:06:45 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 1sMm1c-0003ff-JR for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Jun 2024 12:06:44 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sMm0v-0001Zc-H8; Thu, 27 Jun 2024 06:06:01 -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 1sMm0t-0001M8-3h for bug-gnu-emacs@gnu.org; Thu, 27 Jun 2024 06:05:59 -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 1sMm0s-0004aq-P2 for bug-gnu-emacs@gnu.org; Thu, 27 Jun 2024 06:05:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sMm0v-0001QV-II for bug-gnu-emacs@gnu.org; Thu, 27 Jun 2024 06:06:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Jun 2024 10:06: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.17194827355448 (code B ref 71744); Thu, 27 Jun 2024 10:06:01 +0000 Original-Received: (at 71744) by debbugs.gnu.org; 27 Jun 2024 10:05:35 +0000 Original-Received: from localhost ([127.0.0.1]:41081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sMm0V-0001Pn-7z for submit@debbugs.gnu.org; Thu, 27 Jun 2024 06:05:35 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sMm0T-0001PZ-73 for 71744@debbugs.gnu.org; Thu, 27 Jun 2024 06:05:34 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sMm0K-0003g0-Ql; Thu, 27 Jun 2024 06:05:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=H3bape0HiNhqAJIogD3z9FnfICFghVIqdUJANS7crwc=; b=J//cm53A7Fft+u99Njiv lztBYSDVVo+T6VI2K/yiJLq5DSEkhN9rCeLZ9x/tQ95irSiPJ/IA4QzNOnY/Bvn502/4EzS3Oa3hv 71tSnP4+iA7zMeyMQ4fwAfSAM/CG2qWLyNY8YHeo/HMGrb+2gnrSCctKMPe79SJym/9q/rWewdWqo 8RzGCJWxsZOHNllccbmYBP90Rr6cKVo5HiAXlHeKROfrNnUmTKo/d+w2jA6zwbj2LIS7rVfEV0k7l uuxx8RxtIcxKgu+OCmKAOY0Tn4vth9TNrkCO4ua8AYWq2YcCLthUl5anaKw0hVhHzQz3xK2SgIaD/ 4x1GuihA6so8kQ==; In-Reply-To: (message from Matthew Rothlisberger on Wed, 26 Jun 2024 19:27:00 -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:288011 Archived-At: > From: Matthew Rothlisberger > Date: Wed, 26 Jun 2024 19:27:00 -0400 > Cc: 71744@debbugs.gnu.org > > Thanks for your reply. > > > On Mon, Jun 24, 2024 at 08:28  Eli Zaretskii wrote: > > Thanks, but we need a full GDB backtrace in order to investigate this, since your use case involves a lot of > moving parts that are not part of Emacs. > > Here's GDB output after triggering the crash: > > Thread 1 "emacs" received signal SIGSEGV, Segmentation fault. > Fget (symbol=XIL(0x555555f430d0), propname=XIL(0x6a20)) > at /usr/src/debug/emacs/emacs-29.4/src/lisp.h:1152 > 1152 return p; > (gdb) bt full > #0 Fget (symbol=XIL(0x555555f430d0), propname=XIL(0x6a20)) at > /usr/src/debug/emacs/emacs-29.4/src/lisp.h:1152 > propval = > propval = > #1 Fget (symbol=XIL(0x555555f430d0), propname=XIL(0x6a20)) at > /usr/src/debug/emacs/emacs-29.4/src/fns.c:2516 > propval = > #2 0x0000555555727621 in parse_modifiers (symbol=XIL(0x555555f430d0)) at > /usr/src/debug/emacs/emacs-29.4/src/keyboard.c:6897 > elements = > elements = > end = > modifiers = > unmodified = > mask = > #3 parse_modifiers (symbol=XIL(0x555555f430d0)) at > /usr/src/debug/emacs/emacs-29.4/src/keyboard.c:6888 > elements = > end = > modifiers = > unmodified = > mask = > #4 0x00005555557377b8 in reorder_modifiers (symbol=) at > /usr/src/debug/emacs/emacs-29.4/src/keyboard.c:7028 > parsed = > parsed = Thanks. I don't see any obvious reasons for the crash, sorry, not with so many variables "optimized out". I do notice that your build was done with many non-default compilation and link switches, so maybe one of them causes this in some way. Perhaps try reproducing this in an unoptimized build, maybe this will give us more information regarding where and why this happens. You mentioned earlier this doesn't happen in Emacs 31, does it mean the master branch of the Emacs Git repository doesn't have this problem? How about the emacs-30 release branch (which will become Emacs 30.1)?