Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-17065

Crash on SHOW CREATE TABLE with CHECK CONSTRAINT

    Details

      Description

      A mysqld instance apparently crahsed while generating output for SHOW CREATE TABLE:

      180823 21:00:02 [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.8-MariaDB-log
      key_buffer_size=67108864
      read_buffer_size=131072
      max_used_connections=598
      max_threads=2502
      thread_count=256
      It is possible that mysqld could use up to 
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 5563268 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0x7f42c816ee18
      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 = 0x7f439824bd70 thread_stack 0x40000
      (my_addr_resolve failure: fork)
      /usr/sbin/mysqld(my_print_stacktrace+0x2e) [0x562e51a3b3fe]
      /usr/sbin/mysqld(handle_fatal_signal+0x30d) [0x562e51483e0d]
      /lib64/libpthread.so.0(+0xf5e0) [0x7f615ab605e0]
      /usr/sbin/mysqld(Item_ident::print(String*, enum_query_type)+0x50) [0x562e51498dd0]
      /usr/sbin/mysqld(Item_func::print_op(String*, enum_query_type)+0xaf) [0x562e514ece3f]
      /usr/sbin/mysqld(show_create_table(THD*, TABLE_LIST*, String*, Table_specification_st*, enum_with_db_name)+0xe79) [0x562e51328ad9]
      /usr/sbin/mysqld(mysqld_show_create_get_fields(THD*, TABLE_LIST*, List<Item>*, String*)+0x51c) [0x562e513296dc]
      /usr/sbin/mysqld(mysqld_show_create(THD*, TABLE_LIST*)+0xc3) [0x562e51329b23]
      /usr/sbin/mysqld(mysql_execute_command(THD*)+0x3a90) [0x562e512cd230]
      /usr/sbin/mysqld(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool)+0x372) [0x562e512d28f2]
      /usr/sbin/mysqld(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool)+0x2790) [0x562e512d5fa0]
      /usr/sbin/mysqld(do_command(THD*)+0x15d) [0x562e512d6bcd]
      /usr/sbin/mysqld(do_handle_one_connection(CONNECT*)+0x1aa) [0x562e513993ca]
      /usr/sbin/mysqld(handle_one_connection+0x3d) [0x562e513994ed]
      /lib64/libpthread.so.0(+0x7e25) [0x7f615ab58e25]
      /lib64/libc.so.6(clone+0x6d) [0x7f61591ab34d]
       
      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x7f42c851da80): show create table `bnkpendinguser`
      Connection ID (thread ID): 468047
      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,derived_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=on,mrr_cost_based=on,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_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.
      Writing a core file
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                monty Michael Widenius
                Reporter:
                hholzgra Hartmut Holzgraefe
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: