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

Server crashed in fill_schema_processlist, main.events_bugs failed in buildbot

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Cannot Reproduce
    • 10.0, 10.1, 10.4.17
    • N/A
    • Admin statements, Tests
    • None

    Description

      One-time occurrence so far:
      http://buildbot.askmonty.org/buildbot/builders/kvm-deb-trusty-amd64/builds/5685/steps/mtr/logs/stdio

      main.events_bugs                         w4 [ fail ]
              Test ended at 2017-05-02 06:21:06
       
      CURRENT_TEST: main.events_bugs
      mysqltest: In included file "/usr/share/mysql/mysql-test/include/wait_condition.inc": 
      included from /usr/share/mysql/mysql-test/t/events_bugs.test at line 442:
      At line 43: query 'let $success= `$wait_condition`' failed with wrong errno 2013: 'Lost connection to MySQL server during query', instead of 0...
       
      The result from queries just before the failure was:
      < snip >
      begin
      select get_lock('ee_16407_5', 60); /*ee_16407_5*/
      select release_lock('ee_16407_5');
      call events_test.ee_16407_5_pendant();
      end|
      create event ee_16407_6 on schedule every 60 second do
      begin
      select get_lock('ee_16407_5', 60); /*ee_16407_6*/
      select release_lock('ee_16407_5');
      call events_test.ee_16407_6_pendant();
      end|
      "Should have 2 locked processes"
      select /*4*/ user, host, db, info from information_schema.processlist
      where state = 'User lock' and info = 'select get_lock(\'ee_16407_5\', 60)';
      user	host	db	info
      root	localhost	events_test	select get_lock('ee_16407_5', 60)
      root	localhost	events_test	select get_lock('ee_16407_5', 60)
      select release_lock('ee_16407_5');
      release_lock('ee_16407_5')
      1
      

      2017-05-02  6:21:02 140122195761088 [Note] Server socket created on IP: '127.0.0.1'.
      2017-05-02  6:21:02 140122195446528 [Note] Event Scheduler: scheduler thread started with id 1
      2017-05-02  6:21:02 140122195761088 [Note] /usr/sbin/mysqld: ready for connections.
      Version: '10.1.23-MariaDB-1~trusty'  socket: '/run/shm/var/tmp/4/mysqld.1.sock'  port: 16040  mariadb.org binary distribution
      2017-05-02  6:21:03 140122194840320 [Note] Event Scheduler: Killing the scheduler thread, thread id 1
      2017-05-02  6:21:03 140122194840320 [Note] Event Scheduler: Waiting for the scheduler thread to reply
      2017-05-02  6:21:03 140122194840320 [Note] Event Scheduler: Stopped
      2017-05-02  6:21:03 140122195446528 [Note] Event Scheduler: scheduler thread started with id 5
      2017-05-02  6:21:03 140122194840320 [Note] Event Scheduler: Killing the scheduler thread, thread id 5
      2017-05-02  6:21:03 140122194840320 [Note] Event Scheduler: Waiting for the scheduler thread to reply
      2017-05-02  6:21:03 140122194840320 [Note] Event Scheduler: Stopped
      2017-05-02  6:21:03 140122195446528 [Note] Event Scheduler: scheduler thread started with id 7
      2017-05-02  6:21:03 140122194537216 [ERROR] Event Scheduler: [root@localhost][events_test.ee_16407_2] Incorrect date value: '1980-19-02' for column 'a' at row 1
      2017-05-02  6:21:03 140122194537216 [Note] Event Scheduler: [root@localhost].[events_test.ee_16407_2] event execution failed.
      2017-05-02  6:21:03 140122157058816 [Warning] Event Scheduler: [root@localhost][events_test.ee_16407_4] Data truncated for column 'a' at row 1
      2017-05-02  6:21:03 140122194840320 [Note] Event Scheduler: Killing the scheduler thread, thread id 7
      2017-05-02  6:21:03 140122194840320 [Note] Event Scheduler: Waiting for the scheduler thread to reply
      2017-05-02  6:21:03 140122194840320 [Note] Event Scheduler: Stopped
      2017-05-02  6:21:03 140122195446528 [Note] Event Scheduler: scheduler thread started with id 11
      2017-05-02  6:21:03 140122157058816 [ERROR] Event Scheduler: [root@localhost][events_test.ee_16407_5] Incorrect date value: '2001-02-29' for column 'a' at row 1
      2017-05-02  6:21:03 140122157058816 [Note] Event Scheduler: [root@localhost].[events_test.ee_16407_5] event execution failed.
      170502  6:21:03 [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.1.23-MariaDB-1~trusty
      key_buffer_size=1048576
      read_buffer_size=131072
      max_used_connections=1
      max_threads=153
      thread_count=3
      It is possible that mysqld could use up to 
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 62897 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0x7f70b6ffa008
      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 = 0x7f70bda601c0 thread_stack 0x48400
      /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x7f70be5e8efe]
      /usr/sbin/mysqld(handle_fatal_signal+0x305)[0x7f70be10bf95]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x10330)[0x7f70bc65e330]
      /lib/x86_64-linux-gnu/libc.so.6(strlen+0x2a)[0x7f70bbb009ea]
      /usr/sbin/mysqld(_Z23fill_schema_processlistP3THDP10TABLE_LISTP4Item+0x25b)[0x7f70bdff084b]
      /usr/sbin/mysqld(_Z24get_schema_tables_resultP4JOIN23enum_schema_table_state+0x28e)[0x7f70bdffa4fe]
      /usr/sbin/mysqld(_ZN4JOIN10exec_innerEv+0x6bd)[0x7f70bdfe07dd]
      /usr/sbin/mysqld(_ZN4JOIN4execEv+0x54)[0x7f70bdfe2c64]
      /usr/sbin/mysqld(_Z12mysql_selectP3THDPPP4ItemP10TABLE_LISTjR4ListIS1_ES2_jP8st_orderSB_S2_SB_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x112)[0x7f70bdfdf312]
      /usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x245)[0x7f70bdfdfdf5]
      /usr/sbin/mysqld(+0x42a2d1)[0x7f70bdf7f2d1]
      /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x5f46)[0x7f70bdf8b9f6]
      /usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x311)[0x7f70bdf8ee41]
      /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x2450)[0x7f70bdf92170]
      /usr/sbin/mysqld(_Z10do_commandP3THD+0x14a)[0x7f70bdf9290a]
      /usr/sbin/mysqld(_Z24do_handle_one_connectionP3THD+0x18a)[0x7f70be05a81a]
      /usr/sbin/mysqld(handle_one_connection+0x40)[0x7f70be05a9c0]
      /usr/sbin/mysqld(+0x741a7d)[0x7f70be296a7d]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x8184)[0x7f70bc656184]
      /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f70bbb75bed]
       
      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x7f70b2d05020): select count(*) = 0 from information_schema.processlist where state = 'User lock' and info = 'select get_lock(\'ee_16407_5\', 60)'
      Connection ID (thread ID): 4
      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=off
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

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