The following sniplet segfault when trace is activated:
#!/usr/bin/perl

use DBI;
my $dbh = DBI->connect("DBI:Pg:dbname=olacacea;host=localhost;port=5432", 
guillaume) or die("Can't connect: $DBI::errstr");
$dbh->trace(1);

without trace:
[guillaume@baader db]$ ./testcase
Database handle destroyed without explicit disconnect.

with trace:
[guillaume@baader db]$ ./testcase
    DBI::db=HASH(0x81c6ef4) trace level set to 1 in DBI 1.30-ithread
    Note: perl is running without the recommended perl -w option
Database handle destroyed without explicit disconnect.
Segmentation fault

I suspect this is a multithread problem. Should i report on dbi-users ?
-- 
Guillaume Rousse <[EMAIL PROTECTED]>
GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html


Reply via email to