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

XA PREPARE "not supported by the engine" from storage engine mhnsw, memory leak

    XMLWordPrintable

Details

    Description

      --source include/have_innodb.inc
       
      --connect (con1,localhost,root,,)
      CREATE TABLE t (a INT, v BLOB NOT NULL, VECTOR(v)) ENGINE=InnoDB;
      XA START 'x';
      INSERT INTO t VALUES (1,x'00000000');
      XA END 'x';
      XA PREPARE 'x';
      --disconnect con1
       
      # Cleanup
      --connection default
      XA ROLLBACK 'x';
      DROP TABLE t;
      

      bb-11.6-MDEV-32887-vector 2f8c6405b5c13c3d867378ee834a3ca86bd1fff4

      XA PREPARE 'x';
      Warnings:
      Warning	1030	Got error 131 "Command not supported by the engine" from storage engine mhnsw
      disconnect con1;
      connection default;
      XA ROLLBACK 'x';
      DROP TABLE t;
      bug.vec6-54-1                            [ pass ]     37
      ***Warnings generated in error logs during shutdown after running tests: bug.vec6-54-1
       
      Warning: Internal memory accounting error of 1053184 bytes
      ==3176469==ERROR: LeakSanitizer: detected memory leaks
      SUMMARY: AddressSanitizer: 1053184 byte(s) leaked in 5 allocation(s).
       
      Warning: Internal memory accounting error of 1053184 bytes
       
      =================================================================
      ==3176469==ERROR: LeakSanitizer: detected memory leaks
       
      Direct leak of 296 byte(s) in 1 object(s) allocated from:
          #0 0x7f55044b89cf in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
          #1 0x55ee6c26d517 in my_malloc /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/mysys/my_malloc.c:93
          #2 0x55ee6c23ea38 in my_multi_malloc /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/mysys/mulalloc.c:59
          #3 0x55ee6c28745a in safe_mutex_lazy_init_deadlock_detection /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/mysys/thr_mutex.c:155
          #4 0x55ee6c288139 in safe_mutex_lock /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/mysys/thr_mutex.c:312
          #5 0x55ee6b138384 in inline_mysql_mutex_lock /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/include/mysql/psi/mysql_thread.h:750
          #6 0x55ee6b149938 in MHNSW_Share::alloc_node() /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/vector_mhnsw.cc:448
          #7 0x55ee6b140d7a in mhnsw_insert(TABLE*, st_key*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/vector_mhnsw.cc:1165
          #8 0x55ee6a1dbca0 in TABLE::hlindexes_on_insert() /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_base.cc:9919
          #9 0x55ee6ad318f6 in handler::ha_write_row(unsigned char const*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/handler.cc:8163
          #10 0x55ee6a2ad63d in write_record(THD*, TABLE*, st_copy_info*, select_result*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_insert.cc:2322
          #11 0x55ee6a2a3d6d in mysql_insert(THD*, TABLE_LIST*, List<Item>&, List<List<Item> >&, List<Item>&, List<Item>&, enum_duplicates, bool, select_result*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_insert.cc:1179
          #12 0x55ee6a374037 in mysql_execute_command(THD*, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:4458
          #13 0x55ee6a38bbf9 in mysql_parse(THD*, char*, unsigned int, Parser_state*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:7873
          #14 0x55ee6a362c1b in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:1892
          #15 0x55ee6a35f92f in do_command(THD*, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:1405
          #16 0x55ee6a84f188 in do_handle_one_connection(CONNECT*, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_connect.cc:1448
          #17 0x55ee6a84eb49 in handle_one_connection /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_connect.cc:1350
          #18 0x55ee6b4f24ff in pfs_spawn_thread /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/storage/perfschema/pfs.cc:2198
          #19 0x7f5503ca8043 in start_thread nptl/pthread_create.c:442
       
      Direct leak of 152 byte(s) in 1 object(s) allocated from:
          #0 0x7f55044b89cf in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
          #1 0x55ee6c26d517 in my_malloc /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/mysys/my_malloc.c:93
          #2 0x55ee6c1ee0cb in init_dynamic_array2 /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/mysys/array.c:73
          #3 0x55ee6c1fe1c1 in my_hash_init2 /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/mysys/hash.c:99
          #4 0x55ee6b14b3c1 in Hash_set<FVectorNode>::Hash_set(unsigned int, unsigned char* (*)(FVectorNode const*, unsigned long*, char), charset_info_st const*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_hset.h:37
          #5 0x55ee6b148a64 in MHNSW_Share::MHNSW_Share(TABLE*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/vector_mhnsw.cc:352
          #6 0x55ee6b149b98 in MHNSW_Trx::MHNSW_Trx(TABLE*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/vector_mhnsw.cc:498
          #7 0x55ee6b139546 in MHNSW_Trx::get_from_thd(TABLE*, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/vector_mhnsw.cc:624
          #8 0x55ee6b1398ed in MHNSW_Share::acquire(MHNSW_Share**, TABLE*, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/vector_mhnsw.cc:657
          #9 0x55ee6b140baf in mhnsw_insert(TABLE*, st_key*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/vector_mhnsw.cc:1156
          #10 0x55ee6a1dbca0 in TABLE::hlindexes_on_insert() /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_base.cc:9919
          #11 0x55ee6ad318f6 in handler::ha_write_row(unsigned char const*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/handler.cc:8163
          #12 0x55ee6a2ad63d in write_record(THD*, TABLE*, st_copy_info*, select_result*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_insert.cc:2322
          #13 0x55ee6a2a3d6d in mysql_insert(THD*, TABLE_LIST*, List<Item>&, List<List<Item> >&, List<Item>&, List<Item>&, enum_duplicates, bool, select_result*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_insert.cc:1179
          #14 0x55ee6a374037 in mysql_execute_command(THD*, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:4458
          #15 0x55ee6a38bbf9 in mysql_parse(THD*, char*, unsigned int, Parser_state*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:7873
          #16 0x55ee6a362c1b in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:1892
          #17 0x55ee6a35f92f in do_command(THD*, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:1405
          #18 0x55ee6a84f188 in do_handle_one_connection(CONNECT*, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_connect.cc:1448
          #19 0x55ee6a84eb49 in handle_one_connection /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_connect.cc:1350
          #20 0x55ee6b4f24ff in pfs_spawn_thread /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/storage/perfschema/pfs.cc:2198
          #21 0x7f5503ca8043 in start_thread nptl/pthread_create.c:442
       
      Indirect leak of 1048592 byte(s) in 1 object(s) allocated from:
          #0 0x7f55044b89cf in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
          #1 0x55ee6c26d517 in my_malloc /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/mysys/my_malloc.c:93
          #2 0x55ee6c23fae3 in root_alloc /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/mysys/my_alloc.c:66
          #3 0x55ee6c2414d3 in alloc_root /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/mysys/my_alloc.c:333
          #4 0x55ee6b1489dd in MHNSW_Share::alloc_node_internal() /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/vector_mhnsw.cc:327
          #5 0x55ee6b149944 in MHNSW_Share::alloc_node() /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/vector_mhnsw.cc:449
          #6 0x55ee6b140d7a in mhnsw_insert(TABLE*, st_key*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/vector_mhnsw.cc:1165
          #7 0x55ee6a1dbca0 in TABLE::hlindexes_on_insert() /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_base.cc:9919
          #8 0x55ee6ad318f6 in handler::ha_write_row(unsigned char const*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/handler.cc:8163
          #9 0x55ee6a2ad63d in write_record(THD*, TABLE*, st_copy_info*, select_result*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_insert.cc:2322
          #10 0x55ee6a2a3d6d in mysql_insert(THD*, TABLE_LIST*, List<Item>&, List<List<Item> >&, List<Item>&, List<Item>&, enum_duplicates, bool, select_result*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_insert.cc:1179
          #11 0x55ee6a374037 in mysql_execute_command(THD*, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:4458
          #12 0x55ee6a38bbf9 in mysql_parse(THD*, char*, unsigned int, Parser_state*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:7873
          #13 0x55ee6a362c1b in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:1892
          #14 0x55ee6a35f92f in do_command(THD*, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:1405
          #15 0x55ee6a84f188 in do_handle_one_connection(CONNECT*, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_connect.cc:1448
          #16 0x55ee6a84eb49 in handle_one_connection /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_connect.cc:1350
          #17 0x55ee6b4f24ff in pfs_spawn_thread /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/storage/perfschema/pfs.cc:2198
          #18 0x7f5503ca8043 in start_thread nptl/pthread_create.c:442
       
      Indirect leak of 2072 byte(s) in 1 object(s) allocated from:
          #0 0x7f55044b89cf in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
          #1 0x55ee6c26d517 in my_malloc /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/mysys/my_malloc.c:93
          #2 0x55ee6c1ee0cb in init_dynamic_array2 /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/mysys/array.c:73
          #3 0x55ee6c1fe1c1 in my_hash_init2 /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/mysys/hash.c:99
          #4 0x55ee6c287621 in safe_mutex_lazy_init_deadlock_detection /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/mysys/thr_mutex.c:171
          #5 0x55ee6c288139 in safe_mutex_lock /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/mysys/thr_mutex.c:312
          #6 0x55ee6b138384 in inline_mysql_mutex_lock /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/include/mysql/psi/mysql_thread.h:750
          #7 0x55ee6b149938 in MHNSW_Share::alloc_node() /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/vector_mhnsw.cc:448
          #8 0x55ee6b140d7a in mhnsw_insert(TABLE*, st_key*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/vector_mhnsw.cc:1165
          #9 0x55ee6a1dbca0 in TABLE::hlindexes_on_insert() /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_base.cc:9919
          #10 0x55ee6ad318f6 in handler::ha_write_row(unsigned char const*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/handler.cc:8163
          #11 0x55ee6a2ad63d in write_record(THD*, TABLE*, st_copy_info*, select_result*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_insert.cc:2322
          #12 0x55ee6a2a3d6d in mysql_insert(THD*, TABLE_LIST*, List<Item>&, List<List<Item> >&, List<Item>&, List<Item>&, enum_duplicates, bool, select_result*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_insert.cc:1179
          #13 0x55ee6a374037 in mysql_execute_command(THD*, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:4458
          #14 0x55ee6a38bbf9 in mysql_parse(THD*, char*, unsigned int, Parser_state*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:7873
          #15 0x55ee6a362c1b in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:1892
          #16 0x55ee6a35f92f in do_command(THD*, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:1405
          #17 0x55ee6a84f188 in do_handle_one_connection(CONNECT*, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_connect.cc:1448
          #18 0x55ee6a84eb49 in handle_one_connection /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_connect.cc:1350
          #19 0x55ee6b4f24ff in pfs_spawn_thread /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/storage/perfschema/pfs.cc:2198
          #20 0x7f5503ca8043 in start_thread nptl/pthread_create.c:442
       
      Indirect leak of 2072 byte(s) in 1 object(s) allocated from:
          #0 0x7f55044b89cf in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
          #1 0x55ee6c26d517 in my_malloc /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/mysys/my_malloc.c:93
          #2 0x55ee6c1ee0cb in init_dynamic_array2 /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/mysys/array.c:73
          #3 0x55ee6c1fe1c1 in my_hash_init2 /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/mysys/hash.c:99
          #4 0x55ee6c2875b5 in safe_mutex_lazy_init_deadlock_detection /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/mysys/thr_mutex.c:168
          #5 0x55ee6c288139 in safe_mutex_lock /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/mysys/thr_mutex.c:312
          #6 0x55ee6b138384 in inline_mysql_mutex_lock /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/include/mysql/psi/mysql_thread.h:750
          #7 0x55ee6b149938 in MHNSW_Share::alloc_node() /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/vector_mhnsw.cc:448
          #8 0x55ee6b140d7a in mhnsw_insert(TABLE*, st_key*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/vector_mhnsw.cc:1165
          #9 0x55ee6a1dbca0 in TABLE::hlindexes_on_insert() /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_base.cc:9919
          #10 0x55ee6ad318f6 in handler::ha_write_row(unsigned char const*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/handler.cc:8163
          #11 0x55ee6a2ad63d in write_record(THD*, TABLE*, st_copy_info*, select_result*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_insert.cc:2322
          #12 0x55ee6a2a3d6d in mysql_insert(THD*, TABLE_LIST*, List<Item>&, List<List<Item> >&, List<Item>&, List<Item>&, enum_duplicates, bool, select_result*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_insert.cc:1179
          #13 0x55ee6a374037 in mysql_execute_command(THD*, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:4458
          #14 0x55ee6a38bbf9 in mysql_parse(THD*, char*, unsigned int, Parser_state*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:7873
          #15 0x55ee6a362c1b in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:1892
          #16 0x55ee6a35f92f in do_command(THD*, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_parse.cc:1405
          #17 0x55ee6a84f188 in do_handle_one_connection(CONNECT*, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_connect.cc:1448
          #18 0x55ee6a84eb49 in handle_one_connection /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/sql/sql_connect.cc:1350
          #19 0x55ee6b4f24ff in pfs_spawn_thread /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-asan/storage/perfschema/pfs.cc:2198
          #20 0x7f5503ca8043 in start_thread nptl/pthread_create.c:442
       
      SUMMARY: AddressSanitizer: 1053184 byte(s) leaked in 5 allocation(s).
      241002 18:05:32 [ERROR] mysqld got signal 6 ;
      Sorry, we probably made a mistake, and this is a bug.
       
      Your assistance in bug reporting will enable us to fix this for the next release.
      To report this bug, see https://mariadb.com/kb/en/reporting-bugs
       
      We will try our best to scrape up some info that will hopefully help
      diagnose the problem, but since we have already crashed, 
      something is definitely wrong and this may fail.
       
      Server version: 11.7.0-MariaDB-debug-log source revision: 2f8c6405b5c13c3d867378ee834a3ca86bd1fff4
      read_buffer_size=131072
      max_used_connections=2
      thread_count=0
      Thread pointer: 0x0
      Attempting backtrace. You can use the following information to find out
      where mysqld died. If you see no messages after this, something went
      terribly wrong...
      stack_bottom = 0x0 thread_stack 0xb00000
      sanitizer_common/sanitizer_common_interceptors.inc:4277(__interceptor_backtrace.part.0)[0x7f5504451f31]
      mysys/stacktrace.c:215(my_print_stacktrace)[0x55ee6c27e3e2]
      sql/signal_handler.cc:239(handle_fatal_signal)[0x55ee6ace9d28]
      libc_sigaction.c:0(__restore_rt)[0x7f5503c5afd0]
      nptl/pthread_kill.c:44(__pthread_kill_implementation)[0x7f5503ca9d3c]
      posix/raise.c:27(__GI_raise)[0x7f5503c5af32]
      stdlib/abort.c:81(__GI_abort)[0x7f5503c45472]
      sanitizer_common/sanitizer_posix_libcdep.cpp:137(__sanitizer::Abort())[0x7f55044d650f]
      sanitizer_common/sanitizer_termination.cpp:59(__sanitizer::Die())[0x7f55044e2ba1]
      lsan/lsan_common_linux.cpp:120(__lsan::HandleLeaks())[0x7f55044ea87c]
      lsan/lsan_common.cpp:732(__lsan::DoLeakCheck())[0x7f55044e8dc5]
      stdlib/cxa_finalize.c:84(__cxa_finalize)[0x7f5503c5cf77]
      crtstuff.c:0(__do_global_dtors_aux)[0x7f5504424bc7]
      The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mariadbd/ contains
      information that should help you find out what is causing the crash.
      Writing a core file...
      Working directory at /dev/shm/var_auto_7Fsf/mysqld.1/data
      Resource Limits:
      Limit                     Soft Limit           Hard Limit           Units     
      Max cpu time              unlimited            unlimited            seconds   
      Max file size             unlimited            unlimited            bytes     
      Max data size             unlimited            unlimited            bytes     
      Max stack size            8388608              unlimited            bytes     
      Max core file size        unlimited            unlimited            bytes     
      Max resident set          unlimited            unlimited            bytes     
      Max processes             514730               514730               processes 
      Max open files            65536                65536                files     
      Max locked memory         16876769280          16876769280          bytes     
      Max address space         unlimited            unlimited            bytes     
      Max file locks            unlimited            unlimited            locks     
      Max pending signals       514730               514730               signals   
      Max msgqueue size         819200               819200               bytes     
      Max nice priority         0                    0                    
      Max realtime priority     0                    0                    
      Max realtime timeout      unlimited            unlimited            us        
      Core pattern: core
      

      I don't know whether not supporting XA is expected (couldn't find any XA in vector test cases), but I guess the memory leak is not expected anyway.

      The extra connection in the test case is only needed for the leak. Alternatively, the server can be restarted before ROLLBACK.

      Attachments

        Issue Links

          Activity

            People

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