Skip Menu |

This queue is for tickets about the DBD-mysql CPAN distribution.

Report information
The Basics
Id: 44737
Status: rejected
Priority: 0/
Queue: DBD-mysql

Owner: Nobody in particular
Requestors: shane [...]

Bug Information
Severity: Normal
Broken in:
  • 4.001
  • 4.006
  • 4.008
  • 4.010
Fixed in: (no value)

Subject: Segfault under mod_perl when issuing a query.
Download (untitled) / with headers
text/plain 974b
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/ 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
Download dbtest.cgi
application/octet-stream 582b

Message body not shown because it is not plain text.

From: shane [...]
This only happens if mod_php is also enabled. Once I removed mod_php then 4.010 worked fine.
Download (untitled) / with headers
text/plain 232b
It's four and a half years since you filed this ticket...! You used mysql 4 - this is now out of support. I'll set this ticket to 'rejected' now. Can you please open a new ticket if you would have any other issues with DBD::mysql?

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to