Bug #72143 | Crash with master-info-repository=table on out of disk space situation | ||
---|---|---|---|
Submitted: | 27 Mar 2014 13:19 | Modified: | 25 Apr 2018 10:44 |
Reporter: | Daniël van Eeden (OCA) | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S1 (Critical) |
Version: | 5.6.16 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | crash, master_info_repository |
[27 Mar 2014 13:19]
Daniël van Eeden
[28 Mar 2014 19:47]
Daniël van Eeden
demangled: /usr/sbin/mysqld(my_print_stacktrace+0x35)[0x908a15] /usr/sbin/mysqld(handle_fatal_signal+0x4a4)[0x694934] /lib64/libpthread.so.0[0x367020f710] /lib64/libc.so.6[0x366fa79a33] /lib64/libc.so.6(__libc_malloc+0x71)[0x366fa7a991] /usr/sbin/mysqld[0x9b4c58] /usr/sbin/mysqld[0xa42e3e] /usr/sbin/mysqld[0xa444a1] /usr/sbin/mysqld[0x96fd1f] /usr/sbin/mysqld[0x979938] /usr/sbin/mysqld(open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*)+0x659)[0x6ce569] /usr/sbin/mysqld(open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*)+0x44)[0x6ced84] /usr/sbin/mysqld(open_n_lock_single_table(THD*, TABLE_LIST*, thr_lock_type, unsigned int, Prelocking_strategy*)+0x2d)[0x6cef8d] /usr/sbin/mysqld(Rpl_info_table_access::open_table(THD*, st_mysql_lex_string, st_mysql_lex_string, unsigned int, thr_lock_type, TABLE**, Open_tables_backup*)+0x1b3)[0x8ef583] /usr/sbin/mysqld(Rpl_info_table::do_flush_info(bool)+0xf0)[0x8ee830] /usr/sbin/mysqld(Master_info::flush_info(bool)+0x91)[0x8e1e21] /usr/sbin/mysqld(flush_master_info(Master_info*, bool)+0xef)[0x8d76bf] /usr/sbin/mysqld(handle_slave_io+0xe34)[0x8e09b4] /usr/sbin/mysqld(pfs_spawn_thread+0x12a)[0xb2c4ea] /lib64/libpthread.so.0[0x36702079d1] /lib64/libc.so.6(clone+0x6d)[0x366fae8b6d]
[28 Mar 2014 20:17]
Daniël van Eeden
I tried to get some more info about the stacktrace. $ nm -n /usr/sbin/mysqld > mysqld1.sym $ nm -D -n /usr/sbin/mysqld > mysqld2.sym $ cat mysqld.stack 0x9b4c58 0xa42e3e 0xa444a1 0x96fd1f 0x979938 0x6ce569 0x6ced84 0x6cef8d 0x8ef583 0x8ee830 0x8e1e21 0x8d76bf 0x8e09b4 0xb2c4ea $ resolve_stack_dump -s /tmp/mysqld1.sym mysqld.stack | c++filt 0x9b4c58 mem_heap_create_block_func(mem_block_info_t*, unsigned long, unsigned long) + 120 0xa42e3e trx_create() + 30 0xa444a1 trx_allocate_for_mysql() + 33 0x96fd1f innobase_trx_allocate(THD*) + 15 0x979938 ha_innobase::extra(ha_extra_function) + 648 0x6ce569 open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) + 1625 0x6ced84 open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) + 68 0x6cef8d open_n_lock_single_table(THD*, TABLE_LIST*, thr_lock_type, unsigned int, Prelocking_strategy*) + 45 0x8ef583 Rpl_info_table_access::open_table(THD*, st_mysql_lex_string, st_mysql_lex_string, unsigned int, thr_lock_type, TABLE**, Open_tables_backup*) + 435 0x8ee830 Rpl_info_table::do_flush_info(bool) + 240 0x8e1e21 Master_info::flush_info(bool) + 145 0x8d76bf flush_master_info(Master_info*, bool) + 239 0x8e09b4 handle_slave_io + 3636 0xb2c4ea pfs_spawn_thread + 298 $ resolve_stack_dump -s /tmp/mysqld2.sym mysqld.stack | c++filt 0x9b4c58 std::vector<unsigned char*, std::allocator<unsigned char*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<unsigned char**, std::vector<unsigned char*, std::allocator<unsigned char*> > >, unsigned char* const&) + 1656 0xa42e3e void ut_list_remove<ut_list_base<trx_undo_t>, trx_undo_t>(ut_list_base<trx_undo_t>&, trx_undo_t&, unsigned long) + 12750 0xa444a1 void ut_list_remove<ut_list_base<trx_undo_t>, trx_undo_t>(ut_list_base<trx_undo_t>&, trx_undo_t&, unsigned long) + 18481 0x96fd1f ha_innobase::get_foreign_dup_key(char*, unsigned int, char*, unsigned int) + 14559 0x979938 ha_innobase::get_foreign_dup_key(char*, unsigned int, char*, unsigned int) + 54520 0x6ce569 open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) + 1625 0x6ced84 open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) + 68 0x6cef8d open_n_lock_single_table(THD*, TABLE_LIST*, thr_lock_type, unsigned int, Prelocking_strategy*) + 45 0x8ef583 Rpl_info_table_access::open_table(THD*, st_mysql_lex_string, st_mysql_lex_string, unsigned int, thr_lock_type, TABLE**, Open_tables_backup*) + 435 0x8ee830 Rpl_info_table::do_flush_info(bool) + 240 0x8e1e21 Master_info::flush_info(bool) + 145 0x8d76bf flush_master_info(Master_info*, bool) + 239 0x8e09b4 handle_slave_io + 3636 0xb2c4ea pfs_spawn_thread + 298
[10 Dec 2017 10:03]
Daniël van Eeden
Any reason this bug is not verified?
[25 Apr 2018 10:44]
MySQL Verification Team
Hello Daniël, Thank you for the report and configuration file. My apologies for missing out this report for so long. In the last 15+ days, I have attempted this 5+ times and each time I'm ending up with exact scenario i.e disk full condition on slave(as you mentioned bin log is hosted on diff partition and rest things on diff including relay logs) but still not observing the slave crash. If any chance you observe similar issue once again then please let us know and I'll give it a try again at my end. In the meantime I'll check internally if there was any related bug fixed in this area and would let you know. I'm joining the worklog shortly for your reference. Thanks, Umesh
[25 Apr 2018 10:44]
MySQL Verification Team
test results
Attachment: 72143.results (application/octet-stream, text), 20.09 KiB.