From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: hermit sings via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#55047: Bug: Abort Dialog upon start Date: Sun, 1 May 2022 13:26:25 +0000 (UTC) Message-ID: <1786208740.2371321.1651411585058@mail.yahoo.com> References: <246509585.1257177.1650495418909.ref@mail.yahoo.com> <246509585.1257177.1650495418909@mail.yahoo.com> <83a6cfrnvc.fsf@gnu.org> <724548398.1751763.1651140515609@mail.yahoo.com> <83h76dbikb.fsf@gnu.org> <582218847.394002.1651316180180@mail.yahoo.com> <83ilqq96fs.fsf@gnu.org> <83ilqp7qi5.fsf@gnu.org> <2040733826.805267.1651395994272@mail.yahoo.com> <83czgx7fpv.fsf@gnu.org> <1810881854.2359254.1651400018458@mail.yahoo.com> <83a6c17d0w.fsf@gnu.org> <287599348.2362137.1651402389072@mail.yahoo.com> <838rrl7ano.fsf@gnu.org> <1578633690.2366188.1651405257587@mail.yahoo.com> <837d7578ld.fsf@gnu.org> <834k2977sf.fsf@gnu.org> <1737124947.2369817.1651411471744@mail.yahoo.com> Reply-To: hermit sings Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2371320_1638732316.1651411585057" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29006"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "55047@debbugs.gnu.org" <55047@debbugs.gnu.org>, "corwin@bru.st" To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 01 15:27:22 2022 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 1nl9bd-0007P5-Km for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 01 May 2022 15:27:21 +0200 Original-Received: from localhost ([::1]:39076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nl9ba-0000Cc-Vp for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 01 May 2022 09:27:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35798) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nl9bK-0000BI-FC for bug-gnu-emacs@gnu.org; Sun, 01 May 2022 09:27:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37781) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nl9bK-00076m-6h for bug-gnu-emacs@gnu.org; Sun, 01 May 2022 09:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nl9bK-00089P-3S for bug-gnu-emacs@gnu.org; Sun, 01 May 2022 09:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: hermit sings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 May 2022 13:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55047 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 55047-submit@debbugs.gnu.org id=B55047.165141159631281 (code B ref 55047); Sun, 01 May 2022 13:27:02 +0000 Original-Received: (at 55047) by debbugs.gnu.org; 1 May 2022 13:26:36 +0000 Original-Received: from localhost ([127.0.0.1]:59905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nl9au-00088T-9J for submit@debbugs.gnu.org; Sun, 01 May 2022 09:26:36 -0400 Original-Received: from sonic307-20.consmr.mail.sg3.yahoo.com ([106.10.241.37]:43542) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nl9ar-00087z-OD for 55047@debbugs.gnu.org; Sun, 01 May 2022 09:26:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1651411585; bh=Rp25Wh97p+IgTcmWJs4fVbncD2AW9i76n6LtTk03pPA=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From:Subject:Reply-To; b=iMBukgtEobkfv11iU08s+0HvmIQAqwzN5zF5WpdMNetyicALZ1MPDuZ9AGypfZAM2sU2kykiBiHK2pGIpayQdEd07kH7/Ffev3Ur4utTDrnorWNoUUyKqjhcIopt/eYUxfj1QYl1zljf/6oEwtt1FaY9km8I92M+kC0RqonQvXNwZdfQwUN+dgvooAiEVqQIoiRwXvf+XP46+DHGefWQP1Qic7BLTKTZ6dAkylJZSqaACb9valc9Px/cNzwjALLVGal23EsU0RQxwznIluHWsqOQtlwtr3l7MkMhx3Iv82RBCnozh+AWDsC1OwnQHPsYxw/JJtBKADNNkYG+Yi5Abw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1651411585; bh=nn/Bpna0yznwRzW/b0h50zcugNiGZ6afCPhzIwnZE7G=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=V3k7+K3Tw96jtZL1ZyCznxaBWECEKm5NYgczeu8uijxObB3yDcdU7jnJNblJQnGJlzIYjy8u72cHfKcFRII/r2+0R7X/tsHuZ1rKODPmM4lZ6yC2/Bmz5/eMa6zZzr5Uk8ZMapO18TXGssYcO1DTI+sgHuBkfyVQKrdHFgvDStdDN+FIDL0Iv6xHCz+IKEj3H3rDEbn0FCzDPSY+9pAba7uaX102sVFRsLYHi0Y6+ruqH2dPtPCxeIQk33s4/BM/qRMTNOsPhh/N1gdL95uHSS9h6hL/JSsB5hQOGvdh+xA5roCuw6jS1Ycw//vqpGK089cWZdGUAzc5wF/ifac5fg== X-YMail-OSG: j5VNxSYVM1m17watG7RVXHpbyYVJRV7d4JRX.Qordko_KERLgrav0RXbJcroJcI U99xrW1.CGMiHl52j6CdevlTt_jPLBoTmDGSa2msdNv7AS9UQbtirr.xeZle6G4H_Ppb_WWSN2m3 sqBZ16SIi.CXQt0_tzrNRBjGq2I1Z2nIUPe457c3QACM676D9y67QxncNNJmLF2LW9uQNB3wKAj8 tO8psgFj.hFXe6E7ZV7_L2pyS7pro6SElHvoZGKRcBMO..l.6wUQkiHzpBJXW2bjp6DpHP7RP4Zn KMqkJ6ArZrldGEPUKItwfbgvA_LZD4w0pBU7R4eLjpTeBMDTDWWg6AhqjxW..yWcjGS4FZmEVVEo q_wQZSj.gEdMU7beHkjKO4FzcDj_mb6AwpDd30OM7fYtyi3gDNgu_IPZRmZ4bP0Kx4rvk4jfBAMD KSr8m1xJAeKczkNJwv4IGHlmeZMwA.rZ9.xZclHNMyO8eSnZFzSvJRBgR3p_20A56V7lIzCoa_Ef FaZoLv2AcDdaKWGnLTLtNjc4.mUmDcUJib6Q7gGhZpUcmed5foG37aAeRb6q_QnwNCUPJYKelS3k ACHsBuA1hCCEqXWg8L0uc8yyvL7dDK8rMpjusIhUExJRos3gMqKlZcmfGzon2AcenNOuHmWI.gwZ NVmbpqCsmlJ8wJChkZHvC7Q4cgSaDLgt.8iB9s8Vl8ErBz_weeIDqeLtL8037v6DQ7Sr7RZiJQ3H 1m8Dago17xUWBiUqon35ZSyeGBBNfPPflv0Z9LxQ1lb6fd1NLW42J.dgWUZcltKdhkXMzSWTZ9GH QjDVEQUenJnD5oGYV8k.BMbHQdU7pOK1eYONTwGM3J X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.sg3.yahoo.com with HTTP; Sun, 1 May 2022 13:26:25 +0000 In-Reply-To: <1737124947.2369817.1651411471744@mail.yahoo.com> X-Mailer: WebService/1.1.20118 YMailNorrin 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" Xref: news.gmane.io gmane.emacs.bugs:231147 Archived-At: ------=_Part_2371320_1638732316.1651411585057 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Also, sometimes (not always) after startup and before the Abort dialog sho= ws up, I get this message in Emacs:`Error: Internal native compiler error f= ailed to compile`. =20 On Sunday, 1 May, 2022, 06:54:31 pm IST, hermit sings wrote: =20 =20 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 w= rote: =20 =20 > Date: Sun, 01 May 2022 15:14:54 +0300 > From: Eli Zaretskii > Cc: 55047@debbugs.gnu.org, corwin@bru.st >=20 > > 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.applicationmod= el.package.cpp(1008)\Windows.ApplicationModel.dll!00007FFF724FE5CF: (caller= : 00007FFF724EA25C) ReturnHr(1) tid(2bac) 80070002 The system cannot find t= he file specified. > > warning: onecore\base\appmodel\runtime\winrt\lib\windows.applicationmod= el.package.cpp(512)\Windows.ApplicationModel.dll!00007FFF724FE441: (caller:= 00007FFF23B87D43) ReturnHr(2) tid(2bac) 80070002 The system cannot find th= e file specified. >=20 > As expected. Wait a minute: didn't you say this is Windows 10?=C2=A0 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?=C2=A0 If the latter, could it be that some of the customizations start Lisp threads?=C2=A0 If you run Emacs like this: =C2=A0 gdb "C:\Program Files\Emacs\emacs-28.1\bin\emacs.exe" =C2=A0 ... =C2=A0 (gdb) break sys_thread_set_name =C2=A0 (gdb) run does the breakpoint in sys_thread_set_name break?=C2=A0 If so, please type =C2=A0 (gdb) bt when Emacs is stopped in sys_thread_set_name, and show the result. =20 ------=_Part_2371320_1638732316.1651411585057 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Also, sometimes (not always)= after startup and before the Abort dialog shows up, I get this message in = Emacs:
`Error: Internal na= tive compiler error failed to compile`.

