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

main.func_hybrid_type with --embedded --ps-protocol: Assertion `(longlong) thd->status_var.local_memory_used >= 0' failed

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.1
    • Fix Version/s: 10.1.10
    • Component/s: Tests
    • Labels:
      None

      Description

      http://buildbot.askmonty.org/buildbot/builders/kvm-fulltest2/builds/4353/steps/test_9/logs/stdio and more:

      mysqltest_embedded: /home/elenst/git/10.1/libmysqld/../sql/mysqld.cc:4014: void my_malloc_size_cb_func(long long int, my_bool): Assertion `(longlong) thd->status_var.local_memory_used >= 0' failed.
      mysqltest got signal 6
       
      Attempting backtrace...
      stack_bottom = 0x0 thread_stack 0x48000
      /home/elenst/git/10.1/libmysqld/examples/mysqltest_embedded(my_print_stacktrace+0x38)[0x7f3df10b93a2]
      client/mysqltest.cc:8769(dump_backtrace())[0x7f3df1086685]
      client/mysqltest.cc:8785(signal_handler)[0x7f3df10866b8]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0)[0x7f3df0845cb0]
      /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35)[0x7f3deee16425]
      /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b)[0x7f3deee19b8b]
      /lib/x86_64-linux-gnu/libc.so.6(+0x2f0ee)[0x7f3deee0f0ee]
      /lib/x86_64-linux-gnu/libc.so.6(+0x2f192)[0x7f3deee0f192]
      sql/mysqld.cc:4018(my_malloc_size_cb_func)[0x7f3df10ca690]
      my_malloc.c:0(update_malloc_size)[0x7f3df10a5d4f]
      /home/elenst/git/10.1/libmysqld/examples/mysqltest_embedded(my_free+0x8a)[0x7f3df10a6267]
      /home/elenst/git/10.1/libmysqld/examples/mysqltest_embedded(free_root+0xf5)[0x7f3df10a5aaa]
      sql/sql_class.cc:1691(THD::~THD())[0x7f3df10d8a22]
      sql/sql_class.cc:1707(THD::~THD())[0x7f3df10d8ca0]
      libmysqld/lib_sql.cc:432(emb_free_embedded_thd)[0x7f3df10d12f4]
      /home/elenst/git/10.1/libmysqld/examples/mysqltest_embedded(mysql_close+0xc4)[0x7f3df10c652f]
      client/mysqltest.cc:1404(close_connections())[0x7f3df107652f]
      client/mysqltest.cc:1452(free_used_memory())[0x7f3df1076799]
      client/mysqltest.cc:1494(cleanup_and_exit(int))[0x7f3df107698d]
      client/mysqltest.cc:9589(timer_output())[0x7f3df1088215]
      /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f3deee0176d]
      /home/elenst/git/10.1/libmysqld/examples/mysqltest_embedded(+0x3fd069)[0x7f3df1075069]

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bar Alexander Barkov
                Reporter:
                elenst Elena Stepanova
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: