From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eason Huang Newsgroups: gmane.emacs.bugs Subject: bug#60556: 29.0.60; Fatal error accurred when editing init.el with flymake enabled on Windows 10 Date: Sun, 22 Jan 2023 21:27:02 +0800 Message-ID: References: <83tu0ikf0v.fsf@gnu.org> <83sfg2kcmc.fsf@gnu.org> <83r0vmk9dn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19276"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 60556@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 22 14:28:14 2023 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 1pJaOM-0004oy-26 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 22 Jan 2023 14:28:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pJaOD-0003Y7-6j; Sun, 22 Jan 2023 08:28:05 -0500 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 1pJaOA-0003Xt-WC for bug-gnu-emacs@gnu.org; Sun, 22 Jan 2023 08:28:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pJaOA-0004W1-Og for bug-gnu-emacs@gnu.org; Sun, 22 Jan 2023 08:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pJaOA-00082J-D3 for bug-gnu-emacs@gnu.org; Sun, 22 Jan 2023 08:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eason Huang Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Jan 2023 13:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60556 X-GNU-PR-Package: emacs Original-Received: via spool by 60556-submit@debbugs.gnu.org id=B60556.167439404630847 (code B ref 60556); Sun, 22 Jan 2023 13:28:02 +0000 Original-Received: (at 60556) by debbugs.gnu.org; 22 Jan 2023 13:27:26 +0000 Original-Received: from localhost ([127.0.0.1]:50932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pJaNa-00081T-0a for submit@debbugs.gnu.org; Sun, 22 Jan 2023 08:27:26 -0500 Original-Received: from out203-205-221-240.mail.qq.com ([203.205.221.240]:55662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pJaNT-000816-0p for 60556@debbugs.gnu.org; Sun, 22 Jan 2023 08:27:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1674394028; bh=C6dnFZjS0hRNLCNYCXbXmU66MGVyOepZNdw0w5811dY=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=jyZgI4Yuxe7QkeUg/QpUa+jWG0SBg3+4XgaHSeJd5+FR/4FVR5hYzYaC1VNP22CJ9 4c6wqsmz0hcIsvLRyJkRpj+x+7/b1PtX3C9cr6pkiFMEDgPItJ6flx2jteypKylhSL qw6qRpiQLf8Ciw+id7U8W1isMpKnlRvHTwKyeD8g= Original-Received: from DESKTOP-VIHFE84 ([101.85.11.109]) by newxmesmtplogicsvrszb1-0.qq.com (NewEsmtp) with SMTP id 6C734A2B; Sun, 22 Jan 2023 21:27:07 +0800 X-QQ-mid: xmsmtpt1674394027tpg4ffj7a X-QQ-XMAILINFO: Nxcyh1H/Itmfa6kxk9cnXPwkvNR3ouklN9SVPtevX2+5BNRvkY2QCNA8t5HIlh /0O57WalFF5lGj7YNqOfkIgXwugzLCqWEUGx1qMrvn0yv8uVDy7QaDjE/wQg/VSoqOPcdBLRRIhx 6VIk4VXHpEmzooccyjqNpmOAKD2IqSX9fv8VsmLDdtmndVFUccu82Kk/5snPEzortXwZdTzNKm45 K4gCImIo7b0F+Tf8nDijsCPyR+EWePGuKIt5fyNjRYU4HHvD8bV/RFf073fsOmkTbUwEcgfhZ/EB XbZiynPW6hwu4fdB+9dolcM23/FJA7Ob7Ft6FVmL2CnGWbgX9B9fgyhelRi5T6UlGdkG3blA7q/W fmmmFfvAQTkjn0n/uQ0bBccFVvJMph5PtK/HL/jkn21D1FnhE9HyItcVhtDUhFgNEt4EOszAMYut zNQBvhr66k11SJpxZxtDiOY4uBpnS0SDyMyNCy2DzRXNlZCBsWngL+EIeqTI4E982/pc6TNW5TMb 5tVrridX/ytjxfrf8yAmMKjanEE6s7zyo640LYYoix7jZMxmkmVI5CQqkJ8pWmlmLuANw/YJTXOp IEsUJ7vEHVTwQWf9sK8jm47u3k9Ddp4DMbdyDjSOnLtiYMuyloN9LG7eoPymt1XZq7i1bNDURF3s aFTN5CiGfpdB/TxfgCJr4LcvQOFuRqcs5XZKtbCNwHuVWTjAaita6bIzu/tGWx+CiHn+0N3zYOvW KywB+NDPtKIYEjN9m3UApF7tO+qSbtEao6W1ubmQKWDHw+4Y0jSsla7j3pTwQ92GJrAhmMr9qGnZ 3T9+dCAMlcoXhHd1DqSxbNipa1PMXHJONjj7Hjpv In-Reply-To: <83r0vmk9dn.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 22 Jan 2023 15:05:08 +0200") Original-Message-ID: <86a62aem3d.fsf@foxmail.com> 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:253937 Eli Zaretskii writes: >> From: Eason Huang >> Cc: 60556@debbugs.gnu.org >> Date: Sun, 22 Jan 2023 20:11:23 +0800 >>=20 >> (gdb) thread apply all bt >>=20 >> Thread 43 (Thread 14608.0x3f20): >> #0 0x00007ffda9a90bb1 in ntdll!DbgBreakPoint () from C:\Windows\SYSTEM3= 2\ntdll.dll >> #1 0x00007ffda9abcc2e in ntdll!DbgUiRemoteBreakin () from C:\Windows\SY= STEM32\ntdll.dll >> #2 0x00007ffda8fa7614 in KERNEL32!BaseThreadInitThunk () from C:\Window= s\System32\kernel32.dll >> #3 0x00007ffda9a426a1 in ntdll!RtlUserThreadStart () from C:\Windows\SY= STEM32\ntdll.dll >> #4 0x0000000000000000 in ?? () >> Backtrace stopped: previous frame inner to this frame (corrupt stack?) >>=20 >> Thread 5 (Thread 14608.0x4bf8): >> #0 0x00007ffda9a90b14 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:= \Windows\SYSTEM32\ntdll.dll >> #1 0x00007ffda9a42e17 in ntdll!TpReleaseCleanupGroupMembers () from C:\= Windows\SYSTEM32\ntdll.dll >> #2 0x00007ffda8fa7614 in KERNEL32!BaseThreadInitThunk () from C:\Window= s\System32\kernel32.dll >> #3 0x00007ffda9a426a1 in ntdll!RtlUserThreadStart () from C:\Windows\SY= STEM32\ntdll.dll >> #4 0x0000000000000000 in ?? () >> Backtrace stopped: previous frame inner to this frame (corrupt stack?) >>=20 >> Thread 4 (Thread 14608.0x4e10): >> #0 0x00007ffda9a90b14 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:= \Windows\SYSTEM32\ntdll.dll >> #1 0x00007ffda9a42e17 in ntdll!TpReleaseCleanupGroupMembers () from C:\= Windows\SYSTEM32\ntdll.dll >> #2 0x00007ffda8fa7614 in KERNEL32!BaseThreadInitThunk () from C:\Window= s\System32\kernel32.dll >> #3 0x00007ffda9a426a1 in ntdll!RtlUserThreadStart () from C:\Windows\SY= STEM32\ntdll.dll >> #4 0x0000000000000000 in ?? () >> Backtrace stopped: previous frame inner to this frame (corrupt stack?) >>=20 >> Thread 3 (Thread 14608.0x4338): >> #0 0x00007ffda7901104 in win32u!NtUserGetMessage () from C:\Windows\Sys= tem32\win32u.dll >> --Type for more, q to quit, c to continue without paging-- > > Did you type RET there? Because there should be more threads (at > least 2 more)... > > Thanks. > Sorry, I didn't type RET to show more infomations. I tried to reproduce again, and the result is as below: ``` =E2=9E=9C ~ =E2=9C=97 ps -name emacs NPM(K) PM(M) WS(M) CPU(s) Id SI ProcessName ------ ----- ----- ------ -- -- ----------- 20 38.86 43.11 2.38 1036 1 emacs =E2=9E=9C ~ mingw MINGW64 ~ $ gdb -p 1036 GNU gdb (GDB) 12.1 Copyright (C) 2022 Free Software Foundation, Inc. Attaching to process 1036 [New Thread 1036.0x23c8] [New Thread 1036.0x1744] [New Thread 1036.0x33d8] [New Thread 1036.0x20f0] [New Thread 1036.0x2aa0] Reading symbols from C:\opt\emacs\bin\emacs.exe... (gdb) c Continuing. [Thread 1036.0x2aa0 exited with code 0] [New Thread 1036.0x42b8] [New Thread 1036.0x166c] [Thread 1036.0x166c exited with code 0] [Thread 1036.0x42b8 exited with code 0] [New Thread 1036.0x5b4] [New Thread 1036.0x2774] [New Thread 1036.0x2734] [New Thread 1036.0x2714] [Thread 1036.0x2774 exited with code 0] [Thread 1036.0x5b4 exited with code 0] [Thread 1036.0x2714 exited with code 0] [Thread 1036.0x2734 exited with code 0] [New Thread 1036.0x3c78] [New Thread 1036.0x3494] [New Thread 1036.0xe90] [New Thread 1036.0x5c4] [Thread 1036.0x5c4 exited with code 0] [Thread 1036.0xe90 exited with code 0] [Thread 1036.0x3494 exited with code 0] [Thread 1036.0x3c78 exited with code 0] [New Thread 1036.0xe88] Thread 17 received signal SIGTRAP, Trace/breakpoint trap. [Switching to Thread 1036.0xe88] 0x00007ffaa4790bb1 in ntdll!DbgBreakPoint () from C:\Windows\SYSTEM32\ntdll= .dll (gdb) thread apply all bt Thread 17 (Thread 1036.0xe88): #0 0x00007ffaa4790bb1 in ntdll!DbgBreakPoint () from C:\Windows\SYSTEM32\n= tdll.dll #1 0x00007ffaa47bcc2e in ntdll!DbgUiRemoteBreakin () from C:\Windows\SYSTE= M32\ntdll.dll #2 0x00007ffaa3317614 in KERNEL32!BaseThreadInitThunk () from C:\Windows\S= ystem32\kernel32.dll #3 0x00007ffaa47426a1 in ntdll!RtlUserThreadStart () from C:\Windows\SYSTE= M32\ntdll.dll #4 0x0000000000000000 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) Thread 5 (Thread 1036.0x20f0): #0 0x00007ffaa4790b14 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\Wi= ndows\SYSTEM32\ntdll.dll #1 0x00007ffaa4742e17 in ntdll!TpReleaseCleanupGroupMembers () from C:\Win= dows\SYSTEM32\ntdll.dll #2 0x00007ffaa3317614 in KERNEL32!BaseThreadInitThunk () from C:\Windows\S= ystem32\kernel32.dll #3 0x00007ffaa47426a1 in ntdll!RtlUserThreadStart () from C:\Windows\SYSTE= M32\ntdll.dll #4 0x0000000000000000 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) Thread 4 (Thread 1036.0x33d8): #0 0x00007ffaa4790b14 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\Wi= ndows\SYSTEM32\ntdll.dll #1 0x00007ffaa4742e17 in ntdll!TpReleaseCleanupGroupMembers () from C:\Win= dows\SYSTEM32\ntdll.dll --Type for more, q to quit, c to continue without paging-- #2 0x00007ffaa3317614 in KERNEL32!BaseThreadInitThunk () from C:\Windows\S= ystem32\kernel32.dll #3 0x00007ffaa47426a1 in ntdll!RtlUserThreadStart () from C:\Windows\SYSTE= M32\ntdll.dll #4 0x0000000000000000 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) Thread 3 (Thread 1036.0x1744): #0 0x00007ffaa2241104 in win32u!NtUserGetMessage () from C:\Windows\System= 32\win32u.dll #1 0x00007ffaa3db1b9e in USER32!GetMessageW () from C:\Windows\System32\us= er32.dll #2 0x00007ff691a4c969 in w32_msg_pump (msg_buf=3Dmsg_buf@entry=3D0x4d687ff= d40) at w32fns.c:3336 #3 0x00007ff691a4d0db in w32_msg_worker (arg=3D) at w32fns.= c:3574 #4 0x00007ffaa3317614 in KERNEL32!BaseThreadInitThunk () from C:\Windows\S= ystem32\kernel32.dll #5 0x00007ffaa47426a1 in ntdll!RtlUserThreadStart () from C:\Windows\SYSTE= M32\ntdll.dll #6 0x0000000000000000 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) Thread 2 (Thread 1036.0x23c8): #0 0x00007ffaa478d744 in ntdll!ZwDelayExecution () from C:\Windows\SYSTEM3= 2\ntdll.dll #1 0x00007ffaa1fab16e in SleepEx () from C:\Windows\System32\KernelBase.dll #2 0x00007ff691a83fa9 in timer_loop (arg=3D0x7ff69202c580 ) a= t w32proc.c:476 #3 0x00007ffaa3317614 in KERNEL32!BaseThreadInitThunk () from C:\Windows\S= ystem32\kernel32.dll --Type for more, q to quit, c to continue without paging-- #4 0x00007ffaa47426a1 in ntdll!RtlUserThreadStart () from C:\Windows\SYSTE= M32\ntdll.dll #5 0x0000000000000000 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) Thread 1 (Thread 1036.0x23e0): #0 0x00007ffaa224a104 in win32u!NtUserMsgWaitForMultipleObjectsEx () from = C:\Windows\System32\win32u.dll #1 0x00007ffaa3db07ee in USER32!MsgWaitForMultipleObjectsEx () from C:\Win= dows\System32\user32.dll #2 0x00007ff691a870b0 in sys_select (nfds=3D, rfds=3D0x4d66= 7fe4d0, wfds=3D0x4d667fe4d8, efds=3D, timeout=3D, ignored=3D0x0) at w32proc.c:2504 #3 0x00007ff691a36d63 in really_call_select (arg=3D0x4d667fe250) at thread= .c:612 #4 0x00007ff691a3778e in flush_stack_call_func (arg=3D0x4d667fe330, func= =3D0x7ff691a36d00 ) at lisp.h:4232 #5 thread_select (func=3D, max_fds=3D, rfds= =3Drfds@entry=3D0x4d667fe4d0, wfds=3Dwfds@entry=3D0x4d667fe4d8, efds=3D, efds@entry=3D0x0, timeout=3D, timeout@entry=3D0= x4d667fe4e0, sigmask=3D, sigmask@entry=3D0x0) at thread.c:644 #6 0x00007ff691a0f1b4 in wait_reading_process_output (time_limit=3D, nsecs=3D, read_kbd=3D, read_kbd@ent= ry=3D-1, do_display=3Ddo_display@entry=3Dtrue, wait_for_cell=3D, wait_for_cell@entry=3D0x0, wait_proc=3D, wait_proc@entr= y=3D0x0, just_wait_proc=3D, just_wait_proc@entry=3D0) at pro= cess.c:5693 #7 0x00007ff69185bea5 in sit_for (timeout=3Dtimeout@entry=3D0xb6, reading= =3Dreading@entry=3Dtrue, display_option=3Ddisplay_option@entry=3D1) at disp= new.c:6252 #8 0x00007ff691939a75 in read_char (commandflag=3D, map=3D<= optimized out>, map@entry=3D0x1a52d6317b3, prev_event=3D, us= ed_mouse_menu=3D,--Type for more, q to quit, c to cont= inue without paging-- used_mouse_menu@entry=3D0x4d667fed7b, end_time=3D, end_time= @entry=3D0x0) at keyboard.c:2871 #9 0x00007ff69193b072 in read_key_sequence (keybuf=3Dkeybuf@entry=3D0x4d66= 7fef00, prompt=3Dprompt@entry=3D0x0, dont_downcase_last=3Ddont_downcase_las= t@entry=3Dfalse, can_return_switch_frame=3Dcan_return_switch_frame@entry=3D= true, fix_current_buffer=3Dfix_current_buffer@entry=3Dtrue, prevent_redispl= ay=3Dprevent_redisplay@entry=3Dfalse) at keyboard.c:10073 #10 0x00007ff69193c69c in command_loop_1 () at keyboard.c:1375 #11 0x00007ff6919b580d in internal_condition_case (bfun=3Dbfun@entry=3D0x7f= f69193c4b0 , handlers=3Dhandlers@entry=3D0x90, hfun=3Dhfun@= entry=3D0x7ff691931520 ) at eval.c:1474 #12 0x00007ff691928bde in command_loop_2 (handlers=3D0x90) at keyboard.c:11= 24 #13 0x00007ff6919b577b in internal_catch (tag=3Dtag@entry=3D0x102f0, func= =3Dfunc@entry=3D0x7ff691928bb0 , arg=3Darg@entry=3D0x90) at= eval.c:1197 #14 0x00007ff691928b6c in command_loop () at keyboard.c:1102 #15 0x00007ff691931077 in recursive_edit_1 () at keyboard.c:711 #16 0x00007ff691931440 in Frecursive_edit () at keyboard.c:794 #17 0x00007ff691ac1f00 in main (argc=3D, argv=3D0x1a52a37163= 0) at emacs.c:2529 (gdb) q A debugging session is active. Inferior 1 [process 1036] will be detached. Quit anyway? (y or n) y Detaching from program: C:\opt\emacs\bin\emacs.exe, process 1036 [Inferior 1 (process 1036) detached] ``` --=20 Eason Huang