473,399 Members | 3,401 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

coredump with mysql_real_query

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
Jul 25 '06 #1
0 1627

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: nrhayyal | last post by:
hi guys, i am using AIX 5.2 OS and working on c++ and the compiler is gcc-3.3.2 i have a c++ application which was developed on solaris. now i am porting it to AIX. most of my modules work fine....
7
by: bryan | last post by:
I think I'm missing something fundamental here. I'm trying to set an unsigned long value via a u_long pointer, however it coredumps everytime I get to that instruction. Here is a sample program...
2
by: Rafal 'Raf256' Maj | last post by:
Hi, how can I manualy dump a backtrace and/or coredump to a file and/or console? Can I do it without aborting the program? --...
13
by: tomy | last post by:
Hi all: There is an amazing coredump in my C code, I was thinking it over and over... The code is simple as below: //************************************* const unsigned long int len =...
5
by: elitecodex | last post by:
Hey everyone. I have this query select * from `TableName` where `SomeIDField` 0 I can open a mysql command prompt and execute this command with no issues. However, Im trying to issue the...
3
by: Rakesh UV | last post by:
Hi, If i am not putting the function prototype of a function returning a pointer, i get a core dump.Though this will happen less probably on 32 bit machine example int main(int argc , char...
3
by: Aptripathi | last post by:
Am getting the above mentioned error MemoryFault(Coredump)while running an executable compiled with ProC what shud i do? and what can be the cause
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.