Thanks for reporting this. The query does the same thing on my installation and the debugger tells me it's a stack overflow. It's just a case where a lot of recursive functions are executed, probably because of a complex chain of SQL object dependencies.
I'll log a bug about it but I'm not sure it can be fixed easily.
Comments
I'll log a bug about it but I'm not sure it can be fixed easily.