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

Assertion `! is_set()' fails in Diagnostics_area::set_eof_status on attempt to use a corrupted partitioned ARCHIVE table

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 10.0.2, 5.5.30, 5.5(EOL), 10.0(EOL), 10.1(EOL)
    • 10.11
    • OTHER

    Description

      Also filed as http://bugs.mysql.com/bug.php?id=69085

      Version: '5.5.30-MariaDB-debug-log'  socket: '/data/repo/bzr/5.5/mysql-test/var/tmp/mysqld.1.sock'  port: 16000  Source distribution
      mysqld: /home/elenst/bzr/5.5/sql/sql_error.cc:387: void Diagnostics_area::set_eof_status(THD*): Assertion `! is_set()' failed.
      130426 23:05:21 [ERROR] mysqld got signal 6 ;

      #7  0x00007fd93d9d0192 in __GI___assert_fail (assertion=0xd223e6 "! is_set()", file=0xd22318 "/home/elenst/bzr/5.5/sql/sql_error.cc", line=387, function=0xd22820 "void Diagnostics_area::set_eof_status(THD*)") at assert.c:103
      #8  0x00000000005eb8cd in Diagnostics_area::set_eof_status (this=0x3b800b0, thd=0x3b7c6e0) at /home/elenst/bzr/5.5/sql/sql_error.cc:387
      #9  0x000000000057619e in my_eof (thd=0x3b7c6e0) at /home/elenst/bzr/5.5/sql/sql_class.h:3159
      #10 0x0000000000681fc6 in mysqld_show_create (thd=0x3b7c6e0, table_list=0x7fd92808a880) at /home/elenst/bzr/5.5/sql/sql_show.cc:1095
      #11 0x0000000000610487 in mysql_execute_command (thd=0x3b7c6e0) at /home/elenst/bzr/5.5/sql/sql_parse.cc:2769
      #12 0x0000000000618cbc in mysql_parse (thd=0x3b7c6e0, rawbuf=0x7fd92808a7a8 "show create table t1", length=20, parser_state=0x7fd9330b3500) at /home/elenst/bzr/5.5/sql/sql_parse.cc:5759
      #13 0x000000000060c3bc in dispatch_command (command=COM_QUERY, thd=0x3b7c6e0, packet=0x3c71031 "", packet_length=20) at /home/elenst/bzr/5.5/sql/sql_parse.cc:1068
      #14 0x000000000060b5fd in do_command (thd=0x3b7c6e0) at /home/elenst/bzr/5.5/sql/sql_parse.cc:794
      #15 0x000000000071090d in do_handle_one_connection (thd_arg=0x3b7c6e0) at /home/elenst/bzr/5.5/sql/sql_connect.cc:1266
      #16 0x00000000007102f4 in handle_one_connection (arg=0x3b7c6e0) at /home/elenst/bzr/5.5/sql/sql_connect.cc:1181
      #17 0x000000000095d648 in pfs_spawn_thread (arg=0x3bfece0) at /home/elenst/bzr/5.5/storage/perfschema/pfs.cc:1015
      #18 0x00007fd93e7a0e9a in start_thread (arg=0x7fd9330b4700) at pthread_create.c:308
      #19 0x00007fd93da94cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

      Stack trace from

      revision-id: knielsen@knielsen-hq.org-20130422142239-e1b8ly4fsw30i2c5
      revno: 3734
      branch-nick: 5.5

      Also reproducible on 10.0, MySQL-5.5, MySQL-5.6.

      Test case:

      --source include/have_archive.inc
      --source include/have_partition.inc
       
      --let $datadir = `SELECT @@datadir`
       
      create table t1 (a int) engine=archive partition by hash(a);
      show create table t1;
      --remove_file $datadir/test/t1#P#p0.ARZ
      show create table t1;

      Attachments

        Activity

          People

            serg Sergei Golubchik
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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