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

Server crashes in functions related to stored procedures

    XMLWordPrintable

Details

    Description

      Crashes were seen with the following stack traces:

      stack_bottom = 0x7f82ebf32dd8 thread_stack 0x48000
      mysys/stacktrace.c:247(my_print_stacktrace)[0xad47ae]
      sql/signal_handler.cc:153(handle_fatal_signal)[0x6d388b]
      /lib64/libpthread.so.0[0x3121c0f710]
      sql/sql_string.h:240(String::free())[0x714227]
      sql/item.h:1435(Item::delete_self())[0x5578e0]
      sql/sql_class.h:761(~Query_arena)[0x7e2cd0]
      sql/sp_head.cc:775(~sp_head)[0x7de9ad]
      sql/sp_head.cc:528(sp_head::operator delete(void*, unsigned long))[0x7de9e1]
      mysys/hash.c:115(my_hash_free_elements)[0xab898f]
      sql/sp_cache.cc:132(sp_cache_clear(sp_cache**))[0x524553]
      sql/sql_class.cc:1433(THD::cleanup())[0x55f197]
      psi/mysql_thread.h:610(inline_mysql_mutex_lock)[0x504673]
      sql/mysqld.cc:2607(one_thread_per_connection_end(THD*, bool))[0x5048f5]
      sql/sql_connect.cc:1277(do_handle_one_connection(THD*))[0x64c080]
      sql/sql_connect.cc:1183(handle_one_connection)[0x64c3ec]
      /lib64/libpthread.so.0[0x3121c079d1]
      /lib64/libc.so.6(clone+0x6d)[0x31214e886d]

      stack_bottom = 0x7fc14df77dd8 thread_stack 0x48000
      mysys/stacktrace.c:247(my_print_stacktrace)[0xad47ae]
      sql/signal_handler.cc:153(handle_fatal_signal)[0x6d388b]
      /lib64/libpthread.so.0[0x3b2000f710]
      sql/sql_string.h:240(String::free())[0x714227]
      sql/sql_parse.cc:667(cleanup_items(Item*))[0x581b11]
      sql/sp_head.cc:1442(sp_head::execute(THD*, bool))[0x7de32d]
      sql/sp_head.cc:2199(sp_head::execute_procedure(THD*, List<Item>*))[0x7df077]
      sql/sql_parse.cc:4124(mysql_execute_command(THD*))[0x58bbac]
      sql/sql_parse.cc:5799(mysql_parse(THD*, char*, unsigned int, Parser_state*))[0x58eb09]
      sql/sql_parse.cc:1081(dispatch_command(enum_server_command, THD*, char*, unsigned int))[0x59009c]
      sql/sql_connect.cc:1266(do_handle_one_connection(THD*))[0x64c34f]
      sql/sql_connect.cc:1183(handle_one_connection)[0x64c3ec]
      /lib64/libpthread.so.0[0x3b200079d1]
      /lib64/libc.so.6(clone+0x6d)[0x3b1f8e88fd]

      stack_bottom = 0x7f905e89ddd8 thread_stack 0x48000
      mysys/stacktrace.c:247(my_print_stacktrace)[0xad47ae]
      sql/signal_handler.cc:153(handle_fatal_signal)[0x6d388b]
      /lib64/libpthread.so.0[0x3b2000f710]
      sql/sql_string.h:240(String::free())[0x714227]
      sql/sql_parse.cc:667(cleanup_items(Item*))[0x581b11]
      sql/sp_head.cc:1442(sp_head::execute(THD*, bool))[0x7de32d]
      sql/sp_head.cc:2199(sp_head::execute_procedure(THD*, List<Item>*))[0x7df077]
      sql/sql_parse.cc:4124(mysql_execute_command(THD*))[0x58bbac]
      sql/sql_parse.cc:5799(mysql_parse(THD*, char*, unsigned int, Parser_state*))[0x58eb09]
      sql/sql_parse.cc:1081(dispatch_command(enum_server_command, THD*, char*, unsigned int))[0x59009c]
      sql/sql_connect.cc:1266(do_handle_one_connection(THD*))[0x64c34f]
      sql/sql_connect.cc:1183(handle_one_connection)[0x64c3ec]
      /lib64/libpthread.so.0[0x3b200079d1]
      /lib64/libc.so.6(clone+0x6d)[0x3b1f8e88fd]

      stack_bottom = 0x7f10f349bdd8 thread_stack 0x48000
      mysys/stacktrace.c:247(my_print_stacktrace)[0xad47ae]
      sql/signal_handler.cc:153(handle_fatal_signal)[0x6d388b]
      /lib64/libpthread.so.0[0x3b2000f710]
      /lib64/libc.so.6(gsignal+0x35)[0x3b1f832625]
      /lib64/libc.so.6(abort+0x175)[0x3b1f833e05]
      /usr/lib64/libtcmalloc.so(_ZN8tcmalloc3LogENS_7LogModeEPKciNS_7LogItemES3_S3_S3_+0x22d)[0x7f151991aecd]
      /usr/lib64/libtcmalloc.so(+0x16413)[0x7f151990e413]
      /usr/lib64/libtcmalloc.so(tc_free+0x1fe)[0x7f151992f76e]
      sql/sql_string.h:240(String::free())[0x714243]
      sql/sql_parse.cc:667(cleanup_items(Item*))[0x581b11]
      sql/sp_head.cc:1442(sp_head::execute(THD*, bool))[0x7de32d]
      sql/sp_head.cc:2199(sp_head::execute_procedure(THD*, List<Item>*))[0x7df077]
      sql/sql_parse.cc:4124(mysql_execute_command(THD*))[0x58bbac]
      sql/sql_parse.cc:5799(mysql_parse(THD*, char*, unsigned int, Parser_state*))[0x58eb09]
      sql/sql_parse.cc:1081(dispatch_command(enum_server_command, THD*, char*, unsigned int))[0x59009c]
      sql/sql_connect.cc:1266(do_handle_one_connection(THD*))[0x64c34f]
      sql/sql_connect.cc:1183(handle_one_connection)[0x64c3ec]
      /lib64/libpthread.so.0[0x3b200079d1]
      /lib64/libc.so.6(clone+0x6d)[0x3b1f8e88fd]

      stack_bottom = 0x7f9593671dd8 thread_stack 0x48000
      mysys/stacktrace.c:247(my_print_stacktrace)[0xad47ae]
      sql/signal_handler.cc:153(handle_fatal_signal)[0x6d388b]
      /lib64/libpthread.so.0[0x3b2000f710]
      sql/sql_string.h:240(String::free())[0x714227]
      sql/item.h:1435(Item::delete_self())[0x5578e0]
      sql/sql_class.h:761(~Query_arena)[0x7e2cd0]
      sql/sp_head.cc:775(~sp_head)[0x7de9ad]
      sql/sp_head.cc:528(sp_head::operator delete(void*, unsigned long))[0x7de9e1]
      mysys/hash.c:115(my_hash_free_elements)[0xab898f]
      sql/sp_cache.cc:132(sp_cache_clear(sp_cache**))[0x524553]
      sql/sql_class.cc:1433(THD::cleanup())[0x55f197]
      psi/mysql_thread.h:610(inline_mysql_mutex_lock)[0x504673]
      sql/mysqld.cc:2607(one_thread_per_connection_end(THD*, bool))[0x5048f5]
      sql/sql_connect.cc:1277(do_handle_one_connection(THD*))[0x64c080]
      sql/sql_connect.cc:1183(handle_one_connection)[0x64c3ec]
      /lib64/libpthread.so.0[0x3b200079d1]
      /lib64/libc.so.6(clone+0x6d)[0x3b1f8e88fd]

      Attachments

        Issue Links

          Activity

            People

              monty Michael Widenius
              GeoffMontee Geoff Montee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.