From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 5353 invoked from network); 19 Feb 2021 23:53:22 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 19 Feb 2021 23:53:22 -0000 Received: from oat.nine.sirjofri.de ([5.45.105.127]) by 1ess; Fri Feb 19 18:48:36 -0500 2021 Received: from sirjofri.de ([178.0.65.31]) by oat; Sat Feb 20 00:48:26 +0100 2021 Date: Fri, 19 Feb 2021 23:47:43 +0000 (UTC) From: sirjofri To: 9front@9front.org Message-ID: In-Reply-To: <5AE9D560F742B991050C8E636061FC9E@eigenstate.org> References: <5AE9D560F742B991050C8E636061FC9E@eigenstate.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Correlation-ID: List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: non-blocking open-source injection base factory-scale plugin Subject: Re: [9front] [Bug] Mail fails to send attachments Reply-To: 9front@9front.org Precedence: bulk Hello, I did some testing and this is what I found out: upas/send does not fail. This is at least from what I found out using dtracy (no status error) and other tests. It seems only marshal fails. Marshal doesn't always call send. If there's a pipefrom, it executes that instead. I tried using a minimal pipefrom (saving args and all stdin in file, to verify) and marshal still fails (I verified that send isn't called at all). This could mean that the pipe is closed by marshal itself (by one of its child processes). Marshal does fork pretty often. It even forks inside forks. I'll try to find out more about that tomorrow. I can imagine there's one child that basically closes the pipe when another child still wants to write. I currently assume this happens somewhere in marshal.c:/^sendmail, but today I'm way to tired to find it. I'll be available again tomorrow and hopefully we can find it. sirjofri