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

Assertion `status_var.local_memory_used == 0 || !debug_assert_on_not_freed_memory' failed after select+shutdown;

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.2, 10.3, 10.4, 10.5, 10.6, 10.7, 10.8
    • Fix Version/s: 10.3, 10.4, 10.5, 10.6, 10.7
    • Component/s: None
    • Labels:
      None

      Description

      SELECT 1 FROM dual WHERE EXISTS (SELECT 1 FROM dual GROUP BY EXISTS (SELECT 1 UNION SELECT 2)) ;
      shutdown;
      

      bb-10.2-release 0ba528fe56f6c637d9fbc9d177a62610038fd519

      mysqld: /git/10.2/sql/sql_class.cc:1565: virtual THD::~THD(): Assertion `status_var.local_memory_used == 0 || !debug_assert_on_not_freed_memory' failed.
      220520 15:52:07 [ERROR] mysqld got signal 6 ;
       
      Server version: 10.2.44-MariaDB-debug-log
       
      sql/signal_handler.cc:221(handle_fatal_signal)[0x5643934a3f16]
      sigaction.c:0(__restore_rt)[0x7f7b38e4a420]
      addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530ea0)
      /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7f7b38c8700b]
      /lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7f7b38c66859]
      /lib/x86_64-linux-gnu/libc.so.6(+0x22729)[0x7f7b38c66729]
      /lib/x86_64-linux-gnu/libc.so.6(+0x33fd6)[0x7f7b38c77fd6]
      sql/sql_class.cc:1568(THD::~THD())[0x5643931d2504]
      sql/sql_class.cc:1572(THD::~THD())[0x5643931d26d2]
      sql/mysqld.cc:3116(one_thread_per_connection_end(THD*, bool))[0x564393124159]
      sql/sql_connect.cc:1355(do_handle_one_connection(CONNECT*))[0x564393374d2e]
      sql/sql_connect.cc:1242(handle_one_connection)[0x5643933749aa]
      perfschema/pfs.cc:1871(pfs_spawn_thread)[0x564393b9f400]
      nptl/pthread_create.c:478(start_thread)[0x7f7b38e3e609]
      addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530ea0)
      /lib/x86_64-linux-gnu/libc.so.6(clone+0x43)[0x7f7b38d63133]
       
      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x0): (null)
      Connection ID (thread ID): 9
      Status: KILL_CONNECTION
      
      

        Attachments

          Activity

            People

            Assignee:
            psergei Sergei Petrunia
            Reporter:
            alice Alice Sherepa
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.