Jerry,
Hi there - I'm the maintainer of DBD::mysql
The verbiage going to your log looks like what you would see if you set
the DBI trace level to 2 or greater. I've double-checked my code and any
debug I print is indeed only occurring in a block where if trace is set
to 2 or greater it would show up.
I wonder if CGI::Application might set trace? Or what about any sort of
Apache/mod_perl startup scripts that might set it - have you checked those?
--Patrick
Jerry Kaidor wrote:
Hello,
My name is Jerry Kaidor. I am seeing some cryptic errors in a web
application that I'm writing. Driving me nuts. My code runs under
CGI::Application, and uses DBI with the mysql driver. Here is the
error message, which appears in /var/log/httpd/error_log:
----------------- snip ------------------------
[Fri Sep 03 07:11:35 2010] [error] [client 10.120.102.6] SV =
RV(0x8c6212c) at 0x8c62120
[Fri Sep 03 07:11:35 2010] [error] [client 10.120.102.6] REFCNT = 1
[Fri Sep 03 07:11:35 2010] [error] [client 10.120.102.6] FLAGS =
(ROK,READONLY)
[Fri Sep 03 07:11:35 2010] [error] [client 10.120.102.6] RV = 0x8c61ef0
[Fri Sep 03 07:11:35 2010] [error] [client 10.120.102.6] SV =
[Fri Sep 03 07:11:35 2010] [error] [client 10.120.102.6] PVHV(0x8c57b84)
at 0x8c61ef0
[Fri Sep 03 07:11:35 2010] [error] [client 10.120.102.6] REFCNT = 1
[Fri Sep 03 07:11:35 2010] [error] [client 10.120.102.6] FLAGS =
(OBJECT,OOK,SHAREKEYS)
[Fri Sep 03 07:11:35 2010] [error] [client 10.120.102.6]
[Fri Sep 03 07:11:35 2010] [error] [client 10.120.102.6] STASH = 0x8700430
[Fri Sep 03 07:11:35 2010] [error] [client 10.120.102.6] \t"DBI::db"
[Fri Sep 03 07:11:35 2010] [error] [client 10.120.102.6]
[Fri Sep 03 07:11:35 2010] [error] [client 10.120.102.6] ARRAY = 0x8c66878
[Fri Sep 03 07:11:35 2010] [error] [client 10.120.102.6]
[Fri Sep 03 07:11:35 2010] [error] [client 10.120.102.6]
[Fri Sep 03 07:11:35 2010] [error] [client 10.120.102.6] KEYS = 0
[Fri Sep 03 07:11:35 2010] [error] [client 10.120.102.6]
[Fri Sep 03 07:11:35 2010] [error] [client 10.120.102.6] FILL = 0
[Fri Sep 03 07:11:35 2010] [error] [client 10.120.102.6]
[Fri Sep 03 07:11:35 2010] [error] [client 10.120.102.6] MAX = 7
[Fri Sep 03 07:11:35 2010] [error] [client 10.120.102.6]
[Fri Sep 03 07:11:35 2010] [error] [client 10.120.102.6] RITER = -1
[Fri Sep 03 07:11:35 2010] [error] [client 10.120.102.6]
[Fri Sep 03 07:11:35 2010] [error] [client 10.120.102.6] EITER = 0x0
-------------------- endsnip ------------------------------------
The Linux system is based on Slackware 13.0. I have upgraded to the
latest DBI and DBD::mysql via CPAN. The Linux kernel is 2.6.29.6-smp.
Perl is "v5.10.0 built for i486-linux-thread-multi". The mysql server
is 5.0.84. The webserver is Apache 2.2.13.
I have done a fair amount of googling on this, no joy, except that the
error messages seem to be about some kind of Perl internals distress.
I also asked the CGI::Application mailing list - they know nothing.
One person suspected the DBD driver because it uses C code interfaced
to Perl via XS.
Anybody have a clue? BTW, the application seems to work fine. I'm
just seeing this error in the httpd error log.
Thanks in advance,
- Jerry Kaidor ( je...@tr2.com )