From owner-freebsd-python@FreeBSD.ORG Mon Apr 12 11:07:08 2010 Return-Path: Delivered-To: freebsd-python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25657106567F for ; Mon, 12 Apr 2010 11:07:08 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1308F8FC19 for ; Mon, 12 Apr 2010 11:07:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3CB77q5042542 for ; Mon, 12 Apr 2010 11:07:07 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3CB77VY042540 for freebsd-python@FreeBSD.org; Mon, 12 Apr 2010 11:07:07 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 12 Apr 2010 11:07:07 GMT Message-Id: <201004121107.o3CB77VY042540@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-python@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-python@FreeBSD.org X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Apr 2010 11:07:08 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/145604 python [UPDATE] devel/py-waf to 1.5.15 f ports/145460 python Unable to build /usr/ports/net-p2p/py-bittorrent-core o ports/145276 python new port x11-toolkits/py-pyside o ports/144872 python lang/python25: Python 2.5 uname() broken o ports/144678 python New port: www/py-webkitgtk Python bindings for the Web o ports/144419 python Update port: textproc/py-xmltools Fix the broken port o ports/144335 python [PATCH] www/py-webhelpers does not use PYTHONPREFIX_SI a ports/144035 python ports/databases/py-sqlite3 does not start to build f ports/142440 python New Port: databases/py-south0.6 o ports/141133 python [NEW PORT] net-p2p/py-transmissionrpc o ports/136917 python [patch] lang/python26: gettext detection o ports/133081 python [bsd.python.mk] PYEASYINSTALL_ARCHDEP=yes makes broken o ports/122616 python databases/py-pyPgSQL - apply bytea escape bug patch in o ports/118301 python devel/py-setuptools easy-install.pth contents lost on o ports/115940 python Missed one file in lang/python25 if NO_NIS defined 15 problems total. From owner-freebsd-python@FreeBSD.ORG Tue Apr 13 18:00:28 2010 Return-Path: Delivered-To: freebsd-python@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7161B106564A; Tue, 13 Apr 2010 18:00:28 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 490798FC1B; Tue, 13 Apr 2010 18:00:28 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3DI0SjW077009; Tue, 13 Apr 2010 18:00:28 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3DI0Shl076997; Tue, 13 Apr 2010 18:00:28 GMT (envelope-from edwin) Date: Tue, 13 Apr 2010 18:00:28 GMT Message-Id: <201004131800.o3DI0Shl076997@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-python@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/145678: [NEW PORT] devel/py-coil X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2010 18:00:28 -0000 Synopsis: [NEW PORT] devel/py-coil Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python Responsible-Changed-By: edwin Responsible-Changed-When: Tue Apr 13 18:00:27 UTC 2010 Responsible-Changed-Why: freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=145678 From owner-freebsd-python@FreeBSD.ORG Wed Apr 14 08:44:13 2010 Return-Path: Delivered-To: freebsd-python@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-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues 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 From owner-freebsd-python@FreeBSD.ORG Wed Apr 14 12:38:38 2010 Return-Path: Delivered-To: freebsd-python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 660FD106566B; Wed, 14 Apr 2010 12:38:38 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [92.53.116.15]) by mx1.freebsd.org (Postfix) with ESMTP id 201568FC19; Wed, 14 Apr 2010 12:38:37 +0000 (UTC) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.71) (envelope-from ) id 1O21P9-00039u-IG; Wed, 14 Apr 2010 16:09:15 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 795A3B860; Wed, 14 Apr 2010 16:09:14 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id 5DFEFB829; Wed, 14 Apr 2010 16:09:14 +0400 (MSD) Date: Wed, 14 Apr 2010 16:09:14 +0400 From: Dmitry Marakasov To: Giuseppe Pagnoni Message-ID: <20100414120914.GB3605@hades.panopticon> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-ports-bugs@FreeBSD.org, freebsd-amd64@freebsd.org, freebsd-python@FreeBSD.org Subject: Re: pyglet segfaults on FreeBSD 8.0/amd64/nVidia X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2010 12:38:38 -0000 * Giuseppe Pagnoni (gpagnoni@gmail.com) wrote: > 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: The problem is most likely 64 bits. On FreeBSD 8/i386/nVidia I don't see any crashes. You should try rebuilding pyglet and python WITH_DEBUG and run your testcases under gdb. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru From owner-freebsd-python@FreeBSD.ORG Wed Apr 14 13:01:14 2010 Return-Path: Delivered-To: freebsd-python@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA9211065670; Wed, 14 Apr 2010 13:01:14 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B20218FC16; Wed, 14 Apr 2010 13:01:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3ED1Evh097694; Wed, 14 Apr 2010 13:01:14 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3ED1EMD097690; Wed, 14 Apr 2010 13:01:14 GMT (envelope-from edwin) Date: Wed, 14 Apr 2010 13:01:14 GMT Message-Id: <201004141301.o3ED1EMD097690@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-python@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/145698: [maintainer update] devel/py-distutils-extra X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2010 13:01:14 -0000 Synopsis: [maintainer update] devel/py-distutils-extra Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python Responsible-Changed-By: edwin Responsible-Changed-When: Wed Apr 14 13:01:14 UTC 2010 Responsible-Changed-Why: freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=145698 From owner-freebsd-python@FreeBSD.ORG Wed Apr 14 13:48:45 2010 Return-Path: Delivered-To: freebsd-python@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 457091065673; Wed, 14 Apr 2010 13:48:45 +0000 (UTC) (envelope-from wen@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1D8428FC13; Wed, 14 Apr 2010 13:48:45 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3EDmjUi033116; Wed, 14 Apr 2010 13:48:45 GMT (envelope-from wen@freefall.freebsd.org) Received: (from wen@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3EDmilo033112; Wed, 14 Apr 2010 13:48:44 GMT (envelope-from wen) Date: Wed, 14 Apr 2010 13:48:44 GMT Message-Id: <201004141348.o3EDmilo033112@freefall.freebsd.org> To: jupengfei@gmail.com, wen@FreeBSD.org, freebsd-python@FreeBSD.org From: wen@FreeBSD.org Cc: Subject: Re: ports/145698: [maintainer update] devel/py-distutils-extra X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2010 13:48:45 -0000 Synopsis: [maintainer update] devel/py-distutils-extra State-Changed-From-To: open->closed State-Changed-By: wen State-Changed-When: Wed Apr 14 13:48:44 UTC 2010 State-Changed-Why: Committed. Thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=145698 From owner-freebsd-python@FreeBSD.ORG Wed Apr 14 13:51:05 2010 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B654106566C; Wed, 14 Apr 2010 13:51:05 +0000 (UTC) (envelope-from gpagnoni@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id BF2EB8FC22; Wed, 14 Apr 2010 13:51:04 +0000 (UTC) Received: by gwaa12 with SMTP id a12so65632gwa.13 for ; Wed, 14 Apr 2010 06:51:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=YGX8XluprCL0l8mAudyeiX1jlYm4LMbCXBiJTIwMkrM=; b=NGJJbPjZf0yujxHnodfxlApM0Hpb3OI/NNGXas+CcUWKnjF2dZkzhJqh5+ZKFheYbO LOisMFXSjTNAi9oLbHBRDhj2xMWRSeC+TSl7zcmuLWwMl0QiliQoIQ27ehF0nwV84spa yFhxaL5bu70Ohqu1MwvHJU9GQJwhy3m/7BDj8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=INyy8EREoRzNZUplAsfNg6T0o/8cmEPQRq7G8mOJTKPhb31xkWG/fkkNS6ODzn6QE7 kmEpOgtqqlcPsrq9AwPx0YT7A86Uk7GgQXBbNNDiiXs7dm+Ew7dESPVQA6RzIUY8AVVg uRpSeTzCEO7s7bOcRaUDr6CfmhRYZ67LVncIY= MIME-Version: 1.0 Received: by 10.90.97.18 with HTTP; Wed, 14 Apr 2010 06:51:03 -0700 (PDT) In-Reply-To: References: <20100414120914.GB3605@hades.panopticon> Date: Wed, 14 Apr 2010 15:51:03 +0200 Received: by 10.91.51.25 with SMTP id d25mr3427577agk.41.1271253063835; Wed, 14 Apr 2010 06:51:03 -0700 (PDT) Message-ID: From: Giuseppe Pagnoni To: Garrett Cooper Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-ports-bugs@freebsd.org, Dmitry Marakasov , freebsd-amd64@freebsd.org, freebsd-python@freebsd.org Subject: Re: pyglet segfaults on FreeBSD 8.0/amd64/nVidia X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2010 13:51:05 -0000 Dear all, thanks for the quick reply. Here the content of /etc/make.conf: # added by use.perl 2010-03-23 15:25:42 PERL_VERSION=3D5.10.1 # Give preference to CUPS WITH_CUPS=3DYES CUPS_OVERWRITE_BASE=3DYES WITHOUT_LPR=3DYES I am currently recompiling python and pyglet WITH_DEBUG as per Dmitry's suggestion and will post the results ASAP. thanks again, giuseppe On Wed, Apr 14, 2010 at 3:23 PM, Garrett Cooper wrote: > On Wed, Apr 14, 2010 at 5:09 AM, Dmitry Marakasov wrot= e: >> * Giuseppe Pagnoni (gpagnoni@gmail.com) wrote: >> >>> First of all, let me apologize for the re- and cross-posting , but afte= r a >>> couple of weeks scouring the web and forums to no avail, I thought I wo= uld >>> 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 ver= sion >>> of the ports' nvidia driver (nvidia-driver-195.36.15). =A0I found that = I >>> cannot use either font.Text or text.label without causing segfaults. = =A0Here >>> is some sample code that makes python crash: >> >> The problem is most likely 64 bits. On FreeBSD 8/i386/nVidia I don't >> see any crashes. You should try rebuilding pyglet and python >> WITH_DEBUG and run your testcases under gdb. > > =A0 =A0We need make.conf information for reproduction purposes. > Thanks, > -Garrett > --=20 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 From owner-freebsd-python@FreeBSD.ORG Wed Apr 14 13:52:28 2010 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C496A1065677; Wed, 14 Apr 2010 13:52:28 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.221.175]) by mx1.freebsd.org (Postfix) with ESMTP id 66BC48FC1E; Wed, 14 Apr 2010 13:52:28 +0000 (UTC) Received: by qyk5 with SMTP id 5so206482qyk.3 for ; Wed, 14 Apr 2010 06:52:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=YumumlzUiPw5gd6s6o3ZAJabTHNueGscVuelN0ITz0o=; b=micczRCrazuV/4x4cHsbtkWMeT09I4wmm15UGfA7f6Ica7Wk4dqk70Gj3JtjPw2QIw dCaAKHpkYh5ZOp29kbMMnytuv6jXdWo+fKGuoJYm9Z/eY7J8p92ZAsCWpbS+EBIVWcdT VMKZuIEAP53jzCqIl5MAB/I+eXakPJJQd5a34= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=w3svsQf/9jy6pPPdWdGl2YLoqkWmLwVUh1XVijB3iSJhuyDlO1y8/QeBZTstpeqxza 2x7MvzXw2jAu63iW7xfjtR9u6py2EwIdFLw0L0hC0mXa/5lauXVwwlAAw7VQ7I9p92hx +9Aqu5NxXcA3JPsn3lCgalyo/+N/LxDAf0HoE= MIME-Version: 1.0 Received: by 10.229.28.85 with HTTP; Wed, 14 Apr 2010 06:23:19 -0700 (PDT) In-Reply-To: <20100414120914.GB3605@hades.panopticon> References: <20100414120914.GB3605@hades.panopticon> Date: Wed, 14 Apr 2010 06:23:19 -0700 Received: by 10.229.181.16 with SMTP id bw16mr1146281qcb.0.1271251399881; Wed, 14 Apr 2010 06:23:19 -0700 (PDT) Message-ID: From: Garrett Cooper To: Dmitry Marakasov Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-ports-bugs@freebsd.org, Giuseppe Pagnoni , freebsd-amd64@freebsd.org, freebsd-python@freebsd.org Subject: Re: pyglet segfaults on FreeBSD 8.0/amd64/nVidia X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2010 13:52:28 -0000 On Wed, Apr 14, 2010 at 5:09 AM, Dmitry Marakasov wrote: > * Giuseppe Pagnoni (gpagnoni@gmail.com) wrote: > >> 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 wou= ld >> 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 vers= ion >> of the ports' nvidia driver (nvidia-driver-195.36.15). =A0I found that I >> cannot use either font.Text or text.label without causing segfaults. =A0= Here >> is some sample code that makes python crash: > > The problem is most likely 64 bits. On FreeBSD 8/i386/nVidia I don't > see any crashes. You should try rebuilding pyglet and python > WITH_DEBUG and run your testcases under gdb. We need make.conf information for reproduction purposes. Thanks, -Garrett From owner-freebsd-python@FreeBSD.ORG Wed Apr 14 14:00:11 2010 Return-Path: Delivered-To: freebsd-python@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BEFA1065675 for ; Wed, 14 Apr 2010 14:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0029C8FC1A for ; Wed, 14 Apr 2010 14:00:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3EE0ASL041307 for ; Wed, 14 Apr 2010 14:00:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3EE0ATO041306; Wed, 14 Apr 2010 14:00:10 GMT (envelope-from gnats) Date: Wed, 14 Apr 2010 14:00:10 GMT Message-Id: <201004141400.o3EE0ATO041306@freefall.freebsd.org> To: freebsd-python@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: ports/145698: commit references a PR X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2010 14:00:11 -0000 The following reply was made to PR ports/145698; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/145698: commit references a PR Date: Wed, 14 Apr 2010 13:50:44 +0000 (UTC) wen 2010-04-14 13:48:04 UTC FreeBSD ports repository Modified files: devel/py-distutils-extra Makefile distinfo Log: - Update to 2.18 PR: ports/145698 Submitted by: Ju Pengfei (maintainer) Revision Changes Path 1.2 +4 -3 ports/devel/py-distutils-extra/Makefile 1.2 +3 -3 ports/devel/py-distutils-extra/distinfo _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" From owner-freebsd-python@FreeBSD.ORG Wed Apr 14 14:34:42 2010 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 766BA106564A; Wed, 14 Apr 2010 14:34:42 +0000 (UTC) (envelope-from gpagnoni@gmail.com) Received: from mail-gx0-f211.google.com (mail-gx0-f211.google.com [209.85.217.211]) by mx1.freebsd.org (Postfix) with ESMTP id 05BE68FC0A; Wed, 14 Apr 2010 14:34:41 +0000 (UTC) Received: by gxk3 with SMTP id 3so83525gxk.13 for ; Wed, 14 Apr 2010 07:34:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=1i/z0sQkY1D6ler9DzmoVKSOeHPLHoWKzSZjvUpnpvE=; b=OnsjQeWBFh3R5x1vNT5lohK25XA9QOMk/AJ3vtyBSFfO4/9rEhAdawXnTufbLGhiFw rWncHDGQqm8ImgILNVpJ6u7Xxv7WYm5zYAXJJ6JbWL7SdTmQsMc7KtOMKAVQp2jbNoGt qXkNw75rRnJuUTybAEIfT671xvq9KGZvndGqE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=cUoSVS6HuoYGBYzlqIR0yIiJ5TxkjjA2wHk5oesc0KgeBPEDyyOnylpIT95YYR8yf4 hcu7UM9cCcI3h/iRNd8Bevpoi8LUtD01EJ2dk+uz6N/iy1Jh/ZqZYDf69BCeA1VOdUR2 Cgc3aUZFMb7RqhDtO4wMAejYiwyJngW5wOnQ8= MIME-Version: 1.0 Received: by 10.90.97.18 with HTTP; Wed, 14 Apr 2010 07:34:41 -0700 (PDT) In-Reply-To: References: <20100414120914.GB3605@hades.panopticon> Date: Wed, 14 Apr 2010 16:34:41 +0200 Received: by 10.91.63.3 with SMTP id q3mr3470997agk.46.1271255681168; Wed, 14 Apr 2010 07:34:41 -0700 (PDT) Message-ID: From: Giuseppe Pagnoni To: Garrett Cooper Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-ports-bugs@freebsd.org, Dmitry Marakasov , freebsd-amd64@freebsd.org, freebsd-python@freebsd.org Subject: Re: pyglet segfaults on FreeBSD 8.0/amd64/nVidia X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2010 14:34:42 -0000 Dear all, thanks for your help, I have re-built python and pyglet and run gdb on the core file. I am not sure about the procedure, so I will detail it in the following: cd /usr/po On Wed, Apr 14, 2010 at 3:23 PM, Garrett Cooper wrote: > On Wed, Apr 14, 2010 at 5:09 AM, Dmitry Marakasov wrot= e: >> * Giuseppe Pagnoni (gpagnoni@gmail.com) wrote: >> >>> First of all, let me apologize for the re- and cross-posting , but afte= r a >>> couple of weeks scouring the web and forums to no avail, I thought I wo= uld >>> 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 ver= sion >>> of the ports' nvidia driver (nvidia-driver-195.36.15). =A0I found that = I >>> cannot use either font.Text or text.label without causing segfaults. = =A0Here >>> is some sample code that makes python crash: >> >> The problem is most likely 64 bits. On FreeBSD 8/i386/nVidia I don't >> see any crashes. You should try rebuilding pyglet and python >> WITH_DEBUG and run your testcases under gdb. > > =A0 =A0We need make.conf information for reproduction purposes. > Thanks, > -Garrett > --=20 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 From owner-freebsd-python@FreeBSD.ORG Wed Apr 14 14:42:47 2010 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7D47106566C; Wed, 14 Apr 2010 14:42:47 +0000 (UTC) (envelope-from gpagnoni@gmail.com) Received: from mail-yx0-f174.google.com (mail-yx0-f174.google.com [209.85.210.174]) by mx1.freebsd.org (Postfix) with ESMTP id 4BDD18FC1F; Wed, 14 Apr 2010 14:42:46 +0000 (UTC) Received: by yxe4 with SMTP id 4so90626yxe.28 for ; Wed, 14 Apr 2010 07:42:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=8wVlqF/Zn+Gs2hJeth1bBtNTtCP7MO5pLPdxmTeLUmc=; b=Usu//3eeX44npmLhs14mYJYuD+idecAGwIGYAu/zSP6HTZqviePht7hhPOduzn6tZw lkKDjApJhJ6DbxX1+ET7ODC2O0xj6JvM2VG57qYs6APVMr+vzzWkxbk3fmjyqX1K/iRq oTVKAtkqNT6YTftBHktkNg+IMb/266lR4Oetc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=JXAzijGgIGUwppHT95DWWKrsX4zB2H0nJfNYjxWJX+aXJB8Qf+3i5cvVpMlfAm1tpb /PccqxtPHwGIF9LIfo9TPIpfkk+5gU8aZRSvu5UlXUGClsdCL3jN7A8MU0E5YN8yNTzs hrxhqeJNmiOP8TW34HSWv4kXuNuZCOJK7DddU= MIME-Version: 1.0 Received: by 10.90.97.18 with HTTP; Wed, 14 Apr 2010 07:42:46 -0700 (PDT) In-Reply-To: References: <20100414120914.GB3605@hades.panopticon> Date: Wed, 14 Apr 2010 16:42:46 +0200 Received: by 10.91.197.29 with SMTP id z29mr2705391agp.17.1271256166064; Wed, 14 Apr 2010 07:42:46 -0700 (PDT) Message-ID: From: Giuseppe Pagnoni To: Garrett Cooper Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-ports-bugs@freebsd.org, Dmitry Marakasov , freebsd-python@freebsd.org Subject: Re: pyglet segfaults on FreeBSD 8.0/amd64/nVidia X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2010 14:42:47 -0000 Dear all, thanks for your help, I have re-built python and pyglet and run gdb on the core file that gets produced by running the pyglet code. I am not sure about the procedure, so I will detail it in the following: cd /usr/ports/lang/python26 make deinstall clean make WITH_DEBUG=3D"yes" reinstall cd /usr/ports/graphics/py-pyglet make deinstall clean make WITH_DEBUG=3D"yes" reinstall python foobar2.py (the file foobar2.py contains just the following lines: import pyglet luxi =3D pyglet.font.load('Luxi Sans', 14) =3D> I get a segmentation fault and a python.core file. When I run: gdb core python.core I get: GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you ar= e welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"...core: No such file or directory. Core was generated by `python'. Program terminated with signal 11, Segmentation fault. #0 0x0000000807a3d901 in ?? () It doesn't seem very informative to me but I don't know how to use gdb at all; perhaps the debug symbols were stripped on install? By the way, I will repost here the content of my /etc/make.conf file for clarity: # added by use.perl 2010-03-23 15:25:42 PERL_VERSION=3D5.10.1 # Give preference to CUPS WITH_CUPS=3DYES CUPS_OVERWRITE_BASE=3DYES WITHOUT_LPR=3DYES thanks again very best giuseppe On Wed, Apr 14, 2010 at 3:51 PM, Giuseppe Pagnoni wrot= e: > Dear all, > > thanks for the quick reply. =A0Here the content of /etc/make.conf: > > # added by use.perl 2010-03-23 15:25:42 > PERL_VERSION=3D5.10.1 > # Give preference to CUPS > WITH_CUPS=3DYES > CUPS_OVERWRITE_BASE=3DYES > WITHOUT_LPR=3DYES > > I am currently recompiling python and pyglet WITH_DEBUG as per > Dmitry's suggestion and will post the results ASAP. > > thanks again, > > =A0giuseppe > > On Wed, Apr 14, 2010 at 3:23 PM, Garrett Cooper wrot= e: >> On Wed, Apr 14, 2010 at 5:09 AM, Dmitry Marakasov wro= te: >>> * Giuseppe Pagnoni (gpagnoni@gmail.com) wrote: >>> >>>> First of all, let me apologize for the re- and cross-posting , but aft= er a >>>> couple of weeks scouring the web and forums to no avail, I thought I w= ould >>>> 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 ve= rsion >>>> of the ports' nvidia driver (nvidia-driver-195.36.15). =A0I found that= I >>>> cannot use either font.Text or text.label without causing segfaults. = =A0Here >>>> is some sample code that makes python crash: >>> >>> The problem is most likely 64 bits. On FreeBSD 8/i386/nVidia I don't >>> see any crashes. You should try rebuilding pyglet and python >>> WITH_DEBUG and run your testcases under gdb. >> >> =A0 =A0We need make.conf information for reproduction purposes. >> Thanks, >> -Garrett >> > > > > -- > 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 > --=20 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 From owner-freebsd-python@FreeBSD.ORG Wed Apr 14 15:45:43 2010 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EAFD106566B; Wed, 14 Apr 2010 15:45:43 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [92.53.116.15]) by mx1.freebsd.org (Postfix) with ESMTP id 55BFA8FC18; Wed, 14 Apr 2010 15:45:43 +0000 (UTC) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.71) (envelope-from ) id 1O24ma-000073-8j; Wed, 14 Apr 2010 19:45:40 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id AEEBCB862; Wed, 14 Apr 2010 19:45:39 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id A4EB9B833; Wed, 14 Apr 2010 19:45:39 +0400 (MSD) Date: Wed, 14 Apr 2010 19:45:39 +0400 From: Dmitry Marakasov To: Giuseppe Pagnoni Message-ID: <20100414154539.GA16191@hades.panopticon> References: <20100414120914.GB3605@hades.panopticon> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Garrett Cooper , freebsd-python@freebsd.org, freebsd-ports-bugs@freebsd.org Subject: Re: pyglet segfaults on FreeBSD 8.0/amd64/nVidia X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2010 15:45:43 -0000 * Giuseppe Pagnoni (gpagnoni@gmail.com) wrote: > => I get a segmentation fault and a python.core file. > > When I run: > > gdb core python.core You should run `gdb python python.core` instead. Or, just % gdb python > run example.py so it runs python example.py, dies and drops out into gdb. In the debugger, you should at least run `bt full` command. > It doesn't seem very informative to me but I don't know how to use gdb > at all; perhaps the debug symbols were stripped on install? They shouldn't, as WITH_DEBUG disables stripping. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru From owner-freebsd-python@FreeBSD.ORG Wed Apr 14 17:12:38 2010 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68F00106567D; Wed, 14 Apr 2010 17:12:38 +0000 (UTC) (envelope-from gpagnoni@gmail.com) Received: from mail-yx0-f174.google.com (mail-yx0-f174.google.com [209.85.210.174]) by mx1.freebsd.org (Postfix) with ESMTP id ED6EC8FC2E; Wed, 14 Apr 2010 17:12:37 +0000 (UTC) Received: by yxe4 with SMTP id 4so163333yxe.28 for ; Wed, 14 Apr 2010 10:12:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=X6S5nRfJb84EJ/zua65KrGQzvVMZJtRrE9f/cZ56zRA=; b=L9FSekqcuNi7W8cjpbcFg0xpMUw/Eh1SR2FiAy61dMjNJT6enIRbtr1xjhjTyK38p7 BmgeEa5fxaFLfAQ5QQbGo1bB71H6thjB134IuzaZR6yIS3EePtQI5AcCuLD3d4TCoqna kh/TYuhGtOfX4Q7nZUKGSUQVR9uYS7PYOOaIM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=VG3kItBSgjYWEGxvhIjOuuzxQeEFMeiUpvOzKgYY9Wow7+7p++ZgVZPw4NtZTSLA4G nv/7KIKiaaIS0HkMkP8fyBhYqocJdoG+78TFoSuWhXSBUQ0SN7gp4Del6iZ1kYUM5+l6 csmvxY7NpuJ+Tewmo0bXagTk3j6gF9MrJYoBQ= MIME-Version: 1.0 Received: by 10.90.97.18 with HTTP; Wed, 14 Apr 2010 10:12:36 -0700 (PDT) In-Reply-To: <20100414154539.GA16191@hades.panopticon> References: <20100414120914.GB3605@hades.panopticon> <20100414154539.GA16191@hades.panopticon> Date: Wed, 14 Apr 2010 19:12:36 +0200 Received: by 10.91.20.23 with SMTP id x23mr3527965agi.83.1271265156761; Wed, 14 Apr 2010 10:12:36 -0700 (PDT) Message-ID: From: Giuseppe Pagnoni To: Dmitry Marakasov Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Garrett Cooper , freebsd-python@freebsd.org, freebsd-ports-bugs@freebsd.org Subject: Re: pyglet segfaults on FreeBSD 8.0/amd64/nVidia X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2010 17:12:38 -0000 Hello, thank you very much for explaining. So, running "gdb python python.core", I get the following (not sure whether this part is useful, but I'll post it anyway): Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libutil.so.8...done. Loaded symbols for /lib/libutil.so.8 Reading symbols from /lib/libm.so.5...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /lib/libthr.so.3...done. Loaded symbols for /lib/libthr.so.3 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /usr/local/lib/python2.6/lib-dynload/_ctypes.so...done= . Loaded symbols for /usr/local/lib/python2.6/lib-dynload/_ctypes.so Reading symbols from /usr/local/lib/python2.6/lib-dynload/_struct.so...done= . Loaded symbols for /usr/local/lib/python2.6/lib-dynload/_struct.so Reading symbols from /usr/local/lib/python2.6/lib-dynload/math.so...done. Loaded symbols for /usr/local/lib/python2.6/lib-dynload/math.so Reading symbols from /usr/local/lib/python2.6/lib-dynload/_weakref.so...don= e. Loaded symbols for /usr/local/lib/python2.6/lib-dynload/_weakref.so Reading symbols from /usr/local/lib/python2.6/lib-dynload/binascii.so...don= e. Loaded symbols for /usr/local/lib/python2.6/lib-dynload/binascii.so Reading symbols from /lib/libz.so.5...done. Loaded symbols for /lib/libz.so.5 Reading symbols from /usr/local/lib/python2.6/lib-dynload/_random.so...done= . Loaded symbols for /usr/local/lib/python2.6/lib-dynload/_random.so Reading symbols from /usr/local/lib/python2.6/lib-dynload/cStringIO.so...do= ne. Loaded symbols for /usr/local/lib/python2.6/lib-dynload/cStringIO.so Reading symbols from /usr/local/lib/python2.6/lib-dynload/fcntl.so...done. Loaded symbols for /usr/local/lib/python2.6/lib-dynload/fcntl.so Reading symbols from /usr/local/lib/libGL.so.1...done. Loaded symbols for /usr/local/lib/libGL.so.1 Reading symbols from /usr/local/lib/libnvidia-tls.so.1...done. Loaded symbols for /usr/local/lib/libnvidia-tls.so.1 Reading symbols from /usr/local/lib/libGLcore.so.1...done. Loaded symbols for /usr/local/lib/libGLcore.so.1 Reading symbols from /usr/local/lib/libX11.so.6...done. Loaded symbols for /usr/local/lib/libX11.so.6 Reading symbols from /usr/local/lib/libXext.so.6...done. Loaded symbols for /usr/local/lib/libXext.so.6 Reading symbols from /usr/local/lib/libxcb.so.2...done. Loaded symbols for /usr/local/lib/libxcb.so.2 Reading symbols from /usr/local/lib/libXau.so.6...done. Loaded symbols for /usr/local/lib/libXau.so.6 Reading symbols from /usr/local/lib/libXdmcp.so.6...done. Loaded symbols for /usr/local/lib/libXdmcp.so.6 Reading symbols from /usr/local/lib/libpthread-stubs.so.0...done. Loaded symbols for /usr/local/lib/libpthread-stubs.so.0 Reading symbols from /usr/lib/librpcsvc.so.5...done. Loaded symbols for /usr/lib/librpcsvc.so.5 Reading symbols from /usr/local/lib/libGLU.so.1...done. Loaded symbols for /usr/local/lib/libGLU.so.1 Reading symbols from /usr/lib/libstdc++.so.6...done. Loaded symbols for /usr/lib/libstdc++.so.6 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /usr/local/lib/python2.6/lib-dynload/strop.so...done. Loaded symbols for /usr/local/lib/python2.6/lib-dynload/strop.so Reading symbols from /usr/local/lib/python2.6/lib-dynload/operator.so...don= e. Loaded symbols for /usr/local/lib/python2.6/lib-dynload/operator.so Reading symbols from /usr/local/lib/python2.6/lib-dynload/_collections.so...done. Loaded symbols for /usr/local/lib/python2.6/lib-dynload/_collections.so Reading symbols from /usr/local/lib/python2.6/lib-dynload/unicodedata.so...= done. Loaded symbols for /usr/local/lib/python2.6/lib-dynload/unicodedata.so Reading symbols from /usr/local/lib/libXinerama.so.1...done. Loaded symbols for /usr/local/lib/libXinerama.so.1 Reading symbols from /usr/local/lib/python2.6/lib-dynload/select.so...done. Loaded symbols for /usr/local/lib/python2.6/lib-dynload/select.so Reading symbols from /usr/local/lib/libgdk-x11-2.0.so.0...done. Loaded symbols for /usr/local/lib/libgdk-x11-2.0.so.0 Reading symbols from /usr/local/lib/libpangocairo-1.0.so.0...done. Loaded symbols for /usr/local/lib/libpangocairo-1.0.so.0 Reading symbols from /usr/local/lib/libpangoft2-1.0.so.0...done. Loaded symbols for /usr/local/lib/libpangoft2-1.0.so.0 Reading symbols from /usr/local/lib/libpango-1.0.so.0...done. Loaded symbols for /usr/local/lib/libpango-1.0.so.0 Reading symbols from /usr/local/lib/libXi.so.6...done. Loaded symbols for /usr/local/lib/libXi.so.6 Reading symbols from /usr/local/lib/libXrandr.so.2...done. Loaded symbols for /usr/local/lib/libXrandr.so.2 Reading symbols from /usr/local/lib/libXcursor.so.1...done. Loaded symbols for /usr/local/lib/libXcursor.so.1 Reading symbols from /usr/local/lib/libXcomposite.so.1...done. Loaded symbols for /usr/local/lib/libXcomposite.so.1 Reading symbols from /usr/local/lib/libXdamage.so.1...done. Loaded symbols for /usr/local/lib/libXdamage.so.1 Reading symbols from /usr/local/lib/libXfixes.so.3...done. Loaded symbols for /usr/local/lib/libXfixes.so.3 Reading symbols from /usr/local/lib/libcairo.so.2...done. Loaded symbols for /usr/local/lib/libcairo.so.2 Reading symbols from /usr/local/lib/libpixman-1.so.9...done. Loaded symbols for /usr/local/lib/libpixman-1.so.9 Reading symbols from /usr/local/lib/libfontconfig.so.1...done. Loaded symbols for /usr/local/lib/libfontconfig.so.1 Reading symbols from /usr/local/lib/libfreetype.so.9...done. Loaded symbols for /usr/local/lib/libfreetype.so.9 Reading symbols from /usr/local/lib/libexpat.so.6...done. Loaded symbols for /usr/local/lib/libexpat.so.6 Reading symbols from /usr/local/lib/libglitz.so.1...done. Loaded symbols for /usr/local/lib/libglitz.so.1 Reading symbols from /usr/local/lib/libpng.so.6...done. Loaded symbols for /usr/local/lib/libpng.so.6 Reading symbols from /usr/local/lib/libxcb-render-util.so.0...done. Loaded symbols for /usr/local/lib/libxcb-render-util.so.0 Reading symbols from /usr/local/lib/libxcb-render.so.0...done. Loaded symbols for /usr/local/lib/libxcb-render.so.0 Reading symbols from /usr/local/lib/libXrender.so.1...done. Loaded symbols for /usr/local/lib/libXrender.so.1 Reading symbols from /usr/local/lib/libgdk_pixbuf-2.0.so.0...done. Loaded symbols for /usr/local/lib/libgdk_pixbuf-2.0.so.0 Reading symbols from /usr/local/lib/libgio-2.0.so.0...done. Loaded symbols for /usr/local/lib/libgio-2.0.so.0 Reading symbols from /usr/local/lib/libgobject-2.0.so.0...done. Loaded symbols for /usr/local/lib/libgobject-2.0.so.0 Reading symbols from /usr/local/lib/libgmodule-2.0.so.0...done. Loaded symbols for /usr/local/lib/libgmodule-2.0.so.0 Reading symbols from /usr/local/lib/libglib-2.0.so.0...done. Loaded symbols for /usr/local/lib/libglib-2.0.so.0 Reading symbols from /usr/local/lib/libintl.so.8...done. Loaded symbols for /usr/local/lib/libintl.so.8 Reading symbols from /usr/local/lib/libiconv.so.3...done. Loaded symbols for /usr/local/lib/libiconv.so.3 Reading symbols from /usr/local/lib/libpcre.so.0...done. Loaded symbols for /usr/local/lib/libpcre.so.0 Reading symbols from /usr/local/lib/python2.6/site-packages/PIL/_imaging.so...done. Loaded symbols for /usr/local/lib/python2.6/site-packages/PIL/_imaging.so Reading symbols from /usr/local/lib/libjpeg.so.11...done. Loaded symbols for /usr/local/lib/libjpeg.so.11 Reading symbols from /usr/local/lib/python2.6/lib-dynload/array.so...done. Loaded symbols for /usr/local/lib/python2.6/lib-dynload/array.so Reading symbols from /usr/local/lib/python2.6/lib-dynload/zlib.so...done. Loaded symbols for /usr/local/lib/python2.6/lib-dynload/zlib.so Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x0000000807a3d901 in FcPatternObjectAddWithBinding () from /usr/local/lib/libfontconfig.so.1 [New Thread 800e021c0 (LWP 100331)] while, when entering "bt full" within the gdb console, I get: #0 0x0000000807a3d901 in FcPatternObjectAddWithBinding () from /usr/local/lib/libfontconfig.so.1 No symbol table info available. #1 0x000000080111d87c in ffi_call_unix64 () at /usr/ports/lang/python26/work/Python-2.6.4/Modules/_ctypes/libffi/sr= c/x86/unix64.S:75 No locals. #2 0x000000080111d2be in ffi_call (cif=3D0x7fffffffc7d0, fn=3D0x807a3e390 , rvalue=3D0x7fffffffc8b0, avalue=3D0x7fffffffc880) at /usr/ports/lang/python26/work/Python-2.6.4/Modules/_ctypes/libffi/sr= c/x86/ffi64.c:430 classes =3D {X86_64_SSEDF_CLASS, 2058, X86_64_NO_CLASS, X86_64_NO_CLASS= } stack =3D 0x7fffffffc5e0 "@U<\006" argp =3D 0x7fffffffc690 "\n\b" arg_types =3D (ffi_type **) 0x7fffffffc850 gprcount =3D 2 ssecount =3D 1 ngpr =3D 0 nsse =3D 1 i =3D 3 avn =3D 3 ret_in_memory =3D false reg_args =3D (struct register_args *) 0x7fffffffc5e0 #3 0x00000008011144da in _call_function_pointer (flags=3D4353, pProc=3D0x807a3e390 , avalues=3D0x7fffffffc880, atypes=3D0x7fffffffc850, restype=3D0x800e078b0, resmem=3D0x7fffffffc8b0= , argcount=3D3) at /usr/ports/lang/python26/work/Python-2.6.4/Modules/_ctypes/callproc.= c:816 _save =3D (PyThreadState *) 0x800e0b0c0 error_object =3D (PyObject *) 0x0 space =3D (int *) 0x80109c530 cif =3D {abi =3D FFI_UNIX64, nargs =3D 3, arg_types =3D 0x7fffffffc850, rtype =3D 0x800e078b0, bytes =3D 0, flags =3D 2058} cc =3D 2 #4 0x0000000801114eda in _CallProc (pProc=3D0x807a3e390 , argtuple=3D0x806644960, flags=3D4353, argtypes=3D0x0, restype=3D0x801060820, checker=3D0x0) at /usr/ports/lang/python26/work/Python-2.6.4/Modules/_ctypes/callproc.= c:1163 i =3D 3 n =3D 3 argcount =3D 3 argtype_count =3D 0 resbuf =3D (void *) 0x7fffffffc8b0 args =3D (struct argument *) 0x7fffffffc8d0 pa =3D (struct argument *) 0x7fffffffc930 atypes =3D (ffi_type **) 0x7fffffffc850 rtype =3D (ffi_type *) 0x800e078b0 avalues =3D (void **) 0x7fffffffc880 retval =3D (PyObject *) 0x0 #5 0x000000080110f074 in CFuncPtr_call (self=3D0x806688ae0, inargs=3D0x806644960, kwds=3D0x0) at /usr/ports/lang/python26/work/Python-2.6.4/Modules/_ctypes/_ctypes.c= :3860 restype =3D (PyObject *) 0x801060820 converters =3D (PyObject *) 0x0 checker =3D (PyObject *) 0x0 argtypes =3D (PyObject *) 0x0 dict =3D (StgDictObject *) 0x805755ca0 result =3D (PyObject *) 0x806644960 callargs =3D (PyObject *) 0x806644960 errcheck =3D (PyObject *) 0x0 pProc =3D (void *) 0x807a3e390 inoutmask =3D 0 outmask =3D 0 numretvals =3D 0 #6 0x000000000041e789 in PyObject_Call (func=3D0x806688ae0, arg=3D0x806644960, kw=3D0x0) at ./../Objects/abstract.c:2492 result =3D (PyObject *) 0x804fd3510 call =3D 0x80110ed40 #7 0x00000000004ac096 in do_call (func=3D0x806688ae0, pp_stack=3D0x7fffffffcd40, na=3D3, nk=3D0) at ./../Python/ceval.c:3924 callargs =3D (PyObject *) 0x806644960 kwdict =3D (PyObject *) 0x0 result =3D (PyObject *) 0x0 #8 0x00000000004ab7c1 in call_function (pp_stack=3D0x7fffffffcd40, oparg= =3D3) at ./../Python/ceval.c:3729 na =3D 3 nk =3D 0 n =3D 3 pfunc =3D (PyObject **) 0x80162d3d0 func =3D (PyObject *) 0x806688ae0 x =3D (PyObject *) 0x804db2c20 w =3D (PyObject *) 0x801062020 #9 0x00000000004a7b69 in PyEval_EvalFrameEx (f=3D0x80162d220, throwflag=3D= 0) at ./../Python/ceval.c:2389 sp =3D (PyObject **) 0x80162d3d8 stack_pointer =3D (PyObject **) 0x80162d3f0 next_instr =3D (unsigned char *) 0x805d1ed63 "\001t\004" opcode =3D 131 oparg =3D 3 why =3D WHY_NOT err =3D 0 x =3D (PyObject *) 0x804db2c20 v =3D (PyObject *) 0x80665aa50 w =3D (PyObject *) 0x8010481e0 u =3D (PyObject *) 0x8062fc6a0 t =3D (PyObject *) 0x10 stream =3D (PyObject *) 0x0 fastlocals =3D (PyObject **) 0x80162d398 freevars =3D (PyObject **) 0x80162d3d0 retval =3D (PyObject *) 0x0 tstate =3D (PyThreadState *) 0x800e0b0c0 co =3D (PyCodeObject *) 0x80582b990 instr_ub =3D -1 instr_lb =3D 0 instr_prev =3D -1 first_instr =3D (unsigned char *) 0x805d1ece4 "|\002" names =3D (PyObject *) 0x800e3d450 consts =3D (PyObject *) 0x80545da00 #10 0x00000000004ab9a7 in fast_function (func=3D0x806610668, pp_stack=3D0x7fffffffd0a0, n=3D4, na=3D4, nk=3D0) at ./../Python/ceval.c:3792 retval =3D (PyObject *) 0x0 fastlocals =3D (PyObject **) 0x80162d398 i =3D 4 f =3D (PyFrameObject *) 0x80162d220 tstate =3D (PyThreadState *) 0x800e0b0c0 stack =3D (PyObject **) 0x80107c728 co =3D (PyCodeObject *) 0x80582b990 globals =3D (PyObject *) 0x8010d9660 argdefs =3D (PyObject *) 0x0 d =3D (PyObject **) 0x0 nd =3D 0 #11 0x00000000004ab7a8 in call_function (pp_stack=3D0x7fffffffd0a0, oparg= =3D4) at ./../Python/ceval.c:3727 na =3D 4 nk =3D 0 n =3D 4 pfunc =3D (PyObject **) 0x80107c700 func =3D (PyObject *) 0x806610668 x =3D (PyObject *) 0x804db2200 w =3D (PyObject *) 0x7fffffffcf80 #12 0x00000000004a7b69 in PyEval_EvalFrameEx (f=3D0x80107c520, throwflag=3D= 0) at ./../Python/ceval.c:2389 sp =3D (PyObject **) 0x80107c728 stack_pointer =3D (PyObject **) 0x80107c728 next_instr =3D (unsigned char *) 0x8054fcad0 "}\t" opcode =3D 131 oparg =3D 4 why =3D WHY_NOT err =3D 0 x =3D (PyObject *) 0x68e610 v =3D (PyObject *) 0x80104a7d0 w =3D (PyObject *) 0x80582c6b0 u =3D (PyObject *) 0x0 t =3D (PyObject *) 0x11 stream =3D (PyObject *) 0x0 fastlocals =3D (PyObject **) 0x80107c698 freevars =3D (PyObject **) 0x80107c700 retval =3D (PyObject *) 0x0 tstate =3D (PyThreadState *) 0x800e0b0c0 co =3D (PyCodeObject *) 0x80582b8a0 instr_ub =3D -1 instr_lb =3D 0 instr_prev =3D -1 first_instr =3D (unsigned char *) 0x8054fca24 "t" names =3D (PyObject *) 0x800f0bde0 consts =3D (PyObject *) 0x805454670 #13 0x00000000004a99d8 in PyEval_EvalCodeEx (co=3D0x80582b8a0, globals=3D0x8010d9660, locals=3D0x0, args=3D0x8010337e8, argcount=3D3, kws=3D0x8058c8d60, kwco= unt=3D3, defs=3D0x806644838, defcount=3D3, closure=3D0x0) at ./../Python/ceval.c= :2968 f =3D (PyFrameObject *) 0x80107c520 retval =3D (PyObject *) 0x0 fastlocals =3D (PyObject **) 0x80107c698 freevars =3D (PyObject **) 0x80107c700 tstate =3D (PyThreadState *) 0x800e0b0c0 x =3D (PyObject *) 0x800e81600 u =3D (PyObject *) 0x800e929b0 #14 0x0000000000519f5f in function_call (func=3D0x80660cc80, arg=3D0x801033= 7d0, kw=3D0x8062fc060) at ./../Objects/funcobject.c:524 result =3D (PyObject *) 0x0 argdefs =3D (PyObject *) 0x806644820 d =3D (PyObject **) 0x806644838 k =3D (PyObject **) 0x8058c8d60 nk =3D 3 nd =3D 3 #15 0x000000000041e789 in PyObject_Call (func=3D0x80660cc80, arg=3D0x801033= 7d0, kw=3D0x8062fc060) at ./../Objects/abstract.c:2492 result =3D (PyObject *) 0x8010337b0 call =3D 0x519d30 #16 0x0000000000427132 in instancemethod_call (func=3D0x80660cc80, arg=3D0x8010337d0, kw=3D0x8062fc060) at ./../Objects/classobject.c:2579 self =3D (PyObject *) 0x80104a7d0 klass =3D (PyObject *) 0x8062f4820 result =3D (PyObject *) 0x7fffffffd6d0 #17 0x000000000041e789 in PyObject_Call (func=3D0x800f9f8c0, arg=3D0x801043= 368, kw=3D0x8062fc060) at ./../Objects/abstract.c:2492 result =3D (PyObject *) 0x800f9f8c0 call =3D 0x426ed0 #18 0x000000000047ab3f in slot_tp_init (self=3D0x80104a7d0, args=3D0x801043= 368, kwds=3D0x8062fc060) at ./../Objects/typeobject.c:5638 meth =3D (PyObject *) 0x800f9f8c0 res =3D (PyObject *) 0x3 init_str =3D (PyObject *) 0x800e18990 #19 0x000000000046babf in type_call (type=3D0x8062f4820, args=3D0x801043368, kwds=3D0x8062fc060) at ./../Objects/typeobject.c:745 obj =3D (PyObject *) 0x80104a7d0 #20 0x000000000041e789 in PyObject_Call (func=3D0x8062f4820, arg=3D0x801043= 368, kw=3D0x8062fc060) at ./../Objects/abstract.c:2492 result =3D (PyObject *) 0x801042730 call =3D 0x46b970 #21 0x00000000004ac096 in do_call (func=3D0x8062f4820, pp_stack=3D0x7fffffffd9d0, na=3D2, nk=3D3) at ./../Python/ceval.c:3924 callargs =3D (PyObject *) 0x801043368 kwdict =3D (PyObject *) 0x8062fc060 result =3D (PyObject *) 0x0 #22 0x00000000004ab7c1 in call_function (pp_stack=3D0x7fffffffd9d0, oparg= =3D770) at ./../Python/ceval.c:3729 na =3D 2 nk =3D 3 n =3D 8 pfunc =3D (PyObject **) 0x800ff7af0 func =3D (PyObject *) 0x8062f4820 x =3D (PyObject *) 0x4ae w =3D (PyObject *) 0x68e610 #23 0x00000000004a7b69 in PyEval_EvalFrameEx (f=3D0x800ff7920, throwflag=3D= 0) at ./../Python/ceval.c:2389 sp =3D (PyObject **) 0x800ff7af8 stack_pointer =3D (PyObject **) 0x800ff7b38 next_instr =3D (unsigned char *) 0x800e071b4 "}\n" opcode =3D 131 oparg =3D 770 why =3D WHY_NOT err =3D 0 x =3D (PyObject *) 0x800e81e00 v =3D (PyObject *) 0x68e610 w =3D (PyObject *) 0x801056ab0 u =3D (PyObject *) 0x806689710 t =3D (PyObject *) 0x80103da28 stream =3D (PyObject *) 0x0 fastlocals =3D (PyObject **) 0x800ff7a98 freevars =3D (PyObject **) 0x800ff7af0 retval =3D (PyObject *) 0x0 tstate =3D (PyThreadState *) 0x800e0b0c0 co =3D (PyCodeObject *) 0x801059120 instr_ub =3D -1 instr_lb =3D 0 instr_prev =3D -1 first_instr =3D (unsigned char *) 0x800e070a4 "|\001" names =3D (PyObject *) 0x800e4e638 consts =3D (PyObject *) 0x8010310d8 #24 0x00000000004a99d8 in PyEval_EvalCodeEx (co=3D0x801059120, globals=3D0x8010da060, locals=3D0x0, args=3D0x800e05d20, argcount=3D2, kws=3D0x800e05d30, kwco= unt=3D0, defs=3D0x805818b48, defcount=3D5, closure=3D0x0) at ./../Python/ceval.c= :2968 f =3D (PyFrameObject *) 0x800ff7920 retval =3D (PyObject *) 0x0 fastlocals =3D (PyObject **) 0x800ff7a98 freevars =3D (PyObject **) 0x800ff7af0 tstate =3D (PyThreadState *) 0x800e0b0c0 x =3D (PyObject *) 0x800e81600 u =3D (PyObject *) 0x7fffffffdbc0 #25 0x00000000004aba93 in fast_function (func=3D0x80582bb90, pp_stack=3D0x7fffffffded0, n=3D2, na=3D2, nk=3D0) at ./../Python/ceval.c:3802 co =3D (PyCodeObject *) 0x801059120 globals =3D (PyObject *) 0x8010da060 argdefs =3D (PyObject *) 0x805818b30 d =3D (PyObject **) 0x805818b48 nd =3D 5 #26 0x00000000004ab7a8 in call_function (pp_stack=3D0x7fffffffded0, oparg= =3D2) at ./../Python/ceval.c:3727 na =3D 2 nk =3D 0 n =3D 2 pfunc =3D (PyObject **) 0x800e05d18 func =3D (PyObject *) 0x80582bb90 x =3D (PyObject *) 0x80108fc20 w =3D (PyObject *) 0x66f160 #27 0x00000000004a7b69 in PyEval_EvalFrameEx (f=3D0x800e05ba0, throwflag=3D= 0) at ./../Python/ceval.c:2389 sp =3D (PyObject **) 0x800e05d30 stack_pointer =3D (PyObject **) 0x800e05d30 next_instr =3D (unsigned char *) 0x80102a5c2 "Z\003" opcode =3D 131 oparg =3D 2 why =3D WHY_NOT err =3D 0 x =3D (PyObject *) 0x800e81600 v =3D (PyObject *) 0x80104a7d0 w =3D (PyObject *) 0x801041d80 u =3D (PyObject *) 0x800e81768 t =3D (PyObject *) 0x4e4365 stream =3D (PyObject *) 0x0 fastlocals =3D (PyObject **) 0x800e05d18 freevars =3D (PyObject **) 0x800e05d18 retval =3D (PyObject *) 0x0 tstate =3D (PyThreadState *) 0x800e0b0c0 co =3D (PyCodeObject *) 0x800f08648 instr_ub =3D -1 instr_lb =3D 0 instr_prev =3D -1 first_instr =3D (unsigned char *) 0x80102a5a4 "d" names =3D (PyObject *) 0x800e4fe68 consts =3D (PyObject *) 0x800f13158 #28 0x00000000004a99d8 in PyEval_EvalCodeEx (co=3D0x800f08648, globals=3D0x800eb59e0, locals=3D0x800eb59e0, args=3D0x0, argcount=3D0, kws=3D0x0, kwcount=3D0, defs=3D0x0, defcount=3D0, closure=3D0x0) at ./../Python/ceval.c:2968 f =3D (PyFrameObject *) 0x800e05ba0 retval =3D (PyObject *) 0x0 fastlocals =3D (PyObject **) 0x800e05d18 freevars =3D (PyObject **) 0x800e05d18 tstate =3D (PyThreadState *) 0x800e0b0c0 x =3D (PyObject *) 0x7fffffffe570 u =3D (PyObject *) 0x7fffffffe558 #29 0x00000000004a1ac7 in PyEval_EvalCode (co=3D0x800f08648, globals=3D0x80= 0eb59e0, locals=3D0x800eb59e0) at ./../Python/ceval.c:522 No locals. #30 0x00000000004d51bb in run_mod (mod=3D0x801072278, filename=3D0x7fffffffe877 "foobar2.py", globals=3D0x800eb59e0, locals=3D0x800eb59e0, flags=3D0x7fffffffe460, arena=3D0x800e6b480) at ./../Python/pythonrun.c:1335 co =3D (PyCodeObject *) 0x800f08648 v =3D (PyObject *) 0x7fffffffe290 #31 0x00000000004d5139 in PyRun_FileExFlags (fp=3D0x800d22700, filename=3D0x7fffffffe877 "foobar2.py", start=3D257, globals=3D0x800eb5= 9e0, locals=3D0x800eb59e0, closeit=3D1, flags=3D0x7fffffffe460) at ./../Python/pythonrun.c:1321 ret =3D (PyObject *) 0x800d22700 mod =3D 0x801072278 arena =3D (PyArena *) 0x800e6b480 #32 0x00000000004d4069 in PyRun_SimpleFileExFlags (fp=3D0x800d22700, filename=3D0x7fffffffe877 "foobar2.py", closeit=3D1, flags=3D0x7fffffff= e460) at ./../Python/pythonrun.c:931 m =3D (PyObject *) 0x800e54718 d =3D (PyObject *) 0x800eb59e0 v =3D (PyObject *) 0x4d5f8c ext =3D 0x7fffffffe87d "2.py" set_file_name =3D 1 ret =3D -6025 len =3D 10 #33 0x00000000004d3926 in PyRun_AnyFileExFlags (fp=3D0x800d22700, filename=3D0x7fffffffe877 "foobar2.py", closeit=3D1, flags=3D0x7fffffff= e460) at ./../Python/pythonrun.c:735 No locals. #34 0x0000000000414406 in Py_Main (argc=3D2, argv=3D0x7fffffffe558) at ./../Modules/main.c:599 c =3D -1 sts =3D -1 command =3D 0x0 filename =3D 0x7fffffffe877 "foobar2.py" module =3D 0x0 fp =3D (FILE *) 0x800d22700 p =3D 0x0 unbuffered =3D 0 skipfirstline =3D 0 stdin_is_interactive =3D 1 help =3D 0 version =3D 0 saw_unbuffered_flag =3D 0 cf =3D {cf_flags =3D 0} #35 0x000000000041320e in main (argc=3D2, argv=3D0x7fffffffe558) at ./../Modules/python.c:23 m =3D 0 Thanks for the help, I appreciate it giuseppe On Wed, Apr 14, 2010 at 5:45 PM, Dmitry Marakasov wrote: > * Giuseppe Pagnoni (gpagnoni@gmail.com) wrote: > >> =3D> I get a segmentation fault and a python.core file. >> >> When I run: >> >> =A0 gdb core python.core > > You should run `gdb python python.core` instead. Or, just > > % gdb python >> run example.py > > so it runs python example.py, dies and drops out into gdb. > In the debugger, you should at least run `bt full` command. > >> It doesn't seem very informative to me but I don't know how to use gdb >> at all; perhaps the debug symbols were stripped on install? > > They shouldn't, as WITH_DEBUG disables stripping. > > -- > Dmitry Marakasov =A0 . =A0 55B5 0596 FF1E 8D84 5F56 =A09510 D35A 80DD F9D= 2 F77D > amdmi3@amdmi3.ru =A0..: =A0jabber: amdmi3@jabber.ru =A0 =A0http://www.amd= mi3.ru > --=20 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 From owner-freebsd-python@FreeBSD.ORG Thu Apr 15 10:22:39 2010 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7737106564A; Thu, 15 Apr 2010 10:22:39 +0000 (UTC) (envelope-from zhoushuqun@gmail.com) Received: from mail-pz0-f201.google.com (mail-pz0-f201.google.com [209.85.222.201]) by mx1.freebsd.org (Postfix) with ESMTP id 99B1C8FC15; Thu, 15 Apr 2010 10:22:39 +0000 (UTC) Received: by pzk39 with SMTP id 39so927396pzk.7 for ; Thu, 15 Apr 2010 03:22:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:received :message-id:subject:to:cc:content-type; bh=tS9EzHb9vADPeuGFdqgaWRi5uY1gUwukaFEYztm8ioY=; b=Fu1rgCyWrv5q2IRFTVMJZHWUbI62zPVKEpWmvPbkKNwJBz1rR0QfSPP9yeRzJU1b42 3JgKTxa97i6om+zmHfi4x6oaXpOvwVINjtxy/AfO70tGi3T+KgBr3aVhlu/gIlquJXHV 7/tgc+D3zcCHgZEOt10z8/iWC2SKXa+lkCwss= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:cc:content-type; b=i/KPIh8xnRdNHZ55ep6N13/dfBVItCfwZlC288cd3ccqrrGq5qqWbOAYH+O9Qxn9uX wskw44vT71hjxWMMrNMk6coEQtpjStHvtyC+NEg7muO6NjQgDtlJL4H15cHJtk23/sXs SFNnIvH/OYXsCSJOfhJpbhK7jd7BOSIgPrqgE= MIME-Version: 1.0 Received: by 10.141.19.13 with HTTP; Thu, 15 Apr 2010 02:50:57 -0700 (PDT) From: Sutra Zhou Date: Thu, 15 Apr 2010 17:50:57 +0800 Received: by 10.141.88.2 with SMTP id q2mr769488rvl.241.1271325077098; Thu, 15 Apr 2010 02:51:17 -0700 (PDT) Message-ID: To: lwhsu@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-python@freebsd.org Subject: Commit the patch of port Jython 2.5.1? X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Apr 2010 10:22:39 -0000 I'm new to the freebsd-python mailing list, I don't know how to reply to the following thread http://lists.freebsd.org/pipermail/freebsd-python/2010-February/002804.html So, I create this new thread to ask about this question. From owner-freebsd-python@FreeBSD.ORG Fri Apr 16 17:43:58 2010 Return-Path: Delivered-To: freebsd-python@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2ED571065672; Fri, 16 Apr 2010 17:43:58 +0000 (UTC) (envelope-from yzlin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 066368FC1C; Fri, 16 Apr 2010 17:43:58 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3GHhvEh064868; Fri, 16 Apr 2010 17:43:57 GMT (envelope-from yzlin@freefall.freebsd.org) Received: (from yzlin@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3GHhvC0064864; Fri, 16 Apr 2010 17:43:57 GMT (envelope-from yzlin) Date: Fri, 16 Apr 2010 17:43:57 GMT Message-Id: <201004161743.o3GHhvC0064864@freefall.freebsd.org> To: yzlin@FreeBSD.org, freebsd-python@FreeBSD.org, yzlin@FreeBSD.org From: yzlin@FreeBSD.org Cc: Subject: Re: ports/145604: [UPDATE] devel/py-waf to 1.5.15 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2010 17:43:58 -0000 Synopsis: [UPDATE] devel/py-waf to 1.5.15 Responsible-Changed-From-To: freebsd-python->yzlin Responsible-Changed-By: yzlin Responsible-Changed-When: Fri Apr 16 17:43:57 UTC 2010 Responsible-Changed-Why: I'll take it. http://www.freebsd.org/cgi/query-pr.cgi?pr=145604 From owner-freebsd-python@FreeBSD.ORG Sat Apr 17 13:25:05 2010 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19CB6106564A for ; Sat, 17 Apr 2010 13:25:05 +0000 (UTC) (envelope-from lwhsu@FreeBSD.cs.nctu.edu.tw) Received: from FreeBSD.cs.nctu.edu.tw (FreeBSD.cs.nctu.edu.tw [140.113.17.209]) by mx1.freebsd.org (Postfix) with ESMTP id D9ECD8FC08 for ; Sat, 17 Apr 2010 13:25:04 +0000 (UTC) Received: by FreeBSD.cs.nctu.edu.tw (Postfix, from userid 1058) id BD66F61CB8; Sat, 17 Apr 2010 21:25:03 +0800 (CST) Date: Sat, 17 Apr 2010 21:25:03 +0800 From: Li-Wen Hsu To: Sutra Zhou Message-ID: <20100417132503.GA85873@FreeBSD.cs.nctu.edu.tw> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="azLHFNyN32YCQGCU" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Stefan Schmidt , saper@saper.info, freebsd-python@freebsd.org Subject: Re: Commit the patch of port Jython 2.5.1? X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Apr 2010 13:25:05 -0000 --azLHFNyN32YCQGCU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 15, 2010 at 17:50:57 +0800, Sutra Zhou wrote: > I'm new to the freebsd-python mailing list, I don't know how to reply to = the > following thread > http://lists.freebsd.org/pipermail/freebsd-python/2010-February/002804.ht= ml > So, I create this new thread to ask about this question. I'm still waiting for the reply from the maintainers of the ports which depend on jython. By the way, you are definitely welcomed to test this patch and please give feedback if it works or not. Thanks very much! --=20 Li-Wen Hsu http://lwhsu.org --azLHFNyN32YCQGCU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkvJtq4ACgkQQWsOOSiXsijW6ACfR+34OJ9xVAXwJaiRBgOwrPMk LwkAniLsZmaDAl9NunmREBoUI5BWAqY8 =F77+ -----END PGP SIGNATURE----- --azLHFNyN32YCQGCU--