[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] BUG: blit to self



---------- Forwarded message ----------
From: Elias Pschernig <allefant@xxxxxxxxx>
Date: Nov 21, 2005 3:47 AM
Subject: BUG: blit to self
To:


The following script, when executed under my Windows XP, crashes. It
does work under Linux.

 ----script start----
 import pygame, sys

 pygame.init()
 s = pygame.Surface((640, 480))
 print "SDL version", pygame.get_sdl_version()
 print "pygame version", pygame.version.ver
 print "python version", sys.version

 print "before blit"
 s.blit(s, (1, 0), (0, 0, 1, 1))
 print "after blit"
 ----script end----

 Output is this:

 ----output start----
 This application has requested the Runtime to terminate it in an unusual way.
 Please contact the application's support team for more information.
 SDL version (1, 2, 8)
 pygame version 1.7.1release
 python version 2.4 (#60, Nov 30 2004, 11:49:19) [MSC v.1310 32 bit (Intel)]
 before blit
 Fatal Python error: Inconsistent interned string state.
 ----output end----