Hi all,

I have a curious problem with Mail hanging when attempting to write to
the seemail port (that's according to ratrace) after marking a message
deleted and middle-clicking Put.

AFAICS, on the one hand, the Put causes a receive in mbmain (on the
Cevent channel), which causes a write to plumbsend, which should cause
a read on the seemail proc, which would try to send a message to the
Cseemail channel, but that can't be received as mbmain is busy
already; so I'd be tempted to think this may be a deadlock scenario.
On the other hand, though, this can't be the explanation as such a
deadlock would've been reported by anyone ever deleting a message… so
I'm more inclined to think I'm doing something wrong.  Which brings me
to:

My setup:

- 9front (not the latest, but I've seen this behavior for ages, but
didn't have the knowledge to even start troubleshooting then)
- upas/fs launched in lib/profile, after plumber, before rio
- acme started from riostart

Just in case it's relevant, though I wouldn't think so:
- booted as QEMU amd64 instance
- used via drawterm
- a bespoke unusual 9P fs as the root

Lastly, and what makes me most curious, is that if I change my set up
to this:

- add -s to the upas/fs command in lib/profile
- use Local mount /srv/upasfs.ng /mail/fs in acme
- use Mail in acme

such lock-up does not happen.

I'm grateful if anyone can help dissipate my confusion. :-)


------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T92af154d081c9c25-M035cccac037597378afc132c
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to