From soralx@cydem.org  Sat Jan  5 09:19:37 2008
Return-Path: <soralx@cydem.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 629E716A46E
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  5 Jan 2008 09:19:37 +0000 (UTC)
	(envelope-from soralx@cydem.org)
Received: from pd2mo3so.prod.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10])
	by mx1.freebsd.org (Postfix) with ESMTP id 53D8013C469
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  5 Jan 2008 09:19:37 +0000 (UTC)
	(envelope-from soralx@cydem.org)
Received: from pd2mr5so.prod.shaw.ca (pd2mr5so-qfe3.prod.shaw.ca [10.0.141.8])
 by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004))
 with ESMTP id <0JU500JDMWFEB2C0@l-daemon> for
 FreeBSD-gnats-submit@freebsd.org; Sat, 05 Jan 2008 01:18:50 -0700 (MST)
Received: from pn2ml7so.prod.shaw.ca ([10.0.121.151])
 by pd2mr5so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep
 5 2006)) with ESMTP id <0JU500AIQWFCLB50@pd2mr5so.prod.shaw.ca> for
 FreeBSD-gnats-submit@freebsd.org; Sat, 05 Jan 2008 01:18:50 -0700 (MST)
Received: from cydem.org ([24.87.3.133])
 by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004))
 with ESMTP id <0JU5000ASWFCP340@l-daemon> for
 FreeBSD-gnats-submit@freebsd.org; Sat, 05 Jan 2008 01:18:48 -0700 (MST)
Received: by cydem.org (Postfix/FreeBSD, from userid 256)	id C639E7F215; Sat,
 05 Jan 2008 00:22:45 -0800 (PST)
Message-Id: <20080105082245.C639E7F215@cydem.org>
Date: Sat, 05 Jan 2008 00:22:45 -0800 (PST)
From: soralx@cydem.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: ports/games/glchess badly broken
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         119353
>Category:       ports
>Synopsis:       ports/games/glchess badly broken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    araujo
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 05 09:20:01 UTC 2008
>Closed-Date:    Mon Jun 09 02:28:39 UTC 2008
>Last-Modified:  Mon Jun 09 02:28:39 UTC 2008
>Originator:     cydem.org!soralx
>Release:        FreeBSD 6.3-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD freen0de 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: Fri Dec 21 13:18:15 PST 2007 root@freen0de:/usr/obj/usr/src/sys/SORALX i386

>Description:

[root@freen0de /]# glchess > log 2>log.err
^C^C^C^C^\^\^\Quit: 3 (core dumped)

[root@freen0de /]# cat log
This is glChess 2.20.2
Loading AI configuration from /usr/local/share/glchess/ai.xml
Detected AI: GNU Chess at /usr/local/bin/gnome-gnuchess
Detected AI: Crafty at /usr/local/bin/crafty
This is glChess 2.20.2
Loading AI configuration from /usr/local/share/glchess/ai.xml
Detected AI: GNU Chess at /usr/local/bin/gnome-gnuchess
Detected AI: Crafty at /usr/local/bin/crafty

[root@freen0de /]# ll log.err
-rw-r--r--  1 root  wheel   114M Jan  4 20:39 log2

[root@freen0de /]# head -64 log.err
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/glchess/gtkui/gtkui.py", line 854, in _on_menu_movef_human_activate
    glchess.config.set('move_format', 'human')
  File "/usr/local/lib/python2.5/site-packages/glchess/config.py", line 143, in set
    if oldValue == value:
RuntimeError: maximum recursion depth exceeded in cmp
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/glchess/gtkui/gtkui.py", line 862, in _on_menu_movef_san_activate
    glchess.config.set('move_format', 'san')
  File "/usr/local/lib/python2.5/site-packages/glchess/config.py", line 143, in set
    if oldValue == value:
