try to produce SQL trace and look into it (raw file)
It displays recursive SQL calls and errors.