Bug #5607 | seqfault in client.c:cli_read_rows() (query cache related?) | ||
---|---|---|---|
Submitted: | 16 Sep 2004 11:38 | Modified: | 11 Jan 2005 10:56 |
Reporter: | Sergey Kostyliov | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 4.1.4 (compiled from sources) | OS: | Linux (Linux (Gentoo v2004.2)) |
Assigned to: | CPU Architecture: | Any |
[16 Sep 2004 11:38]
Sergey Kostyliov
[11 Jan 2005 10:56]
Aleksey Kishkin
Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.mysql.com/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to 'Open'. Thank you for your interest in MySQL.
[1 Jul 2005 21:24]
sujay koduri
I also got the similar problem with mysql_stmt_prepare function. (Modifying the query as mentioned helps many time :)..Including the backtrace from gdb below. #0 0x42074d7e in malloc_consolidate () from /lib/tls/libc.so.6 #1 0x420743c9 in _int_malloc () from /lib/tls/libc.so.6 #2 0x4207378d in malloc () from /lib/tls/libc.so.6 #3 0x4002f81a in my_malloc () from /usr/lib/libmysqlclient.so.14 #4 0x40032476 in alloc_root () from /usr/lib/libmysqlclient.so.14 #5 0x400504b0 in cli_read_rows () from /usr/lib/libmysqlclient.so.14 #6 0x4002a77a in cli_read_prepare_result () from /usr/lib/libmysqlclient.so.14 #7 0x4002a9d3 in mysql_stmt_prepare () from /usr/lib/libmysqlclient.so.14 #8 0x0804a5b1 in prepare_stmt_MySQL () at data_access_layer.c:577 But all the time it seg faulted, I found some memory issues, which after fixing them, everything worked fine. But I think this weird behaviour also need to be looked into. (Not seg faulting when the query is changed a bit)