Comment 8 for bug 1053342

Revision history for this message
Roel Van de Paar (roel11) wrote :

For clarity, the original stacktrace cleaned up by running it through c++filt:

/usr/sbin/mysqld(my_print_stacktrace+0x35)[0x7c6395]
/usr/sbin/mysqld(handle_fatal_signal+0x4a4)[0x6967e4]
/lib/libpthread.so.0(+0xeff0)[0x7f9ea2a33ff0]
/lib/libc.so.6(+0x10dd3a)[0x7f9ea1d0ad3a]
/usr/sbin/mysqld(TABLE::init(THD*, TABLE_LIST*)+0x4c)[0x6111cc]
/usr/sbin/mysqld(open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*)+0x148)[0x55eba8]
/usr/sbin/mysqld(open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*)+0x4f6)[0x560436]
/usr/sbin/mysqld(mysql_update(THD*, TABLE_LIST*, List<Item>&, List<Item>&, Item*, unsigned int, st_order*, unsigned long
 long, enum_duplicates, bool, unsigned long long*, unsigned long long*)+0xa9)[0x6087a9] /usr/sbin/mysqld(mysql_execute_c
ommand(THD*)+0x13e4)[0x5970d4]
/usr/sbin/mysqld(mysql_parse(THD*, char*, unsigned int, Parser_state*)+0x333)[0x59a853]
/usr/sbin/mysqld(Query_log_event::do_apply_event(Relay_log_info const*, char const*, unsigned int)+0xd04)[0x745144]
/usr/sbin/mysqld(apply_event_and_update_pos(Log_event*, THD*, Relay_log_info*)+0x125)[0x533815]
/usr/sbin/mysqld[0x538359]
/usr/sbin/mysqld(handle_slave_sql+0x949)[0x539799]
/lib/libpthread.so.0(+0x68ca)[0x7f9ea2a2b8ca]
/lib/libc.so.6(clone+0x6d)[0x7f9ea1ccc92d]

And, the stacktrace from #7 cleaned up:

/usr/sbin/mysqld(my_print_stacktrace+0x35)[0x7d3545]
/usr/sbin/mysqld(handle_fatal_signal+0x4a4)[0x69f394]
/lib/libpthread.so.0(+0xf8f0)[0x7f6b4740b8f0]
/usr/sbin/mysqld(Query_arena::free_items()+0x2d)[0x56ae7d]
/usr/sbin/mysqld(THD::cleanup_after_query()+0x97)[0x56dc57]
/usr/sbin/mysqld(mysql_parse(THD*, char*, unsigned int, Parser_state*)+0x2c8)[0x59d5d8]
/usr/sbin/mysqld(Query_log_event::do_apply_event(Relay_log_info const*, char const*, unsigned int)+0xd34)[0x7504b4]
/usr/sbin/mysqld(apply_event_and_update_pos(Log_event*, THD*, Relay_log_info*)+0x12d)[0x534abd]
/usr/sbin/mysqld[0x539152]
/usr/sbin/mysqld(handle_slave_sql+0x9a5)[0x53a605]
/lib/libpthread.so.0(+0x69ca)[0x7f6b474029ca]
/lib/libc.so.6(clone+0x6d)[0x7f6b4669516d]

The second stack trace is a different bug, which may or may not be related to bug #1042946 (it's a different stack, but it's reported as a Valgrind issue for the moment, so the crashing stack may be different).

Tom, if you are able to create a testcase, or provide us with a core dump + mysqld binary, it would help tremendously. In any case, a separate bug report should be logged for this.