Subject: | Segfault under mod_perl when issuing a query. |
Under mod_perl I get a segfault whenever I execute a query to the
database. Using the attached script, when run under any of the 4.x
versions that I tested, I get the following results:
Connecting to database...
Preparing query...
It segfaults during the prepare statement.
If I use 3.0008 I get the following results:
Connecting to database...
Preparing query...
Executing query...
Fetching results...
testaa
testab
testac
Disconnecting...
DONE
Both of these tests were done after a fresh restart of Apache. Here's
the system info:
Perl: 5.8.5
Linux: 2.4.20-28.9 (Redhat 9)
Apache:
Apache/1.3.29 (Unix) mod_gzip/1.3.26.1a DAV/1.0.3 PHP/4.4.2
mod_perl/1.29 mod_ssl/2.8.16 OpenSSL/0.9.7c
MySQL:
client: 4.1.22
server: 4.0.13
DBI: 1.48
Apache::DBI: 0.94
I'm in the process of upgrading mysql. Also, I'm restricted to older
versions of some modules (DBI) because we're still running perl 5.6 on
the production servers.
Thanks
Subject: | dbtest.cgi |
Message body not shown because it is not plain text.