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#70914: 29.3; Crashes often on Windows Date: Tue, 14 May 2024 14:23:00 +0300 Message-ID: <86h6f0wsbv.fsf@gnu.org> References: <86msouxamh.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="10306"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70914@debbugs.gnu.org To: Simen =?UTF-8?Q?Endsj=C3=B8?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 14 13:24:20 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 1s6qGa-0002T2-I6 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 14 May 2024 13:24:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s6qGJ-0004d9-RQ; Tue, 14 May 2024 07:24:03 -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 1s6qGI-0004cs-2G for bug-gnu-emacs@gnu.org; Tue, 14 May 2024 07:24:02 -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 1s6qGH-0001ss-OL for bug-gnu-emacs@gnu.org; Tue, 14 May 2024 07:24:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s6qGI-0006Y8-GO for bug-gnu-emacs@gnu.org; Tue, 14 May 2024 07:24:02 -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, 14 May 2024 11:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70914 X-GNU-PR-Package: emacs Original-Received: via spool by 70914-submit@debbugs.gnu.org id=B70914.171568579825160 (code B ref 70914); Tue, 14 May 2024 11:24:02 +0000 Original-Received: (at 70914) by debbugs.gnu.org; 14 May 2024 11:23:18 +0000 Original-Received: from localhost ([127.0.0.1]:38768 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6qFX-0006Xk-Tg for submit@debbugs.gnu.org; Tue, 14 May 2024 07:23:18 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6qFU-0006Xe-OR for 70914@debbugs.gnu.org; Tue, 14 May 2024 07:23:14 -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 1s6qFO-0001jm-6n; Tue, 14 May 2024 07:23:06 -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=zfE/wxbYmvdE9UmJSxjLK1KgwL1HDNAlD0ac3whXack=; b=XK/cogRGCpOs0ZGYxZLX VAtNnbojwzQ7PlDGJagoPV/KGh3AzYjkJso/6z9YlDO2PTyj2haSrmq2An4lc34Vp+sNlVpvblY+F DvzfbjelFBE9dTJnodKlWe/aCK4HH1g9F69i4KalhsHSqsD24VG6c/4I/RU5dr7BEEhX/ALJokhF/ 1CCW4xrrBC3vVT79Hv9tHQS/x/CLf09n2Whom95xtT1/6NL7DA+J0UcVhT0wUPpFL+WjywgBFjGP2 Pf3x8FaHfQtnaW/R1gXY+Nuh+YNlA4qdTna8UJNU+q3ZDYGpiCC8ua3kXYy6MCj0fhDa9rOG1fHYR uwkh24T6YXu3Wg==; In-Reply-To: (message from Simen =?UTF-8?Q?Endsj=C3=B8?= on Tue, 14 May 2024 12:14:11 +0200) 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:285009 Archived-At: > From: Simen Endsjø > Date: Tue, 14 May 2024 12:14:11 +0200 > Cc: 70914@debbugs.gnu.org > > Here's a backtrace of the most recent crash. I have no idea if it's > one issue or several. It seems to be crashing at arbitrary times, > often just when writing plain text in org-mode buffers. It's unclear what happened here and why. Seems like some fatal exception in the middle of all-completions call, but why would that be? I do see that you have quite a few 3rd-party packages involved in this: vertico, orderless, and consult at least. I also see that one of the threads is run by Glib, which sounds strange to me, but maybe it's because of librsvg? Not sure if this is related to the crash. This part of your environment: Important settings: value of $LANG: en_US locale-coding-system: cp65001 <<<<<<<<<<<<<<<<<<<<<<< might also be related: AFAIU it means you configured your system to use UTF-8 encoding by default, which might cause issues with sub-processes, because Emacs on Windows doesn't support passing UTF-8 encoded arguments to sub-processes. And the backtrace indicates that you had a sub-process running when this happened (or at least a thread was running waiting for output from a sub-process). And why is the value of $LANG "en_US"? It's supposed to be "ENU" on Windows. Did you customize the locale and/or the defaults for the coding-systems, and if so, how? In any case, please keep running Emacs under GDB and post two or three more backtraces from the crash, so that we could see which parts of this to focus on. Thanks.