[Mod_log_sql] Segfault in 1.99 with CGI Args

Edward Rudd urkle at outoforder.cc
Wed Aug 18 12:51:49 EST 2004


On Wed, 2004-08-18 at 09:37, Douglas E. Warner wrote:

[snip]

What is the URL that is being requested? As right now I cannot recreate
the issue.  and the routine that grabs the request_args is exactly the
same as in the standard logging function in mod_log_config.
Is the database running? are there connections to the database?
(mysqladmin processlist)

If you could actually run apache in a gdb and get a backtrace, that
would be more helpful.

gdb /usr/sbin/httpd
[gdb startup stuff]
> run -X
[wait a long time for it to start, and then access the website until it
crashes here]
> bt full

> Looks like 'request_args' is having an escaping problem (notice the two commas 
> right beside each other w/o any quotes).
Having a ,, is not a problem with SQL, it just means there was no
query_arg specified. And it's getting past the escaping of the
request_args.. I think this is more of a mysql lost connection and mysql
client libs being stupid.

I thought I had all of those fixed, but it seems another has cropped up
since i upgraded to mysql 4.0.20
> My config looks like this:
> 
> LogSQLTransferLogTable access_log
> LogSQLTransferLogFormat AabcHhIMmRSsTUuvzqQ
> LogSQLMachineID web0
> LogSQLWhichCookie PHPSESSID
> 
> - -Doug

-- 
Edward Rudd <urkle at outoforder.cc>
Website http://www.outoforder.cc/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.outoforder.cc/pipermail/mod_log_sql/attachments/20040818/5a6ba832/attachment.bin 


More information about the Mod_log_sql mailing list