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

Mariadb crashes several times



    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 10.2, 10.1.27, 10.1.28, 10.1.29, 10.1.30, 10.2.12, 10.1.31, 10.2.13
    • Fix Version/s: N/A
    • Component/s: Platform Debian
    • Labels:
    • Environment:
      Debian 8.9


      We have the problem that MariaDB continuously crashes since version 10.1.27 and newer. We suspect that it is because of queries from doctrine. doctrine has the latest version.

      MySQL error log:

      180228 14:08:21 [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.13-MariaDB-log
      It is possible that mysqld could use up to
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 284439 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
      Thread pointer: 0x572c9c8
      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 = 0x7f2581b3bec8 thread_stack 0x49000
      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x5739fa0): SELECT p0_.id AS id_0, p0_.code AS code_1, p0_.ean AS ean_2, p0_.isbn AS isbn_3, p0_.price AS price_4, p0_.recommended_price AS recommended_price_5, p0_.brand_id AS brand_id_6, p0_.updated_at AS updated_at_7, p0_.created_at AS created_at_8, p0_.status AS status_9, p0_.weight AS weight_10, p0_.category_id AS category_id_11, p0_.brand_id AS brand_id_12, p0_.supplier_id AS supplier_id_13 FROM product p0_ INNER JOIN product_i18n p1_ ON (p1_.product_id = p0_.id) WHERE (((((p0_.category_id IN (SELECT c2_.id FROM category c2_ INNER JOIN category c3_ ON (c2_.parent IN (SELECT c4_.id FROM category c4_ WHERE c4_.parent = 0 OR c4_.id = 0)))) AND p0_.status = '1') OR p0_.category_id = 0) AND p0_.status = ('1') AND p1_.name LIKE '%kinderwagen%') OR p1_.name LIKE '%kinderwagen%' OR p1_.description LIKE '%kinderwagen%' OR p1_.short_description LIKE '%kinderwagen%') AND p0_.status = ('1') AND p0_.status = ('1') AND (p0_.id IN (SELECT p5_.product_id AS sclr_14 FROM product_specifications_options p5_ WHERE p5_.specifications_id = '12' AND p5_.specifications_options_id IN ('148'))) AND (p0_.id IN (SELECT p6_.product_id AS sclr_15 FROM product_specifications_options p6_ WHERE p6_.specifications_id = '16' AND p6_.specifications_options_id IN ('19'))) AND (p0_.id IN (SELECT p7_.product_id AS sclr_16 FROM product_specifications_options p7_ WHERE p7_.specifications_id = '26' AND p7_.specifications_options_id IN ('33'))) ORDER BY p0_.created_at ASC
      Connection ID (thread ID): 3076
      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
      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-02-28 14:08:22 140630631720768 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
      2018-02-28 14:08:22 140630631720768 [Note] InnoDB: Uses event mutexes
      2018-02-28 14:08:22 140630631720768 [Note] InnoDB: Compressed tables use zlib 1.2.3
      2018-02-28 14:08:22 140630631720768 [Note] InnoDB: Using Linux native AIO
      2018-02-28 14:08:22 140630631720768 [Note] InnoDB: Number of pools: 1
      2018-02-28 14:08:22 140630631720768 [Note] InnoDB: Using generic crc32 instructions
      2018-02-28 14:08:22 140630631720768 [Note] InnoDB: Initializing buffer pool, total size = 384M, instances = 1, chunk size = 128M
      2018-02-28 14:08:22 140630631720768 [Note] InnoDB: Completed initialization of buffer pool
      2018-02-28 14:08:22 140629620905728 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
      2018-02-28 14:08:22 140630631720768 [Note] InnoDB: Highest supported file format is Barracuda.
      2018-02-28 14:08:22 140630631720768 [Note] InnoDB: Starting crash recovery from checkpoint LSN=56535338305
      2018-02-28 14:08:22 140630631720768 [Note] InnoDB: Starting final batch to recover 3 pages from redo log.
      2018-02-28 14:08:24 140630631720768 [Note] InnoDB: 128 out of 128 rollback segments are active.
      2018-02-28 14:08:24 140630631720768 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
      2018-02-28 14:08:24 140630631720768 [Note] InnoDB: Creating shared tablespace for temporary tables
      2018-02-28 14:08:24 140630631720768 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
      2018-02-28 14:08:24 140630631720768 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
      2018-02-28 14:08:24 140630631720768 [Note] InnoDB: Waiting for purge to start
      2018-02-28 14:08:24 140630631720768 [Note] InnoDB: 5.7.21 started; log sequence number 56535338621
      2018-02-28 14:08:24 140629325616896 [Note] InnoDB: Loading buffer pool(s) from /home/mysql/ib_buffer_pool
      2018-02-28 14:08:24 140630631720768 [Note] Plugin 'FEEDBACK' is disabled.
      2018-02-28 14:08:24 140630631720768 [Note] Recovering after a crash using tc.log
      2018-02-28 14:08:24 140630631720768 [Note] Starting crash recovery...
      2018-02-28 14:08:24 140630631720768 [Note] Crash recovery finished.
      2018-02-28 14:08:24 140629325616896 [Note] InnoDB: Buffer pool(s) load completed at 180228 14:08:24
      2018-02-28 14:08:24 140630631720768 [Note] Server socket created on IP: '::'.
      2018-02-28 14:08:24 140630631720768 [Note] Reading of all Master_info entries succeded
      2018-02-28 14:08:24 140630631720768 [Note] Added new Master_info '' to hash table
      2018-02-28 14:08:24 140630631720768 [Note] /usr/local/mysql/bin/mysqld: ready for connections.
      Version: '10.2.13-MariaDB-log'  socket: '/usr/local/mysql/data/mysql.sock'  port: 3306  MariaDB Server


          Issue Links



              alice Alice Sherepa
              dave90 dave
              0 Vote for this issue
              4 Start watching this issue



                  Git Integration