From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: andrei.elkin--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#70495: 29.3.50; M-x lsp leads to assertion failed: pdl->kind == SPECPDL_BACKTRACE Date: Sun, 21 Apr 2024 16:43:34 +0300 Organization: Home sweet home Message-ID: <87ttjubzll.fsf@quad> References: <87zftnaw9a.fsf@quad> <86v84b6l8x.fsf@gnu.org> <86sezf6jcc.fsf@gnu.org> <86r0ey7tcw.fsf@gnu.org> Reply-To: andrei.elkin@pp.inet.fi Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14661"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 70495@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 21 15:47:15 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 1ryXXG-0003Xc-61 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 Apr 2024 15:47:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ryXWr-0006ZS-OC; Sun, 21 Apr 2024 09:46:50 -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 1ryXWp-0006ZD-Sx for bug-gnu-emacs@gnu.org; Sun, 21 Apr 2024 09:46:47 -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 1ryXWp-0004Ep-L3 for bug-gnu-emacs@gnu.org; Sun, 21 Apr 2024 09:46:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ryXX4-0004MR-IW for bug-gnu-emacs@gnu.org; Sun, 21 Apr 2024 09:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: andrei.elkin@pp.inet.fi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 Apr 2024 13:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70495 X-GNU-PR-Package: emacs Original-Received: via spool by 70495-submit@debbugs.gnu.org id=B70495.171370717716468 (code B ref 70495); Sun, 21 Apr 2024 13:47:02 +0000 Original-Received: (at 70495) by debbugs.gnu.org; 21 Apr 2024 13:46:17 +0000 Original-Received: from localhost ([127.0.0.1]:43018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ryXWJ-0004HE-Es for submit@debbugs.gnu.org; Sun, 21 Apr 2024 09:46:16 -0400 Original-Received: from smtpout07.dka.mailcore.net ([194.19.134.7]:60159) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ryXWG-0004G7-BA for 70495@debbugs.gnu.org; Sun, 21 Apr 2024 09:46:13 -0400 Original-Received: from TELIASMTPGW.mailcore.net (unknown [10.1.0.58]) by SMTPOUT01.DKA.mailcore.net (Postfix) with ESMTP id 6677BE01EE; Sun, 21 Apr 2024 15:45:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=inet.fi; s=mailcore; t=1713707151; bh=QJ/MkxaR2runx+9zzfIEj8knYPta9ViBERNsDB4fIrM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=AaoROFXerRA1KGCCIl4QGoHXsXxWwD4X8Iz9epilxkKnBmpwlAe6cSwtp+aeSwAKe UklDR4T99dqGnBeiUlzONQQsyfG2mHhUrGy+RRqWCvXvbwzJv+8BxCk35293vByBZ+ EcKB/O1yZ3B+sSZhvQ8wNw/gcSjG6rl5sYjuyAIB2/YzvOg8Bx7im+SsZ1oNneVF3m dOqmw3FUkG7RBvt6J3jsLmD14CGpmEQ3jM9dTE6M3sV/T9Sv6In2FfaSACCaQg+FEG V1CZtPY9BSo8cBT8qLNY9ADSn1X5Y8S7KVkxXqeEsHOb1s5aI+CC44vNIhqBWwQlo2 f/y5UAobqfDag== Original-Received: from quad (mobile-user-c1d2e7-8.dhcp.inet.fi [193.210.231.8]) by TELIASMTPGW.mailcore.net (Postfix) with ESMTPSA id 3E6D121260; Sun, 21 Apr 2024 15:45:50 +0200 (CEST) In-Reply-To: <86r0ey7tcw.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 21 Apr 2024 16:11:59 +0300") 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:283769 Archived-At: That's awesome Eli! >> Cc: 70495@debbugs.gnu.org >> Date: Sun, 21 Apr 2024 14:33:39 +0300 >> From: Eli Zaretskii >> >> > Cc: 70495@debbugs.gnu.org >> > Date: Sun, 21 Apr 2024 13:52:30 +0300 >> > From: Eli Zaretskii >> > >> > Sorry, I cannot afford installing lsp-mode and lsp-ui (which in this >> > case will need to also install clang for the LSP server, right?), and >> > I don't know how to use it anyway. So I need you to tell me what's in >> > the buffer at that position when this happens: how does >> > lsp-mode/lsp-ui set the line-prefix or wrap-prefix, etc. If you can >> > come up with a Lisp recipe that doesn't need lsp-* to be installed and >> > still reproduces the problem, this would be the best, as I could debug >> > this on my machine. >> >> Never mind, I've succeeded in reproducing this on my system. No lsp-* >> packages are needed at all, it's very simple to reproduce. >> >> Stay tuned. > > FTR: to reproduce the problem, it's enough to evaluate this in "emacs -Q": > > (setq line-prefix '(space :width 1)) > > I guess no one tried to do this since Emacs 29 was released... > > Anyway, should be fixed now on the emacs-29 branch. Thank you! Andrei PS. I'll reconsider -O3 - was not aware of its fragility.