Why this commented code crash?