From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#69795: 29.1; cmdproxy.exe exits automatically after executing MSYS2 commands Date: Mon, 18 Mar 2024 15:05:23 +0200 Message-ID: <86plvr4rn0.fsf@gnu.org> 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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18212"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 69795@debbugs.gnu.org To: awrhygty@outlook.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 18 14:08:08 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 1rmCil-0004VD-GF for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 18 Mar 2024 14:08:07 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmCiO-0003Tt-JL; Mon, 18 Mar 2024 09:07:46 -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 1rmCh7-0002em-3k for bug-gnu-emacs@gnu.org; Mon, 18 Mar 2024 09:06:28 -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 1rmCh6-0000az-No for bug-gnu-emacs@gnu.org; Mon, 18 Mar 2024 09:06:24 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rmChi-0003Nc-Hp for bug-gnu-emacs@gnu.org; Mon, 18 Mar 2024 09:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Mar 2024 13:07: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.171076717312857 (code B ref 69795); Mon, 18 Mar 2024 13:07:02 +0000 Original-Received: (at 69795) by debbugs.gnu.org; 18 Mar 2024 13:06:13 +0000 Original-Received: from localhost ([127.0.0.1]:51289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmCgv-0003LI-Dx for submit@debbugs.gnu.org; Mon, 18 Mar 2024 09:06:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46298) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmCgt-0003L0-KC for 69795@debbugs.gnu.org; Mon, 18 Mar 2024 09:06:12 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rmCgB-00007K-Sp; Mon, 18 Mar 2024 09:05:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=a4nh7Ne9sjHiydnTkQTrFV083+9+V63EloBmS+2z2x8=; b=VUz+zGXnWP/w tcq8Hv3ROJZhsmLX4afsC5Gavq+j5t1IIC7+XTPqNuNceLTziOePKDGYRZJ2a2Tc0oZq604rdMhUN 0tB/QJK9cszqgHe2+ybANb8NHbJHjW9z4DTXvIKlUUhl4oEJIFlhUwjKTSSlzBVC0oc8kmC06JK04 jYzTPYDNG8utPE9hRU4f2YIdcNNTSGYBMI4HYCrG3UeM5DnLdHtWlof2HbSyI+Ig5gl7gqEqxEHCW HjGL98ChuUroCunvkKX9/nQiTibMvttwtT9vu+QZCjQGRG7FAJ493Hshb4Nt4muj+pgdEcRFRgWuD fvV822MVCwbI4vir+4zfUw==; In-Reply-To: (awrhygty@outlook.com) 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:281801 Archived-At: > From: awrhygty@outlook.com > Cc: 69795@debbugs.gnu.org > Date: Mon, 18 Mar 2024 10:24:59 +0900 > > Eli Zaretskii writes: > > > So one of these two directories somehow triggers the problem? Or do > > you need both on PATH to trigger the problem, and if you only add > > either one of them, the problem does not happen? > > 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? Also, what DLLs does it load? You can find out like this: objdump -x c:\msys64\usr\bin\iconv.exe | grep -F "DLL Name:" And if you invoke iconv.exe from the shell buffer directly, does it also cause "Process shell finished"?