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: Mon, 27 May 2024 16:22:55 +0300 Message-ID: <86cyp7v174.fsf@gnu.org> References: <86msouxamh.fsf@gnu.org> <86h6f0wsbv.fsf@gnu.org> <86msof32s7.fsf@gnu.org> <63f77ba4-7db5-4bbb-9f71-d5626756491d@app.fastmail.com> 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="16059"; 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 Mon May 27 15:24:16 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 1sBaKm-0003zm-2I for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 May 2024 15:24:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sBaKQ-0003Xq-Cd; Mon, 27 May 2024 09:23:54 -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 1sBaKP-0003Xg-8k for bug-gnu-emacs@gnu.org; Mon, 27 May 2024 09:23:53 -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 1sBaKP-0005x9-0S for bug-gnu-emacs@gnu.org; Mon, 27 May 2024 09:23:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sBaKX-0006fh-L8 for bug-gnu-emacs@gnu.org; Mon, 27 May 2024 09:24: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: Mon, 27 May 2024 13:24:01 +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.171681619325577 (code B ref 70914); Mon, 27 May 2024 13:24:01 +0000 Original-Received: (at 70914) by debbugs.gnu.org; 27 May 2024 13:23:13 +0000 Original-Received: from localhost ([127.0.0.1]:43375 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sBaJl-0006eT-56 for submit@debbugs.gnu.org; Mon, 27 May 2024 09:23:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sBaJj-0006e0-B9 for 70914@debbugs.gnu.org; Mon, 27 May 2024 09:23:11 -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 1sBaJV-0005ou-Az; Mon, 27 May 2024 09:22:57 -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=xsb/E/Epn73VxY1JuerDt9EeKoKOX5MWzh3VrVR91U8=; b=AVJDNp3P/GVsaJrYtZvo fMj9As4W5sckl2zDqiioHRiqKa+oLjE2QOoCPCzLNJ9OmDqVHrbLtr9Er8QJLic6TKgZ1Zd/SIqEG oVA9/FUOBrfaYsjcBqr7X1SV4YPmbvH1sR+CqILp6HM+MLzFzxpXnErbDcdhux4Fch0nsJeMm102i eqSw32VQ325Hv5TcB7JPiEGXtUL1neq+HKUnAU9+9ko8898xh5kL2AF6R63qalKctn3PabIgbWjWo wWtGanpsv+CItcX8S90Q7jX8y/4eNZ5UKLs6hg7OXQGGmwfLcXZWrBlYq68GjJIzHguAGXnRcUIXQ R1PZHfwI8M1W8g==; In-Reply-To: <63f77ba4-7db5-4bbb-9f71-d5626756491d@app.fastmail.com> (message from Simen =?UTF-8?Q?Endsj=C3=B8?= on Mon, 27 May 2024 14:54:22 +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:286036 Archived-At: > Date: Mon, 27 May 2024 14:54:22 +0200 > From: Simen Endsjø > Cc: 70914@debbugs.gnu.org > > I keep getting these errors even though I'm running with the "//" patch. Common > for the crashes (when attaching gdb to the crashing process) is the following: > > #6 0x00007ffef66f49ff in ntdll!.chkstk () from C:\WINDOWS\SYSTEM32\ntdll.dll > #7 0x00007ffef666e466 in ntdll!RtlFindCharInUnicodeString () from C:\WINDOWS\SYSTEM32\ntdll.dll > > I've been running without org-superstar and org-fancy-priorities. This time I > got the error when calling `dired-sort-toggle-or-edit`. It's not reproducible in > that folder after restarting though. > > Thread 1 (Thread 18588.0x5fd4): > #0 0x00007ffef3ecd313 in KERNELBASE!DebugBreak () from C:\WINDOWS\System32\KernelBase.dll > #1 0x00007ff78c040f28 in emacs_abort () > #2 0x00007ff78bf0a389 in terminate_due_to_signal () > #3 0x00007ff78bf2b249 in deliver_fatal_thread_signal () > #4 0x00007ff78c0a6672 in _gnu_exception_handler (exception_data=0x377f9fdc00) at > C:/M/B/src/mingw-w64/mingw-w64-crt/crt/crt_handler.c:213 > #5 0x00007ffef4b6b248 in msvcrt!__C_specific_handler () from C:\WINDOWS\System32\msvcrt.dll > #6 0x00007ffef66f49ff in ntdll!.chkstk () from C:\WINDOWS\SYSTEM32\ntdll.dll > #7 0x00007ffef666e466 in ntdll!RtlFindCharInUnicodeString () from C:\WINDOWS\SYSTEM32\ntdll.dll > #8 0x00007ffef66f39ee in ntdll!KiUserExceptionDispatcher () from C:\WINDOWS\SYSTEM32\ntdll.dll > #9 0x00007ff78bfc3aa3 in print_object () > #10 0x00007ff78bfc55d8 in Fprin1 () > #11 0x00007ff78bfc5d33 in print_error_message () > #12 0x00007ff78bf0c73d in Fcommand_error_default_function () It's a different problem. Here, Emacs wants to print an error message, but the error data includes some invalid Lisp object, so print_object crashes. The error seems to come from help-command-error-confusable-suggestions. Can you show the data in print_object (frame 9 in the backtrace you post)? Or maybe in frame 12, in Fcommand_error_default_function? We need to understand what kind of invalid Lisp data winds up there. Or maybe you know what you did when Emacs crashed? What command did you invoke that wanted to signal this error?