From shoemaker@bluebottle.com  Thu Sep  6 19:14:01 2007
Return-Path: <shoemaker@bluebottle.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 41CD716A418
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  6 Sep 2007 19:14:01 +0000 (UTC)
	(envelope-from shoemaker@bluebottle.com)
Received: from mi0.bluebottle.com (mi0.bluebottle.com [206.188.25.15])
	by mx1.freebsd.org (Postfix) with ESMTP id 26E6C13C465
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  6 Sep 2007 19:14:00 +0000 (UTC)
	(envelope-from shoemaker@bluebottle.com)
Received: from fe1.bluebottle.com (internal.bluebottle.com [206.188.24.43])
	by mi0.bluebottle.com (8.13.1/8.13.1) with ESMTP id l86IPKDI004231
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 6 Sep 2007 11:25:20 -0700
Received: from localhost.lan (host-72-175-128-3.msl-mt.client.bresnan.net [72.175.128.3])
	(authenticated bits=0)
	by fe1.bluebottle.com (8.13.1/8.13.1) with ESMTP id l86IPGuA022232
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 6 Sep 2007 11:25:20 -0700
Received: from localhost.lan (localhost [127.0.0.1])
	by localhost.lan (8.14.1/8.14.1) with ESMTP id l86IPFQk035281
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 6 Sep 2007 12:25:15 -0600 (MDT)
	(envelope-from shoemaker@bluebottle.com)
Received: (from js@localhost)
	by localhost.lan (8.14.1/8.13.8/Submit) id l86IPF0g035278;
	Thu, 6 Sep 2007 12:25:15 -0600 (MDT)
	(envelope-from shoemaker@bluebottle.com)
Message-Id: <86veanfy7q.fsf@localhost.lan>
Date: 06 Sep 2007 12:25:13 -0600
From: shoemaker@bluebottle.com
Sender: js@localhost.lan
To: FreeBSD-gnats-submit@freebsd.org
Subject: crafty port segfaults with book create command
X-Send-Pr-Version: 3.113
X-GNATS-Notify: seggers@semyam.dinoco.de

>Number:         116163
>Category:       ports
>Synopsis:       games/crafty port segfaults with book create command
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 06 19:20:01 GMT 2007
>Closed-Date:    Mon Sep 10 01:14:11 GMT 2007
>Last-Modified:  Mon Sep 10 01:14:11 GMT 2007
>Originator:     shoemaker@bluebottle.com
>Release:        FreeBSD 6.2-RELEASE-p7 i386
>Organization:
>Environment:
System: FreeBSD localhost 6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7 #0: Tue Sep 4 07:13:57 MDT 2007 root@:/var/obj/usr/src/sys/CUSTOM i386

>Description:
When building books, the crafty program terminates with
a segmentation fault: backtrace follows:

0x2826fabd in strtol () from /lib/libc.so.6
(gdb) backtrace
#0  0x2826fabd in strtol () from /lib/libc.so.6
#1  0x2825535b in atoi () from /lib/libc.so.6
#2  0x08063bef in BookUp ()
#3  0x080794a9 in Option (tree=0x8124000) at option.c:276
#4  0x08076b58 in main (argc=1, argv=0xbfbfe9d0) at main.c:3125

>How-To-Repeat:
	get some pgn files, run crafty, issue command 'book create
<file.pgn> 60'.  Crafty runs through the build, then segfaults

----------------------------------------------------------------------
Finally - A spam blocker that actually works.
http://www.bluebottle.com/tag/4

>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Sep 6 21:54:19 UTC 2007 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116163 
State-Changed-From-To: feedback->analyzed 
State-Changed-By: edwin 
State-Changed-When: Sun Sep 9 22:33:28 UTC 2007 
State-Changed-Why:  
resolved by ports/116239 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116163 
State-Changed-From-To: analyzed->closed 
State-Changed-By: edwin 
State-Changed-When: Mon Sep 10 01:13:55 UTC 2007 
State-Changed-Why:  
Closed with the comimiting of ports/116241 

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