I would recompile all of your perl from scratch, as
well as modperl & apache.   The RedHat guys are notorious
for building perls and modperl that don't work sometimes.

--Joshua

Yu Di wrote:
> 
> Hi, I also changed Perl to 5.005_03, and this problem still exists, so I
> think it is the problem between Apache 1.3.12, mod_perl 1.22, and DBI or
> DBD::mysql. More likely, I think it is with DBI, because if I put
> "PerlModule Apache::DBI" in my httpd.conf, this error will also occur if I
> visit an ASP file(this was found with Perl 5.6, not tested with Perl
> 5.005_03). I am running the programs on Linux 2.2.12-20(Redhat 6.1), The C
> compiler for Perl Modules and all these systems is the default one in
> Redhat 6.1, I think egcs 2.91-66.
> 
> Di, Yu
> 4.7
> 
> On Fri, 7 Apr 2000, Joshua Chamas wrote:
> 
> >
> > Sounds like an odd conflict between 5.6, mod_perl and
> > DBI or DBD::mysql.  Anyone know how to work through
> > these issues?  This is likely platform dependent, so
> > will need relevant advice, what O/S are you running again?
> >
> > --Joshua
> >
> > Yu Di wrote:
> > >
> > > Hi, I have isolated the problem, but it just made me more puzzled. The
> > > problem is not in that file itself, but in "homepage.htm" which is also an
> > > ASP file, in which I tried to open a MySQL connection. When I call
> > > DBI->connect("DBI:mysql:database=...;host=...","myusername","mypasswd"),
> > > it will generate the segmentation fault. But the same statement will
> > > execute just well if put into a standalone Perl program, so I am really
> > > puzzled by what's going on here.
> > >
> > > Di, Yu
> > > 4.6
> > >
> > > On Tue, 4 Apr 2000, Joshua Chamas wrote:
> > >
> > > > Yu Di wrote:
> > > > >
> > > > > This program has been tested under Perl5.005_03, Apache 1.3.11, mod_perl
> > > > > 1.21 on another machine. my.conf is a configuration file for this program.
> > > > >
> > > > > Lynx will report "Alert!: Unexpected network read error; connection
> > > > > aborted." while I try to connect to it, and the server error log will show
> > > > > a "[Tue Apr  4 16:36:22 2000] [notice] child pid 964 exit signal
> > > > > Segmentation fault (11)".
> > > > >
> > > > > I have changed ASP.pm as I wrote last time, for if I did not do so, I will
> > > > > get other error messages.
> > > > >
> > > > > So is it that Apache::ASP is currently not compatible with Perl 5.6?
> > > > >
> > > >
> > > > Nothing in your program seemed particularly odd, and
> > > > I have not tested Apache::ASP under 5.6, nor may I for
> > > > a while.  Because Apache::ASP uses so many modules to
> > > > do its job, it may be tough to track this down, but
> > > > I suspect an interaction with MLDBM & SDBM_File is
> > > > at work here because you have so much $Application->{Config}
> > > > writing going on.
> > > >
> > > > Can you print out in different parts of your program and
> > > > isolate the line that causes the segfault?
> > > >
> > > > --Joshua
> > > >
> > > > _________________________________________________________________
> > > > Joshua Chamas                         Chamas Enterprises Inc.
> > > > NodeWorks >> free web link monitoring Huntington Beach, CA  USA
> > > > http://www.nodeworks.com                1-714-625-4051
> > > >
> >

-- 
_________________________________________________________________
Joshua Chamas                           Chamas Enterprises Inc.
NodeWorks >> free web link monitoring   Huntington Beach, CA  USA 
http://www.nodeworks.com                1-714-625-4051

Reply via email to