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 3729 invoked from network); 19 Feb 2021 23:38:51 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 19 Feb 2021 23:38:51 -0000 Received: from mimir.eigenstate.org ([206.124.132.107]) by 1ess; Fri Feb 19 18:33:53 -0500 2021 Received: from abbatoir.fios-router.home (pool-108-41-92-79.nycmny.fios.verizon.net [108.41.92.79]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id 05e68073 (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9front@9front.org>; Fri, 19 Feb 2021 15:27:03 -0800 (PST) Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit To: 9front@9front.org Date: Fri, 19 Feb 2021 15:27:02 -0800 From: ori@eigenstate.org In-Reply-To: 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: stable optimized cache table ActivityPub over WEB2.0 map/reduce shader-oriented frontend Subject: Re: [9front] [Bug] Mail fails to send attachments Reply-To: 9front@9front.org Precedence: bulk Quoth sirjofri : > > 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 > So, after some debugging with sirjofri, it looks like this may have something to do with the '-S' flag that we're passing to upas/marshal. If you can confirm by running with 'Mail -O' to disable saving outgoing messages, that would be appreciated. It also gives a hint for where to debug.