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

main.create_delayed fails with ps-protocol: assertion `global_status_var.global_memory_used >= 0' failed

    XMLWordPrintable

Details

    • 10.2.1-5

    Description

      mysqld.cc:4124: void my_malloc_size_cb_func(long long int, my_bool): Assertion `global_status_var.global_memory_used >= 0' failed.
      160523  1:15:08 [ERROR] mysqld got signal 6 ;
      

      Stack trace from 10.2 commit 50a17de1ce375f888cc239cd3c0bb8e1b92a95ab

      #7  0x00007f043a3261d2 in __assert_fail () from /lib64/libc.so.6
      #8  0x0000561ea7862253 in my_malloc_size_cb_func (size=-24256, is_thread_specific=0 '\000') at /src/10.2/sql/mysqld.cc:4124
      #9  0x0000561ea81c354b in update_malloc_size (size=-24256, is_thread_specific=0 '\000') at /src/10.2/mysys/my_malloc.c:67
      #10 0x0000561ea81c3a58 in my_free (ptr=0x7f0430851f30) at /src/10.2/mysys/my_malloc.c:215
      #11 0x0000561ea786cc74 in ilink::operator delete (ptr_arg=0x7f0430851f30, size=24256) at /src/10.2/sql/sql_list.h:649
      #12 0x0000561ea7916d89 in Delayed_insert::~Delayed_insert (this=0x7f0430851f30, __in_chrg=<optimized out>) at /src/10.2/sql/sql_insert.cc:2107
      #13 0x0000561ea791123e in handle_delayed_insert (arg=0x7f0430851f30) at /src/10.2/sql/sql_insert.cc:3042
      #14 0x0000561ea81745f6 in pfs_spawn_thread (arg=0x7f0430a7c9f0) at /src/10.2/storage/perfschema/pfs.cc:1862
      #15 0x00007f043c26f0a4 in start_thread () from /lib64/libpthread.so.0
      #16 0x00007f043a3dd04d in clone () from /lib64/libc.so.6
      

      The test fails in buildbot, too:
      http://buildbot.askmonty.org/buildbot/builders/kvm-fulltest2/builds/5243/steps/test_3/logs/stdio

      main.create_delayed                      w2 [ fail ]
              Test ended at 2016-04-30 05:41:48
       
      CURRENT_TEST: main.create_delayed
      mysqltest: At line 29: query 'INSERT DELAYED t1 VALUES (4)' failed: 2013: Lost connection to MySQL server during query
       
      The result from queries just before the failure was:
      drop table if exists t1;
      Starting test
       
       
      Server [mysqld.1 - pid: 2593, winpid: 2593, exit: 256] failed during test run
      Server log from this test:
      ----------SERVER LOG START-----------
      mysqld: /home/buildbot/buildbot/build/mariadb-10.2.0/sql/mysqld.cc:4124: void my_malloc_size_cb_func(long long int, my_bool): Assertion `global_status_var.global_memory_used >= 0' failed.
      160430  5:41:43 [ERROR] mysqld got signal 6 ;
      ...
      

      Attachments

        Issue Links

          Activity

            People

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