Eli Zaretskii <eliz@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Eli Zaretskii <eliz@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 72025) by debbugs.gnu.org; 11 Jul 2024 04:55:32 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 11 00:55:32 2024 Received: from localhost ([127.0.0.1]:50720 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sRlq8-0004in-1X for submit <at> debbugs.gnu.org; Thu, 11 Jul 2024 00:55:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33174) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1sRlq6-0004iX-Rd; Thu, 11 Jul 2024 00:55:31 -0400 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 <eliz@HIDDEN>) id 1sRlq2-0001II-3Q; Thu, 11 Jul 2024 00:55:26 -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=2mXBhdnouROHy8YitphGsBgzf/J19CAlE4SQ49fGlAA=; b=Z5Rhp88fqchV 6zPkSW0Di3RV4giehxoEQkU9g/jsCkWXaa/5iVHXt9LPjlVeBddLfQ/WpWoJt/jkdvYyzWuY4JDn6 BwEtXL/O5cIdNqyB0kjeTh1sXjvDq0WhvoExk0SXzav9bP/CTxptiYxSg0cyfQbNnOTf4pcJIu1aZ c29jXFaG/c7OxSd4EIoThFh0R50vSVnu9HuMx3JS1DgBGyZVDjR3KY+jw8HgTgrqLLX0Tm39Yv3RF oTv5GU38iJDc74lC8dSX8N4WBSQcW2u9ybpDvONt551MPeKBXzKXr6BqfqgXcb4vheZ8CMKc72c6n oMFEQ2kkMQE7Fcrhodm7uQ==; Date: Thu, 11 Jul 2024 07:55:23 +0300 Message-Id: <86ikxcmssk.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Ravi D'Elia <ravijdelia@HIDDEN> In-Reply-To: <ceu6mjxvkywrze4gyxzp36yfemvejt5wcf6rv5e2sggcvy4pq2@imfshloddfti> (message from Ravi D'Elia on Wed, 10 Jul 2024 20:18:56 -0400) Subject: Re: bug#72025: SEGFAULT when using corfu and lsp-mode with clangd References: <4upkl3dutgscohej2smaonb26asvl6cmp24z2jj25myjzhb3qz@vlrqcyiid7cx> <yp1frsheknp.fsf@HIDDEN> <868qy9o3x8.fsf@HIDDEN> <yp17cdte3xb.fsf@HIDDEN> <861q41nwia.fsf@HIDDEN> <mc6mc7js7n3tfiarnsfdk4ylctg6fp3dsfgqcghifyc3ggkgtk@6tnbdedlcfsx> <ceu6mjxvkywrze4gyxzp36yfemvejt5wcf6rv5e2sggcvy4pq2@imfshloddfti> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 72025 Cc: 72025 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) tags 72025 unreproducible close 72025 thanks > Date: Wed, 10 Jul 2024 20:18:56 -0400 > From: Ravi D'Elia <ravijdelia@HIDDEN> > > On 24/07/10 11:27AM, Ravi D'Elia wrote: > >Sorry about the backtrace, I did indeed use gdb but didn't have > >the debugging symbols to make it useful. My distro (arch) does > >ship a stripped binary with a separate debug package but I'm having > >difficulties due to (I think) some packaging mishap on my end. While > >I take that up on my distro's forum, I'm going to try and build with > >debugging info. I'll send in the backtrace when one of these bears > >fruit. Didn't expect to have my computer on me, otherwise I would have > >figured this out first. > > Well after a day of trying I have found a very robust solution to the > problem- include debug symbols in any way whatsoever. I have failed to > replicate with an emacs binary built with any combination of flags and > settings. I have failed to replicate with what should be an exact rebuild > of Arch's package. The only way I get the error is by reinstalling from > repos. So I'm calling it, I'll just use the working build for now. Since > that build has debug symbols it will be easy to get some useful data if > the problem strikes again, but for now there isn't much to do. Thanks > for the help, sorry I couldn't do more. Thank you very much for your efforts. I'm therefore closing this bug as unreproducible. If you ever bump into it again, we can always reopen the bug with the details you hopefully will be able to provide then.
bug-gnu-emacs@HIDDEN
:bug#72025
; Package emacs
.
Full text available.Received: (at 72025) by debbugs.gnu.org; 11 Jul 2024 00:20:06 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 10 20:20:06 2024 Received: from localhost ([127.0.0.1]:50571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sRhXa-0006fa-Da for submit <at> debbugs.gnu.org; Wed, 10 Jul 2024 20:20:06 -0400 Received: from mail-qv1-f43.google.com ([209.85.219.43]:60447) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ravijdelia@HIDDEN>) id 1sRhXY-0006ey-58 for 72025 <at> debbugs.gnu.org; Wed, 10 Jul 2024 20:20:04 -0400 Received: by mail-qv1-f43.google.com with SMTP id 6a1803df08f44-6b5e6eded83so2043516d6.0 for <72025 <at> debbugs.gnu.org>; Wed, 10 Jul 2024 17:20:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720657138; x=1721261938; darn=debbugs.gnu.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=z3pY50v8jsiJxi3paEWG9V7I+xHYehXDPXwTzmDxgi8=; b=iNSgVD0byqFHOCQK11/F/wDb04rAVrREAuoe306jtGaSiYd9QZfxEk/7FyFNJSCNE0 Kj4XSNDLwJOhquKcyD1ehkjS81JNRvBKIigonFy7ORo7yJ9xTaprTg10GiSqu9c+YmwN t3PMDowaqsDKUw5omXs4kL6+FYQFZTXPx0atwW/w4dEHe8AQeEVT7kk98XlviAvjrJ1Z Oy1JPZ2kHHP6Wu5pReWvzviz2iq1EioEboyH6enY/GsJX8S7CxIL0aQUBdmzN6CNS9ev VFKR9mld2PdW/OjCSp0B/umtSD8g4RJdmpRLRyj4ZyTQkAY1FSs1bsi/3f4TAEvO8xWG aVUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720657138; x=1721261938; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=z3pY50v8jsiJxi3paEWG9V7I+xHYehXDPXwTzmDxgi8=; b=EVbjItVHAmF2C6y5YSONgQn2+NybOzgD0mnQuLPbH1+jRCiVsMfbtPpoAscKhTCaX6 HudKgUsud9Biansn9GVC9is2wABPu7spKnhjM4l+36I/QsqnnYrJ54MTAzHfAKFZn3dV obUih/jBMlIsX5WrUspTr6ddLXIpQdnsHpRGpjZs0ZbnZFOR5HDxnHgz9sYJOAdMcwHA w02X4iiAlFlxdgwwsLw9rDQAKKYtOs/V9NoHi1BWk/ZPQmtKX15qmPFaz61BegB+hJS4 AqdW1aC9x9g8vC20s5Me/2sTmP3RBosxy/j8fTinZ8MOIr5l5ntsY9fiFFznRBT6KTcr geng== X-Gm-Message-State: AOJu0YxsDDQKL6rltfPvKk7o+jOR+t5yQgrjx5JLdMW2n+f0pC7KeKqH 3XFeELO0bowk13ppVPsqQLruMR740BxB9Ci8aXsGmEA4s6DizDfvcQiL0g== X-Google-Smtp-Source: AGHT+IEU9tF7EuVoIROP2og1+DsGCYlvyyMWUJfjjpEhHPiBG/Rn584JPdrwKJx9y9g8ZlPBkRj2kA== X-Received: by 2002:a05:6214:202e:b0:6b7:4319:a6cd with SMTP id 6a1803df08f44-6b74319a827mr37170016d6.48.1720657138109; Wed, 10 Jul 2024 17:18:58 -0700 (PDT) Received: from localhost ([68.235.43.165]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6b61ba8c7d7sm20764466d6.114.2024.07.10.17.18.57 for <72025 <at> debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jul 2024 17:18:57 -0700 (PDT) Date: Wed, 10 Jul 2024 20:18:56 -0400 From: Ravi D'Elia <ravijdelia@HIDDEN> To: 72025 <at> debbugs.gnu.org Subject: Re: bug#72025: SEGFAULT when using corfu and lsp-mode with clangd Message-ID: <ceu6mjxvkywrze4gyxzp36yfemvejt5wcf6rv5e2sggcvy4pq2@imfshloddfti> References: <4upkl3dutgscohej2smaonb26asvl6cmp24z2jj25myjzhb3qz@vlrqcyiid7cx> <yp1frsheknp.fsf@HIDDEN> <868qy9o3x8.fsf@HIDDEN> <yp17cdte3xb.fsf@HIDDEN> <861q41nwia.fsf@HIDDEN> <mc6mc7js7n3tfiarnsfdk4ylctg6fp3dsfgqcghifyc3ggkgtk@6tnbdedlcfsx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <mc6mc7js7n3tfiarnsfdk4ylctg6fp3dsfgqcghifyc3ggkgtk@6tnbdedlcfsx> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72025 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On 24/07/10 11:27AM, Ravi D'Elia wrote: >Sorry about the backtrace, I did indeed use gdb but didn't have >the debugging symbols to make it useful. My distro (arch) does >ship a stripped binary with a separate debug package but I'm having >difficulties due to (I think) some packaging mishap on my end. While >I take that up on my distro's forum, I'm going to try and build with >debugging info. I'll send in the backtrace when one of these bears >fruit. Didn't expect to have my computer on me, otherwise I would have >figured this out first. Well after a day of trying I have found a very robust solution to the problem- include debug symbols in any way whatsoever. I have failed to replicate with an emacs binary built with any combination of flags and settings. I have failed to replicate with what should be an exact rebuild of Arch's package. The only way I get the error is by reinstalling from repos. So I'm calling it, I'll just use the working build for now. Since that build has debug symbols it will be easy to get some useful data if the problem strikes again, but for now there isn't much to do. Thanks for the help, sorry I couldn't do more.
bug-gnu-emacs@HIDDEN
:bug#72025
; Package emacs
.
Full text available.Received: (at 72025) by debbugs.gnu.org; 10 Jul 2024 15:28:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 10 11:28:21 2024 Received: from localhost ([127.0.0.1]:56936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sRZEw-00062D-79 for submit <at> debbugs.gnu.org; Wed, 10 Jul 2024 11:28:21 -0400 Received: from mail-io1-f41.google.com ([209.85.166.41]:51498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ravijdelia@HIDDEN>) id 1sRZEr-00061w-V6 for 72025 <at> debbugs.gnu.org; Wed, 10 Jul 2024 11:28:16 -0400 Received: by mail-io1-f41.google.com with SMTP id ca18e2360f4ac-7eee7728b00so241381839f.3 for <72025 <at> debbugs.gnu.org>; Wed, 10 Jul 2024 08:28:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720625222; x=1721230022; darn=debbugs.gnu.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=zEmhA2fAbJcy1G1pDxIf1cGVmhexNDQneqYbGejqhPI=; b=O0/LSxq7SCgSQFuwom0E93Vl2gd3JM/o1DEI58a429SPhYJRjge0yXyZ8JOe7hk3SO LMjj/pVVNc08pih/1BRlEFAkG4Ph2B96UsZwTvz98/vFa6nvk4incsCEJDfyf5AYQO4X NBpO+aXxkuCTyc6r24lkT1DYtCt+BYGTC5/ZdiA0a4unZZv3cd7YwIkZOM5d6uS+Cuq0 8xNq4BJMtLuMO3lzDSbm8NrWfp+VU0RRoLAiF+4PeQo5cnrUEuJ96IpFpCzCL5DwRFjX G/KCQcyhrxiE4R0JVZEjS48SRd4z1aanHP4q+3yXSqb+2f20SHcpGMArf9JVDG1ihoce efzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720625222; x=1721230022; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=zEmhA2fAbJcy1G1pDxIf1cGVmhexNDQneqYbGejqhPI=; b=cunL2KEttVVZTRjxv5BnYhC3miPRLDQzJmc3EMXDwtzf7+LucnklP3uI7CYn28OM9n fLe/Jp1fkJxKPHrWJGA32kD2efD1Y4kd85VD+zVcJ9TkYV0Cyw42ZR4fwliPsDXKXW8W 8U4mj3oroIF/bjLwdo7395Qbdon/JlsnYhzxvhZccxsgP686jWTuSKU+pQc6Nx1xjU6S MPU17BBXT23IwIpJ/7EmrqEtzUDJ//UFAf7FPWs/ypUgB4k0LugGgaFwJD5rbw0o+iDD 2N9/Q/JaKs2SZrsmf281ON4qKO5CT3eeeJ/uCvEBHmku89RTsaqE6GYp8ytFOkEO4J6V IXTw== X-Forwarded-Encrypted: i=1; AJvYcCVOmq9HxU3a2ooNu+nDxRu8a6k3Kj4YOyuEQbB6XWVFx2qiS6YqeGyZKzk/L5NGo3mZpAyfaNzaWm6Ev3SP6VYWcQChkdQ= X-Gm-Message-State: AOJu0Yx3Urd/zL8h35RJ11uGoV6/cXRen4weDhyv2ymOs/fDUw61GBP+ e1w/QY+mf3FGKl0urkH1msrAmg547VKyhtzPJALkZtIerpvYJktU X-Google-Smtp-Source: AGHT+IFrsI7HQtSEAoWCLeZBy2HZErZQHTHXLnwiTIVd8uJy+1c4L0AP4gnnG40bnSdMfKygNo0tSw== X-Received: by 2002:a5d:834d:0:b0:806:6b24:ee1e with SMTP id ca18e2360f4ac-8066b24f090mr69115039f.15.1720625221960; Wed, 10 Jul 2024 08:27:01 -0700 (PDT) Received: from localhost ([68.235.43.165]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4c0b1bf7336sm1189630173.99.2024.07.10.08.27.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jul 2024 08:27:01 -0700 (PDT) Date: Wed, 10 Jul 2024 11:27:00 -0400 From: Ravi D'Elia <ravijdelia@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#72025: SEGFAULT when using corfu and lsp-mode with clangd Message-ID: <mc6mc7js7n3tfiarnsfdk4ylctg6fp3dsfgqcghifyc3ggkgtk@6tnbdedlcfsx> References: <4upkl3dutgscohej2smaonb26asvl6cmp24z2jj25myjzhb3qz@vlrqcyiid7cx> <yp1frsheknp.fsf@HIDDEN> <868qy9o3x8.fsf@HIDDEN> <yp17cdte3xb.fsf@HIDDEN> <861q41nwia.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <861q41nwia.fsf@HIDDEN> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72025 Cc: Andrea Corallo <acorallo@HIDDEN>, 72025 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On 24/07/10 05:37PM, Eli Zaretskii wrote: >> From: Andrea Corallo <acorallo@HIDDEN> >> Cc: ravijdelia@HIDDEN, 72025 <at> debbugs.gnu.org >> Date: Wed, 10 Jul 2024 10:07:28 -0400 >> >> Eli Zaretskii <eliz@HIDDEN> writes: >> >> >> Cc: 72025 <at> debbugs.gnu.org >> >> From: Andrea Corallo <acorallo@HIDDEN> >> >> Date: Wed, 10 Jul 2024 04:06:02 -0400 >> >> >> >> Ravi D'Elia <ravijdelia@HIDDEN> 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. >> >> Right, do you we if typically distros strip our binary and this is >> probably the case? > >I don't know if this is the rule (I think the rule is to offer a >separate package with debug info, and if GDB supports debuginfod >servers, it can download the debug info at the beginning of a >session). But clearly in this case the binary was stripped by >someone. Sorry about the backtrace, I did indeed use gdb but didn't have the debugging symbols to make it useful. My distro (arch) does ship a stripped binary with a separate debug package but I'm having difficulties due to (I think) some packaging mishap on my end. While I take that up on my distro's forum, I'm going to try and build with debugging info. I'll send in the backtrace when one of these bears fruit. Didn't expect to have my computer on me, otherwise I would have figured this out first.
bug-gnu-emacs@HIDDEN
:bug#72025
; Package emacs
.
Full text available.Received: (at 72025) by debbugs.gnu.org; 10 Jul 2024 14:37:50 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 10 10:37:50 2024 Received: from localhost ([127.0.0.1]:56894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sRYS6-0004b0-Gb for submit <at> debbugs.gnu.org; Wed, 10 Jul 2024 10:37:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1sRYS4-0004an-JL for 72025 <at> debbugs.gnu.org; Wed, 10 Jul 2024 10:37:49 -0400 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 <eliz@HIDDEN>) id 1sRYRt-0008Jb-0Z; Wed, 10 Jul 2024 10:37:37 -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=DkF+C5EwIIIk5+5iSOQbjwcEDBn6q5uJHwAiyK2ZTIA=; b=ebxAh+LoKd3U Bna8zop3n1wdO1lsC+z5lPxfBoP/azR5Ta7D05ciHHV9PVKSVt1YoS6apgAPxyaM92psyHIUE1r39 QYqZN3HU6PU6sZX5InWxtK0c2kGf6kXqnjEy0wp2CM+qt/9q1FLdwHQRNN7Gkvr/AJOVVM2Xncy9h vtXumWDhHTazDDIuPgcST//c4J86x2xi5ge4bE/yy614+0T9ZqkMuwG6l+bUXDiysJ3+luQPovArr mtyhH98+RxvmIbQPSTbQnPkBiGeZa4k+KxC1xg/81TbcykIrIu8FvZRMb/1BMCHPpCB03fvA6OAWc eZ+mgLEHUCT0KCDuYLr0BQ==; Date: Wed, 10 Jul 2024 17:37:33 +0300 Message-Id: <861q41nwia.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Andrea Corallo <acorallo@HIDDEN> In-Reply-To: <yp17cdte3xb.fsf@HIDDEN> (message from Andrea Corallo on Wed, 10 Jul 2024 10:07:28 -0400) Subject: Re: bug#72025: SEGFAULT when using corfu and lsp-mode with clangd References: <4upkl3dutgscohej2smaonb26asvl6cmp24z2jj25myjzhb3qz@vlrqcyiid7cx> <yp1frsheknp.fsf@HIDDEN> <868qy9o3x8.fsf@HIDDEN> <yp17cdte3xb.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 72025 Cc: ravijdelia@HIDDEN, 72025 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Andrea Corallo <acorallo@HIDDEN> > Cc: ravijdelia@HIDDEN, 72025 <at> debbugs.gnu.org > Date: Wed, 10 Jul 2024 10:07:28 -0400 > > Eli Zaretskii <eliz@HIDDEN> writes: > > >> Cc: 72025 <at> debbugs.gnu.org > >> From: Andrea Corallo <acorallo@HIDDEN> > >> Date: Wed, 10 Jul 2024 04:06:02 -0400 > >> > >> Ravi D'Elia <ravijdelia@HIDDEN> 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. > > Right, do you we if typically distros strip our binary and this is > probably the case? I don't know if this is the rule (I think the rule is to offer a separate package with debug info, and if GDB supports debuginfod servers, it can download the debug info at the beginning of a session). But clearly in this case the binary was stripped by someone.
bug-gnu-emacs@HIDDEN
:bug#72025
; Package emacs
.
Full text available.Received: (at 72025) by debbugs.gnu.org; 10 Jul 2024 14:07:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 10 10:07:46 2024 Received: from localhost ([127.0.0.1]:56858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sRXyz-0003mu-OT for submit <at> debbugs.gnu.org; Wed, 10 Jul 2024 10:07:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35506) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <acorallo@HIDDEN>) id 1sRXyx-0003mh-NJ for 72025 <at> debbugs.gnu.org; Wed, 10 Jul 2024 10:07:44 -0400 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 <acorallo@HIDDEN>) id 1sRXym-0002RA-0X; Wed, 10 Jul 2024 10:07:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=LgsSVuwJ1z8LFJ7OjdkXhFhgIltL/k2G5df4e5t92XY=; b=OYgugs11Wmy0l4M2gxfS 8856HrUsr4oqMcG3Yub55My09YplNnfMXRwi+QIFg/Y1jXNPkWV+TtZFjkSuvwp9ikE+txf0g6uSM Q3rz8ILEWM0/yoed+Wzi/BJtqdf2fs2gttn8QBT8iqfQ/uW205ikJa2FFEvUaB6Nn8PkUqzDCm1FL zUviZnEKb5ZXjHLLf/bB83+JnX720Zczc9KvhL5uwId13uZU25tgAizdtcEgLkLuEE66uoQDGlolR L47CNrvjpVViHgTZQQjS5W1g35pRl7sgbCobEOTvKdwPVexveTHNF+eABlaSsLIZ0OY/0/tBu15B6 GDNfX70hyFvXag==; Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from <acorallo@HIDDEN>) id 1sRXyi-0006nY-Bw; Wed, 10 Jul 2024 10:07:29 -0400 From: Andrea Corallo <acorallo@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#72025: SEGFAULT when using corfu and lsp-mode with clangd In-Reply-To: <868qy9o3x8.fsf@HIDDEN> (Eli Zaretskii's message of "Wed, 10 Jul 2024 14:57:23 +0300") References: <4upkl3dutgscohej2smaonb26asvl6cmp24z2jj25myjzhb3qz@vlrqcyiid7cx> <yp1frsheknp.fsf@HIDDEN> <868qy9o3x8.fsf@HIDDEN> Date: Wed, 10 Jul 2024 10:07:28 -0400 Message-ID: <yp17cdte3xb.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 72025 Cc: ravijdelia@HIDDEN, 72025 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Eli Zaretskii <eliz@HIDDEN> writes: >> Cc: 72025 <at> debbugs.gnu.org >> From: Andrea Corallo <acorallo@HIDDEN> >> Date: Wed, 10 Jul 2024 04:06:02 -0400 >> >> Ravi D'Elia <ravijdelia@HIDDEN> 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. Right, do you we if typically distros strip our binary and this is probably the case? Andrea
bug-gnu-emacs@HIDDEN
:bug#72025
; Package emacs
.
Full text available.Received: (at 72025) by debbugs.gnu.org; 10 Jul 2024 11:57:41 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 10 07:57:40 2024 Received: from localhost ([127.0.0.1]:55045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sRVx6-00087r-F5 for submit <at> debbugs.gnu.org; Wed, 10 Jul 2024 07:57:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49788) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1sRVx4-00087d-R2 for 72025 <at> debbugs.gnu.org; Wed, 10 Jul 2024 07:57:39 -0400 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 <eliz@HIDDEN>) id 1sRVwt-0003Qb-2l; Wed, 10 Jul 2024 07:57:27 -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=EZMn6zLRetn+3AsvUiJ2f4L7o0+lGwSh4TzMTgAJgJk=; b=Aj2tv4mcw82k hFHukNZLdWyTUekWBmOHfEtl7yWnU/ZCFQK7qdqMF1imTBgdqSxlimvHY+4canWXWb2V8F3zIQEkV 9lp31SREdcjGNqq5ngtru1vkkdJ//xEOeeEzW4UnzrME77z7s0zqNayPHQirC+VwvrTA193d4qbeN 0CKbIYz94aeYvm7ugioAP//C31wCRM4yE0I7yIjU40XnYMt5D9yOBpSwU99qq/m4bt8NXorpg84ZO 28yHHgtp7UZ2bbbEsKj3uNbzGXMmRS/crLDzdG8mK91BK9bTSU5zf8oT9ps48t0WXCebylv+6iiC9 qPqXX1FLN6lKxFW89EUDwQ==; Date: Wed, 10 Jul 2024 14:57:23 +0300 Message-Id: <868qy9o3x8.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Andrea Corallo <acorallo@HIDDEN> In-Reply-To: <yp1frsheknp.fsf@HIDDEN> (message from Andrea Corallo on Wed, 10 Jul 2024 04:06:02 -0400) Subject: Re: bug#72025: SEGFAULT when using corfu and lsp-mode with clangd References: <4upkl3dutgscohej2smaonb26asvl6cmp24z2jj25myjzhb3qz@vlrqcyiid7cx> <yp1frsheknp.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 72025 Cc: ravijdelia@HIDDEN, 72025 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: 72025 <at> debbugs.gnu.org > From: Andrea Corallo <acorallo@HIDDEN> > Date: Wed, 10 Jul 2024 04:06:02 -0400 > > Ravi D'Elia <ravijdelia@HIDDEN> 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.
bug-gnu-emacs@HIDDEN
:bug#72025
; Package emacs
.
Full text available.Received: (at 72025) by debbugs.gnu.org; 10 Jul 2024 08:08:27 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 10 04:08:27 2024 Received: from localhost ([127.0.0.1]:54801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sRSNG-00027F-QX for submit <at> debbugs.gnu.org; Wed, 10 Jul 2024 04:08:27 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <acorallo@HIDDEN>) id 1sRSNF-000273-6Q for 72025 <at> debbugs.gnu.org; Wed, 10 Jul 2024 04:08:25 -0400 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 <acorallo@HIDDEN>) id 1sRSKw-0001eS-Q4; Wed, 10 Jul 2024 04:06:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=o1ZjtXiYSuC2G9nIcx+jDcS10T+NXaigSNkcaWUbW6M=; b=qbgqYt/K1CX8jnr1PnMg ZJRj4o02OoE52mxShW+2T778CYtBP0e0t3TWSCAvhnr5ZnjTPFSc+QEPmuphyqo7ik6pE/ba0yT8d knIxXYM99dCvJzblPr5WJwrHR853QrFLgPHkaGQ/qPQl6FLcF6iSuW4vlBWeqzjGsQH+KW28kzLfP hqWe1s/wUQhU2rA1QhRpTzhn4wiNkOA1B5lrvZHv1X4h0rI63EgT5sZ11FhSbV0J4Kq4IUC4hERHO M5tpQoq7pxkM+/7CJ5FDAA5u2X19BRy5wJIksiRQztSFbHWIVlF6KJGNzy2m3f8u+10vH764gLnzq FWF4mtncMFgjUA==; Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from <acorallo@HIDDEN>) id 1sRSKw-0002qP-EA; Wed, 10 Jul 2024 04:06:02 -0400 From: Andrea Corallo <acorallo@HIDDEN> To: Ravi D'Elia <ravijdelia@HIDDEN> Subject: Re: bug#72025: SEGFAULT when using corfu and lsp-mode with clangd In-Reply-To: <4upkl3dutgscohej2smaonb26asvl6cmp24z2jj25myjzhb3qz@vlrqcyiid7cx> (Ravi D'Elia's message of "Tue, 9 Jul 2024 19:20:15 -0400") References: <4upkl3dutgscohej2smaonb26asvl6cmp24z2jj25myjzhb3qz@vlrqcyiid7cx> Date: Wed, 10 Jul 2024 04:06:02 -0400 Message-ID: <yp1frsheknp.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 72025 Cc: 72025 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Ravi D'Elia <ravijdelia@HIDDEN> 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. Thanks Andrea [1] <https://www.gnu.org/software/emacs/manual/html_node/emacs/Crashing.html> [2] <https://www.gnu.org/software/emacs/manual/html_node/emacs/Checklist.html#Checklist>
bug-gnu-emacs@HIDDEN
:bug#72025
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 10 Jul 2024 02:19:13 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 09 22:19:13 2024 Received: from localhost ([127.0.0.1]:54544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sRMvH-0006FW-2J for submit <at> debbugs.gnu.org; Tue, 09 Jul 2024 22:19:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:42990) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ravijdelia@HIDDEN>) id 1sRK8N-0001QI-QR for submit <at> debbugs.gnu.org; Tue, 09 Jul 2024 19:20:32 -0400 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 <ravijdelia@HIDDEN>) id 1sRK8F-0004JE-W3 for bug-gnu-emacs@HIDDEN; Tue, 09 Jul 2024 19:20:25 -0400 Received: from mail-il1-x12a.google.com ([2607:f8b0:4864:20::12a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <ravijdelia@HIDDEN>) id 1sRK8D-0004Rr-Ev for bug-gnu-emacs@HIDDEN; Tue, 09 Jul 2024 19:20:23 -0400 Received: by mail-il1-x12a.google.com with SMTP id e9e14a558f8ab-389cb8f18f0so8626745ab.1 for <bug-gnu-emacs@HIDDEN>; Tue, 09 Jul 2024 16:20:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720567217; x=1721172017; darn=gnu.org; h=content-disposition:mime-version:message-id:subject:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=YBOXu+3qgKaEWBx95RPJ7ES8D49x+Fb/R1iubGRdd8A=; b=HxkDaMJdU6WXnm3WSmalMz3El2ZBqVfGToHWVRv9FaVWsikzciEvBdamTwfvkV0aWI JvIzKTI7ZBMKGw2gcOd8OBchl6jDkjqX6jRDqXOT/WIMmcE6qTJratjDjZfX6isvlwjV vLdCBJKHp5hHGZOCVooOd1k6dK9d4YOzn3i90A4SdW7l8PEOhVFNY3jT0EzeT91Dy7mY /0RJxgfyVkglrHP9p22uKMSh4wEUPxERsvN6wyZPzMHy1igGYQhzcY89yuMEnOl892MX DJ/Td6Uo6mSQgR6JwP5CNRnK73dzvxve0T2Ee95QN3ohapozDlddHjYmUUmTd6ImAHvh JQYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720567217; x=1721172017; h=content-disposition:mime-version:message-id:subject:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=YBOXu+3qgKaEWBx95RPJ7ES8D49x+Fb/R1iubGRdd8A=; b=E3BtxejJuiJxBgbJ1wNvMB5EHoF392dNTyS4yV8Yh155lYKuy7niFhGkJ6sjzQv5m9 dm9wRXr+XUAlXcwD1kExt0WqKObOIjRtsl24ixtivFiRA/6mA+JGtM6HbTlXunKWTqyI DEFkyE9SMbAIlLR1BDGEqp4dVwSRtVjp9m6/+4KfmOFRn8Gq8ZINpw9EtX/LZojR8Gp2 FoHeBEbjhPsXW0hJOPJb1+Z6weOrIo12kG0EQP/cgOBjeRh2Cu9MQR0UEzoG0JppBTAH HcOSU5Po3eIs1PAJtbyo7UzaYAu6Hl6dR8I4+LFfbCTIVw16BNbFyO+Kt+PsIj/FPJpS CdQQ== X-Gm-Message-State: AOJu0Ywe6e54TRtoy6EpSYRntzH750uyLLbzmceWZW2bkSW9VGs1UtOs AYet1bjCneX7RcvDzu5mncQ6VIpi+TE7Q74ezdY73Tq2W2f+Z+G6Z/jOJg== X-Google-Smtp-Source: AGHT+IG24bjvDT8q+dRhoXJfR1xuD5R69fr40xBy0Lb1O+GJ/wikhFyf5M1cHxBt56/pkWkKB8hdQQ== X-Received: by 2002:a05:6e02:138e:b0:374:9916:92 with SMTP id e9e14a558f8ab-38a5a0798e5mr48267805ab.22.1720567217239; Tue, 09 Jul 2024 16:20:17 -0700 (PDT) Received: from localhost ([68.235.43.165]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-38a49461194sm6409205ab.20.2024.07.09.16.20.16 for <bug-gnu-emacs@HIDDEN> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jul 2024 16:20:16 -0700 (PDT) Date: Tue, 9 Jul 2024 19:20:15 -0400 From: Ravi D'Elia <ravijdelia@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: SEGFAULT when using corfu and lsp-mode with clangd Message-ID: <4upkl3dutgscohej2smaonb26asvl6cmp24z2jj25myjzhb3qz@vlrqcyiid7cx> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="karrhczy337jpvcr" Content-Disposition: inline Received-SPF: pass client-ip=2607:f8b0:4864:20::12a; envelope-from=ravijdelia@HIDDEN; helo=mail-il1-x12a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 09 Jul 2024 22:19:06 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) --karrhczy337jpvcr Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline 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. Below is the information from report-emacs-bug: In GNU Emacs 29.4 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.42, cairo version 1.18.0) Windowing system distributor 'The X.Org Foundation', version 11.0.12101013 System Description: Arch Linux Configured using: 'configure --sysconfdir=/etc --prefix=/usr --libexecdir=/usr/lib --with-tree-sitter --localstatedir=/var --with-cairo --disable-build-details --with-harfbuzz --with-libsystemd --with-modules --with-x-toolkit=gtk3 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/emacs/src=/usr/src/debug/emacs -flto=auto' 'LDFLAGS=-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: corfu-echo-mode: t global-corfu-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t buffer-read-only: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /usr/share/emacs/site-lisp/xscheme hides /usr/share/emacs/29.4/lisp/progmodes/xscheme Features: (shadow sort mail-extr emacsbug message yank-media dired dired-loaddefs rfc822 mml mml-sec epa derived gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils flymake-cc time-date flymake-proc flymake warnings lsp-diagnostics lsp-headerline lsp-icons lsp-modeline lsp-lens view lsp-zig lsp-yang lsp-yaml lsp-xml lsp-wgsl lsp-volar lsp-vimscript lsp-vhdl lsp-vetur lsp-html lsp-verilog lsp-vala lsp-v lsp-typeprof lsp-ttcn3 lsp-trunk lsp-toml lsp-tilt lsp-tex lsp-terraform lsp-svelte lsp-steep lsp-sqls lsp-sql lsp-sorbet lsp-solidity lsp-solargraph lsp-semgrep lsp-rust lsp-ruff-lsp lsp-ruby-syntax-tree lsp-ruby-lsp lsp-rubocop lsp-roslyn lsp-rf lsp-remark lsp-racket lsp-r lsp-qml lsp-pylsp lsp-pyls lsp-pwsh lsp-purescript lsp-pls lsp-php lsp-perlnavigator lsp-perl lsp-openscad lsp-ocaml lsp-nushell lsp-nix lsp-nim lsp-nginx lsp-move lsp-mojo lsp-mint lsp-meson lsp-mdx lsp-marksman lsp-markdown lsp-magik lsp-lua lsp-lisp lsp-kotlin lsp-json lsp-jq lsp-javascript lsp-idris lsp-haxe lsp-hack lsp-groovy lsp-graphql lsp-golangci-lint lsp-glsl lsp-gleam lsp-gdscript lsp-fsharp lsp-fortran lsp-eslint lsp-erlang lsp-emmet lsp-elm lsp-elixir lsp-earthly lsp-dockerfile lsp-dhall lsp-d lsp-cypher lsp-cucumber lsp-css lsp-csharp gnutls lsp-crystal lsp-credo lsp-cobol lsp-cmake lsp-clojure lsp-clangd dom lsp-bufls lsp-go lsp-completion lsp-beancount lsp-bash lsp-awk lsp-autotools lsp-astro lsp-asm lsp-ansible lsp-angular lsp-ada lsp-semantic-tokens lsp-actionscript lsp-mode lsp-protocol xref project tree-widget wid-edit spinner pcase network-stream puny nsm markdown-mode rx color thingatpt noutline outline icons lv inline imenu ht filenotify f s ewoc epg rfc6068 epg-config dash compile text-property-search comint ansi-osc ansi-color ring cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs corfu-echo corfu compat compat-30 cl-extra help-mode use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core corfu-autoloads compat-autoloads lsp-mode-autoloads ht-autoloads f-autoloads info dash-autoloads lv-autoloads markdown-mode-autoloads s-autoloads spinner-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 203184 12765) (symbols 48 23270 0) (strings 32 74270 2672) (string-bytes 1 2204500) (vectors 16 48780) (vector-slots 8 757848 20048) (floats 8 190 29) (intervals 56 799 0) (buffers 984 16)) --karrhczy337jpvcr Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="init.el" (setq user-emacs-directory "~/minimal/") (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) (require 'use-package) (use-package lsp-mode :ensure t :commands (lsp lsp-deferred) :init (setq lsp-keymap-prefix "C-c l") ;; Or 'C-l', 's-l' :config (setq lsp-completion-provider :none)) (use-package c-mode :ensure nil :hook (((c++-mode c-mode) . lsp-deferred))) (use-package corfu :ensure t :custom (corfu-auto t) (corfu-auto-delay 0.2) (corfu-auto-prefix 1) (corfu-echo-documentation t) (corfu-min-width 20) :config (global-corfu-mode) (corfu-echo-mode)) (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(package-selected-packages '(use-package))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ) --karrhczy337jpvcr Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=bt-full #0 0x000055555577722b in ?? () No symbol table info available. #1 0x00005555556cc5f1 in ?? () No symbol table info available. #2 0x00005555556dc468 in ?? () No symbol table info available. #3 0x00005555556d1e6b in ?? () No symbol table info available. #4 0x0000555555795192 in ?? () No symbol table info available. #5 0x00005555557b35cc in ?? () No symbol table info available. #6 0x000055555576c41d in ?? () No symbol table info available. #7 0x0000555555705a72 in ?? () No symbol table info available. #8 0x00005555557b35cc in ?? () No symbol table info available. #9 0x000055555576c41d in ?? () No symbol table info available. #10 0x000055555576ccf0 in ?? () No symbol table info available. #11 0x00005555557b35cc in ?? () No symbol table info available. #12 0x000055555576c41d in ?? () No symbol table info available. #13 0x000055555576cfda in ?? () No symbol table info available. #14 0x00005555557b35cc in ?? () No symbol table info available. #15 0x000055555576c41d in ?? () No symbol table info available. #16 0x000055555576cfda in ?? () No symbol table info available. #17 0x00005555557b35cc in ?? () No symbol table info available. #18 0x000055555576c41d in ?? () No symbol table info available. #19 0x000055555576cfda in ?? () No symbol table info available. #20 0x00005555557b35cc in ?? () No symbol table info available. #21 0x000055555576c41d in ?? () No symbol table info available. #22 0x00005555556c9fb5 in ?? () No symbol table info available. #23 0x00005555556ca58d in ?? () No symbol table info available. #24 0x00005555556d5600 in ?? () No symbol table info available. #25 0x00005555557be323 in ?? () No symbol table info available. #26 0x00005555556cebe7 in ?? () No symbol table info available. #27 0x00005555556d0ec6 in ?? () No symbol table info available. #28 0x00005555556dd163 in ?? () No symbol table info available. #29 0x00005555556c656f in ?? () No symbol table info available. #30 0x000055555575afbe in ?? () No symbol table info available. #31 0x00005555556c3bc6 in ?? () No symbol table info available. #32 0x000055555575af18 in ?? () No symbol table info available. #33 0x00005555556c62eb in ?? () No symbol table info available. #34 0x000055555583e6cf in ?? () No symbol table info available. #35 0x00005555556c841d in ?? () No symbol table info available. #36 0x0000555555588d4d in ?? () No symbol table info available. #37 0x00007ffff5acac88 in __libc_start_call_main (main=main@entry=0x5555555868c0, argc=argc@entry=4, argv=argv@entry=0x7fffffffe148) at ../sysdeps/nptl/libc_start_call_main.h:58 self = <optimized out> result = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737488347464, 8312541994804177299, 4, 0, 140737354125312, 93824995730904, 8312541994810468755, 8312519293894912403}, mask_was_saved = 0}}, priv = {pad = { 0x0, 0x0, 0x4, 0x7fffffffe140}, data = {prev = 0x0, cleanup = 0x0, canceltype = 4}}} not_first_call = <optimized out> #38 0x00007ffff5acad4c in __libc_start_main_impl (main=0x5555555868c0, argc=4, argv=0x7fffffffe148, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe138) at ../csu/libc-start.c:360 No locals. #39 0x000055555558a2a5 in ?? () No symbol table info available. --karrhczy337jpvcr--
Ravi D'Elia <ravijdelia@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#72025
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.