Bug #60670 | MySQL crashed while parsing a SQL query (yacc) | ||
---|---|---|---|
Submitted: | 28 Mar 2011 8:00 | Modified: | 22 Jun 2011 16:33 |
Reporter: | Arnaud Adant | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: Parser | Severity: | S1 (Critical) |
Version: | 5.1.49 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | crash, parser, yacc |
[28 Mar 2011 8:00]
Arnaud Adant
[28 Mar 2011 8:16]
MySQL Verification Team
filtered: /lib64/libc.so.6(clone+0x6d)[0x36d14d3d1d]/usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x852b7e] /usr/sbin/mysqld(handle_segfault+0x322)[0x5c2a22] /lib64/libpthread.so.0[0x36d1c0eb10] /usr/sbin/mysqld(MYSQLparse(void*)+0x1cb)[0x5e8a1b] /usr/sbin/mysqld(parse_sql(THD*, Parser_state*, Object_creation_ctx*)+0x9c)[0x5ca4dc] /usr/sbin/mysqld(mysql_parse(THD*, char const*, unsigned int, char const**)+0x211)[0x5d5f61] /usr/sbin/mysqld(dispatch_command(enum_server_command, THD*, char*, unsigned int)+0x585)[0x5d6595] /usr/sbin/mysqld(do_command(THD*)+0xe4)[0x5d76c4] /usr/sbin/mysqld(handle_one_connection+0x6f0)[0x5c9c20] /lib64/libpthread.so.0[0x36d1c0673d]
[22 May 2011 16:33]
Valeriy Kravchuk
Do you have any idea on how to repeat or, at least, what exact query leads to this crash?
[26 May 2011 5:16]
MySQL Verification Team
Hi! I got a similar crash yesterday, but in this case mysqld was really out of memory, and writing warnings in the log before: ./mysql-5.1.57-solaris10-x86_64/bin/mysqld:my_print_stacktrace+0x20 ./mysql-5.1.57-solaris10-x86_64/bin/mysqld:handle_segfault+0x1dc /lib/amd64/libc.so.1:0xdc2e6 /lib/amd64/libc.so.1:0xd0bc2 ./mysql-5.1.57-solaris10-x86_64/bin/mysqld:int MYSQLlex(void*,void*)+0x1d8b [ Signal 11 (SEGV)] ./mysql-5.1.57-solaris10-x86_64/bin/mysqld:int MYSQLparse(void*)+0x169 ./mysql-5.1.57-solaris10-x86_64/bin/mysqld:bool parse_sql(THD*,Parser_state*,Object_creation_ctx*)+0x6e ./mysql-5.1.57-solaris10-x86_64/bin/mysqld:void mysql_parse(THD*,char*,unsigned,const char**)+0x11d ./mysql-5.1.57-solaris10-x86_64/bin/mysqld:bool dispatch_command(enum_server_command,THD*,char*,unsigned)+0xa69 ./mysql-5.1.57-solaris10-x86_64/bin/mysqld:bool do_command(THD*)+0xe2 ./mysql-5.1.57-solaris10-x86_64/bin/mysqld:handle_one_connection+0xe1
[22 Jun 2011 23:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".