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

Server crash or ASAN errors in mhnsw_read_next upon using vectors within transaction

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Duplicate
    • N/A
    • N/A
    • Vector search
    • None

    Description

      The test case is essentially this (it is just a template):

      create table t1 (a int primary key, v vector(96), vector(v)) engine=InnoDB;
      # insert 1000 rows into t1
      create table t2 (a int primary key, v vector(96), vector(v)) engine=InnoDB;
      # insert 30000 rows into t1
       
      START TRANSACTION;
      INSERT INTO t1 (v) VALUES (<one value>);
      INSERT INTO t2 (v) SELECT v FROM t2 tb1 ORDER BY VEC_DISTANCE_EUCLIDEAN(tb1.v, VEC_FROMTEXT('<vector in text form>')) LIMIT 10;
      

      The second insert is the one that crashes.

      On an ASAN build, it fails every time for me. On a non-ASAN build, It only fails half the time and with various stack traces.

      The data is from a benchmark. I couldn't replace it with random data in a limited amount of attempts, nor to reduce it significantly, so I'll provide the remaining part as is. Quite possibly a very small test can be created instead.

      042f9f92d08fce4cb1b0642eac73c7d16408608e ASAN

      ==1263937==ERROR: AddressSanitizer: heap-use-after-free on address 0x7f3db4e86570 at pc 0x565169f4163c bp 0x7f3db5ccb530 sp 0x7f3db5ccb528
      READ of size 8 at 0x7f3db4e86570 thread T10
          #0 0x565169f4163b in FVectorNode::gref_len() const /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/vector_mhnsw.cc:798
          #1 0x565169f42639 in FVectorNode::tref() const /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/vector_mhnsw.cc:800
          #2 0x565169f4e503 in mhnsw_read_next(TABLE*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/vector_mhnsw.cc:1306
          #3 0x5651692d1d33 in join_hlindex_read_next /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_select.cc:25190
          #4 0x565169297ced in READ_RECORD::read_record() /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/records.h:77
          #5 0x565169297ced in sub_select(JOIN*, st_join_table*, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_select.cc:24061
          #6 0x56516934db1b in do_select /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_select.cc:23555
          #7 0x56516934db1b in JOIN::exec_inner() /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_select.cc:5035
          #8 0x56516934f2f2 in JOIN::exec() /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_select.cc:4818
          #9 0x56516934747b in mysql_select(THD*, TABLE_LIST*, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_select.cc:5351
          #10 0x565169348f56 in handle_select(THD*, LEX*, select_result*, unsigned long long) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_select.cc:633
          #11 0x565169188dca in mysql_execute_command(THD*, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_parse.cc:4650
          #12 0x56516918c2e1 in mysql_parse(THD*, char*, unsigned int, Parser_state*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_parse.cc:7886
          #13 0x56516919468e in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_parse.cc:1892
          #14 0x56516919990e in do_command(THD*, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_parse.cc:1405
          #15 0x5651695d227e in do_handle_one_connection(CONNECT*, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_connect.cc:1448
          #16 0x5651695d2b8c in handle_one_connection /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_connect.cc:1350
          #17 0x56516a210057 in pfs_spawn_thread /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/storage/perfschema/pfs.cc:2198
          #18 0x7f3dc4ca8043 in start_thread nptl/pthread_create.c:442
          #19 0x7f3dc4d2861b in clone3 ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
       
      0x7f3db4e86570 is located 302448 bytes inside of 1048592-byte region [0x7f3db4e3c800,0x7f3db4f3c810)
      freed by thread T10 here:
          #0 0x7f3dc56b76a8 in __interceptor_free ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:52
          #1 0x56516aab4511 in root_free /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/mysys/my_alloc.c:77
          #2 0x56516aab4511 in free_root /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/mysys/my_alloc.c:502
          #3 0x565169f51ba7 in MHNSW_Trx::reset(TABLE_SHARE*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/vector_mhnsw.cc:503
          #4 0x565169f51ba7 in MHNSW_Trx::release(bool, TABLE_SHARE*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/vector_mhnsw.cc:510
          #5 0x565169f51ba7 in MHNSW_Trx::release(bool, TABLE_SHARE*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/vector_mhnsw.cc:507
          #6 0x565169f4ecbb in MHNSW_Share::release(TABLE*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/vector_mhnsw.cc:412
          #7 0x565169f4ecbb in operator() /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/vector_mhnsw.cc:1314
          #8 0x565169f4ecbb in ~scope_exit /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/include/scope.h:50
          #9 0x565169f4ecbb in ~scope_exit /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/include/scope.h:47
          #10 0x565169f4ecbb in mhnsw_read_next(TABLE*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/vector_mhnsw.cc:1350
          #11 0x5651692d1d33 in join_hlindex_read_next /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_select.cc:25190
          #12 0x565169297ced in READ_RECORD::read_record() /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/records.h:77
          #13 0x565169297ced in sub_select(JOIN*, st_join_table*, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_select.cc:24061
          #14 0x56516934db1b in do_select /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_select.cc:23555
          #15 0x56516934db1b in JOIN::exec_inner() /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_select.cc:5035
          #16 0x56516934f2f2 in JOIN::exec() /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_select.cc:4818
          #17 0x56516934747b in mysql_select(THD*, TABLE_LIST*, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_select.cc:5351
          #18 0x565169348f56 in handle_select(THD*, LEX*, select_result*, unsigned long long) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_select.cc:633
          #19 0x565169188dca in mysql_execute_command(THD*, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_parse.cc:4650
          #20 0x56516918c2e1 in mysql_parse(THD*, char*, unsigned int, Parser_state*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_parse.cc:7886
          #21 0x56516919468e in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_parse.cc:1892
          #22 0x56516919990e in do_command(THD*, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_parse.cc:1405
          #23 0x5651695d227e in do_handle_one_connection(CONNECT*, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_connect.cc:1448
          #24 0x5651695d2b8c in handle_one_connection /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_connect.cc:1350
          #25 0x56516a210057 in pfs_spawn_thread /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/storage/perfschema/pfs.cc:2198
          #26 0x7f3dc4ca8043 in start_thread nptl/pthread_create.c:442
       
      previously allocated by thread T10 here:
          #0 0x7f3dc56b89cf in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
          #1 0x56516aac7593 in my_malloc /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/mysys/my_malloc.c:93
          #2 0x56516aab3bbc in alloc_root /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/mysys/my_alloc.c:333
          #3 0x565169f459dd in MHNSW_Share::alloc_node_internal() /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/vector_mhnsw.cc:328
          #4 0x565169f459dd in MHNSW_Share::get_node(void const*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/vector_mhnsw.cc:439
          #5 0x565169f459dd in MHNSW_Share::acquire(MHNSW_Share**, TABLE*, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/vector_mhnsw.cc:676
          #6 0x565169f4f983 in mhnsw_read_first(TABLE*, st_key*, Item*, unsigned long long) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/vector_mhnsw.cc:1245
          #7 0x5651692d1b5f in join_read_first /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_select.cc:25154
          #8 0x565169297c12 in sub_select(JOIN*, st_join_table*, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_select.cc:24041
          #9 0x56516934db1b in do_select /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_select.cc:23555
          #10 0x56516934db1b in JOIN::exec_inner() /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_select.cc:5035
          #11 0x56516934f2f2 in JOIN::exec() /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_select.cc:4818
          #12 0x56516934747b in mysql_select(THD*, TABLE_LIST*, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_select.cc:5351
          #13 0x565169348f56 in handle_select(THD*, LEX*, select_result*, unsigned long long) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_select.cc:633
          #14 0x565169188dca in mysql_execute_command(THD*, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_parse.cc:4650
          #15 0x56516918c2e1 in mysql_parse(THD*, char*, unsigned int, Parser_state*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_parse.cc:7886
          #16 0x56516919468e in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_parse.cc:1892
          #17 0x56516919990e in do_command(THD*, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_parse.cc:1405
          #18 0x5651695d227e in do_handle_one_connection(CONNECT*, bool) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_connect.cc:1448
          #19 0x5651695d2b8c in handle_one_connection /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/sql_connect.cc:1350
          #20 0x56516a210057 in pfs_spawn_thread /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/storage/perfschema/pfs.cc:2198
          #21 0x7f3dc4ca8043 in start_thread nptl/pthread_create.c:442
       
      Thread T10 created by T0 here:
          #0 0x7f3dc5649726 in __interceptor_pthread_create ../../../../src/libsanitizer/asan/asan_interceptors.cpp:207
          #1 0x56516a2102cd in my_thread_create /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/storage/perfschema/my_thread.h:38
          #2 0x56516a2102cd in pfs_spawn_thread_v1 /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/storage/perfschema/pfs.cc:2249
          #3 0x565168dfa353 in inline_mysql_thread_create /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/include/mysql/psi/mysql_thread.h:1139
          #4 0x565168dfa353 in create_thread_to_handle_connection(CONNECT*) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/mysqld.cc:6271
          #5 0x565168e06d55 in handle_accepted_socket(st_mysql_socket, st_mysql_socket) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/mysqld.cc:6395
          #6 0x565168e079a7 in handle_connections_sockets() /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/mysqld.cc:6508
          #7 0x565168e094ac in mysqld_main(int, char**) /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/mysqld.cc:6166
          #8 0x7f3dc4c461c9 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
       
      SUMMARY: AddressSanitizer: heap-use-after-free /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel-asan/sql/vector_mhnsw.cc:798 in FVectorNode::gref_len() const
      Shadow bytes around the buggy address:
        0x0fe8369c8c50: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
        0x0fe8369c8c60: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
        0x0fe8369c8c70: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
        0x0fe8369c8c80: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
        0x0fe8369c8c90: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
      =>0x0fe8369c8ca0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd[fd]fd
        0x0fe8369c8cb0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
        0x0fe8369c8cc0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
        0x0fe8369c8cd0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
        0x0fe8369c8ce0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
        0x0fe8369c8cf0: 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
        Freed heap region:       fd
        Stack left redzone:      f1
        Stack mid redzone:       f2
        Stack right redzone:     f3
        Stack after return:      f5
        Stack use after scope:   f8
        Global redzone:          f9
        Global init order:       f6
        Poisoned by user:        f7
        Container overflow:      fc
        Array cookie:            ac
        Intra object redzone:    bb
        ASan internal:           fe
        Left alloca redzone:     ca
        Right alloca redzone:    cb
      ==1263937==ABORTING
      

      042f9f92d08fce4cb1b0642eac73c7d16408608e non-ASAN, one of examples

      #2  <signal handler called>
      #3  0x000055bd15d6af68 in FVector::distance_to (vec_len=<error reading variable: Cannot access memory at address 0x2c8>, other=<optimized out>, this=0x8b57000000001db8) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel/sql/vector_mhnsw.cc:212
      #4  FVectorNode::distance_to (this=this@entry=0x7f4ba0f41d80, other=0x7f4ba0f15718) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel/sql/vector_mhnsw.cc:706
      #5  0x000055bd15d6bc0e in VisitedSet::create (node=0x7f4ba0f41d80, this=0x7f4bc95ef5b0) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel/sql/vector_mhnsw.cc:842
      #6  search_layer (ctx=ctx@entry=0x7f4ba0017188, graph=graph@entry=0x7f4ba0f17240, target=<optimized out>, threshold=<optimized out>, result_size=<optimized out>, layer=layer@entry=0, inout=inout@entry=0x7f4ba0f16e08, construction=<optimized out>) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel/sql/vector_mhnsw.cc:1074
      #7  0x000055bd15d6cf3b in mhnsw_read_next (table=0x7f4ba01a4588) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel/sql/vector_mhnsw.cc:1344
      #8  0x000055bd15913785 in TABLE::hlindex_read_next (this=<optimized out>) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel/sql/sql_base.cc:9996
      #9  0x000055bd159e4214 in join_hlindex_read_next (info=0x7f4ba0f14148) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel/sql/sql_select.cc:25190
      #10 0x000055bd159d3b53 in READ_RECORD::read_record (this=0x7f4ba0f14148) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel/sql/records.h:77
      #11 sub_select (join=0x7f4ba0015f10, join_tab=0x7f4ba0f14078, end_of_records=<optimized out>) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel/sql/sql_select.cc:24061
      #12 0x000055bd15a071c6 in do_select (procedure=<optimized out>, join=0x7f4ba0015f10) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel/sql/sql_select.cc:23555
      #13 JOIN::exec_inner (this=this@entry=0x7f4ba0015f10) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel/sql/sql_select.cc:5035
      #14 0x000055bd15a075b5 in JOIN::exec (this=this@entry=0x7f4ba0015f10) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel/sql/sql_select.cc:4818
      #15 0x000055bd15a055f8 in mysql_select (thd=thd@entry=0x7f4ba0000c68, tables=<optimized out>, fields=..., conds=<optimized out>, og_num=<optimized out>, order=<optimized out>, group=<optimized out>, having=<optimized out>, proc_param=<optimized out>, select_options=<optimized out>, result=<optimized out>, unit=<optimized out>, select_lex=<optimized out>) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel/sql/sql_select.cc:5351
      #16 0x000055bd15a05dc4 in handle_select (thd=thd@entry=0x7f4ba0000c68, lex=lex@entry=0x7f4ba0004ed0, result=result@entry=0x7f4ba0015e50, setup_tables_done_option=setup_tables_done_option@entry=35184372088832) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel/sql/sql_select.cc:633
      #17 0x000055bd15985b33 in mysql_execute_command (thd=thd@entry=0x7f4ba0000c68, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel/sql/sql_parse.cc:4650
      #18 0x000055bd15986666 in mysql_parse (thd=0x7f4ba0000c68, rawbuf=<optimized out>, length=<optimized out>, parser_state=<optimized out>) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel/sql/sql_parse.cc:7886
      #19 0x000055bd15988efd in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x7f4ba0000c68, packet=packet@entry=0x7f4ba02177a9 "INSERT INTO t2 (v) SELECT v FROM t2 tb1 ORDER BY VEC_DISTANCE_EUCLIDEAN(tb1.v, VEC_FROMTEXT('[-7.238,-7.885,-4.675,-5.394,-3.937,-6.039,-2.945,-5.806,-8.250,-9.479,-8.988,-2.370,-3.778,-4.617,-4.558,-"..., packet_length=packet_length@entry=778, blocking=blocking@entry=true) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel/sql/sql_parse.cc:1991
      #20 0x000055bd1598ae3f in do_command (thd=0x7f4ba0000c68, blocking=blocking@entry=true) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel/sql/sql_parse.cc:1405
      #21 0x000055bd15abd1e7 in do_handle_one_connection (connect=<optimized out>, connect@entry=0x55bd180ad538, put_in_cache=put_in_cache@entry=true) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel/sql/sql_connect.cc:1448
      #22 0x000055bd15abd56d in handle_one_connection (arg=arg@entry=0x55bd180ad538) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel/sql/sql_connect.cc:1350
      #23 0x000055bd15e784ec in pfs_spawn_thread (arg=0x55bd180390e8) at /data/bld/preview-11.7-bb-11.6-MDEV-32887-vector-rel/storage/perfschema/pfs.cc:2198
      #24 0x00007f4bd7ca8044 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
      #25 0x00007f4bd7d2861c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
      

      Attachments

        Issue Links

          Activity

            It appears to be the same problem as MDEV-35214, only shows that it isn't limited to extremely low values of the cache size, but scales up with the right amount of data.

            elenst Elena Stepanova added a comment - It appears to be the same problem as MDEV-35214 , only shows that it isn't limited to extremely low values of the cache size, but scales up with the right amount of data.

            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.