Re: Segfault in 1.99 with CGI Args

Edward Rudd <[email protected]> Wed, 18 Aug 2004 12:51:49 -0500
Newsgroups gmane.comp.apache.mod-log-sql
Organization OutOfOrder.cc
Message-ID <[email protected]>
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 <[email protected]>
Website http://www.outoforder.cc/

_______________________________________________
Download the latest version at http://www.outoforder.cc/projects/apache/mod_log_sql/

To unsubscribe send an e-mail to 
mod_log_sql-unsubscribe-7qY7E20V6GW73k+5HYS8LQqVMODqnSLI@public.gmane.org
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQBBI5c1vwMxRUUct20RAnOsAJ9PsO0Qr2PyFgCC335HG04QvndVdQCeNE84
JvcYjvvE6+1zrLWZV0bW6z4=
=G3CR
-----END PGP SIGNATURE-----