I had similar problems. In startup.pl, where you are calling
'use Apache::DBI;', do you call 'use DBI;' following the call to
Apache::DBI ? When I included that in startup.pl.. it started
behaving better.. my $0.02 -Casey
On Fri, 16 Jun 2000, Ian Mahuron wrote:
>
> I've been searching through the mailing list and have seen several people
> with the same problem I'm experiencing. Yet I've seen no solid answers to
> this problem... so maybe I'll try again.
>
> System is:
> FreeBSD 4.0
> Apache 1.3.12
> perl 5.005_03
> mod_perl 1.24
> DBI 1.14
> Apache::DBI 0.87
>
> # Apache::DBI preloaded via:
> use Apache::DBI; # in startup.pl
>
> # DB handles created via:
> my $dbh = DBI->connect('...');
>
> Every module that contains DBI->connect causes the server to segfault:
> [Fri Jun 16 12:05:41 2000] [notice] child pid 41672 exit signal Segmentation
> fault (11)
>
> I wrote up a quick script in perl to test DBI and it works fine.
>
> If any other information is required, please let me know.
>
>
--
-Casey