libeio broken in revision 1.139

mejedi at gmail.com mejedi at gmail.com
Sun Oct 11 16:32:49 CEST 2015


Hi,

Sorry for the incorrect report.

I confirm that there's nothing wrong with libeio.

Didn't realize that ETP_WANT_POLL definition in etp.c isn't the one being used.

> On 11 Oct 2015, at 15:16, Marc Lehmann <schmorp at schmorp.de> wrote:
> 
>> On Tue, Oct 06, 2015 at 06:05:10PM +0300, Nick Zavaritsky <mejedi at gmail.com> wrote:
>> We’ve updated to the latest libeio and we were very upset due to it crashing in etp_poll like crazy.
>> 
>> The problem was due to want_poll/done_poll callbacks missing in the internal etp_pool object, obviously eio_init isn’t setting them.
> 
> Hmm, I don't see any problem in the code, and the demo program and IO::AIO
> both work without crashes. I also don't see how these function pointers
> would ever be called.
> 
> Do you have a testcase that shows the problem? Did you modify your copy of
> libeio in some way maybe, or tried to use the etp pool directly in your code?
> 
> -- 
>                The choice of a       Deliantra, the free code+content MORPG
>      -----==-     _GNU_              http://www.deliantra.net
>      ----==-- _       generation
>      ---==---(_)__  __ ____  __      Marc Lehmann
>      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
>      -=====/_/_//_/\_,_/ /_/\_\



More information about the libev mailing list