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

[Draft] Assertion `inited==RND' failed in handler::ha_rnd_end

    XMLWordPrintable

Details

    Description

      https://travis-ci.org/elenst/travis-tests/jobs/393695342

      10.0 3661d9882224dd485556ce937c1294eaeda02ef8

      mysqld: /home/travis/src/sql/handler.h:2672: int handler::ha_rnd_end(): Assertion `inited==RND' failed.
      180618 16:02:55 [ERROR] mysqld got signal 6 ;
       
      #7  0x00007eff51be7ca2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
      #8  0x00000000005e49db in handler::ha_rnd_end (this=0x3037518) at /home/travis/src/sql/handler.h:2672
      #9  0x000000000096e02d in QUICK_ROR_INTERSECT_SELECT::~QUICK_ROR_INTERSECT_SELECT (this=0x7efee804b9d0, __in_chrg=<optimized out>) at /home/travis/src/sql/opt_range.cc:2288
      #10 0x000000000096e08a in QUICK_ROR_INTERSECT_SELECT::~QUICK_ROR_INTERSECT_SELECT (this=0x7efee804b9d0, __in_chrg=<optimized out>) at /home/travis/src/sql/opt_range.cc:2290
      #11 0x000000000096ca8b in SQL_SELECT::cleanup (this=0x7efee8006030) at /home/travis/src/sql/opt_range.cc:1800
      #12 0x000000000096cb12 in SQL_SELECT::~SQL_SELECT (this=0x7efee8006030, __in_chrg=<optimized out>) at /home/travis/src/sql/opt_range.cc:1814
      #13 0x00000000007255a7 in mysql_update (thd=0x300bd90, table_list=0x7efee8005408, fields=..., values=..., conds=0x7efee8005dc0, order_num=0, order=0x0, limit=18446744073709551615, handle_duplicates=DUP_ERROR, ignore=false, found_return=0x7eff4054cd20, updated_return=0x7eff4054cdb0) at /home/travis/src/sql/sql_update.cc:1034
      #14 0x0000000000652217 in mysql_execute_command (thd=0x300bd90) at /home/travis/src/sql/sql_parse.cc:3312
      #15 0x000000000065b211 in mysql_parse (thd=0x300bd90, rawbuf=0x7efee80052b8 "UPDATE `t8` SET `col_varchar` = 'h' WHERE `pk` = 31872 /* QNO 708 CON_ID 9 */", length=77, parser_state=0x7eff4054d660) at /home/travis/src/sql/sql_parse.cc:6634
      #16 0x000000000064d592 in dispatch_command (command=COM_QUERY, thd=0x300bd90, packet=0x3012731 "UPDATE `t8` SET `col_varchar` = 'h' WHERE `pk` = 31872 /* QNO 708 CON_ID 9 */ ", packet_length=78) at /home/travis/src/sql/sql_parse.cc:1297
      #17 0x000000000064c84e in do_command (thd=0x300bd90) at /home/travis/src/sql/sql_parse.cc:1000
      #18 0x000000000077aac3 in do_handle_one_connection (thd_arg=0x300bd90) at /home/travis/src/sql/sql_connect.cc:1377
      #19 0x000000000077a835 in handle_one_connection (arg=0x300bd90) at /home/travis/src/sql/sql_connect.cc:1292
      #20 0x00007eff52dd2184 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #21 0x00007eff51cb5ffd in clone () from /lib/x86_64-linux-gnu/libc.so.6
      

      Query (0x7efee80052b8): UPDATE `t8` SET `col_varchar` = 'h' WHERE `pk` = 31872 /* QNO 708 CON_ID 9 */
      Connection ID (thread ID): 9
      Status: NOT_KILLED
      

      # 1123,2,4
      Tests: travis-workarounds c1710043b35269d4bae46f892bfccc02cd7cf2e2
       
      # 2018-06-18T16:01:04 [22387] Final command line: # 2018-06-18T16:01:04 [22387] perl /home/travis/rqg//run-scenario.pl --grammar=conf/mariadb/oltp-transactional.yy --grammar2=conf/mariadb/oltp_and_ddl.yy --gendata=conf/mariadb/innodb_upgrade.zz --gendata-advanced --mysqld=--server-id=111 --scenario=Upgrade --duration=90 --basedir1=/home/travis/old --basedir2=/home/travis/server --mysqld=--innodb-page-size=16K --no-mask --seed=1529337277 --threads=4 --queries=100M --mysqld=--loose-max-statement-time=20 --mysqld=--loose-lock-wait-timeout=20 --mysqld=--loose-innodb-lock-wait-timeout=10 --mysqld=--loose-innodb_log_compressed_pages=on --mtr-build-thread=300 --vardir1=/home/travis/logs/current1_1
      

      Not reproducible so far.

      Full threads are attached.
      Datadir, coredump, binary, logs are available.

      Attachments

        1. threads_full
          91 kB
        2. threads
          32 kB

        Issue Links

          Activity

            People

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