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 13:24:31 +0000 (UTC)	[thread overview]
Message-ID: <1737124947.2369817.1651411471744@mail.yahoo.com> (raw)
In-Reply-To: <834k2977sf.fsf@gnu.org>


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

 No, I'm launching it from the Start Menu as an application.

Yes, the breakpoint breaks at one point. But `bt` shows `No stack`.
I've attached a screenshot of it.

    On Sunday, 1 May, 2022, 06:02:40 pm IST, Eli Zaretskii <eliz@gnu.org> wrote:  
 
 > Date: Sun, 01 May 2022 15:14:54 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 55047@debbugs.gnu.org, corwin@bru.st
> 
> > Starting program: C:\Program Files\Emacs\emacs-28.1\bin\emacs.exe
> > [New Thread 3876.0xff0]
> > [New Thread 3876.0x2538]
> > [New Thread 3876.0x14d0]
> > gdb: Target exception EXCEPTION_BREAKPOINT at 0x7fff7c9a06b0
> > [New Thread 3876.0xe08]
> > [New Thread 3876.0x171c]
> > [New Thread 3876.0x2bac]
> > gdb: Target exception MS_VC_EXCEPTION at 0x7fff7a294f99
> > [New Thread 3876.0x2024]
> > [New Thread 3876.0x8c4]
> > [New Thread 3876.0x24e0]
> > [New Thread 3876.0x2e80]
> > warning: onecore\base\appmodel\runtime\winrt\lib\windows.applicationmodel.package.cpp(1008)\Windows.ApplicationModel.dll!00007FFF724FE5CF: (caller: 00007FFF724EA25C) ReturnHr(1) tid(2bac) 80070002 The system cannot find the file specified.
> > warning: onecore\base\appmodel\runtime\winrt\lib\windows.applicationmodel.package.cpp(512)\Windows.ApplicationModel.dll!00007FFF724FE441: (caller: 00007FFF23B87D43) ReturnHr(2) tid(2bac) 80070002 The system cannot find the file specified.
> 
> As expected.

Wait a minute: didn't you say this is Windows 10?  If so, why are we
emitting MS_VC_EXCEPTION, that is only done on older Windows versions.

And why do we try to set the name of some thread?

Are you running "emacs -Q", or are you running without the -Q switch,
i.e. with all your customizations?  If the latter, could it be that
some of the customizations start Lisp threads?  If you run Emacs like
this:

  gdb "C:\Program Files\Emacs\emacs-28.1\bin\emacs.exe"
  ...
  (gdb) break sys_thread_set_name
  (gdb) run

does the breakpoint in sys_thread_set_name break?  If so, please type

  (gdb) bt

when Emacs is stopped in sys_thread_set_name, and show the result.
  

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

[-- Attachment #2: break.png --]
[-- Type: image/png, Size: 71698 bytes --]

  reply	other threads:[~2022-05-01 13:24 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
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 [this message]
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=1737124947.2369817.1651411471744@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).