RuntimeError: maximum recursion depth exceeded in cmp
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/glchess/gtkui/gtkui.py", line 862, in _on_menu_movef_san_activate
    glchess.config.set('move_format', 'san')
  File "/usr/local/lib/python2.5/site-packages/glchess/config.py", line 157, in set
    _save()
  File "/usr/local/lib/python2.5/site-packages/glchess/config.py", line 190, in _save
    e = document.createComment('Automatically generated by glChess, do not edit!')
  File "/usr/local/lib/python2.5/site-packages/_xmlplus/dom/minidom.py", line 1623, in createComment
    c = Comment(data)
  File "/usr/local/lib/python2.5/site-packages/_xmlplus/dom/minidom.py", line 1135, in __init__
    self.data = self.nodeValue = data
RuntimeError: maximum recursion depth exceeded
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/glchess/gtkui/gtkui.py", line 862, in _on_menu_movef_san_activate
    glchess.config.set('move_format', 'san')
  File "/usr/local/lib/python2.5/site-packages/glchess/config.py", line 143, in set
    if oldValue == value:
RuntimeError: maximum recursion depth exceeded in cmp
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/glchess/gtkui/gtkui.py", line 854, in _on_menu_movef_human_activate
    glchess.config.set('move_format', 'human')
  File "/usr/local/lib/python2.5/site-packages/glchess/config.py", line 143, in set
    if oldValue == value:
RuntimeError: maximum recursion depth exceeded in cmp
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/glchess/gtkui/gtkui.py", line 854, in _on_menu_movef_human_activate
    glchess.config.set('move_format', 'human')
  File "/usr/local/lib/python2.5/site-packages/glchess/config.py", line 157, in set
    _save()
  File "/usr/local/lib/python2.5/site-packages/glchess/config.py", line 190, in _save
    e = document.createComment('Automatically generated by glChess, do not edit!')
  File "/usr/local/lib/python2.5/site-packages/_xmlplus/dom/minidom.py", line 1623, in createComment
    c = Comment(data)
  File "/usr/local/lib/python2.5/site-packages/_xmlplus/dom/minidom.py", line 1135, in __init__
    self.data = self.nodeValue = data
RuntimeError: maximum recursion depth exceeded
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/glchess/gtkui/gtkui.py", line 862, in _on_menu_movef_san_activate
    glchess.config.set('move_format', 'san')
  File "/usr/local/lib/python2.5/site-packages/glchess/config.py", line 143, in set
    if oldValue == value:
RuntimeError: maximum recursion depth exceeded in cmp
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/glchess/gtkui/gtkui.py", line 854, in _on_menu_movef_human_activate
    glchess.config.set('move_format', 'human')
  File "/usr/local/lib/python2.5/site-packages/glchess/config.py", line 143, in set
    if oldValue == value:
RuntimeError: maximum recursion depth exceeded in cmp
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/glchess/gtkui/gtkui.py", line 854, in _on_menu_movef_human_activate
    glchess.config.set('move_format', 'human')
  File "/usr/local/lib/python2.5/site-packages/glchess/config.py", line 157, in set

[root@freen0de /]# /var/db/pkg/py 
py-gnome-1.4.4_6/        py25-lxml-1.2.1_1/       py25-sip-4.7.1,1/
py25-cairo-1.4.0_1/      py25-numeric-24.2/       py25-tkinter-2.5.1_2/
py25-gobject-2.14.0/     py25-opengl-2.0.1.07_4/  py25-xml-0.8.4/
py25-gtk-2.12.0/         py25-qt-3.17.3,1/        pyrex-0.9.6.2/
py25-gtkglext-1.1.0_1/   py25-qt4-core-4.3.1/     python25-2.5.1_1/
py25-imaging-1.1.6_2/    py25-qt4-gui-4.3.1/      
py25-libxml2-2.6.30/     py25-setuptools-0.6c7_1/ 

>How-To-Repeat:
	Install glchess either from ports or the latest one from gnome-games, startx with 'nvidia' driver, exec `glchess`. It used to work nicely in the times of 6.1-RC, AFAIR. It can easily be that something is not right with python...

>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->araujo 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Jan 5 09:20:08 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119353 
State-Changed-From-To: open->closed 
State-Changed-By: araujo 
State-Changed-When: Mon Jun 9 02:28:37 UTC 2008 
State-Changed-Why:  
Not reproduced more, nobody more have reported this issue. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119353 
>Unformatted:
