Bug #43904 | server crash when `mysql`.`servers` table is converted to innodb | ||
---|---|---|---|
Submitted: | 27 Mar 2009 10:09 | Modified: | 10 Dec 2010 23:20 |
Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
Status: | Unsupported | Impact on me: | |
Category: | MySQL Server: General | Severity: | S3 (Non-critical) |
Version: | 5.1.32, 5.1.46, 6.0 bzr | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[27 Mar 2009 10:09]
Shane Bester
[27 Mar 2009 10:24]
MySQL Verification Team
the problem is most likely much broader than this bug report claims - and applies to other tables in `mysql` database also. firstly, the engine must be myisam, then number of columns should be correct, and finally the column type must be good. so, it's best to not give people rights in the mysql database.
[27 Mar 2009 10:39]
Sveta Smirnova
Thank you for the report. Verified as described. Backtrace on Linux: stack_bottom = 0xbfc7be50 thread_stack 0x30c00 ../libexec/mysqld(my_print_stacktrace+0x32) [0x8825afe] ../libexec/mysqld(handle_segfault+0x2f2) [0x82bf2c0] [0x2ce420] ../libexec/mysqld [0x84cb7db] ../libexec/mysqld(servers_reload(THD*)+0x166) [0x84cd4e4] ../libexec/mysqld(servers_init(bool)+0x184) [0x84cd6f8] ../libexec/mysqld(main+0x310) [0x82c7950] /lib/libc.so.6(__libc_start_main+0xdf) [0x301d7f] ../libexec/mysqld(__gxx_personality_v0+0x135) [0x81db021] Trying to get some variables. Some pointers may be invalid and cause the dump to abort... thd->query at (nil) is an invalid pointer thd->thread_id=0 thd->killed=NOT_KILLED I believe it is safe to check such errors at startup and would not lead to dramatical performance decrease, so I changed severity to S3.
[23 Apr 2009 9:33]
MySQL Verification Team
if the time_zone* tables are converted to innodb, server also crashes when accessing them, e.g. calling CONVERT_TZ() function...