From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: awrhygty@outlook.com Newsgroups: gmane.emacs.bugs Subject: bug#69795: 29.1; cmdproxy.exe exits automatically after executing MSYS2 commands Date: Tue, 19 Mar 2024 07:54:51 +0900 Message-ID: References: <86h6h99hse.fsf@gnu.org> <86bk7gahe2.fsf@gnu.org> <86a5mz8xte.fsf@gnu.org> <86il1m7fk5.fsf@gnu.org> <86jzm25bcx.fsf@gnu.org> <86a5mx5qkc.fsf@gnu.org> <861q886d3q.fsf@gnu.org> <86plvr4rn0.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29924"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 69795@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 18 23:56:01 2024 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 1rmLtg-0007aH-Mk for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 18 Mar 2024 23:56:00 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmLtE-0003sc-B7; Mon, 18 Mar 2024 18:55:32 -0400 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 1rmLt8-0003sC-Nz for bug-gnu-emacs@gnu.org; Mon, 18 Mar 2024 18:55:26 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rmLt7-0000Uq-01 for bug-gnu-emacs@gnu.org; Mon, 18 Mar 2024 18:55:26 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rmLti-0006gh-Lw for bug-gnu-emacs@gnu.org; Mon, 18 Mar 2024 18:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: awrhygty@outlook.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Mar 2024 22:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69795 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 69795-submit@debbugs.gnu.org id=B69795.171080255125673 (code B ref 69795); Mon, 18 Mar 2024 22:56:02 +0000 Original-Received: (at 69795) by debbugs.gnu.org; 18 Mar 2024 22:55:51 +0000 Original-Received: from localhost ([127.0.0.1]:48495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmLtS-0006fr-RC for submit@debbugs.gnu.org; Mon, 18 Mar 2024 18:55:51 -0400 Original-Received: from mail-eastasiaazolkn19011002.outbound.protection.outlook.com ([52.103.64.2]:49199 helo=HK3PR03CU002.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmLtN-0006fG-5q for 69795@debbugs.gnu.org; Mon, 18 Mar 2024 18:55:45 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gFwE4O2M/XAVDemsBNkbbw1wmG82D5G7GRUPvHbs09+speFqp3zLtFIItez15k8Y/rQRUalYV7Upu+TYtoFFIADO3Iu2aH8eF4wOpbLltP6ZozuvUA2R2e60EpSQKRdlYDOucMXgOtmoXe2IeiQkpjqiHvMa1NP4dD+p1LKAHanaKm23MTIZ3KdQpiHNcITwaQ4eRfYDO5EW+RUz3K/sbDRz/vHpZeV1/k7xkv34JApjyAZevBoaBRMA8am2X2KeqCS0MBXGuXOeaUQh8YQoxy4zplyDP/UJ9+LXVQJ+zHSfu5AyE6GR21W3+l2vsvzbuMIMb4RKIdBwlzzfPk0/Tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=tchC6s28P60NwILGUrSQ03Zf9aS0F1hNPjtVjy2kfOE=; b=ads1+soaSUGrQBLJetU7mUAfPFqrGkCTv2I5J1hCAmTzIbCkmoSkP4SuK3pDL8t4YWrIq9NL6kZC+GgRE65IDK1KUXlBxcwKIQ6LsgtineVt+cIyMCY9FNKLtu43b0R9GET1OStJxdGMVezZaUeMqElbQ6is2+/Mkw4Ek5N7lkt8bEUkOwYKU9ge5OXxxIemGd4piJ2WwaC91eOCWQ8hstTx5rYjjI6LVttZwOSgfBNVTOjOW6cDvSp0CELD0ig7b7bGZyTudqIqQ4baTGTqUu3inq2vJolFj/k/Wk67T5t3Q9VwoMHkRATJLiJTssp0zdamo87xuQ+ISgeaht/F7A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tchC6s28P60NwILGUrSQ03Zf9aS0F1hNPjtVjy2kfOE=; b=trXyI91+2Vr4jrDMZWNLQ82+Qs2uAnRYWecIrXGzHFITcpfnbA0IG7pnPvon8KGTu3N9kYSaqbSpQNmK5dbrk8AzSbQByrBC8aANH/R8emuYIeAz8HzpzikgPG99iukYwnXlk5KIhUSkgqNgNTytiUgq2uHPKfdbHCPm50lM83TBvzXwT/McWqAKglR034awPNgLfrwdmY5sKsV3LXJw7mvszGWVMDcj12auHgjPV+m8Gt7Jqs4I1PTeZCIZJhha6g+kRiW/UDBK+Bi1ByTtOupnJJVULwu0J60cunPPICexTU20wO6HcYJN9zC4O+B/fo+C3AhmqW2hDcJSykBoBA== Original-Received: from TYZPR01MB3920.apcprd01.prod.exchangelabs.com (2603:1096:400:30::11) by JH0PR01MB5916.apcprd01.prod.exchangelabs.com (2603:1096:990:68::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.26; Mon, 18 Mar 2024 22:54:53 +0000 Original-Received: from TYZPR01MB3920.apcprd01.prod.exchangelabs.com ([fe80::690a:1426:4f0f:57b1]) by TYZPR01MB3920.apcprd01.prod.exchangelabs.com ([fe80::690a:1426:4f0f:57b1%3]) with mapi id 15.20.7386.025; Mon, 18 Mar 2024 22:54:53 +0000 In-Reply-To: <86plvr4rn0.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 18 Mar 2024 09:05:28 -0400") X-TMN: [1npJYFiFVsk4NzN6loQVIpPLw7KAmvKN] X-ClientProxiedBy: OSTP286CA0102.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:219::7) To TYZPR01MB3920.apcprd01.prod.exchangelabs.com (2603:1096:400:30::11) X-Microsoft-Original-Message-ID: <86sf0nkv5w.fsf@outlook.com> X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR01MB3920:EE_|JH0PR01MB5916:EE_ X-MS-Office365-Filtering-Correlation-Id: d3582f33-fcde-404b-aa1d-08dc479e6c69 X-MS-Exchange-SLBlob-MailProps: laRBL560oLRBKVWyEm8uM9uN4Un2TefXhSiOyjAp72rhsB9af3+/4dXilKAmAI4EYCHlrwu2lbtlQfgoUmW5WpALryLjO0x0owuH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oPv4rqDmFyXEwNr1qlrWnfj2xaX18+EwaOc1PVXctvxwAT5Tq37LDvBHN7b7u75m9Zni0jHRQcBViFvTw3z2olojvsiZfht0c N+r4asHOumhrQumz22wO2JZznAbe7sy9SK3fKoo/Fb6ODFBd58Co7oGi+RW09SMgWpBOTmZrXPF/LgeO3Tq36v+APf6pIzr945 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d3582f33-fcde-404b-aa1d-08dc479e6c69 X-MS-Exchange-CrossTenant-AuthSource: TYZPR01MB3920.apcprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Mar 2024 22:54:53.1830 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: JH0PR01MB5916 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:281820 Archived-At: Eli Zaretskii writes: >> c:\msys64\usr\bin\ matters. And iconv.exe under it makes the difference. >> In the log below, the process continues after the first call of gdb.exe, >> while iconv.exe does not exist. >> And the process finishes after the second call of gdb.exe, >> while iconv.exe exists. > > So what is special with iconv.exe? What does "iconv --version" say? Here is the log, and the process finished automatically. c:\tmp>c:\msys64\usr\bin\iconv.exe --version c:\msys64\usr\bin\iconv.exe --version iconv (GNU libiconv 1.17) Copyright (C) 2000-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. Written by Bruno Haible. c:\tmp> Process shell finished > Also, what DLLs does it load? You can find out like this: > > objdump -x c:\msys64\usr\bin\iconv.exe | grep -F "DLL Name:" I have no objdump. I hope output of ldd.exe helps. c:\tmp>c:\msys64\usr\bin\ldd.exe c:\msys64\usr\bin\iconv.exe c:\msys64\usr\bin\ldd.exe c:\msys64\usr\bin\iconv.exe ntdll.dll => /c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffd19ad0000) KERNEL32.DLL => /c/WINDOWS/System32/KERNEL32.DLL (0x7ffd17c60000) KERNELBASE.dll => /c/WINDOWS/System32/KERNELBASE.dll (0x7ffd172f0000) msys-iconv-2.dll => /usr/bin/msys-iconv-2.dll (0x5603f0000) msys-intl-8.dll => /usr/bin/msys-intl-8.dll (0x430b30000) msys-2.0.dll => /usr/bin/msys-2.0.dll (0x180040000) c:\tmp> Process shell finished /usr/bin/ is same as c:\msys64\usr\bin\. c:\tmp>c:\msys64\usr\bin\mount.exe c:\msys64\usr\bin\mount.exe C:/msys64 on / type ntfs (binary,noacl,auto) C:/msys64/usr/bin on /bin type ntfs (binary,noacl,auto) C: on /c type ntfs (binary,noacl,posix=0,user,noumount,auto) c:\tmp> Process shell finished