#122 pygame apps using pygame.font crash

open
nobody
None
9
2014-08-27
2010-11-01
Zachary Uram
No

It seems there is an issue with pygame's font handling and py2exe on Windows 7.

I created a program test.py:

import pygame
pygame.init()
pygame.font.Font(None, 80)

This runs fine in python, I then ran it in py2exe and it crashes:

C:\Users\Administrator\Desktop\python\netrek-client-pygame-0.6\dist>test.exe
Fatal Python error: (pygame parachute) Segmentation Fault

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Here are the Windows details:

Problem signature:
Problem Event Name: APPCRASH
Application Name: test.exe
Application Version: 0.0.1.0
Application Timestamp: 491801a4
Fault Module Name: MSVCR90.dll
Fault Module Version: 9.0.30729.4926
Fault Module Timestamp: 4a1750b0
Exception Code: 40000015
Exception Offset: 00000000000555c7
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1033
Additional Information 1: d78e
Additional Information 2: d78e45df43b500fbea23feba86e6f58e
Additional Information 3: b0e7
Additional Information 4: b0e7220b0a1bb4f903a2a0f8293f92ec

I already have the Microsoft Visual C Runtime 9.0 installed since I have Vistual Studio 2008 Express.

Running Windows 7 Ultimate (x64) Edition and I'm using: py2exe-0.6.9.win64-py2.6.amd64.exe,
pygame-1.9.2pre.win-amd64-py2.6.exe, and python-2.6.amd64.msi

Regards,
Zach
netrek@gmail.com

Discussion

  • Zachary Uram
    Zachary Uram
    2010-11-01

    • priority: 5 --> 9