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 19:22:23 +0800 Message-ID: References: <83tu0ikf0v.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="38176"; 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 12:23:29 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 1pJYRc-0009kT-OD for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 22 Jan 2023 12:23:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pJYRI-00079L-Aa; Sun, 22 Jan 2023 06:23:08 -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 1pJYRD-000778-03 for bug-gnu-emacs@gnu.org; Sun, 22 Jan 2023 06:23:04 -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 1pJYRC-0004Xp-Ih for bug-gnu-emacs@gnu.org; Sun, 22 Jan 2023 06:23:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pJYRC-0002Mc-4j for bug-gnu-emacs@gnu.org; Sun, 22 Jan 2023 06:23: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 11:23: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.16743865619053 (code B ref 60556); Sun, 22 Jan 2023 11:23:02 +0000 Original-Received: (at 60556) by debbugs.gnu.org; 22 Jan 2023 11:22:41 +0000 Original-Received: from localhost ([127.0.0.1]:50784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pJYQr-0002Lv-3q for submit@debbugs.gnu.org; Sun, 22 Jan 2023 06:22:41 -0500 Original-Received: from out203-205-221-192.mail.qq.com ([203.205.221.192]:50296) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pJYQl-0002Lb-DL for 60556@debbugs.gnu.org; Sun, 22 Jan 2023 06:22:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1674386545; bh=+CxsiFwtvndnB24hHQuJCQDnNGoKt8oNUp9srjvKoo8=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=WoWTWwk2SXWoSJ8fhCAKI7S7FLaHHeBKCpkF4x7pYrdPkJ+UDvbxTSPzBtn0wZPfJ AMunvU8n4efN9mxmCdFHOYiyFXClE2hPUHAKXKo26plBlPQ3zrf9N2QZqHHPVMSc/D vT3gDlwL3JMtT/gOhDFWsVdMHxCWz11BpmsZQK/g= Original-Received: from macbook ([101.85.11.109]) by newxmesmtplogicsvrszc5-0.qq.com (NewEsmtp) with SMTP id 59839E96; Sun, 22 Jan 2023 19:22:24 +0800 X-QQ-mid: xmsmtpt1674386544th1omssm7 X-QQ-XMAILINFO: MB5+LsFw85NoztYEdIX34cmS8jqrfWHhyW9E6NdCTPpaTxEDc/FVCf8DxTHIhu p/a7z0+aeSkDtAfLnmqLDCD8jYoIuM6yMkwtvT5ijFGXTWom+JwJojwTpKr1RlTaXrJpIpeiO4Fo AKKclIw6mMl+ArnzQL5gy1Ujbn1FgU4W7SzxEfnQKFVc55Terw5bHPKQeUY2vQo8HQFwzz1xnNic Em3krDYvXUG2dd4fW4qwsa8iofmBpp5ZdiVlUr23aw5JNSyG70hnlhtwh99MgL3YbE9HGrJNdAcC BBlylCxpBVnbykNERerT3Getfra4yP/e5O4QwZZA1yssh4fweBTuPvxR5wt21qtypEUpd4yjq/ys kdFUHi40dTgbtUn3V9m5pd6Ica0rIv5dtoZyFLfPfdxK/E1VESDsFLeC5nTa+DxRwEdwvbZAyMen XvHku5G2/vKmYxdAkU1Z89YU1vLD2qRVcZkTtkB4qjPs74dqK8G/UBiShb4D2jk30SLz/+t+9kBm KKagqwVpBqvBcM+FCcPY9VD9OhyBB7qHHZklmzv8hCPxPWB0PfCN79/175acC95yEtojHxottP9V UTO3IC3kQofh0vcoCnGBo89KrPyWSvELcqzVDo9E8ZedBzaT5lp2vwN+sj6rMeQQZvM7k3bzLZzb rUcHNGX2hRKAG1SKuBG1QCnF9uRWzGBnzHFoa1GOAvia79NRu3mvvRt+fVqjQXlYY2+p0MF2hVya Qegc2BYZL1/Ai78hNRPe+xm9GPIfNCCCXWFS7CdYmQGeZMYQt0s1UpzbEry45akX73pAb0gzl+HT pdiLCvnTGYrL789hztHZ9Q9/HFAliDH3OULaa62x In-Reply-To: <83tu0ikf0v.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 22 Jan 2023 13:03:12 +0200") Original-Message-ID: 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:253926 Eli Zaretskii writes: >> Date: Wed, 04 Jan 2023 22:44:22 +0800 >> From: Eason Huang >> >> Thread 44 received signal SIGTRAP, Trace/breakpoint trap. >> [Switching to Thread 7544.0x32a0] >> 0x00007fff84fd0bb1 in ntdll!DbgBreakPoint () from C:\Windows\SYSTEM32\nt= dll.dll >> (gdb) bt >> #0 0x00007fff84fd0bb1 in ntdll!DbgBreakPoint () from C:\Windows\SYSTEM3= 2\ntdll.dll >> #1 0x00007fff84ffcc2e in ntdll!DbgUiRemoteBreakin () from C:\Windows\SY= STEM32\ntdll.dll >> #2 0x00007fff84947614 in KERNEL32!BaseThreadInitThunk () from C:\Window= s\System32\kernel32.dll >> #3 0x00007fff84f826a1 in ntdll!RtlUserThreadStart () from C:\Windows\SY= STEM32\ntdll.dll >> #4 0x0000000000000000 in ?? () >> Backtrace stopped: previous frame inner to this frame (corrupt stack?) >> (gdb) q >> A debugging session is active. > > At this point, instead of "q", please type: > > (gdb) thread 1 > (gdb) bt > > and post the results here. > > > > Hi Eli, I tried to debug with GDB again and reproduce the issue and the result is as bellow: ``` =E2=9E=9C ~ ps -name emacs NPM(K) PM(M) WS(M) CPU(s) Id SI ProcessName ------ ----- ----- ------ -- -- ----------- 21 47.24 52.12 7.62 16764 1 emacs =E2=9E=9C ~ mingw Aqua@DESKTOP-VIHxxxx MINGW64 ~ $ gdb -p 16764 GNU gdb (GDB) 12.1 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-w64-mingw32". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word". Attaching to process 16764 [New Thread 16764.0x20f4] [New Thread 16764.0x16f4] [New Thread 16764.0x1a18] Reading symbols from C:\opt\emacs\bin\emacs.exe... (gdb) c Continuing. [Thread 16764.0x1a18 exited with code 0] [New Thread 16764.0x5230] [New Thread 16764.0x1ac4] [Thread 16764.0x1ac4 exited with code 0] [Thread 16764.0x5230 exited with code 0] [New Thread 16764.0x525c] [New Thread 16764.0x442c] [Thread 16764.0x442c exited with code 0] [Thread 16764.0x525c exited with code 0] [New Thread 16764.0x539c] [New Thread 16764.0x64] [Thread 16764.0x64 exited with code 0] [Thread 16764.0x539c exited with code 0] [New Thread 16764.0x1aac] [New Thread 16764.0x5094] [Thread 16764.0x5094 exited with code 0] [Thread 16764.0x1aac exited with code 0] [New Thread 16764.0x46cc] [New Thread 16764.0x50a8] [New Thread 16764.0xdb0] [New Thread 16764.0x1114] [Thread 16764.0x50a8 exited with code 0] [Thread 16764.0x46cc exited with code 0] [Thread 16764.0x1114 exited with code 0] [Thread 16764.0xdb0 exited with code 0] [New Thread 16764.0x536c] [New Thread 16764.0x3f7c] [New Thread 16764.0x1040] [New Thread 16764.0x28b0] [Thread 16764.0x3f7c exited with code 0] [Thread 16764.0x536c exited with code 0] [Thread 16764.0x28b0 exited with code 0] [Thread 16764.0x1040 exited with code 0] [New Thread 16764.0x2ca4] [New Thread 16764.0x3f1c] [New Thread 16764.0x4048] [New Thread 16764.0x5148] [Thread 16764.0x5148 exited with code 0] [Thread 16764.0x4048 exited with code 0] [Thread 16764.0x3f1c exited with code 0] [Thread 16764.0x2ca4 exited with code 0] [New Thread 16764.0x1184] Thread 25 received signal SIGTRAP, Trace/breakpoint trap. [Switching to Thread 16764.0x1184] 0x00007ffda9a90bb1 in ntdll!DbgBreakPoint () from C:\Windows\SYSTEM32\ntdll= .dll (gdb) thread 1 [Switching to thread 1 (Thread 16764.0x2de4)] #0 0x00007ffda790a104 in win32u!NtUserMsgWaitForMultipleObjectsEx () from = C:\Windows\System32\win32u.dll (gdb) bt #0 0x00007ffda790a104 in win32u!NtUserMsgWaitForMultipleObjectsEx () from = C:\Windows\System32\win32u.dll #1 0x00007ffda91207ee in USER32!MsgWaitForMultipleObjectsEx () from C:\Win= dows\System32\user32.dll #2 0x00007ff6123470b0 in sys_select (nfds=3D, rfds=3D0x72a1= 7fe960, wfds=3D0x72a17fe968, efds=3D, timeout=3D, ignored=3D0x0) at w3= 2proc.c:2504 #3 0x00007ff6122f6d63 in really_call_select (arg=3D0x72a17fe6e0) at thread= .c:612 #4 0x00007ff6122f778e in flush_stack_call_func (arg=3D0x72a17fe7c0, func= =3D0x7ff6122f6d00 ) at lisp.h:4232 #5 thread_select (func=3D, max_fds=3D, rfds= =3Drfds@entry=3D0x72a17fe960, wfds=3Dwfds@entry=3D0x72a17fe968, efds=3D, efds@entry=3D= 0x0, timeout=3D, timeout@entry=3D0x72a17fe970, sigmask=3D, sigmask@entry= =3D0x0) at thread.c:644 #6 0x00007ff6122cf1b4 in wait_reading_process_output (time_limit=3D, nsecs=3D, read_kbd=3D, read_kbd@entry=3D-1, do_display=3Ddo_displa= y@entry=3Dtrue, wait_for_cell=3D, wait_for_cell@entry=3D0x0, wait_proc=3D, wait_proc@entry= =3D0x0, just_wait_proc=3D, just_wait_proc@entry=3D0) at process.c:5693 #7 0x00007ff61211bea5 in sit_for (timeout=3Dtimeout@entry=3D0xb6, reading= =3Dreading@entry=3Dtrue, display_option=3Ddisplay_option@entry=3D1) at dispnew.c:6252 #8 0x00007ff6121f9a75 in read_char (commandflag=3D, map=3D<= optimized out>, map@entry=3D0x2044bc40db3, prev_event=3D, used_mouse_menu=3D, used_m= ouse_menu@entry=3D0x72a17ff20b, end_time=3D, end_time@entry=3D0x0) at keyboard.c:2871 #9 0x00007ff6121fb072 in read_key_sequence (keybuf=3Dkeybuf@entry=3D0x72a1= 7ff390, prompt=3Dprompt@entry=3D0x0, dont_downcase_last=3Ddont_downcase_last@entry=3Dfalse, can_return_switc= h_frame=3Dcan_return_switch_frame@entry=3Dtrue, fix_current_buffer=3Dfix_current_buffer@entry=3Dtrue, prevent_redisplay= =3Dprevent_redisplay@entry=3Dfalse) at keyboard.c:10073 #10 0x00007ff6121fc69c in command_loop_1 () at keyboard.c:1375 #11 0x00007ff61227580d in internal_condition_case (bfun=3Dbfun@entry=3D0x7f= f6121fc4b0 , handlers=3Dhandlers@entry=3D0x90, hfun=3Dhfun@entry=3D0x7ff6121f1520 ) at eval.c:1474 #12 0x00007ff6121e8bde in command_loop_2 (handlers=3D0x90) at keyboard.c:11= 24 --Type for more, q to quit, c to continue without paging-- ``` --=20 Eason Huang