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

centos 7 MariaDB-5.5.56 ERROR 2013 (HY000): Lost connection to MySQL server during query




      Suddenly MariaDB has started having issues on my CENTOS 7. I am getting ERROR "2013 (HY000): Lost connection to MySQL server during query" when i try to update a table via subquery such as : update table1 set sal=32 where prikey in (select id from table2 where....). The tables are myisam not innodb.

      I checked with mysqlcheck and everything reported fine. I also saw threads regarding the cache but no good. This is quite scary to happen in production systems...

      Thank you very much. Regards

      Stack trace

      [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 http://kb.askmonty.org/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: 5.5.56-MariaDB
      It is possible that mysqld could use up to
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 466711 K bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.

      Thread pointer: 0x5645e589bab0
      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 = 0x7f053c0a3dc0 thread_stack 0x48000

      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x7f0510004c18): update...
      Connection ID (thread ID): 1
      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=off

      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.
      180405 12:46:16 mysqld_safe Number of processes running now: 0
      180405 12:46:16 mysqld_safe mysqld restarted
      180405 12:46:16 [Note] /usr/libexec/mysqld (mysqld 5.5.56-MariaDB) starting as process 5586 ...
      180405 12:46:16 InnoDB: The InnoDB memory heap is disabled
      180405 12:46:16 InnoDB: Mutexes and rw_locks use GCC atomic builtins
      180405 12:46:16 InnoDB: Compressed tables use zlib 1.2.7
      180405 12:46:16 InnoDB: Using Linux native AIO
      180405 12:46:16 InnoDB: Initializing buffer pool, size = 128.0M
      180405 12:46:16 InnoDB: Completed initialization of buffer pool
      180405 12:46:16 InnoDB: highest supported file format is Barracuda.
      InnoDB: The log sequence number in ibdata files does not match
      InnoDB: the log sequence number in the ib_logfiles!
      InnoDB: Restoring possible half-written data pages from the doublewrite buffer...
      180405 12:46:16 InnoDB: Waiting for the background threads to start
      180405 12:46:17 Percona XtraDB (http://www.percona.com) 5.5.52-MariaDB-38.3 started; log sequence number 4191004
      180405 12:46:17 [Note] Plugin 'FEEDBACK' is disabled.
      180405 12:46:17 [Note] Server socket created on IP: ''.
      180405 12:46:17 [Note] Event Scheduler: Loaded 0 events
      180405 12:46:17 [Note] /usr/libexec/mysqld: ready for connections.
      Version: '5.5.56-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Serve


          Issue Links



              alice Alice Sherepa
              sygram Leo Pap
              0 Vote for this issue
              3 Start watching this issue



                  Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.