XMLWordPrintable

    Details

      Description

      180808 14:45:38 [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.3.8-MariaDB-log
      key_buffer_size=134217728
      read_buffer_size=262144
      max_used_connections=56
      max_threads=65537
      thread_count=12
      It is possible that mysqld could use up to
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 151151222 K bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.

      Thread pointer: 0x7fbd44068208
      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 = 0x7fbed0e6fcc8 thread_stack 0x49000
      mysys/stacktrace.c:270(my_print_stacktrace)[0x7fbed1ca008b]
      sql/signal_handler.cc:168(handle_fatal_signal)[0x7fbed178ca57]
      /lib64/libpthread.so.0(+0x36aa20f7e0)[0x7fbed0ba37e0]
      sql/sql_base.cc:6110(find_field_in_tables(THD*, Item_ident*, TABLE_LIST*, TABLE_LIST*, Item**, find_item_error_report_type, bool, bool))[0x7fbed1587bff]
      sql/sql_select.cc:22928(find_order_in_list)[0x7fbed15fe947]
      sql/sql_select.cc:23041(setup_order(THD*, Bounds_checked_array<Item*>, TABLE_LIST*, List<Item>&, List<Item>&, st_order*, bool))[0x7fbed16129f6]
      sql/sql_window.cc:224(setup_windows(THD*, Bounds_checked_array<Item*>, TABLE_LIST*, List<Item>&, List<Item>&, List<Window_spec>&, List<Item_window_func>&))[0x7fbed16f9a9f]
      sql/sql_select.cc:671(setup_without_group)[0x7fbed1614f47]
      sql/sql_union.cc:667(st_select_lex_unit::prepare_join(THD*, st_select_lex*, select_result*, unsigned long, bool))[0x7fbed1664b25]
      sql/sql_union.cc:977(st_select_lex_unit::prepare(TABLE_LIST*, select_result*, unsigned long))[0x7fbed16676ba]
      sql/sql_derived.cc:766(mysql_derived_prepare(THD*, LEX*, TABLE_LIST*))[0x7fbed15a402a]
      sql/sql_derived.cc:197(mysql_handle_single_derived(LEX*, TABLE_LIST*, unsigned int))[0x7fbed15a3767]
      sql/sql_lex.cc:4073(st_select_lex::handle_derived(LEX*, unsigned int))[0x7fbed15b9cf7]
      sql/sql_select.cc:997(JOIN::prepare(TABLE_LIST*, unsigned int, Item*, unsigned int, st_order*, bool, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*))[0x7fbed16147a8]
      sql/sql_select.cc:4198(mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*))[0x7fbed1626c7e]
      sql/sql_select.cc:382(handle_select(THD*, LEX*, select_result*, unsigned long))[0x7fbed1627e5c]
      sql/sql_parse.cc:6543(execute_sqlcom_select)[0x7fbed14ef349]
      sql/sql_parse.cc:3765(mysql_execute_command(THD*))[0x7fbed15d8453]
      sql/sql_prepare.cc:4763(Prepared_statement::execute(String*, bool))[0x7fbed15ea6fe]
      sql/sql_prepare.cc:4191(Prepared_statement::execute_loop(String*, bool, unsigned char*, unsigned char*))[0x7fbed15ede01]
      sql/sql_prepare.cc:3300(mysql_sql_stmt_execute(THD*))[0x7fbed15ee80d]
      sql/sql_parse.cc:3781(mysql_execute_command(THD*))[0x7fbed15d414c]
      sql/sp_head.cc:3594(sp_instr_stmt::exec_core(THD*, unsigned int*))[0x7fbed154a72e]
      sql/sp_head.cc:3320(sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*))[0x7fbed15511e4]
      sql/sp_head.cc:3499(sp_instr_stmt::execute(THD*, unsigned int*))[0x7fbed15519a9]
      sql/sp_head.cc:1353(sp_head::execute(THD*, bool))[0x7fbed154df12]
      sql/sp_head.cc:2293(sp_head::execute_procedure(THD*, List<Item>*))[0x7fbed154ee6a]
      sql/sql_parse.cc:2948(do_execute_sp)[0x7fbed15cd3c0]
      sql/sql_parse.cc:3187(Sql_cmd_call::execute(THD*))[0x7fbed15ce6e6]
      sql/sql_parse.cc:6280(mysql_execute_command(THD*))[0x7fbed15d36c9]
      sql/sql_class.h:1809(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x7fbed15da9d9]
      sql/sql_parse.cc:1847(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x7fbed15dca1a]
      sql/sql_parse.cc:1394(do_command(THD*))[0x7fbed15dd19e]
      sql/threadpool_common.cc:358(threadpool_process_request)[0x7fbed16dbe07]
      sql/threadpool_generic.cc:1601(worker_main)[0x7fbed1763180]
      /lib64/libpthread.so.0(+0x36aa207aa1)[0x7fbed0b9baa1]
      /lib64/libc.so.6(clone+0x6d)[0x7fbecf2b493d]

      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x7fbd442ab520): WITH base AS (
      SELECT * FROM partner_goods_storage pgs
      UNION
      SELECT * FROM partner_goods_storage_package pgsp
      ), time_line AS (
      SELECT seq, DATE_SUB(CURRENT_DATE(), INTERVAL seq DAY) reg_date
      FROM seq_0_to_82
      ), result AS ( SELECT tl.reg_date, SUM(b.bill) OVER (ORDER BY tl.reg_date) bill_sum, SUM(b.period) OVER (ORDER BY tl.reg_date) period_sum
      FROM time_line tl
      LEFT JOIN (
      SELECT DATE_FORMAT(b.start_time, '%Y%m%d') reg_date,
      COUNT(DATE_FORMAT(b.start_time, '%Y%m%d')) paid_count,
      SUM(IF(gp.goods_type = '정기결제', 1, 0)) bill,
      SUM(IF(gp.goods_type = '기간약정', 1, 0)) period,
      GROUP_CONCAT(b.payment_number)
      FROM base b
      JOIN goods_payment gp ON b.payment_number = gp.payment_number
      JOIN sales_incentive si ON gp.payment_number = si.payment_number AND si.sales_incentive_type = '판매'
      JOIN sales_person_sell_point_status spsps ON gp.payment_number = spsps.payment_number AND spsps.sell_point_status IN ('확정','적립','전환') AND si.pid = spsps.pid
      LEFT JOIN partner_goods pg ON b.payment_number = pg.payment_number
      LEFT JOIN tmp_test_aloha_members ttam ON gp.member_idx = ttam.member_idx
      WHERE ttam.member_id IS NULL
      GROUP BY DATE_FORMAT(b.start_time, '%Y%m%d') ) b ON b.reg_date = tl.reg_date
      ORDER BY tl.reg_date desc)
      SELECT reg_date, bill_sum, period_sum FROM result where reg_date between '2018-07-05' and '2018-08-05'

      Connection ID (thread ID): 444066
      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=off,mrr_cost_based=off,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=off,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=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.
      2018-08-08 14:45:39 0 [Note] InnoDB: Using Linux native AIO
      2018-08-08 14:45:39 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
      2018-08-08 14:45:39 0 [Note] InnoDB: Uses event mutexes
      2018-08-08 14:45:39 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
      2018-08-08 14:45:39 0 [Note] InnoDB: Number of pools: 1
      2018-08-08 14:45:39 0 [Note] InnoDB: Using SSE2 crc32 instructions
      2018-08-08 14:45:39 0 [Note] InnoDB: Initializing buffer pool, total size = 2G, instances = 8, chunk size = 128M
      2018-08-08 14:45:39 0 [Note] InnoDB: Completed initialization of buffer pool
      2018-08-08 14:45:39 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
      2018-08-08 14:45:39 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=29129140536
      2018-08-08 14:45:40 0 [Note] InnoDB: Last binlog file '/var/log/mysql/binary_log.000060', position 352896849
      2018-08-08 14:45:40 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
      2018-08-08 14:45:40 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
      2018-08-08 14:45:40 0 [Note] InnoDB: Creating shared tablespace for temporary tables
      2018-08-08 14:45:40 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
      2018-08-08 14:45:40 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
      2018-08-08 14:45:40 0 [Note] InnoDB: Waiting for purge to start
      2018-08-08 14:45:40 0 [Note] InnoDB: 10.3.8 started; log sequence number 29129140545; transaction id 34985656
      2018-08-08 14:45:40 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
      2018-08-08 14:45:40 0 [Note] Plugin 'FEEDBACK' is disabled.
      2018-08-08 14:45:40 0 [Note] Recovering after a crash using /var/log/mysql/binary_log
      2018-08-08 14:45:40 0 [Note] InnoDB: Buffer pool(s) load completed at 180808 14:45:40
      2018-08-08 14:45:40 0 [Note] Starting crash recovery...
      2018-08-08 14:45:40 0 [Note] Crash recovery finished.
      2018-08-08 14:45:40 0 [Note] Server socket created on IP: '::'.
      2018-08-08 14:45:40 0 [ERROR] mysqld: Table './mysql/db' is marked as crashed and should be repaired
      2018-08-08 14:45:40 0 [Warning] Checking table: './mysql/db'
      2018-08-08 14:45:40 0 [ERROR] mysql.db: 1 client is using or hasn't closed the table properly
      2018-08-08 14:45:40 0 [Warning] 'proxies_priv' entry '@% root@ucolo200-39' ignored in --skip-name-resolve mode.
      2018-08-08 14:45:40 0 [ERROR] mysqld: Table './mysql/event' is marked as crashed and should be repaired
      2018-08-08 14:45:40 0 [Warning] Checking table: './mysql/event'
      2018-08-08 14:45:40 0 [ERROR] mysql.event: 1 client is using or hasn't closed the table properly
      2018-08-08 14:45:40 7 [Note] Event Scheduler: scheduler thread started with id 7
      2018-08-08 14:45:40 0 [Note] Reading of all Master_info entries succeded
      2018-08-08 14:45:40 0 [Note] Added new Master_info '' to hash table
      2018-08-08 14:45:40 0 [Note] /usr/sbin/mysqld: ready for connections.
      Version: '10.3.8-MariaDB-log' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server

        Attachments

          Activity

            People

            • Assignee:
              cvicentiu Vicentiu Ciorbaru
              Reporter:
              jyd Jung Yun Do
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: