Hitting asserts in new flow thread selection code because the way it checks for threads is wrong.
Created attachment 229904 [details] Patch
Fixed in r167673.