You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Udlei Nattis <ma...@anankeit.com.br> on 2002/05/24 00:03:47 UTC
DBI & modperl_2 Segmentation fault
hi
sorry, my english dont is good ;)
i have one big problem,
i using apache2, modperl2 and perl 5.6.1
Apache/2.0.37-dev (Unix) mod_perl/1.99_02-dev Perl/v5.6.1
when i add this line in httpd.conf
PerlModule DBI
or
Perlrequire startup.conf
startup.conf:
use DBI;
1;
if i use it, httpd don't start, i receive this error:
/usr/local/apache-2.0/bin/apachectl: line 192: 32646 Segmentation
fault (core dumped) $HTTPD
/usr/local/apache-2.0/bin/apachectl start: httpd could not be started
:////// i test in perl 5.7.3 and other versions of modperl 2 and httpd 2
if i try
use DBI;
in any file.pl and request via http i dont receve any problem :/
problem is, why DBI crash apache ?
thanks
nattis
Re: DBI & modperl_2 Segmentation fault
Posted by Doug MacEachern <do...@covalent.net>.
On Fri, 24 May 2002, Udlei Nattis wrote:
> hi
>
> i updating modperl-2.0-cvs and problem persist
> now i change DynaLoader in DBI.pm to XSLoader but problem persist :(
you shouldn't need to change DBI.pm
the output of perl build/config.pl (normally should use t/REPORT) might
help. and your DBI version.
Re: DBI & modperl_2 Segmentation fault
Posted by Udlei Nattis <ma...@anankeit.com.br>.
hi
i updating modperl-2.0-cvs and problem persist
now i change DynaLoader in DBI.pm to XSLoader but problem persist :(
can you give me one idea?
thanks
nattis
Doug MacEachern wrote:
>sounds like the XSLoader vs. DynaLoader issue which only exists in 5.6.x.
>try updating modperl-2.0-cvs, there is a better workaround in there for
>the issue now.
>
>
>
>
>
Re: DBI & modperl_2 Segmentation fault
Posted by Doug MacEachern <do...@covalent.net>.
sounds like the XSLoader vs. DynaLoader issue which only exists in 5.6.x.
try updating modperl-2.0-cvs, there is a better workaround in there for
the issue now.