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

InnoDB: Assertion failure in file fil0fil.cc line 475

    Details

      Description

      InnoDB: Assertion failure in thread 70366860931392 in file fil0fil.cc line 475
      InnoDB: Failing assertion: space
      
      Thread 1 (LWP 23827):
      #0  0x00003fffa2b34de0 in __pthread_kill (threadid=<optimized out>, signo=<optimized out>) at ../sysdeps/unix/sysv/linux/pthread_kill.c:60
      #1  0x0000000028a786c8 in my_write_core (sig=<optimized out>) at /home/buildbot/maria-slave/power8-vlp03-bintar/build/mysys/stacktrace.c:456
      #2  0x00000000284a7750 in handle_fatal_signal (sig=<optimized out>) at /home/buildbot/maria-slave/power8-vlp03-bintar/build/sql/signal_handler.cc:266
      #3  <signal handler called>
      #4  0x00003fffa2250b60 in __GI_raise (sig=<optimized out>) at ../sysdeps/unix/sysv/linux/raise.c:55
      #5  0x00003fffa2253404 in __GI_abort () at abort.c:89
      #6  0x00003fff9ad6bd8c in fil_space_get_type (id=5) at /home/buildbot/maria-slave/power8-vlp03-bintar/build/storage/innobase/fil/fil0fil.cc:475
      #7  0x00003fff9ad810a8 in fil_crypt_space_needs_rotation (recheck=<optimized out>, key_state=<optimized out>, state=<optimized out>) at /home/buildbot/maria-slave/power8-vlp03-bintar/build/storage/innobase/fil/fil0crypt.cc:1215
      #8  fil_crypt_find_space_to_rotate (key_state=0x3fff8fbfe0d4, state=0x3fff8fbfe110, recheck=0x3fff8fbfe0c7) at /home/buildbot/maria-slave/power8-vlp03-bintar/build/storage/innobase/fil/fil0crypt.cc:1513
      #9  0x00003fff9ad8197c in fil_crypt_thread (arg=<optimized out>) at /home/buildbot/maria-slave/power8-vlp03-bintar/build/storage/innobase/fil/fil0crypt.cc:2185
      #10 0x0000000000000000 in ?? ()
      

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            jplindst Jan Lindström added a comment -

            commit 53623d932a89dd4760fd28db42956b341ac451ed
            Author: Jan Lindström <jan.lindstrom@mariadb.com>
            Date: Wed Jul 22 08:42:52 2015 +0300

            MDEV-8522: InnoDB: Assertion failure in file fil0fil.cc line 475

            Analysis: In fil_crypt_space_needs_rotation we first make sure that
            tablespace is found and then separately that it is normal tablespace.
            Thus, tablespace could be dropped between these two functions calls.

            Fix: If space is not found from fil_system return tablespace type
            ULINT_UNDEFINED and naturally do not continue rotating space.

            Show
            jplindst Jan Lindström added a comment - commit 53623d932a89dd4760fd28db42956b341ac451ed Author: Jan Lindström <jan.lindstrom@mariadb.com> Date: Wed Jul 22 08:42:52 2015 +0300 MDEV-8522 : InnoDB: Assertion failure in file fil0fil.cc line 475 Analysis: In fil_crypt_space_needs_rotation we first make sure that tablespace is found and then separately that it is normal tablespace. Thus, tablespace could be dropped between these two functions calls. Fix: If space is not found from fil_system return tablespace type ULINT_UNDEFINED and naturally do not continue rotating space.

              People

              • Assignee:
                jplindst Jan Lindström
                Reporter:
                jplindst Jan Lindström
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h