Here are some better and further details. I turned on DBI debugging, so I can
see that before a segfault, I get the error

Apache::DBI          disconnect (overloaded)

I have also done some gdb backtraces--I put strace output before. Here is
one gdb full bt:

(gdb) bt full
#0  0x0000002a994e37be in mysql_send_query ()
   from /usr/lib64/mysql/libmysqlclient.so.15
No symbol table info available.
#1  0x0000002a994e3819 in mysql_real_query ()
   from /usr/lib64/mysql/libmysqlclient.so.15
No symbol table info available.
#2  0x0000002a99388f59 in mysql_st_internal_execute (h=0x978260,
statement=Variable "statement" is not available.
)
    at dbdimp.c:2903
        bind_type_guessing = 0 '\0'
        slen = 456
        sbuf = 0x30fc0d0 "select
id,date,firstname,lastname,nickname,gender,dob,signatory,bandname,genre_id,city,state,email,externalurl,password,inbox,address1,address2,zip,im,imtype,blurb,country,language,timezone,openid,pic"...
        table = Variable "table" is not available.

Now, the MySQL table being referenced there is my "user" table. I don't know
why dbdimp thinks the table should be called table. Is that a correct
reading?

Here is a second bt from a core dump:

#0  0x0000002a994e37be in mysql_send_query () from
/usr/lib64/mysql/libmysqlclient.so.15
No symbol table info available.
#1  0x0000002a994e3819 in mysql_real_query () from
/usr/lib64/mysql/libmysqlclient.so.15
No symbol table info available.
#2  0x0000002a99388f59 in mysql_st_internal_execute (h=0x3987a90,
statement=Variable "statement" is not available.
) at dbdimp.c:2903
        bind_type_guessing = 0 '\0'
        slen = 456
        sbuf = 0x39d0cd0 "select
id,date,firstname,lastname,nickname,gender,dob,signatory,bandname,genre_id,city,state,email,externalurl,password,inbox,address1,address2,zip,im,imtype,blurb,country,language,timezone,openid,pic"...
        table = Variable "table" is not available.


All my core dumps have this error about not being able to find the table!
That's a big clue, but where it leads, I don't know.

Amiri
-- 
View this message in context: 
http://www.nabble.com/Segfault-Help%21-%21--tp17599739p17608709.html
Sent from the mod_perl - General mailing list archive at Nabble.com.

Reply via email to