hey guys, we noticed that a particular type of cube slicing done by dask.slicing with dask=2.0.0 produces a stack overflow error. The problem is described in ESMValGroup/ESMValTool#1188 specifically ESMValGroup/ESMValTool#1188 (comment) and boils down to an example: take any cube with time-lat-lon dims:
cube[(0, slice(None, None, None), slice(None, None, None), slice(None, None, None))]
results in Fatal Python error: Cannot recover from stack overflow. and core dumping.
I am not 100% sure this is dask's fault, but if it is, we should raise it with them 🍺