unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: hermit sings via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "55047@debbugs.gnu.org" <55047@debbugs.gnu.org>,
	"corwin@bru.st" <corwin@bru.st>
Subject: bug#55047: Bug: Abort Dialog upon start
Date: Sun, 1 May 2022 10:13:38 +0000 (UTC)	[thread overview]
Message-ID: <1810881854.2359254.1651400018458@mail.yahoo.com> (raw)
In-Reply-To: <83czgx7fpv.fsf@gnu.org>


[-- Attachment #1.1: Type: text/plain, Size: 2424 bytes --]

 Ok, I ran it via GDB but it does not show the previous error which occurs while running normally in Windows.In fact, I had to exit Emacs with C-x C-c because GDB prompt was not available while Emacs was running. After closing, it shows `process exited normally`. Also, the Abort dialog did not appear while running under GDB in MSYS2.
Here is the screenshot after running.

    On Sunday, 1 May, 2022, 03:10:56 pm IST, Eli Zaretskii <eliz@gnu.org> wrote:  
 
 > Date: Sun, 1 May 2022 09:06:34 +0000 (UTC)
> From: hermit sings <hermitsings@yahoo.com>
> Cc: "55047@debbugs.gnu.org" <55047@debbugs.gnu.org>
> 
> Thread 1 (Thread 2776.0x99c):
> #0  0x00007fff7a53a104 in win32u!NtUserMsgWaitForMultipleObjectsEx () from C:\WINDOWS\System32\win32u.dll
> #1  0x00007fff7b6b0b5e in USER32!MsgWaitForMultipleObjectsEx () from C:\WINDOWS\System32\user32.dll
> #2  0x00007ff77f8a97ca in sys_select ()
> #3  0x00007ff77f869695 in really_call_select ()
> #4  0x00007ff77f86a88e in thread_select ()
> #5  0x00007ff77f8470cb in wait_reading_process_output ()
> #6  0x00007ff77f6cb56d in sit_for ()
> #7  0x00007ff77f7839a3 in read_char ()
> #8  0x00007ff77f7840f5 in read_key_sequence ()
> #9  0x00007ff77f785a4f in command_loop_1 ()
> #10 0x00007ff77f7f249d in internal_condition_case ()
> #11 0x00007ff77f77615e in command_loop_2 ()
> #12 0x00007ff77f7f240b in internal_catch ()
> #13 0x00007ff77f7760ec in command_loop ()
> #14 0x00007ff77f77c7c6 in recursive_edit_1 ()
> #15 0x00007ff77f77cb3a in Frecursive_edit ()
> #16 0x00007ff77f8e03f9 in main ()
> (gdb)

When this happens, please type these commands (the "(gdb)" part shows
the GDB prompt, no need to type it):

 (gdb) thread 1
 (gdb) frame 2
 (gdb) list
 (gdb) info locals

and post everything GDB displays as result of these commands.

Also, I see that you are attaching GDB to Emacs with "gdb -p".  This
is sub-optimal; please instead start Emacs under GDB to begin with.
Like this:

  gdb "C:\Program Files\Emacs\emacs-28.1\bin\emacs.exe"

(the quotes are important).

When GDB shows its "(gdb)" prompt, type "run" to run the program.  If
Emacs shows the abort dialog, click "YES", then type "thread apply all
bt" and show the results.  If the abort dialog doesn't pop up, you
should see GDB take control automatically when Emacs crashes; then
type "thread apply all bt" and post the results.

Thanks.
  

[-- Attachment #1.2: Type: text/html, Size: 4379 bytes --]

[-- Attachment #2: gdb.png --]
[-- Type: image/png, Size: 99260 bytes --]

  reply	other threads:[~2022-05-01 10:13 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <246509585.1257177.1650495418909.ref@mail.yahoo.com>
2022-04-20 22:56 ` bug#55047: Bug: Abort Dialog upon start hermit sings via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-04-21  5:45   ` Eli Zaretskii
     [not found]     ` <724548398.1751763.1651140515609@mail.yahoo.com>
2022-04-28 10:36       ` Eli Zaretskii
     [not found]         ` <582218847.394002.1651316180180@mail.yahoo.com>
2022-04-30 11:06           ` Eli Zaretskii
2022-04-30 13:40             ` hermit sings via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-04-30 13:56               ` Eli Zaretskii
2022-04-30 13:59               ` Eli Zaretskii
2022-04-30 15:46                 ` hermit sings via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-04-30 16:16                   ` Eli Zaretskii
2022-04-30 16:34                     ` hermit sings via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-04-30 22:32             ` Corwin Brust
2022-05-01  0:00               ` Corwin Brust
2022-05-01  5:48                 ` Eli Zaretskii
2022-05-01  9:06                   ` hermit sings via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-01  9:41                     ` Eli Zaretskii
2022-05-01 10:13                       ` hermit sings via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-05-01 10:39                         ` Eli Zaretskii
2022-05-01 10:53                           ` hermit sings via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-01 11:30                             ` Eli Zaretskii
2022-05-01 11:40                               ` hermit sings via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-01 12:14                                 ` Eli Zaretskii
2022-05-01 12:32                                   ` Eli Zaretskii
2022-05-01 13:24                                     ` hermit sings via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-01 13:26                                       ` hermit sings via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-01 13:35                                         ` Eli Zaretskii
2022-05-01 13:33                                       ` Eli Zaretskii
2022-05-01 14:18                                         ` hermit sings via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-01 14:32                                           ` Eli Zaretskii
2022-05-01 14:39                                             ` hermit sings via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-01 14:43                                               ` hermit sings via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-01 14:55                                               ` Eli Zaretskii
2022-05-01 15:22                                                 ` hermit sings via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-01 15:29                                                   ` Eli Zaretskii
2022-05-01 15:48                                                     ` hermit sings via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-01 16:09                                                       ` Eli Zaretskii
2022-05-01 16:19                                                         ` hermit sings via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-01 16:45                                                           ` Eli Zaretskii
2022-05-17 13:30                                                             ` Eli Zaretskii
2022-05-01 13:17                                   ` hermit sings via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-01 13:26                                     ` Eli Zaretskii
2022-05-01 13:41                                       ` hermit sings via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-01  5:46               ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1810881854.2359254.1651400018458@mail.yahoo.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=55047@debbugs.gnu.org \
    --cc=corwin@bru.st \
    --cc=eliz@gnu.org \
    --cc=hermitsings@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).