From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Joe Trivers via help-gnu-emacs Newsgroups: gmane.emacs.help Subject: Re: emacs won't start interactively Date: Tue, 28 May 2019 01:09:23 +0000 Message-ID: Reply-To: Joe_Trivers@amat.com Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="51617"; mail-complaints-to="usenet@blaine.gmane.org" To: Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 28 03:21:28 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hVQnu-000D8Q-Q9 for geh-help-gnu-emacs@m.gmane.org; Tue, 28 May 2019 03:21:27 +0200 Original-Received: from localhost ([127.0.0.1]:55387 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVQnm-0005Vk-Md for geh-help-gnu-emacs@m.gmane.org; Mon, 27 May 2019 21:21:18 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVQcN-0002Ic-Ay for help-gnu-emacs@gnu.org; Mon, 27 May 2019 21:09:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVQcL-0003l9-OM for help-gnu-emacs@gnu.org; Mon, 27 May 2019 21:09:31 -0400 Original-Received: from mx2ext.amat.com ([152.135.235.11]:40976) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hVQcL-0003jI-Eu for help-gnu-emacs@gnu.org; Mon, 27 May 2019 21:09:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=amat.com; i=@amat.com; q=dns/txt; s=Securemail; t=1559005769; x=1590541769; h=from:to:subject:date:message-id: content-transfer-encoding:mime-version; bh=V1+fM8aZGSq84XiOJKrbVG99QAWBux0xSG3YluBn9XQ=; b=jo6SYb79vGw4snoFk7cJkWpxIKOy4k1BFwrlU5+AcqzX4ChLgpFi8rRD 02fuv+/LBOZAiBcsbWJHRAdKjn87+ulNZICAJ4ghFtyuu+N6TzuZicJLC JW/o8XXv06worTN+wDaonjPUKrQQJKppLjmsB1lPfPCsqvZR8/3KSNpNj BsTrbIEwINJLoTfwS19Nq1f8BjmDg8taVYup02gRW5d0/mkosXHTX0h9T 9QPOp8BbJK1zfdFFfwt/vi5KB7Q8Qoxa1IJTDbIwfMJElYVhpSTUSwbmD wStXonpehwNXB71iWHsFcVzOBZlO3OjqMAZHirKvIEUg0P7q3BIzYGGrQ w==; X-SBRS: None X-Modified-From: True X-IronPort-AV: E=Sophos;i="5.60,520,1549958400"; d="scan'208";a="250412917" Original-Received: from mail-cys01nam02lp2059.outbound.protection.outlook.com (HELO NAM02-CY1-obe.outbound.protection.outlook.com) ([104.47.37.59]) by mx2int.mis.amat.com with ESMTP/TLS/AES256-SHA256; 27 May 2019 18:09:25 -0700 Original-Received: from BN6P102MB0066.NAMP102.PROD.OUTLOOK.COM (129.75.131.21) by BN6P102MB0083.NAMP102.PROD.OUTLOOK.COM (129.75.131.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1922.22; Tue, 28 May 2019 01:09:24 +0000 Original-Received: from BN6P102MB0066.NAMP102.PROD.OUTLOOK.COM ([fe80::69c8:252a:2735:7290]) by BN6P102MB0066.NAMP102.PROD.OUTLOOK.COM ([fe80::69c8:252a:2735:7290%8]) with mapi id 15.20.1922.021; Tue, 28 May 2019 01:09:24 +0000 Thread-Topic: Re: emacs won't start interactively Thread-Index: AdUU7WoqG1QFq3nrSpm9jS7Hx44swA== Accept-Language: en-US Content-Language: en-US authentication-results: spf=none (sender IP is ) smtp.mailfrom=Joe_Trivers@amat.com; x-originating-ip: [152.135.125.184] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f159fec0-3639-41a8-f7ea-08d6e3091f91 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:BN6P102MB0083; x-ms-traffictypediagnostic: BN6P102MB0083: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 00514A2FE6 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(136003)(366004)(376002)(396003)(346002)(199004)(189003)(316002)(5640700003)(6506007)(66066001)(55016002)(476003)(256004)(486006)(7696005)(102836004)(14444005)(33656002)(99286004)(186003)(3846002)(6116002)(26005)(2906002)(6436002)(2351001)(53936002)(66556008)(2501003)(25786009)(66946007)(7736002)(8676002)(76116006)(73956011)(64756008)(66446008)(9686003)(81156014)(14454004)(81166006)(229853002)(3480700005)(6916009)(71200400001)(478600001)(71190400001)(72206003)(305945005)(66476007)(80792005)(52536014)(86362001)(5660300002)(8936002)(74316002)(6246003)(68736007)(460985005); DIR:OUT; SFP:1102; SCL:1; SRVR:BN6P102MB0083; H:BN6P102MB0066.NAMP102.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: YnwD856/Kzyok+ZoUpb3pdILJE3ErPJEkjdRhgSCKRkqLfI12H7FdWa78yJJs+pc1o1jxjIM4oZKtVQ1Ift3x+QDEcWhRD3VJUswyJrS9Z9E11anMyZKfx1pz8AZv3xe7y2mCjXoNOPMTO8N2Z0Esd9eE2e4aGbOO8SHBDjQ2Up6RDubscVJcio7GdLZe0hwhKvw4cSd2//FIjoGkCAY64gsbjc8FYJjB6+yEyup1NoVLXk6QWYTpnpgUlTYFsWikTMRB2VB2c1lcb92C15zM47hOrI/OPbCXQX3dTUR3wVHQb3kdu1zyOCh3OGQKoLwVKUkkjgu9bNwnwBSXrHLCKxvdxinOpYLLeNT+hKJyo7lcrlOo93exTGwJa7FJHDZOgO7pY5QffDEAw13gaC9EN5zmLtdExIkNEJEp67Nymk= X-OriginatorOrg: amat.com X-MS-Exchange-CrossTenant-Network-Message-Id: f159fec0-3639-41a8-f7ea-08d6e3091f91 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 May 2019 01:09:24.0662 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 709c2643-b1a9-4415-ad0f-521cfa6ba3f5 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Joe_Trivers@amat.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6P102MB0083 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 152.135.235.11 X-Mailman-Approved-At: Mon, 27 May 2019 21:21:09 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:120657 Archived-At: [I hope "Re:" in the subject line does the Right Thing.] From:=D3scar Fuentes > What's the exit code of emacs? > > emacs.exe -nw > echo %errorlevel% 1 > If, on the command line, you set PATH to the bare minimum > (c:\windows\system32) and then run emacs.exe, does it work? Same result. > You can try installing Dependencies [1] and see if there is some missing > dll or a mismatch. It shows a _lot_ of dependencies, 81 lines in the Module subwindow. They'r= e all in or under C:\Windows\system32, near as I can tell. Not sure how to = find incompatible ones. All are shown as Machine: AMD64. Many are api-ms-wi= n-core-*.dll -> C:\Windows\system32\kernel32.dll or kernelbase.dll or powrp= rof.dll or sechost.dll or a few other ones. I installed enough of MinGW to get gdb going, and then noticed it appears t= o be 32-bit only so I re-unpacked the emacs-26.2-i686 zip that I tried the = first time. It, too, exits immediately when I run bin\emacs.exe or runemacs= .exe. I ran emacs.exe with gdb and gave it an "r" command, hoping for a sta= ck trace when something broke. To my astonishment, emacs popped up in a win= dow and looked perfect. Very interesting, I thought. I tried to run the 64-bit emacs.exe with gdb b= ut it said it didn't recognize the format of the executable. I then installed mingw-w64 and ran the 64-bit emacs-26.1.exe with that gdb,= and it also produced a perfectly cromulent emacs window. So apparently wha= tever goes wrong is cured by running under gdb. Any further thoughts about what might be happening here? And on how gdb cou= ld be making it work correctly? The content of this message is APPLIED MATERIALS CONFIDENTIAL. If you are n= ot the intended recipient, please notify me, delete this email and do not u= se or distribute this email.