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

Server fails to shut down storage engine plugins when thread_stack is set to the smallest negative value

    XMLWordPrintable

Details

    • Bug
    • Status: Confirmed (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 10.4(EOL), 10.5, 10.6, 10.7(EOL), 10.8(EOL), 10.9(EOL), 10.10(EOL), 10.11, 11.0(EOL), 11.1(EOL), 11.2(EOL)
    • 10.5, 10.6, 10.11
    • None

    Description

      # mysqld options required for replay: --thread-stack=-5000
      

      The crash is happening only on 10.4 build.

      Leads to

      10.4.31 161ce045a71e306768d4609bdc35788fa5ea2a71 (Debug)

      mariadbd: /test/10.4_dbg/storage/innobase/sync/sync0debug.cc:1506: CreateTracker::~CreateTracker(): Assertion `m_files.empty()' failed.
      

      10.4.31 161ce045a71e306768d4609bdc35788fa5ea2a71 (Debug)

      Core was generated by `/test/MD090823-mariadb-10.4.31-linux-x86_64-dbg/bin/mariadbd --no-defaults --co'.
      Program terminated with signal SIGABRT, Aborted.
      #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
      [Current thread is 1 (Thread 0x152141918900 (LWP 4028037))]
      (gdb) bt
      #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
      #1  0x0000152141af1859 in __GI_abort () at abort.c:79
      #2  0x0000152141af1729 in __assert_fail_base (fmt=0x152141c87588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x559a854316d5 "m_files.empty()", file=0x559a854078f0 "/test/10.4_dbg/storage/innobase/sync/sync0debug.cc", line=1506, function=<optimized out>) at assert.c:92
      #3  0x0000152141b02fd6 in __GI___assert_fail (assertion=assertion@entry=0x559a854316d5 "m_files.empty()", file=file@entry=0x559a854078f0 "/test/10.4_dbg/storage/innobase/sync/sync0debug.cc", line=line@entry=1506, function=function@entry=0x559a85408a58 "CreateTracker::~CreateTracker()") at assert.c:101
      #4  0x0000559a84da9613 in CreateTracker::~CreateTracker (this=0x559a862caac0 <create_tracker>, __in_chrg=<optimized out>) at /usr/include/c++/9/bits/stl_tree.h:1043
      #5  0x0000152141b158a7 in __run_exit_handlers (status=status@entry=1, listp=0x152141cbb718 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:108
      #6  0x0000152141b15a60 in __GI_exit (status=status@entry=1) at exit.c:139
      #7  0x0000559a844ef6ae in start_signal_handler () at /test/10.4_dbg/sql/mysqld.cc:3176
      #8  mysqld_main (argc=<optimized out>, argv=<optimized out>) at /test/10.4_dbg/sql/mysqld.cc:5802
      #9  0x0000559a844e3b06 in main (argc=<optimized out>, argv=<optimized out>) at /test/10.4_dbg/sql/main.cc:25
      

      Attachments

        Issue Links

          Activity

            People

              sanja Oleksandr Byelkin
              ramesh Ramesh Sivaraman
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.