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 13084 invoked from network); 19 Feb 2021 20:19:40 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 19 Feb 2021 20:19:40 -0000 Received: from oat.nine.sirjofri.de ([5.45.105.127]) by 1ess; Fri Feb 19 15:13:49 -0500 2021 Received: from sirjofri.de ([178.0.65.31]) by oat; Fri Feb 19 21:13:38 +0100 2021 Date: Fri, 19 Feb 2021 20:13:36 +0000 (UTC) From: sirjofri To: 9front@9front.org Message-ID: In-Reply-To: References: 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: general-purpose wrapper controller Subject: Re: [9front] [Bug] Mail fails to send attachments Reply-To: 9front@9front.org Precedence: bulk 19.02.2021 20:56:00 theinicke@bss-wf.de: > 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. Same here. The same happens when using Include: instead of Attach. Ori is unable to reproduce this, afaik. Using marshal -8 directly works fine btw. sirjofri