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

ASAN heap-use-after-free in Query_tables_list::set_query_tables_list / Sp_handler::sp_cache_package_routine or crash in MDL_key::mdl_namespace

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • N/A
    • N/A
    • Stored routines
    • None
    • bb-10.2-compatibility ec1d5905c54f98f2c1e671a1567d4a42f25e4b5f (build 18296)

    Description

      bb-10.2-compatibility ec1d5905c5

      ==3493==ERROR: AddressSanitizer: heap-use-after-free on address 0x625000197990 at pc 0x55b5688facf6 bp 0x7f4b2b36ca10 sp 0x7f4b2b36ca08
      READ of size 188 at 0x625000197990 thread T28
          #0 0x55b5688facf5 in Query_tables_list::set_query_tables_list(Query_tables_list*) /data/src/bb-10.2-compatibility/sql/sql_lex.h:1419
          #1 0x55b5688d82da in LEX::reset_n_backup_query_tables_list(Query_tables_list*) /data/src/bb-10.2-compatibility/sql/sql_lex.cc:3670
          #2 0x55b568808d14 in open_system_tables_for_read(THD*, TABLE_LIST*, Open_tables_backup*) /data/src/bb-10.2-compatibility/sql/sql_base.cc:8570
          #3 0x55b56931ab77 in open_proc_table_for_read(THD*, Open_tables_backup*) /data/src/bb-10.2-compatibility/sql/sp.cc:482
          #4 0x55b56931c2c9 in Sp_handler::db_find_routine(THD*, Database_qualified_name const*, sp_head**) const /data/src/bb-10.2-compatibility/sql/sp.cc:676
          #5 0x55b56931cd66 in Sp_handler::db_find_and_cache_routine(THD*, Database_qualified_name const*, sp_head**) const /data/src/bb-10.2-compatibility/sql/sp.cc:747
          #6 0x55b56932a072 in Sp_handler::sp_cache_routine(THD*, Database_qualified_name const*, bool, sp_head**) const /data/src/bb-10.2-compatibility/sql/sp.cc:2720
          #7 0x55b56932a556 in Sp_handler::sp_cache_package_routine(THD*, st_mysql_const_lex_string const&, Database_qualified_name const*, bool, sp_head**) const /data/src/bb-10.2-compatibility/sql/sp.cc:2766
          #8 0x55b56932aa41 in Sp_handler_package_procedure::sp_cache_routine(THD*, Database_qualified_name const*, bool, sp_head**) const /data/src/bb-10.2-compatibility/sql/sp.cc:2791
          #9 0x55b569329c98 in Sroutine_hash_entry::sp_cache_routine(THD*, bool, sp_head**) const /data/src/bb-10.2-compatibility/sql/sp.cc:2673
          #10 0x55b5687eb0d1 in open_and_process_routine /data/src/bb-10.2-compatibility/sql/sql_base.cc:3202
          #11 0x55b5687eeb5f in open_tables(THD*, DDL_options_st const&, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) /data/src/bb-10.2-compatibility/sql/sql_base.cc:4063
          #12 0x55b5687f25a0 in open_and_lock_tables(THD*, DDL_options_st const&, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) /data/src/bb-10.2-compatibility/sql/sql_base.cc:4745
          #13 0x55b56876b23e in open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) /data/src/bb-10.2-compatibility/sql/sql_base.h:496
          #14 0x55b568913475 in Sql_cmd_call::execute(THD*) /data/src/bb-10.2-compatibility/sql/sql_parse.cc:3124
          #15 0x55b568926d21 in mysql_execute_command(THD*) /data/src/bb-10.2-compatibility/sql/sql_parse.cc:6254
          #16 0x55b568756c9d in sp_instr_stmt::exec_core(THD*, unsigned int*) /data/src/bb-10.2-compatibility/sql/sp_head.cc:3591
          #17 0x55b56875574a in sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*) /data/src/bb-10.2-compatibility/sql/sp_head.cc:3336
          #18 0x55b568756567 in sp_instr_stmt::execute(THD*, unsigned int*) /data/src/bb-10.2-compatibility/sql/sp_head.cc:3507
          #19 0x55b56874a00f in sp_head::execute(THD*, bool) /data/src/bb-10.2-compatibility/sql/sp_head.cc:1390
          #20 0x55b56874ec4b in sp_head::execute_procedure(THD*, List<Item>*) /data/src/bb-10.2-compatibility/sql/sp_head.cc:2313
          #21 0x55b568911eaf in do_execute_sp /data/src/bb-10.2-compatibility/sql/sql_parse.cc:2929
          #22 0x55b5689137f4 in Sql_cmd_call::execute(THD*) /data/src/bb-10.2-compatibility/sql/sql_parse.cc:3169
          #23 0x55b568926d21 in mysql_execute_command(THD*) /data/src/bb-10.2-compatibility/sql/sql_parse.cc:6254
          #24 0x55b56893123c in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /data/src/bb-10.2-compatibility/sql/sql_parse.cc:7974
          #25 0x55b56890c217 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /data/src/bb-10.2-compatibility/sql/sql_parse.cc:1835
          #26 0x55b568909258 in do_command(THD*) /data/src/bb-10.2-compatibility/sql/sql_parse.cc:1383
          #27 0x55b568c49595 in do_handle_one_connection(CONNECT*) /data/src/bb-10.2-compatibility/sql/sql_connect.cc:1335
          #28 0x55b568c48faa in handle_one_connection /data/src/bb-10.2-compatibility/sql/sql_connect.cc:1241
          #29 0x55b5696c86df in pfs_spawn_thread /data/src/bb-10.2-compatibility/storage/perfschema/pfs.cc:1862
          #30 0x7f4b47b4d493 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x7493)
          #31 0x7f4b45f3393e in __clone (/lib/x86_64-linux-gnu/libc.so.6+0xe893e)
       
      0x625000197990 is located 144 bytes inside of 8268-byte region [0x625000197900,0x62500019994c)
      freed by thread T28 here:
          #0 0x7f4b47db7527 in __interceptor_free (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x54527)
          #1 0x55b56a00520d in free_memory /data/src/bb-10.2-compatibility/mysys/safemalloc.c:279
          #2 0x55b56a00486e in sf_free /data/src/bb-10.2-compatibility/mysys/safemalloc.c:197
          #3 0x55b569fd38c8 in my_free /data/src/bb-10.2-compatibility/mysys/my_malloc.c:224
          #4 0x55b569fb500f in free_root /data/src/bb-10.2-compatibility/mysys/my_alloc.c:416
          #5 0x55b568744546 in sp_head::operator delete(void*, unsigned long) /data/src/bb-10.2-compatibility/sql/sp_head.cc:550
          #6 0x55b568747f44 in sp_head::~sp_head() /data/src/bb-10.2-compatibility/sql/sp_head.cc:890
          #7 0x55b5688ca7d3 in lex_end_stage1(LEX*) /data/src/bb-10.2-compatibility/sql/sql_lex.cc:813
          #8 0x55b5688ca3fa in lex_end(LEX*) /data/src/bb-10.2-compatibility/sql/sql_lex.cc:784
          #9 0x55b568747fea in sp_package::LexList::cleanup() /data/src/bb-10.2-compatibility/sql/sp_head.cc:898
          #10 0x55b5687454ef in sp_package::~sp_package() /data/src/bb-10.2-compatibility/sql/sp_head.cc:626
          #11 0x55b5687457c7 in sp_package::~sp_package() /data/src/bb-10.2-compatibility/sql/sp_head.cc:632
          #12 0x55b5687416c8 in hash_free_sp_head /data/src/bb-10.2-compatibility/sql/sp_cache.cc:287
          #13 0x55b569f7b666 in my_hash_delete /data/src/bb-10.2-compatibility/mysys/hash.c:626
          #14 0x55b568741ac0 in sp_cache::remove(sp_head*) (/data/bld/bb-10.2-compatibility-asan/bin/mysqld+0xbd9ac0)
          #15 0x55b568741543 in sp_cache_flush_obsolete(sp_cache**, sp_head**) /data/src/bb-10.2-compatibility/sql/sp_cache.cc:236
          #16 0x55b56932a004 in Sp_handler::sp_cache_routine(THD*, Database_qualified_name const*, bool, sp_head**) const /data/src/bb-10.2-compatibility/sql/sp.cc:2715
          #17 0x55b56932a556 in Sp_handler::sp_cache_package_routine(THD*, st_mysql_const_lex_string const&, Database_qualified_name const*, bool, sp_head**) const /data/src/bb-10.2-compatibility/sql/sp.cc:2766
          #18 0x55b56932aa41 in Sp_handler_package_procedure::sp_cache_routine(THD*, Database_qualified_name const*, bool, sp_head**) const /data/src/bb-10.2-compatibility/sql/sp.cc:2791
          #19 0x55b569329c98 in Sroutine_hash_entry::sp_cache_routine(THD*, bool, sp_head**) const /data/src/bb-10.2-compatibility/sql/sp.cc:2673
          #20 0x55b5687eb0d1 in open_and_process_routine /data/src/bb-10.2-compatibility/sql/sql_base.cc:3202
          #21 0x55b5687eeb5f in open_tables(THD*, DDL_options_st const&, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) /data/src/bb-10.2-compatibility/sql/sql_base.cc:4063
          #22 0x55b5687f25a0 in open_and_lock_tables(THD*, DDL_options_st const&, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) /data/src/bb-10.2-compatibility/sql/sql_base.cc:4745
          #23 0x55b56876b23e in open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) /data/src/bb-10.2-compatibility/sql/sql_base.h:496
          #24 0x55b568913475 in Sql_cmd_call::execute(THD*) /data/src/bb-10.2-compatibility/sql/sql_parse.cc:3124
          #25 0x55b568926d21 in mysql_execute_command(THD*) /data/src/bb-10.2-compatibility/sql/sql_parse.cc:6254
          #26 0x55b568756c9d in sp_instr_stmt::exec_core(THD*, unsigned int*) /data/src/bb-10.2-compatibility/sql/sp_head.cc:3591
          #27 0x55b56875574a in sp_lex_keeper::reset_lex_and_exec_core(THD*, unsigned int*, bool, sp_instr*) /data/src/bb-10.2-compatibility/sql/sp_head.cc:3336
          #28 0x55b568756567 in sp_instr_stmt::execute(THD*, unsigned int*) /data/src/bb-10.2-compatibility/sql/sp_head.cc:3507
          #29 0x55b56874a00f in sp_head::execute(THD*, bool) /data/src/bb-10.2-compatibility/sql/sp_head.cc:1390
       
      previously allocated by thread T28 here:
          #0 0x7f4b47db773f in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x5473f)
          #1 0x55b56a004010 in sf_malloc /data/src/bb-10.2-compatibility/mysys/safemalloc.c:118
          #2 0x55b569fd3000 in my_malloc /data/src/bb-10.2-compatibility/mysys/my_malloc.c:101
          #3 0x55b569fb406e in alloc_root /data/src/bb-10.2-compatibility/mysys/my_alloc.c:243
          #4 0x55b5686d26c9 in Sql_alloc::operator new(unsigned long, st_mem_root*) /data/src/bb-10.2-compatibility/sql/sql_list.h:46
          #5 0x55b56874f91d in sp_head::reset_lex(THD*) /data/src/bb-10.2-compatibility/sql/sp_head.cc:2425
          #6 0x55b568e77c77 in ORAparse(THD*) /data/src/bb-10.2-compatibility/sql/sql_yacc_ora.yy:3684
          #7 0x55b56893d7a4 in parse_sql(THD*, Parser_state*, Object_creation_ctx*, bool) /data/src/bb-10.2-compatibility/sql/sql_parse.cc:9997
          #8 0x55b56931d359 in sp_compile /data/src/bb-10.2-compatibility/sql/sp.cc:833
          #9 0x55b56931dc18 in Sp_handler::db_load_routine(THD*, Database_qualified_name const*, sp_head**, unsigned long long, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_sp_chistics const&, AUTHID const&, long long, long long, sp_package*, Stored_program_creation_ctx*) const /data/src/bb-10.2-compatibility/sql/sp.cc:958
          #10 0x55b56931cb28 in Sp_handler::db_find_routine(THD*, Database_qualified_name const*, sp_head**) const /data/src/bb-10.2-compatibility/sql/sp.cc:728
          #11 0x55b56931cd66 in Sp_handler::db_find_and_cache_routine(THD*, Database_qualified_name const*, sp_head**) const /data/src/bb-10.2-compatibility/sql/sp.cc:747
          #12 0x55b56932a072 in Sp_handler::sp_cache_routine(THD*, Database_qualified_name const*, bool, sp_head**) const /data/src/bb-10.2-compatibility/sql/sp.cc:2720
          #13 0x55b56932a556 in Sp_handler::sp_cache_package_routine(THD*, st_mysql_const_lex_string const&, Database_qualified_name const*, bool, sp_head**) const /data/src/bb-10.2-compatibility/sql/sp.cc:2766
          #14 0x55b56932aa41 in Sp_handler_package_procedure::sp_cache_routine(THD*, Database_qualified_name const*, bool, sp_head**) const /data/src/bb-10.2-compatibility/sql/sp.cc:2791
          #15 0x55b569329c98 in Sroutine_hash_entry::sp_cache_routine(THD*, bool, sp_head**) const /data/src/bb-10.2-compatibility/sql/sp.cc:2673
          #16 0x55b5687eb0d1 in open_and_process_routine /data/src/bb-10.2-compatibility/sql/sql_base.cc:3202
          #17 0x55b5687eeb5f in open_tables(THD*, DDL_options_st const&, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) /data/src/bb-10.2-compatibility/sql/sql_base.cc:4063
          #18 0x55b5687f25a0 in open_and_lock_tables(THD*, DDL_options_st const&, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) /data/src/bb-10.2-compatibility/sql/sql_base.cc:4745
          #19 0x55b56876b23e in open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int) /data/src/bb-10.2-compatibility/sql/sql_base.h:496
          #20 0x55b568913475 in Sql_cmd_call::execute(THD*) /data/src/bb-10.2-compatibility/sql/sql_parse.cc:3124
          #21 0x55b568926d21 in mysql_execute_command(THD*) /data/src/bb-10.2-compatibility/sql/sql_parse.cc:6254
          #22 0x55b56893123c in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /data/src/bb-10.2-compatibility/sql/sql_parse.cc:7974
          #23 0x55b56890c217 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /data/src/bb-10.2-compatibility/sql/sql_parse.cc:1835
          #24 0x55b568909258 in do_command(THD*) /data/src/bb-10.2-compatibility/sql/sql_parse.cc:1383
          #25 0x55b568c49595 in do_handle_one_connection(CONNECT*) /data/src/bb-10.2-compatibility/sql/sql_connect.cc:1335
          #26 0x55b568c48faa in handle_one_connection /data/src/bb-10.2-compatibility/sql/sql_connect.cc:1241
          #27 0x55b5696c86df in pfs_spawn_thread /data/src/bb-10.2-compatibility/storage/perfschema/pfs.cc:1862
          #28 0x7f4b47b4d493 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x7493)
       
      Thread T28 created by T0 here:
          #0 0x7f4b47d86bba in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x23bba)
          #1 0x55b5696c8ca7 in spawn_thread_v1 /data/src/bb-10.2-compatibility/storage/perfschema/pfs.cc:1912
          #2 0x55b5686b173f in inline_mysql_thread_create /data/src/bb-10.2-compatibility/include/mysql/psi/mysql_thread.h:1239
          #3 0x55b5686c6644 in create_thread_to_handle_connection(CONNECT*) /data/src/bb-10.2-compatibility/sql/mysqld.cc:6447
          #4 0x55b5686c6d49 in create_new_thread /data/src/bb-10.2-compatibility/sql/mysqld.cc:6517
          #5 0x55b5686c7d5a in handle_connections_sockets() /data/src/bb-10.2-compatibility/sql/mysqld.cc:6792
          #6 0x55b5686c5b91 in mysqld_main(int, char**) /data/src/bb-10.2-compatibility/sql/mysqld.cc:6066
          #7 0x55b5686afc6f in main /data/src/bb-10.2-compatibility/sql/main.cc:25
          #8 0x7f4b45e6b2b0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202b0)
       
      SUMMARY: AddressSanitizer: heap-use-after-free /data/src/bb-10.2-compatibility/sql/sql_lex.h:1419 Query_tables_list::set_query_tables_list(Query_tables_list*)
      Shadow bytes around the buggy address:
        0x0c4a8002aee0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
        0x0c4a8002aef0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
        0x0c4a8002af00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
        0x0c4a8002af10: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
        0x0c4a8002af20: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
      =>0x0c4a8002af30: fd fd[fd]fd fd fd fd fd fd fd fd fd fd fd fd fd
        0x0c4a8002af40: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
        0x0c4a8002af50: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
        0x0c4a8002af60: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
        0x0c4a8002af70: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
        0x0c4a8002af80: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
      Shadow byte legend (one shadow byte represents 8 application bytes):
        Addressable:           00
        Partially addressable: 01 02 03 04 05 06 07 
        Heap left redzone:       fa
        Heap right redzone:      fb
        Freed heap region:       fd
        Stack left redzone:      f1
        Stack mid redzone:       f2
        Stack right redzone:     f3
        Stack partial redzone:   f4
        Stack after return:      f5
        Stack use after scope:   f8
        Global redzone:          f9
        Global init order:       f6
        Poisoned by user:        f7
        Contiguous container OOB:fc
        ASan internal:           fe
      ==3493==ABORTING
      

      --source include/have_innodb.inc
       
      SET sql_mode= ORACLE;
       
      --delimiter $$
      CREATE PACKAGE pkg1 AS
        PROCEDURE pr1;
      END $$
       
      CREATE PACKAGE BODY pkg1 AS
        PROCEDURE pr1() IS BEGIN END pr1;
      END $$
       
      CREATE PACKAGE pkg2 AS
        PROCEDURE pr2;
        PROCEDURE pr3;
        FUNCTION func RETURN VARCHAR(30);
      END $$
       
      CREATE PACKAGE BODY pkg2 AS
        PROCEDURE pr2 IS
        BEGIN
          pkg1.pr1;
          pr3;   
        END pr2;
       
        PROCEDURE pr3 IS BEGIN END pr3;
        FUNCTION func() RETURN VARCHAR(30) IS BEGIN RETURN NULL; END func;
      END $$
       
      --delimiter ;
       
      CREATE TABLE t1 (a INT) ENGINE=InnoDB;
      INSERT INTO t1 VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10),(11),(12);
       
      --connect (con2,localhost,root,,test)
      SET sql_mode= ORACLE;
       
      --send
      	CALL pkg2.pr2();
       
      --connection default
      CREATE OR REPLACE VIEW v AS SELECT pkg2.func() FROM t1;
      SELECT pkg2.func() FROM t1;
       
      # Cleanup
      --connection con2
      --reap
      --disconnect con2
      --connection default
      DROP PACKAGE pkg1;
      DROP PACKAGE pkg2;
      DROP VIEW v;
      DROP TABLE t1;
      

      Note: The test case fails for me pretty much all the time, but it is non-deterministic, run with --repeat if it doesn't fail right away; increasing the number of rows in the table might also help.

      On a non-ASAN debug build the same test case causes a crash:

      bb-10.2-compatibility ec1d5905c54f

      #3  <signal handler called>
      #4  0x000055dfd8bec4ce in MDL_key::mdl_namespace (this=0x8f8f8f8f8f8f8faf) at /data/src/bb-10.2-compatibility/sql/mdl.h:320
      #5  0x000055dfd8bdf395 in open_and_process_routine (thd=0x7f81f8000b00, prelocking_ctx=0x7f81f803e090, rt=0x8f8f8f8f8f8f8f8f, prelocking_strategy=0x7f8244510cd0, has_prelocking_list=false, ot_ctx=0x7f8244510bc0, need_prelocking=0x7f8244510b5f, routine_modifies_data=0x7f8244510b60) at /data/src/bb-10.2-compatibility/sql/sql_base.cc:3121
      #6  0x000055dfd8be1037 in open_tables (thd=0x7f81f8000b00, options=..., start=0x7f8244510c38, counter=0x7f8244510c54, flags=0, prelocking_strategy=0x7f8244510cd0) at /data/src/bb-10.2-compatibility/sql/sql_base.cc:4063
      #7  0x000055dfd8be268a in open_and_lock_tables (thd=0x7f81f8000b00, options=..., tables=0x0, derived=true, flags=0, prelocking_strategy=0x7f8244510cd0) at /data/src/bb-10.2-compatibility/sql/sql_base.cc:4745
      #8  0x000055dfd8ba5d2d in open_and_lock_tables (thd=0x7f81f8000b00, tables=0x0, derived=true, flags=0) at /data/src/bb-10.2-compatibility/sql/sql_base.h:496
      #9  0x000055dfd8c5ace7 in Sql_cmd_call::execute (this=0x7f81f8031398, thd=0x7f81f8000b00) at /data/src/bb-10.2-compatibility/sql/sql_parse.cc:3124
      #10 0x000055dfd8c64e3d in mysql_execute_command (thd=0x7f81f8000b00) at /data/src/bb-10.2-compatibility/sql/sql_parse.cc:6254
      #11 0x000055dfd8b9cb26 in sp_instr_stmt::exec_core (this=0x7f81f8031750, thd=0x7f81f8000b00, nextp=0x7f82445121e4) at /data/src/bb-10.2-compatibility/sql/sp_head.cc:3591
      #12 0x000055dfd8b9c111 in sp_lex_keeper::reset_lex_and_exec_core (this=0x7f81f8031798, thd=0x7f81f8000b00, nextp=0x7f82445121e4, open_tables=false, instr=0x7f81f8031750) at /data/src/bb-10.2-compatibility/sql/sp_head.cc:3336
      #13 0x000055dfd8b9c7d1 in sp_instr_stmt::execute (this=0x7f81f8031750, thd=0x7f81f8000b00, nextp=0x7f82445121e4) at /data/src/bb-10.2-compatibility/sql/sp_head.cc:3507
      #14 0x000055dfd8b9685f in sp_head::execute (this=0x7f81f802fae8, thd=0x7f81f8000b00, merge_da_on_success=true) at /data/src/bb-10.2-compatibility/sql/sp_head.cc:1390
      #15 0x000055dfd8b99090 in sp_head::execute_procedure (this=0x7f81f802fae8, thd=0x7f81f8000b00, args=0x7f81f8005530) at /data/src/bb-10.2-compatibility/sql/sp_head.cc:2313
      #16 0x000055dfd8c5a414 in do_execute_sp (thd=0x7f81f8000b00, sp=0x7f81f802fae8) at /data/src/bb-10.2-compatibility/sql/sql_parse.cc:2929
      #17 0x000055dfd8c5aed8 in Sql_cmd_call::execute (this=0x7f81f80117e0, thd=0x7f81f8000b00) at /data/src/bb-10.2-compatibility/sql/sql_parse.cc:3169
      #18 0x000055dfd8c64e3d in mysql_execute_command (thd=0x7f81f8000b00) at /data/src/bb-10.2-compatibility/sql/sql_parse.cc:6254
      #19 0x000055dfd8c6991c in mysql_parse (thd=0x7f81f8000b00, rawbuf=0x7f81f8011438 "CALL pkg2.pr2()", length=15, parser_state=0x7f8244514200, is_com_multi=false, is_next_command=false) at /data/src/bb-10.2-compatibility/sql/sql_parse.cc:7974
      #20 0x000055dfd8c57609 in dispatch_command (command=COM_QUERY, thd=0x7f81f8000b00, packet=0x7f81f8008c51 "CALL pkg2.pr2()", packet_length=15, is_com_multi=false, is_next_command=false) at /data/src/bb-10.2-compatibility/sql/sql_parse.cc:1835
      #21 0x000055dfd8c55f4d in do_command (thd=0x7f81f8000b00) at /data/src/bb-10.2-compatibility/sql/sql_parse.cc:1383
      #22 0x000055dfd8da6b94 in do_handle_one_connection (connect=0x55dfdb7a2ac0) at /data/src/bb-10.2-compatibility/sql/sql_connect.cc:1335
      #23 0x000055dfd8da6921 in handle_one_connection (arg=0x55dfdb7a2ac0) at /data/src/bb-10.2-compatibility/sql/sql_connect.cc:1241
      #24 0x000055dfd91fac88 in pfs_spawn_thread (arg=0x55dfdb7c1e30) at /data/src/bb-10.2-compatibility/storage/perfschema/pfs.cc:1862
      #25 0x00007f825a75f494 in start_thread (arg=0x7f8244515700) at pthread_create.c:333
      #26 0x00007f8258b4593f in clone () from /lib/x86_64-linux-gnu/libc.so.6
      

      Attachments

        Issue Links

          Activity

            People

              bar Alexander Barkov
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.