[Mono-devel-list] Patch for shared handle daemon shown up by xsp on Solaris

Paolo Molaro lupus at ximian.com
Sat Dec 13 05:35:01 EST 2003

On 12/11/03 Bernie Solomon wrote:
> I am not quite sure why but trying to get xsp going on Solaris has highlit a
> problem in the shared handle daemon that the client channels were not being
> removed from glib's event loop as they got shutdown, On Solaris you got an
> error event for a bad file descriptor after the first rem_fd which then
> tried to do the rem_fd again but the clients handle array was already NULL
> causing the daemon to die. So this patch removes the input source when the
> IO channel is shut down and then the error event never happens. I haven't
> tried it on Linux yet where I can only presume you just get dead channels
> which take space but don't cause spurious events. I can test this later to
> check Linux is still OK but thought I'd send the patch out now.

I can confirm the patches fixes
http://bugzilla.ximian.com/show_bug.cgi?id=51278, too.


lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better

More information about the Mono-devel-list mailing list