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#71073: Emacs segfaults if corfu is asked to autocomplete something while the LSP server providing completions is still starting/indexing Date: Tue, 21 May 2024 21:21:22 +0300 Message-ID: <86cypf81r1.fsf@gnu.org> References: <86ttisagqz.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28374"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71073@debbugs.gnu.org To: alexis purslane Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 21 20:22:12 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 1s9U7o-0007Co-HH for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 May 2024 20:22:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s9U7b-0001Ld-3k; Tue, 21 May 2024 14:21:59 -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 1s9U7Y-0001Iy-LQ for bug-gnu-emacs@gnu.org; Tue, 21 May 2024 14:21:56 -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 1s9U7Y-0002Eb-DF for bug-gnu-emacs@gnu.org; Tue, 21 May 2024 14:21:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s9U7d-00024u-La for bug-gnu-emacs@gnu.org; Tue, 21 May 2024 14:22: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: Tue, 21 May 2024 18:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71073 X-GNU-PR-Package: emacs Original-Received: via spool by 71073-submit@debbugs.gnu.org id=B71073.17163156997967 (code B ref 71073); Tue, 21 May 2024 18:22:01 +0000 Original-Received: (at 71073) by debbugs.gnu.org; 21 May 2024 18:21:39 +0000 Original-Received: from localhost ([127.0.0.1]:50480 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9U7G-00024R-Tg for submit@debbugs.gnu.org; Tue, 21 May 2024 14:21:39 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9U7F-00024I-6S for 71073@debbugs.gnu.org; Tue, 21 May 2024 14:21:37 -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 1s9U73-0002BV-Ig; Tue, 21 May 2024 14:21:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=glXnaqFi7i7r0nwSgUNc0Kl4gBfiLYPtfK6FAZh5C4I=; b=RvAiUtIuJnsZ H7i1UkFgOo38U0ffoariKefGdNJTb/S30vMKcGSJkwSqvPi5WQ6sHOKpr7j2RAm+eWaXC+28AbiyS v9e4XhbAIBq/RwPZ8cQeciNUyRCL94lTfrsWPqTvavvrUuusCC8jJjfRdPSIipWSs8afU8yYl8D6d QYqBWGBBcED9Tj5pRGBn1mhIofGkDYzH5wXQgbc6STPe8FhhDxuQ8gtKeECBBG4XDfGvco3XEXxDI ChNh3OEvOy17ZpVMiOwoOvLqqhiATR+/A3TmgRBotllG91UxdWzBjAPpYftkzizmrmPOSC/d0GNl+ tfN0vtl73uYytoAdXn658g==; In-Reply-To: (message from alexis purslane on Tue, 21 May 2024 16:32:13 +0000) 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:285548 Archived-At: [Please use Reply All to reply, so as to keep the bug tracker CC'ed.] > Date: Tue, 21 May 2024 16:32:13 +0000 > From: alexis purslane > > Okay, I tried to reproduce this in gdb, but it wouldn't do it? I was using > the exact same configuration file, LSP server executable, test file, everything. > The only differences were I had to run it with sudo because of the security > settings of my OS, so I made it use the same config and everything by > manually setting $HOME, and that when run with GDB for some reason Emacs > ran under XWayland instead of Wayland. Maybe it's the latter that makes the > difference? I don't know. But we must have more detailed and more accurate backtrace to make any progress here. Can someone please reproduce these crashes under GDB and post a complete backtrace?