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

[Draft] Server crashed on KILL QUERY

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 10.1(EOL)
    • N/A
    • Server
    • None

    Description

      /home/elenst/git/10.1/sql/mysqld(my_print_stacktrace+0x38)[0x7f1f694baa4a]
      sql/signal_handler.cc:155(handle_fatal_signal)[0x7f1f68e76ed8]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0)[0x7f1f670b7cb0]
      /lib/x86_64-linux-gnu/libc.so.6(_IO_vfprintf+0x29f1)[0x7f1f667343b1]
      /lib/x86_64-linux-gnu/libc.so.6(+0x4e1a4)[0x7f1f667371a4]
      /lib/x86_64-linux-gnu/libc.so.6(_IO_vfprintf+0x21e)[0x7f1f66731bde]
      /lib/x86_64-linux-gnu/libc.so.6(_IO_fprintf+0x87)[0x7f1f6673c837]
      /home/elenst/git/10.1/sql/mysqld(safe_mutex_lock+0x1d3)[0x7f1f694bf8a0]
      psi/mysql_thread.h:719(inline_mysql_mutex_trylock)[0x7f1f68c08462]
      sql/sql_class.cc:1919(THD::awake(killed_state))[0x7f1f68c0d353]
      sql/sql_parse.cc:7998(kill_one_thread(THD*, long long, killed_state, killed_type))[0x7f1f68c5c2d8]
      sql/sql_parse.cc:8102(sql_kill(THD*, long long, killed_state, killed_type))[0x7f1f68c5c737]
      sql/sql_parse.cc:4777(mysql_execute_command(THD*))[0x7f1f68c53b3d]
      sql/sql_parse.cc:7165(mysql_parse(THD*, char*, unsigned int, Parser_state*))[0x7f1f68c5a89b]
      sql/sql_parse.cc:1464(dispatch_command(enum_server_command, THD*, char*, unsigned int))[0x7f1f68c49b4c]
      sql/sql_parse.cc:1090(do_command(THD*))[0x7f1f68c48927]
      sql/sql_connect.cc:1347(do_handle_one_connection(THD*))[0x7f1f68d78e21]
      sql/sql_connect.cc:1259(handle_one_connection)[0x7f1f68d78b79]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a)[0x7f1f670afe9a]
      /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f1f667dccbd]

      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x7f1f3dda8088): KILL QUERY 14
      Connection ID (thread ID): 107
      Status: NOT_KILLED

      Happened once so far, on 10.1 tree around commit 46816996 (possibly a few commits earlier).
      RQG revno 1016

      perl /home/elenst/bzr/randgen-mariadb-patches/runall-new.pl --no-mask --seed=1429932967 --threads=16 --duration=400 --queries=100M --reporters=QueryTimeout,Backtrace,ErrorLog,Deadlock --redefine=conf/mariadb/general-workarounds.yy --redefine=conf/mariadb/10.0-features-redefine.yy --mysqld=--log_output=FILE --mysqld=--slow_query_log --mysqld=--log_bin_trust_function_creators=1 --mysqld=--query_cache_size=64M --grammar=conf/engines/engine_stress.yy --gendata=conf/engines/engine_stress.zz --engine=InnoDB --rpl_mode=statement --mysqld=--slave-skip-errors=1054,1317,1049,1305,1539,1505 --mysqld=--slave-parallel-mode=conservative --mysqld=--binlog_commit_wait_count=10 --mysqld=--binlog_commit_wait_usec=1000000 --mysqld=--slave-parallel-threads=8 --use-gtid=no --mtr-build-thread=73 --basedir1=/home/elenst/git/10.1 --vardir1=/home/elenst/test_results/10.1-parallel-replication-8/current1_1

      Attachments

        1. mysql.log
          862 kB
        2. mysql.err
          99 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.