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 10899 invoked from network); 19 Feb 2021 20:00:11 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 19 Feb 2021 20:00:11 -0000 Received: from outgoing.selfhost.de ([82.98.82.6]) by 1ess; Fri Feb 19 14:56:27 -0500 2021 Received: (qmail 31558 invoked from network); 19 Feb 2021 19:56:02 -0000 Received: from unknown (HELO mx03.bss-wf.de) (postmaster@emdtgvmf.mail.selfhost.de@87.155.46.171) by mailout.selfhost.de with ESMTPA; 19 Feb 2021 19:56:02 -0000 Received: by mx03.bss-wf.de (Postfix, from userid 1000) id 5001A3DD76; Fri, 19 Feb 2021 20:56:02 +0100 (CET) Received: from 9pi.pala (p5b3bcb58.dip0.t-ipconnect.de [91.59.203.88]) by mx03.bss-wf.de (Postfix) with ESMTPSA id 878C33DD74 for <9front@9front.org>; Fri, 19 Feb 2021 20:56:01 +0100 (CET) Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit To: 9front@9front.org Date: Fri, 19 Feb 2021 20:56:00 +0100 From: theinicke@bss-wf.de MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: injection enhancement method optimizer Subject: [9front] [Bug] Mail fails to send attachments Reply-To: 9front@9front.org Precedence: bulk Today I have noticed that since the rewrite Mail fails to send attachments. That is if one includes an "Attach: /some/file" line and posts it, (if file exists) marshal suicides like so: 66286: marshal 66286: sys: write on closed pipe pc=0x25e04 leaving us with a sent mail without the attachments. I have not been able to track down the cause yet. Have reproduced it on a clean install updated to latest HEAD to make sure it is not caused by any of my modifications. Here are the symptoms: If in /sys/src/cmd/upas/marshal/marshal.c:421 attachment function is called, then in /sys/src/cmd/upas/marshal/marshal.c:430 the error occurs. -- Tobias Heinicke