Re: RPC to self with rendez-vous leading to duplicate port destroy

2011-03-17 Thread Samuel Thibault
Samuel Thibault, le Mon 14 Mar 2011 22:49:36 +0100, a écrit : > > On Mar 13, 2011 5:44 PM, "Samuel Thibault" wrote: > > > - diskfs_S_dir_lookup is called, which for some reason ends up calling > > > - fshelp_fetch_root(), which calls > > > - reauth(), which calls > > > - mach_reply_port() to get a

Re: RPC to self with rendez-vous leading to duplicate port destroy

2011-03-14 Thread Samuel Thibault
> On Mar 13, 2011 5:44 PM, "Samuel Thibault" wrote: > > - diskfs_S_dir_lookup is called, which for some reason ends up calling > > - fshelp_fetch_root(), which calls > > - reauth(), which calls > > - mach_reply_port() to get a rendez-vous port, and then issues > > - io_reauthenticate() with that p

Re: RPC to self with rendez-vous leading to duplicate port destroy

2011-03-14 Thread Thomas Bushnell, BSG
On Sun, Mar 13, 2011 at 7:25 PM, Samuel Thibault wrote: > olafbuddenha...@gmx.net, le Mon 14 Mar 2011 03:21:43 +0100, a écrit : > > > There, the > > > rendez-vous port is thus the same as the reply port obtained above, > > > with the *same name*. > > > - reauth() destroys the rendez-vous por

Re: RPC to self with rendez-vous leading to duplicate port destroy

2011-03-13 Thread Samuel Thibault
olafbuddenha...@gmx.net, le Mon 14 Mar 2011 03:21:43 +0100, a écrit : > > There, the > > rendez-vous port is thus the same as the reply port obtained above, > > with the *same name*. > > - reauth() destroys the rendez-vous port (and thus the name!) > > - a bit later, diskfs_S_io_reauthentic

Re: RPC to self with rendez-vous leading to duplicate port destroy

2011-03-13 Thread olafBuddenhagen
Hi, On Mon, Mar 14, 2011 at 01:44:20AM +0100, Samuel Thibault wrote: > - diskfs_S_dir_lookup is called, which for some reason ends up calling > - fshelp_fetch_root(), which calls > - reauth(), which calls > - mach_reply_port() to get a rendez-vous port, and then issues > - io_reauthenticate() wit

Re: RPC to self with rendez-vous leading to duplicate port destroy

2011-03-13 Thread Thomas Bushnell, BSG
I think the second call to reauth should use a second, newly-created, rendezvous port. Why doesn't it? Thomas On Mar 13, 2011 5:44 PM, "Samuel Thibault" wrote: > Hello, > > I've investigated a duplicate port destroy in ext2fs, what apparently > happens is this: > > - diskfs_S_dir_lookup is calle