[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Anyone using mod_perl/p5-DBI on -current/i386?
- To: ports@openbsd.org
- Subject: Anyone using mod_perl/p5-DBI on -current/i386?
- From: Dan Brosemer <odin@svartalfheim.net>
- Date: Thu, 20 Feb 2003 19:21:22 -0500
- Battlestar-Galactica-Date: 43649 centons, 21 microns, 11.11 lutefisk
- Content-Disposition: inline
- User-Agent: Mutt/1.4i
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?
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