You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
UNREACHABLE in WorkerThreadsTaskRunner::PostDelayedTask #22157
v8_inspector::V8InspectorImpl::EvaluateScope::setTimeout calls NodePlatform::CallDelayedOnWorkerThread which calls WorkerThreadsTaskRunner::PostDelayedTask which has UNREACHABLE().
any calls to Runtime.evaluate with a timeout will therefore abort the process...
changed the title [-]UNREACHABLE in NodePlatform::CallDelayedOnWorkerThread[/-][+]UNREACHABLE in WorkerThreadsTaskRunner::PostDelayedTask[/+]on Aug 6, 2018
@devsnek Well … accessing the default loop is not thread-safe (and that loop does not run in the background). So, for that general approach to work, I think we’d need to have a separate loop/thread for the delayed tasks?
It looks like this crash is reproducible in Node 10.9.0 and it breaks DevTools console in dedicated frontend and in ndb.
I am wondering what is right label to mark issues like this next time to make it release blocker? I will work on fix tomorrow.
Activity
[-]UNREACHABLE in NodePlatform::CallDelayedOnWorkerThread[/-][+]UNREACHABLE in WorkerThreadsTaskRunner::PostDelayedTask[/+]devsnek commentedon Aug 6, 2018
would this diff work? its sorta copied from the foreground runner's PostDelayedTask
addaleax commentedon Aug 6, 2018
@devsnek Well … accessing the default loop is not thread-safe (and that loop does not run in the background). So, for that general approach to work, I think we’d need to have a separate loop/thread for the delayed tasks?
devsnek commentedon Aug 6, 2018
@addaleax i think i'll just leave this to someone who knows more about it :P
addaleax commentedon Aug 6, 2018
I think I’m working on enough things for now, but if somebody wants to take this and feels up for it, I’m happy to support as needed
alexkozy commentedon Aug 17, 2018
It looks like this crash is reproducible in Node 10.9.0 and it breaks DevTools console in dedicated frontend and in ndb.
I am wondering what is right label to mark issues like this next time to make it release blocker? I will work on fix tomorrow.
src: implement v8::Platform::CallDelayedOnWorkerThread
src: implement v8::Platform::CallDelayedOnWorkerThread
src: implement v8::Platform::CallDelayedOnWorkerThread
src: implement v8::Platform::CallDelayedOnWorkerThread
src: implement v8::Platform::CallDelayedOnWorkerThread