Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Anyone using mod_perl/p5-DBI on -current/i386?

From: Dan Brosemer <odin(at)svartalfheim.net>
Date: Thu Feb 20 2003 - 19:21:22 EST


With a stock -current machine (checkout Feb 18) using mod_perl and p5-DBI, apache segfaults on my reliably with a very simple script:

#!/usr/bin/perl -w
use CGI;
use DBI;

use lib '/var/www/siteconfig';
use Settings;

my $cgi = new CGI;
my $dbh = DBI->connect(@Settings::dbconnect);

print $cgi->header;
print <<EOT;
<html><head><title>foo</title><body>Connected</body></html> EOT


Without the 'my $dbh = DBI->connect...', it works in mod_perl or at the commandline. With that line, it only works at the commandline. In mod_perl, Apache simply drops my connection and logs:

[Thu Feb 20 19:14:51 2003] [notice] child pid 26850 exit signal Segmentation fault (11)

Is anyone else experiencing this?

Do you need help?X

TIA -Dan

-- 
"Burnished gallows set with red
 Caress the fevered, empty mind
 Of man who hangs bloodied and blind
 To reach for wisdom, not for bread."  -- Deoridhe Grimsdaughter
Received on Thu Feb 20 19:22:05 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:43:00 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library