Hi Cedric,
You can still trigger an infinite loop with my new code to trigger
timeout due inactivity in efl_io_copier. Use the same test, just give
it a timeout:
terminal1$ ./src/examples/ecore/efl_net_server_example tcp 0.0.0.0: -t 5.0
terminal2$ telnet 127.0.0.1
and wait for 5
Hi Cedric,
It doesn't fix the problem, now there is an infinite loop:
1681 while (pd->ext && ext->futures)
(gdb) n
1682 efl_future_cancel(eina_list_data_get(ext->futures));
I'm testing it with:
terminal1$ ./src/examples/ecore/efl_net_server_example tcp 0.0.0.0:
terminal2$
Hi Gustavo,
On Tue, Oct 18, 2016 at 4:59 PM, Gustavo Sverzut Barbieri
wrote:
> Tried this fix for efl_net_server_example and it doesn't fix the
> problem, instead it stops crashes but enters an infinite loop:
>
> ERR<17134>:ecore lib/ecore/efl_promise.c:301
Hi Cedric,
Tried this fix for efl_net_server_example and it doesn't fix the
problem, instead it stops crashes but enters an infinite loop:
ERR<17134>:ecore lib/ecore/efl_promise.c:301 _efl_loop_future_cancel()
Triggering cancel on an already fulfilled Efl.Future.
since it's now expected that