Re: lsftp in lsh-2.0 ?

[email protected] (Niels Möller) 20 Dec 2004 16:05:13 +0100
Newsgroups gmane.network.lsh.bugs
Message-ID <[email protected]>
Pete Naylor <[email protected]> writes:

> Assertion failed: NULL == sys->files[fd][ev].f && "multiple handlers 
> registered for a file event", file sys.c, line 109

It would help to know which fd it's trying to install multiple event
handlers for. If you examine the process or the core file in a
debugger, the first thing to do is to back up to a frame where you
have the corresponding lsh_fd object, and display the contents of that
object.

My guess is that it's a genuine bug in lsh, not a bug in liboop. (Only
Solaris-related problems with liboop that I have seen have been for
the ancient Solaris-2.4, where liboop goes into an infinite signal
handler loop. If anybody is still running that, I have a patched
liboop-1.0 at http://www.lysator.liu.se/~nisse/misc).

Can you list precisely which steps are needed to reproduce the bug? It
would be good to add that to the lsh testsuite.

Thanks for your help,
/Niels