24 Aug
2005
24 Aug
'05
8:42 p.m.
Richard Cotrina <rcc@speedy.net.pe> wrote:
(gdb) display mysql_sock 1: mysql_sock = (rlm_sql_mysql_sock *) 0x5f6c7173
That's bad. That's very bad. It's the ASCII string "sql_", interpreted as a pointer on an x86 machine. No wonder it crashes. The short answer is that there appears to be some memory corruption. Can you print out the contents of "sqlsocket", too? Both the structure contents, and the *hex* contents of that area of memory. It looks like the sqlsocket pointer that's being passed is bad. Alan DeKok.