title: Pygame window not responding after a few seconds
body: <p>This simple piece of code crashes (the window is not responding) after a few seconds (around 5). </p>
  
  <pre><code>import pygame
  from pygame.locals import *
  
  pygame.init()
  screen = pygame.display.set_mode((640, 480), 0, 24)
  #clock = pygame.time.Clock()
  
  #font = pygame.font.Font(None, 32)
  
  cycles = 0
  while True:
      screen.fill(0)
  #    text = font.render('Cycles : %d' % cycles, True, (255, 255, 255))
  #    screen.blit(text, (100, 100))
  
      cycles += 1
  
      pygame.display.update()
  </code></pre>
  
  <p>If I uncomment the commented lines, I can clearly see the program going out of control when displaying values between 47 and 50.</p>
  
  <p>I use python 2.7 and pygame 1.9.2, Windows 8 (64 bits) and Eclipse + PyDev.</p>