Re: [E-devel] [EGIT] [core/efl] master 01/01: ecore: handle recursive trigger of promise by the cancel of a future.

2016-10-22 Thread Gustavo Sverzut Barbieri
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

Re: [E-devel] [EGIT] [core/efl] master 01/01: ecore: handle recursive trigger of promise by the cancel of a future.

2016-10-20 Thread Gustavo Sverzut Barbieri
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$

Re: [E-devel] [EGIT] [core/efl] master 01/01: ecore: handle recursive trigger of promise by the cancel of a future.

2016-10-19 Thread Cedric BAIL
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

Re: [E-devel] [EGIT] [core/efl] master 01/01: ecore: handle recursive trigger of promise by the cancel of a future.

2016-10-18 Thread Gustavo Sverzut Barbieri
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