Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: Segfault problem with DBD::Sybase and Apache::ASP
Date: Mar 23 1999 7:19PM
Gregory Riggs writes:
> On Tue, 23 Mar 1999, Michael Peppler wrote:
> > It's surprising that Sybase::CTlib works where DBD::Sybase doesn't, as
> > they use the same underlying library.
> > Also, if you code the same example with Sybase::CTlib, and include
> > $dbh = undef;
> > at the end, do you get a core dump too?
> I just tried this, and yes it does cause a core dump. It turns out that
> Sybase::CTlib is always core dumping also. I just didn't notice before,
> because the page renders okay with my Sybase::CTlib test, whereas with
> my DBD::Sybase test the page doesn't render, but instead I'd get an
> "Unexpected network read error; connection aborted." Tailing the apache
> error_log file, I see now that is is always crashing for both libraries.
Can you try a straight CGI style script to see if that fails too?
> I don't believe that Apache::ASP accesses the network directly. It
> does use the following perl modules though:
> Apache, Carp, Data::Dumper, Fcntl, File::Basename, File::stat, FileHandle,
> HTTP::Date, MD5, MLDBM, SDBM_File, CGI Devel::Symdump
I don't see anything in there that would cause the problem, off hand.
Michael Peppler -||- Data Migrations Inc.
email@example.com -||- http://www.mbay.net/~mpeppler
Int. Sybase User Group -||- http://www.isug.com
Sybase on Linux mailing list: firstname.lastname@example.org