cause of the crash is not the empty comparison, nor replacing it with 1 solves the problem.

problem is that the if(i > 10) break; seems to be never executed, wihich results in an infinite loop.


3333333333