[MDEV-12490] This could be because you hit a bug. It is also possible that this binary Created: 2017-04-12  Updated: 2019-08-08  Resolved: 2017-05-15

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

Type: Bug Priority: Major
Reporter: lam Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: need_feedback


 Description   

170411 20:40:29 [ERROR] mysqld got signal 11 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
 
To report this bug, see https://mariadb.com/kb/en/reporting-bugs
 
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.
 
Server version: 10.2.4-MariaDB-log
key_buffer_size=134217728
read_buffer_size=131072
max_used_connections=47
max_threads=153
thread_count=42
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 467200 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
 
Thread pointer: 0x7fd003636008
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 = 0x7fd030ad5930 thread_stack 0x48c00
/usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x7fd043967c3e]
/usr/sbin/mysqld(handle_fatal_signal+0x30d)[0x7fd0433af29d]
/lib64/libpthread.so.0(+0xf370)[0x7fd042926370]
/usr/sbin/mysqld(_ZN10TABLE_LIST13is_with_tableEv+0x0)[0x7fd0432d11d0]
/usr/sbin/mysqld(+0x51f9dc)[0x7fd0432749dc]
/usr/sbin/mysqld(+0x51febd)[0x7fd043274ebd]
/usr/sbin/mysqld(_ZN10TABLE_LIST5printEP3THDyP6String15enum_query_type+0x56)[0x7fd043274c56]
/usr/sbin/mysqld(+0x51ff22)[0x7fd043274f22]
/usr/sbin/mysqld(_ZN10TABLE_LIST5printEP3THDyP6String15enum_query_type+0x56)[0x7fd043274c56]
/usr/sbin/mysqld(+0x51ff22)[0x7fd043274f22]
/usr/sbin/mysqld(_ZN10TABLE_LIST5printEP3THDyP6String15enum_query_type+0x56)[0x7fd043274c56]
/usr/sbin/mysqld(+0x51febd)[0x7fd043274ebd]
/usr/sbin/mysqld(_ZN10TABLE_LIST5printEP3THDyP6String15enum_query_type+0x56)[0x7fd043274c56]
/usr/sbin/mysqld(+0x51ff22)[0x7fd043274f22]
/usr/sbin/mysqld(_ZN10TABLE_LIST5printEP3THDyP6String15enum_query_type+0x56)[0x7fd043274c56]
/usr/sbin/mysqld(+0x51ff22)[0x7fd043274f22]
/usr/sbin/mysqld(_ZN10TABLE_LIST5printEP3THDyP6String15enum_query_type+0x56)[0x7fd043274c56]
/usr/sbin/mysqld(+0x51febd)[0x7fd043274ebd]
/usr/sbin/mysqld(_ZN13st_select_lex5printEP3THDP6String15enum_query_type+0x4b3)[0x7fd043275733]
/usr/sbin/mysqld(_ZN18st_select_lex_unit5printEP6String15enum_query_type+0x67)[0x7fd043219147]
/usr/sbin/mysqld(_Z29mysqld_show_create_get_fieldsP3THDP10TABLE_LISTP4ListI4ItemEP6String+0x306)[0x7fd043284396]
/usr/sbin/mysqld(_Z18mysqld_show_createP3THDP10TABLE_LIST+0xc3)[0x7fd043284773]
/usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x2736)[0x7fd043228156]
/usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x2de)[0x7fd04322ea6e]
/usr/sbin/mysqld(+0x4da2b7)[0x7fd04322f2b7]
/usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1250)[0x7fd043230b30]
/usr/sbin/mysqld(_Z10do_commandP3THD+0x161)[0x7fd0432323c1]
/usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x1aa)[0x7fd0432f18da]
/usr/sbin/mysqld(handle_one_connection+0x3d)[0x7fd0432f19fd]
/lib64/libpthread.so.0(+0x7dc5)[0x7fd04291edc5]
/lib64/libc.so.6(clone+0x6d)[0x7fd040d3d73d]
 
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x7fcfd1e1e020): show create table `mltest`.`market_index_top200_view`
 
Connection ID (thread ID): 584
Status: NOT_KILLED
 
Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,der
ived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_jo
in_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,cond
ition_pushdown_for_derived=on
 
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.



 Comments   
Comment by Elena Stepanova [ 2017-04-12 ]

It is likely to be the same problem as MDEV-12379 (which has been fixed by now, but the fix hasn't been released yet). We can make sure that the fix covers your variation of failure as well, if you provide the structure of the view and underlying tables.

To get the structure of the view, open the file <your datadir>/mltest/market_index_top200_view.frm and copy-paste its contents. It most likely refers to some tables, please also run SHOW CREATE TABLE for each of these tables and paste the output as well.

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