From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Apr 14 08:44:13 2010 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B50B106566B; Wed, 14 Apr 2010 08:44:13 +0000 (UTC) (envelope-from gpagnoni@gmail.com) Received: from mail-yw0-f181.google.com (mail-yw0-f181.google.com [209.85.211.181]) by mx1.freebsd.org (Postfix) with ESMTP id D26D28FC14; Wed, 14 Apr 2010 08:44:12 +0000 (UTC) Received: by ywh11 with SMTP id 11so2958544ywh.7 for ; Wed, 14 Apr 2010 01:44:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:cc:content-type; bh=7hLz/V59Sm8o2UK+JTtErTe/ApIpLp+f8LaqmBYR1zY=; b=foVIEHcAlEszMJ4upuSJx3EK5JDcrISOLCl+rbsRGlCl24rkONfheUPN90wfal+dii 4+SL4Qy2HN8OocibBd/D2KL3xtTk9Q6v1oRx40+HXJEsS9g1Is1Hj3GKrnxws6do/GnC 7iOWk04r/fYDzIVC90wdSVtCbnNPZuB4Bb+lc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=J3vvnA0d3PejmLpVytTLnUIl6iRV8XrLHAg4VyxjvE2yC7cyTvT+3TA3Bx+bmlc0tO FWrU7QnnHNGpp7/mETRXlN7pY6lV1qL5FWP5rIdcefqBetx7etYrTGadhp3+EhDJgsIB Qzi3IhxfDoopf4bLR1hj/f5tr3MnS6ox5/1js= MIME-Version: 1.0 Received: by 10.90.97.18 with HTTP; Wed, 14 Apr 2010 01:44:11 -0700 (PDT) Date: Wed, 14 Apr 2010 10:44:11 +0200 Received: by 10.91.94.2 with SMTP id w2mr3227509agl.106.1271234651841; Wed, 14 Apr 2010 01:44:11 -0700 (PDT) Message-ID: From: Giuseppe Pagnoni To: freebsd-ports-bugs@FreeBSD.org, freebsd-python@FreeBSD.org, freebsd-amd64@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: amdmi3@FreeBSD.org Subject: pyglet segfaults on FreeBSD 8.0/amd64/nVidia X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2010 08:44:13 -0000 Hello, First of all, let me apologize for the re- and cross-posting , but after a couple of weeks scouring the web and forums to no avail, I thought I would try again and query the FreeBSD mother source... I installed pyglet from the ports (latest version as of yesterday, py26-pyglet-1.1.2_1) on a FreeBSD 8.0 amd64 box, running the latest version of the ports' nvidia driver (nvidia-driver-195.36.15). I found that I cannot use either font.Text or text.label without causing segfaults. Here is some sample code that makes python crash: ----- SNIPPET 1 import pyglet luxi = pyglet.font.load('Luxi Sans', 14) ------- > SEGMENTATION FAULT ----- SNIPPET 2 import pyglet window = pyglet.window.Window() label = pyglet.text.Label('Hello, world', font_name='Luxi Sans', font_size=36, x=window.width//2, y=window.height//2, anchor_x='center', anchor_y='center') ------- > SEGMENTATION FAULT It seems that the problem arises already at the stage of font loading. I am not at all a python expert, perhaps somebody can suggest a way to narrow down the problem? Here is some more information on my system reported by a routine included in a python package (PsychoPy) I am trying to use: System info: FreeBSD-8.0-RELEASE-p2-amd64-64bit-ELF Python info /usr/local/bin/python 2.6.4 (r264:75706, Mar 23 2010, 15:20:14) [GCC 4.2.1 20070719 [FreeBSD]] numpy 1.4.0 scipy 0.7.1 matplotlib 0.99.1 pyglet 1.1.2 PsychoPy 1.60.03 OpenGL info: vendor: NVIDIA Corporation rendering engine: GeForce 9500 GT/PCI/SSE2 OpenGL version: 3.2.0 NVIDIA 195.36.15 (Selected) Extensions: True GL_ARB_multitexture True GL_EXT_framebuffer_object True GL_ARB_fragment_program True GL_ARB_shader_objects True GL_ARB_vertex_shader True GL_ARB_texture_non_power_of_two True GL_ARB_texture_float Thanks in advance for any suggestion/comment, cheers, giuseppe -- Giuseppe Pagnoni Dip. Scienze Biomediche Sezione Fisiologia Univ. di Modena e Reggio Emilia Via Campi 287 I-41125 Modena, Italy Tel: +39-059-205-5742 Fax: +39-059-205-5336