=20
=20
On Sunday, 1 May, 2022, 06:54:31 pm IST, hermit sings &= lt;hermitsings@yahoo.com> wrote:


No, I'm launching it from the Start Menu as an app= lication.

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

=20
=20
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 T= hread 3876.0x14d0]
> > gdb: Target exception EXCEPT= ION_BREAKPOINT at 0x7fff7c9a06b0
> > [New Thread 38= 76.0xe08]
> > [New Thread 3876.0x171c]
> > [New Thread 3876.0x2bac]
> > gdb: T= arget exception MS_VC_EXCEPTION at 0x7fff7a294f99
> &g= t; [New Thread 3876.0x2024]
> > [New Thread 3876.0x= 8c4]
> > [New Thread 3876.0x24e0]
> > [New Thread 3876.0x2e80]
> > warning: on= ecore\base\appmodel\runtime\winrt\lib\windows.applicationmodel.package.cpp(= 1008)\Windows.ApplicationModel.dll!00007FFF724FE5CF: (caller: 00007FFF724EA= 25C) ReturnHr(1) tid(2bac) 80070002 The system cannot find the file specifi= ed.
> > warning: onecore\base\appmodel\runtime\winr= t\lib\windows.applicationmodel.package.cpp(512)\Windows.ApplicationModel.dl= l!00007FFF724FE441: (caller: 00007FFF23B87D43) ReturnHr(2) tid(2bac) 800700= 02 The system cannot find the file specified.
>
> As expected.


W= ait a minute: didn't you say this is Windows 10?  If so, why are weemitting MS_VC_EXCEPTION, that is only done on older Window= s versions.

And why do we try to set t= he name of some thread?

Are you runnin= g "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= .
<= br clear=3D"none">
------=_Part_2371320_1638732316.1651411585057--