[MDEV-7896] invalid pointer with mariadb 10.1.3 Created: 2015-04-01  Updated: 2015-06-01  Resolved: 2015-06-01

Status: Closed
Project: MariaDB Server
Component/s: OTHER
Affects Version/s: 10.1.3
Fix Version/s: N/A

Type: Bug Priority: Critical
Reporter: Laurent Lafage Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: need_feedback
Environment:

Debian Wheezy with package 10.1.3+maria-1~wheezy



 Description   

We have several invalid pointers stacktrace

On master

150401 18:12:01 [ERROR] mysqld got signal 11 ;
[...]
Thread pointer: 0x0x7faad03d6008
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0x7faa860eddf0 thread_stack 0x80000
(my_addr_resolve failure: fork)
/usr/sbin/mysqld(my_print_stacktrace+0x2b) [0x7fb138e460fb]
/usr/sbin/mysqld(handle_fatal_signal+0x455) [0x7fb1389b0ee5]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xf0a0) [0x7fb137fe00a0]
/usr/sbin/mysqld(tc_add_table_callback(TDC_element*, tc_add_table_arg*)+0x83) [0x7fb138963f23]
/usr/sbin/mysqld(lf_hash_iterate+0x170) [0x7fb138e4f770]
/usr/sbin/mysqld(tdc_iterate(THD*, char (*)(void*, void*), void*, bool)+0x73) [0x7fb138965c73]
/usr/sbin/mysqld(tc_add_table(THD*, TABLE*)+0x214) [0x7fb138966034]
/usr/sbin/mysqld(open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*)+0xaf2) [0x7fb13880de12]
/usr/sbin/mysqld(open_tables(THD*, DDL_options_st const&, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*)+0xfde) [0x7fb13880f09e]
/usr/sbin/mysqld(mysql_execute_command(THD*)+0x34fe) [0x7fb138849f5e]
/usr/sbin/mysqld(mysql_parse(THD*, char*, unsigned int, Parser_state*)+0x20a) [0x7fb13884fc2a]
/usr/sbin/mysqld(dispatch_command(enum_server_command, THD*, char*, unsigned int)+0x21d9) [0x7fb1388525e9]
/usr/sbin/mysqld(do_command(THD*)+0x156) [0x7fb138852ac6]
/usr/sbin/mysqld(do_handle_one_connection(THD*)+0x187) [0x7fb13890b367]
/usr/sbin/mysqld(handle_one_connection+0x47) [0x7fb13890b537]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x6b50) [0x7fb137fd7b50]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7fb1364a395d]
 
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x7faa930dd020): is an invalid pointer
Connection ID (thread ID): 4894
Status: NOT_KILLED

on slave (on a mysqldump with --opt):

150401 18:24:34 [ERROR] mysqld got signal 11 ;
[...]
Thread pointer: 0x0x7f65cf42b008
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0x7f65c1eeb540 thread_stack 0x80000
/usr/sbin/mysqld(my_print_stacktrace+0x2b)[0x7f6c749f10fb]
/usr/sbin/mysqld(handle_fatal_signal+0x455)[0x7f6c7455bee5]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xf0a0)[0x7f6c73b8b0a0]
/usr/sbin/mysqld(_Z21tc_add_table_callbackP11TDC_elementP16tc_add_table_arg+0x83)[0x7f6c7450ef23]
/usr/sbin/mysqld(lf_hash_iterate+0x170)[0x7f6c749fa770]
/usr/sbin/mysqld(_Z11tdc_iterateP3THDPFcPvS1_ES1_b+0x73)[0x7f6c74510c73]
/usr/sbin/mysqld(_Z12tc_add_tableP3THDP5TABLE+0x214)[0x7f6c74511034]
/usr/sbin/mysqld(_Z10open_tableP3THDP10TABLE_LISTP11st_mem_rootP18Open_table_context+0xaf2)[0x7f6c743b8e12]
/usr/sbin/mysqld(_Z11open_tablesP3THDRK14DDL_options_stPP10TABLE_LISTPjjP19Prelocking_strategy+0xfde)[0x7f6c743ba09e]
/usr/sbin/mysqld(_Z20open_and_lock_tablesP3THDRK14DDL_options_stP10TABLE_LISTbjP19Prelocking_strategy+0x44)[0x7f6c743ba314]
/usr/sbin/mysqld(_Z12mysql_insertP3THDP10TABLE_LISTR4ListI4ItemERS3_IS5_ES6_S6_15enum_duplicatesb+0xf7)[0x7f6c743dcbb7]
/usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x2f16)[0x7f6c743f4976]
/usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x20a)[0x7f6c743fac2a]
/usr/sbin/mysqld(_ZN15Query_log_event14do_apply_eventEP14rpl_group_infoPKcj+0x100b)[0x7f6c7461f51b]
/usr/sbin/mysqld(_ZN9Log_event11apply_eventEP14rpl_group_info+0x3f)[0x7f6c74388b1f]
/usr/sbin/mysqld(_Z26apply_event_and_update_posP9Log_eventP3THDP14rpl_group_infoP19rpl_parallel_thread+0x19b)[0x7f6c7437f09b]
/usr/sbin/mysqld(handle_slave_sql+0x2153)[0x7f6c743820f3]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x6b50)[0x7f6c73b82b50]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f6c7204e95d]
 
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x7f65d13f1196): is an invalid pointer
Connection ID (thread ID): 3
Status: NOT_KILLED



 Comments   
Comment by Elena Stepanova [ 2015-04-01 ]

Hi,

Are they reproducible?
If they are, can you describe how you reproduce the one on the master?
Is it production data? If it is not, can you provide the datadir from the slave (I understand you can't create a data dump if it crashes, so the whole datadir as it is).
Please also attach or paste your cnf files.

Thanks.

Comment by Elena Stepanova [ 2015-06-01 ]

Closing as Incomplete for now. If you have more information, please comment to re-open.

Generated at Thu Feb 08 07:23:05 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.