|
调用 mysql_real_query()出现段错,
gdb bt信息如下:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7fe36c0 (LWP 10011)]
0x001a36f7 in vio_read () from /usr/lib/libmysqlclient.so.16
(gdb) bt
#0 0x001a36f7 in vio_read () from /usr/lib/libmysqlclient.so.16
#1 0x001a3776 in vio_read_buff () from /usr/lib/libmysqlclient.so.16
#2 0x001a4973 in ?? () from /usr/lib/libmysqlclient.so.16
#3 0x001a4d07 in my_net_read () from /usr/lib/libmysqlclient.so.16
#4 0x0019e524 in cli_safe_read () from /usr/lib/libmysqlclient.so.16
#5 0x0019ecc5 in ?? () from /usr/lib/libmysqlclient.so.16
#6 0x0019cf46 in mysql_real_query () from /usr/lib/libmysqlclient.so.16
#7 0x0804d96f in query (mysql=0x9059458, sql=0xbfffe8bc "call update_logininfo(649626, 1)") at libmysql.c:110
请各位大牛帮帮忙 |
|