From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by sourceware.org (Postfix) with ESMTPS id B11BB38930C3 for ; Fri, 24 Apr 2020 07:30:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B11BB38930C3 Received: by mail-lj1-x229.google.com with SMTP id f11so4293114ljp.1 for ; Fri, 24 Apr 2020 00:30:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding:thread-index:content-language; bh=cag/IicFOgk5e/8pmuEw0lg/NNjAhsymhkCMCI3EEbo=; b=brXVTFP5IHmXZgnTnCpoQlFl8VNqK1y2Zx9YJhkaoG3BNEQ9cB1XiT0oqlNJN0oBYi ae2m06iQqR0toGod4NLNWJP6HbR8rei/QTYNxaEFE+ICGfHNe/B89lwlwNpav+0o9stY fy/pqjetCxwDTMasUNNjB8wdlThNTdzTPnxuF9vkazrFCjMk4l5tzy0EsryJiU9jUcKH dNzCVZwbLX1iBZ0B17o7sQHDgK9pDU/YSs7PDhoVZZ0rgam9Gk0txiBlFHjMSGXvg/1I R9WhjvNZKOC27EuiROC7fHZzoOUufOQu13zuqqZ7If03lSB6gbg28HLTvoMXfL9qW3oJ PRLQ== X-Gm-Message-State: AGi0PuavZC3SXMa2mB1NQVxipear+8gni/oWt80pcJKE6DBEP6oxXumi f79ANUAqrV3d14jW7pbcO8654sfE X-Google-Smtp-Source: APiQypJ7utbT+RgfJsQ2oYyTu873KNdIb2Nm4Ap6dOiXIX+W2u6EIOqH/ku8ZAWjn633nkytkpRnmQ== X-Received: by 2002:a05:651c:1121:: with SMTP id e1mr5030292ljo.205.1587713416114; Fri, 24 Apr 2020 00:30:16 -0700 (PDT) Received: from JOKK (87-249-164-127.ljusnet.se. [87.249.164.127]) by smtp.gmail.com with ESMTPSA id g6sm3621405ljj.78.2020.04.24.00.30.15 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Apr 2020 00:30:15 -0700 (PDT) From: To: Subject: posix_spawnp creates ghost processes Date: Fri, 24 Apr 2020 09:30:14 +0200 Message-ID: <008201d61a0a$328a5510$979eff30$@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdYaCGcs7bBxZUHxRyeJM37LqYsOKA== Content-Language: en-gb X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Apr 2020 07:30:19 -0000 Hi all We're having a rather complex application and have noticed a rather weird behaviour that I cannot find any information about We're using posix_spawnp and sometimes it creates extra "ghost-process(es)" non visible to cygwin (via e.g. process status (ps)) but visible to Windows (Task Manager) The function doesn't fail and it doesn't report any error, but sometimes (hard to reproduce deterministically) it creates one, or more, extra processes of the same binary Have anyone noticed and/or have some information/ideas about this ? Kristian