From sec@42.org  Sun Feb 22 10:25:25 2004
Return-Path: <sec@42.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 1DA6016A4CE; Sun, 22 Feb 2004 10:25:25 -0800 (PST)
Received: from ice.42.org (ice.42.org [194.77.3.162])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id D0F5343D1F; Sun, 22 Feb 2004 10:25:24 -0800 (PST)
	(envelope-from sec@42.org)
Received: by ice.42.org (Postfix, from userid 1000)
	id 1E33C1C8DC; Sun, 22 Feb 2004 19:25:23 +0100 (CET)
Message-Id: <20040222182523.1E33C1C8DC@ice.42.org>
Date: Sun, 22 Feb 2004 19:25:23 +0100 (CET)
From: Stefan `Sec` Zehl <sec@42.org>
Reply-To: Stefan `Sec` Zehl <sec@42.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: nork@FreeBSD.org
Subject: p5-DBD-SQLite 0.31 is broken with perl 5.8
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         63233
>Category:       ports
>Synopsis:       p5-DBD-SQLite 0.31 is broken with perl 5.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    nork
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 22 10:30:12 PST 2004
>Closed-Date:    Fri Jun 11 14:24:10 GMT 2004
>Last-Modified:  Fri Jun 11 14:24:10 GMT 2004
>Originator:     Stefan `Sec` Zehl
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD ice 4.9-STABLE FreeBSD 4.9-STABLE #11: Sun Jan 25 15:43:27 CET 2004 root@ice:/export/obj/export/src/sys/ICE i386

Port versions

perl-5.8.2_5
p5-DBI-1.40
p5-DBD-SQLite-0.31

	
>Description:

After upgrading to version 0.31 of this port, my scripts started to spew
messages like this:

Bad free() ignored (PERL_CORE) at t.pl line 14.

Otherwise they seemed to run correctly.
	
>How-To-Repeat:

My simple test script was:

#!/usr/local/bin/perl -w
#
# vim:set ts=4 sw=4:

use DBI;
$|=1;

my $db="/usr/local/SELF/tv/tv.db";
my $dbh=DBI->connect("DBI:SQLite:dbname=$db","","");

my $sth=$dbh->prepare("select senderid, senderkey from sender");
$sth->execute();

my $ref;
while($ref = $sth->fetchrow_arrayref){
	print "got line\n";
};

It takes a table with more than ~ 6 rows to show that problem.

	
>Fix:

Workaround: downgrade to DBD-SQLite-0.30 

	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->nork 
Responsible-Changed-By: krion 
Responsible-Changed-When: Sun Feb 22 16:05:20 PST 2004 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63233 
State-Changed-From-To: open->feedback 
State-Changed-By: nork 
State-Changed-When: Tue Mar 2 03:16:34 PST 2004 
State-Changed-Why:  
I checked to make test on p5-DBD-Pg 0.31.  It looks good. 
Is there a promblem on make test? 
I think you should contact to developper, 'Matt Sergeant 
msergeant@messagelabs.com' or Mailling List. 
SEE ALSO: http://www.sqlite.org/ 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63233 
State-Changed-From-To: feedback->closed 
State-Changed-By: nork 
State-Changed-When: Tue Apr 20 06:36:14 PDT 2004 
State-Changed-Why:  
Submitter no response. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63233 
State-Changed-From-To: closed->feedback 
State-Changed-By: nork 
State-Changed-When: Wed Apr 21 18:42:07 PDT 2004 
State-Changed-Why:  
Submitter requested. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63233 
State-Changed-From-To: feedback->closed 
State-Changed-By: nork 
State-Changed-When: Fri Jun 11 14:23:24 GMT 2004 
State-Changed-Why:  
Fixed, thanks! 

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