Little problem with Eina_Future. It is not possible to chain eina_future_resolved with eina_future_as_value, because as soon as a future is resolved it call _eina_promise_deliver which call _eina_promise_unlink. This remove the pointer to the promise which eina_future_as_value is looking for with _scheduler_get to build a promise.
I am guessing we should delay the unlink to later (Maybe when we actually do deliver the future), but I am not to sure of the other assertion in the code.
This is not a problem that can be worked around as you can not control the future you get from a function call and if it is resolved, any chain you build out of it, will trigger this bug.