When I executed a MYSQL query command, a coredump cames out. But not all the time, it means the program will appear core dump sometimes. Does anybody can tell me why it happens?
The following is the core debug informations.
by the way, I executed the SQL statement in the MYSQL-front directly, no retult returned.
#0 0x00fe1402 in __kernel_vsyscall ()
#1 0x00b7a1f8 in raise () from /lib/libc.so.6
#2 0x00b7b948 in abort () from /lib/libc.so.6
#3 0x00baf52a in __libc_message () from /lib/libc.so.6
#4 0x00bb5424 in _int_free () from /lib/libc.so.6
#5 0x00bb595f in free () from /lib/libc.so.6
#6 0x003d0e62 in my_no_flags_free () from /usr/lib/mysql/libmysqlclient.so.14
#7 0x003f4708 in vio_delete () from /usr/lib/mysql/libmysqlclient.so.14
#8 0x003ef82e in end_server () from /usr/lib/mysql/libmysqlclient.so.14
#9 0x003f0efa in net_safe_read () from /usr/lib/mysql/libmysqlclient.so.14
#10 0x003f16a5 in cli_read_rows () from /usr/lib/mysql/libmysqlclient.so.14
#11 0x003f13da in mysql_fetch_row () from /usr/lib/mysql/libmysqlclient.so.14
#12 0x003f0025 in mysql_real_query () from /usr/lib/mysql/libmysqlclient.so.14
#13 0x0804badf in CNewSession::QuerySql (this=0x99efa10,
psSql=0xbfecd130 "select * from user_profile where (s_user=13 and hours=1 and d_ip=1154291597 and d_port=53266 and protocol='UDP')", iLen=112) at Anomaly.cpp:52