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

GCC 13: sql/sys_vars.inl: runtime error: store to address ... with insufficient space for an object of type ...

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Cannot Reproduce
    • 10.4(EOL), 10.5, 10.6, 10.9(EOL), 10.10(EOL), 10.11, 11.0(EOL), 11.1(EOL), 11.2(EOL), 11.4, 11.5(EOL)
    • N/A
    • Server

    Description

      When I compile the server with GCC 13.1.0, tests fail massively due to UBSAN errors on static initialization like the following:

      static Sys_var_mybool Sys_automatic_sp_privileges(
             "automatic_sp_privileges",
             "Creating and dropping stored procedures alters ACLs",
             GLOBAL_VAR(sp_automatic_privileges),
             CMD_LINE(OPT_ARG), DEFAULT(TRUE));
      

      If I compile with GCC 12.3.0, no error is reported.

      The minimal steps to reproduce this should be as follows:

      cmake -DWITH_UBSAN=ON -DMYSQL_MAINTAINER_MODE=WARN /mariadb/10.5
      cmake --build .
      sql/mariadbd --no-defaults --wrong-option
      

      The output that I am seeing is as follows:

      10.5 055f2e308bf1dd4026df65093a1166526ac35d9b

      /mariadb/10.5/sql/sys_vars.inl:193:18: runtime error: store to address 0x55bf69c88ec8 with insufficient space for an object of type 'uchar'
      0x55bf69c88ec8: note: pointer points here
       00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                    ^ 
      /mariadb/10.5/sql/sys_vars.inl:193:18: runtime error: store to address 0x55bf69c88e48 with insufficient space for an object of type 'uchar'
      0x55bf69c88e48: note: pointer points here
       00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                    ^ 
      /mariadb/10.5/sql/sys_vars.inl:520:28: runtime error: store to address 0x55bf69409930 with insufficient space for an object of type 'uchar'
      0x55bf69409930: note: pointer points here
       00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                    ^ 
      /mariadb/10.5/sql/sys_vars.inl:193:18: runtime error: store to address 0x55bf6940c758 with insufficient space for an object of type 'uchar'
      0x55bf6940c758: note: pointer points here
       00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                    ^ 
      /mariadb/10.5/sql/sys_vars.inl:1839:8: runtime error: load of address 0x55bf6940c728 with insufficient space for an object of type 'uchar'
      0x55bf6940c728: note: pointer points here
       00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 80 00 00 00 00 00 00  00 00 00 00
                    ^ 
      /mariadb/10.5/sql/sys_vars.inl:1839:26: runtime error: store to address 0x55bf6940c728 with insufficient space for an object of type 'uchar'
      0x55bf6940c728: note: pointer points here
       00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 80 00 00 00 00 00 00  00 00 00 00
                    ^ 
      /mariadb/10.5/sql/sys_vars.inl:389:22: runtime error: store to address 0x55bf690c57b0 with insufficient space for an object of type 'uchar'
      0x55bf690c57b0: note: pointer points here
       ff ff ff 7f  02 00 00 00 00 00 00 00  00 04 00 00 00 00 00 00  09 00 00 00 ff ff ff ff  fe fe 08 02
                    ^ 
      /mariadb/10.5/sql/sys_vars.inl:827:35: runtime error: store to address 0x55bf6940c8e8 with insufficient space for an object of type 'size_t'
      0x55bf6940c8e8: note: pointer points here
       bf 55 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                    ^ 
      /mariadb/10.5/sql/sys_vars.inl:827:35: runtime error: store to address 0x55bf6940c8d8 with insufficient space for an object of type 'size_t'
      0x55bf6940c8d8: note: pointer points here
       bf 55 00 00  00 00 00 00 00 00 00 00  13 16 22 67 bf 55 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                    ^ 
      /mariadb/10.5/sql/sys_vars.inl:193:18: runtime error: store to address 0x55bf6940c844 with insufficient space for an object of type 'uchar'
      0x55bf6940c844: note: pointer points here
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
                    ^ 
      /mariadb/10.5/sql/sys_vars.inl:1413:26: runtime error: store to address 0x55bf6940c768 with insufficient space for an object of type 'uchar'
      0x55bf6940c768: note: pointer points here
       00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                    ^ 
      /mariadb/10.5/sql/sys_vars.inl:193:18: runtime error: store to address 0x55bf69420c64 with insufficient space for an object of type 'uchar'
      0x55bf69420c64: note: pointer points here
        00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  13 16 22 67 bf 55 00 00  00 00 00 00 00 00 00 00
                    ^ 
      2023-07-31 13:00:44 0 [Warning] Can't create test file /usr/local/mysql/data/jyty.lower-test
      /dev/shm/10.5u/sql/mariadbd: Can't change dir to '/usr/local/mysql/data/' (Errcode: 2 "No such file or directory")
      2023-07-31 13:00:44 0 [ERROR] Aborting
      /mariadb/10.5/sql/sys_vars.inl:526:14: runtime error: load of address 0x55bf6940c850 with insufficient space for an object of type 'uchar'
      0x55bf6940c850: note: pointer points here
       00 00 00 00  00 00 00 00 00 00 00 00  00 01 00 01 00 01 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                    ^ 
      /mariadb/10.5/sql/sys_vars.inl:527:25: runtime error: store to address 0x55bf6940c850 with insufficient space for an object of type 'uchar'
      0x55bf6940c850: note: pointer points here
       00 00 00 00  00 00 00 00 00 00 00 00  00 01 00 01 00 01 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                    ^ 
      

      It could be worthwhile to test this on clang as well, once MDEV-26272 has been fixed.

      Attachments

        Issue Links

          Activity

            To debug this, you may want to set a breakpoint inside UBSAN. For my GCC 13.1.0, the call stack corresponding to the first runtime error looks like this. When using a different compiler version, the function names could be different:

            10.5 055f2e308bf1dd4026df65093a1166526ac35d9b

            #0  __ubsan::__ubsan_on_report () at ../../../../src/libsanitizer/ubsan/ubsan_monitor.cpp:39
            #1  0x00007f2b9960f6d8 in __ubsan::UndefinedBehaviorReport::UndefinedBehaviorReport (this=this@entry=0x7ffe185ab360, IssueKind=<optimized out>, 
                Loc=@0x7ffe185ab470: {Kind = __ubsan::Location::LK_Source, SourceLoc = {Filename = 0x559491b6e020 "/mariadb/10.5/sql/sys_vars.inl", Line = 458, Column = 24}, MemoryLoc = 0, SymbolizedLoc = 0x7ffe185ab7a0}, 
                Msg=@0x7ffe185ab320: {buffer_ = {<__sanitizer::InternalMmapVectorNoCtor<char>> = {data_ = 0x7f2b95c60000 "store to address 0x55949676f560 with insufficient space for an object of type 'uchar'", capacity_bytes_ = 4096, size_ = 86}, <No data fields>}}) at ../../../../src/libsanitizer/ubsan/ubsan_monitor.cpp:29
            #2  0x00007f2b996081ed in __ubsan::Diag::~Diag (this=this@entry=0x7ffe185ab470, __in_chrg=<optimized out>) at ../../../../src/libsanitizer/ubsan/ubsan_diag.cpp:352
            #3  0x00007f2b9960c458 in handleTypeMismatchImpl (Data=Data@entry=0x55949a7bb000, Pointer=Pointer@entry=94096667899232, Opts=<optimized out>) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:127
            #4  0x00007f2b9960d71f in __ubsan::__ubsan_handle_type_mismatch_v1 (Data=Data@entry=0x55949a7bb000, Pointer=Pointer@entry=94096667899232) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:142
            #5  0x000055949449766a in Sys_var_mybool::Sys_var_mybool (this=0x55949e301460 <Sys_automatic_sp_privileges>, name_arg=<optimized out>, comment=<optimized out>, flag_args=<optimized out>, off=<optimized out>, 
                size=<optimized out>, getopt=<optimized out>, def_val=<optimized out>, lock=<optimized out>, binlog_status_arg=<optimized out>, on_check_func=<optimized out>, on_update_func=<optimized out>, 
                substitute=<optimized out>) at /mariadb/10.5/sql/sys_vars.inl:458
            #6  0x000055949449ad27 in __static_initialization_and_destruction_0 () at /mariadb/10.5/sql/sys_vars.cc:498
            #7  0x00005594944aed85 in _GLOBAL__sub_I_sys_vars.cc(void) () at /mariadb/10.5/sql/sys_vars.cc:6757
            #8  0x00007f2b99c457f6 in call_init (env=<optimized out>, argv=0x7ffe185aef68, argc=8) at ../csu/libc-start.c:145
            #9  __libc_start_main_impl (main=0x55949236a870 <main(int, char**)>, argc=8, argv=0x7ffe185aef68, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe185aef58)
                at ../csu/libc-start.c:347
            #10 0x000055949236a7a1 in _start ()
            

            marko Marko Mäkelä added a comment - To debug this, you may want to set a breakpoint inside UBSAN. For my GCC 13.1.0, the call stack corresponding to the first runtime error looks like this. When using a different compiler version, the function names could be different: 10.5 055f2e308bf1dd4026df65093a1166526ac35d9b #0 __ubsan::__ubsan_on_report () at ../../../../src/libsanitizer/ubsan/ubsan_monitor.cpp:39 #1 0x00007f2b9960f6d8 in __ubsan::UndefinedBehaviorReport::UndefinedBehaviorReport (this=this@entry=0x7ffe185ab360, IssueKind=<optimized out>, Loc=@0x7ffe185ab470: {Kind = __ubsan::Location::LK_Source, SourceLoc = {Filename = 0x559491b6e020 "/mariadb/10.5/sql/sys_vars.inl", Line = 458, Column = 24}, MemoryLoc = 0, SymbolizedLoc = 0x7ffe185ab7a0}, Msg=@0x7ffe185ab320: {buffer_ = {<__sanitizer::InternalMmapVectorNoCtor<char>> = {data_ = 0x7f2b95c60000 "store to address 0x55949676f560 with insufficient space for an object of type 'uchar'", capacity_bytes_ = 4096, size_ = 86}, <No data fields>}}) at ../../../../src/libsanitizer/ubsan/ubsan_monitor.cpp:29 #2 0x00007f2b996081ed in __ubsan::Diag::~Diag (this=this@entry=0x7ffe185ab470, __in_chrg=<optimized out>) at ../../../../src/libsanitizer/ubsan/ubsan_diag.cpp:352 #3 0x00007f2b9960c458 in handleTypeMismatchImpl (Data=Data@entry=0x55949a7bb000, Pointer=Pointer@entry=94096667899232, Opts=<optimized out>) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:127 #4 0x00007f2b9960d71f in __ubsan::__ubsan_handle_type_mismatch_v1 (Data=Data@entry=0x55949a7bb000, Pointer=Pointer@entry=94096667899232) at ../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp:142 #5 0x000055949449766a in Sys_var_mybool::Sys_var_mybool (this=0x55949e301460 <Sys_automatic_sp_privileges>, name_arg=<optimized out>, comment=<optimized out>, flag_args=<optimized out>, off=<optimized out>, size=<optimized out>, getopt=<optimized out>, def_val=<optimized out>, lock=<optimized out>, binlog_status_arg=<optimized out>, on_check_func=<optimized out>, on_update_func=<optimized out>, substitute=<optimized out>) at /mariadb/10.5/sql/sys_vars.inl:458 #6 0x000055949449ad27 in __static_initialization_and_destruction_0 () at /mariadb/10.5/sql/sys_vars.cc:498 #7 0x00005594944aed85 in _GLOBAL__sub_I_sys_vars.cc(void) () at /mariadb/10.5/sql/sys_vars.cc:6757 #8 0x00007f2b99c457f6 in call_init (env=<optimized out>, argv=0x7ffe185aef68, argc=8) at ../csu/libc-start.c:145 #9 __libc_start_main_impl (main=0x55949236a870 <main(int, char**)>, argc=8, argv=0x7ffe185aef68, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe185aef58) at ../csu/libc-start.c:347 #10 0x000055949236a7a1 in _start ()

            Confirmed with gcc (Ubuntu 13.2.0-4ubuntu3) 13.2.0

            Roel Roel Van de Paar added a comment - Confirmed with gcc (Ubuntu 13.2.0-4ubuntu3) 13.2.0

            The same issues are not seen with Ubuntu clang version 16.0.6 (15)

            Roel Roel Van de Paar added a comment - The same issues are not seen with Ubuntu clang version 16.0.6 (15)

            To get full inline stacks:

            export UBSAN_OPTIONS=print_stacktrace=1
            

            Roel Roel Van de Paar added a comment - To get full inline stacks: export UBSAN_OPTIONS=print_stacktrace=1

            10.5 opt full stacks:

            10.5.26 736449d30ffb2ec71bd700ac84eb38ba30bb662c (Optimized, UBASAN)

            /test/10.5_opt_san/sql/sys_vars.inl:458:24: runtime error: store to address 0x55bbf8a79a80 with insufficient space for an object of type 'uchar'
            0x55bbf8a79a80: note: pointer points here
             00 00 00 00  01 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                          ^ 
                #0 0x55bbf4c467be in Sys_var_mybool::Sys_var_mybool(char const*, char const*, int, long, unsigned long, CMD_LINE, char, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:458
                #1 0x55bbf3c43eb1 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:498
                #2 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763
                #3 0x14681c8281fd in call_init ../csu/libc-start.c:145
                #4 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347
                #5 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)
             
            /test/10.5_opt_san/sql/sys_vars.inl:193:18: runtime error: store to address 0x55bc00385720 with insufficient space for an object of type 'uchar'
            0x55bc00385720: note: pointer points here
             00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                          ^ 
                #0 0x55bbf4c572e8 in Sys_var_integer<unsigned long, 6ul, (enum_mysql_show_type)3>::Sys_var_integer(char const*, char const*, int, long, unsigned long, CMD_LINE, unsigned long, unsigned long, unsigned long, unsigned int, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:193
                #1 0x55bbf3c43f5a in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:505
                #2 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763
                #3 0x14681c8281fd in call_init ../csu/libc-start.c:145
                #4 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347
                #5 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)
             
            /test/10.5_opt_san/sql/sys_vars.inl:519:28: runtime error: store to address 0x55bc00380280 with insufficient space for an object of type 'uchar'
            0x55bc00380280: note: pointer points here
             00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                          ^ 
                #0 0x55bbf4c4f59d in Sys_var_charptr_base::Sys_var_charptr_base(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:519
                #1 0x55bbf4c4f59d in Sys_var_charptr::Sys_var_charptr(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:612
                #2 0x55bbf4c4f59d in Sys_var_charptr_fscs::Sys_var_charptr(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:630
                #3 0x55bbf3c43ffe in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:511
                #4 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763
                #5 0x14681c8281fd in call_init ../csu/libc-start.c:145
                #6 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347
                #7 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)
             
            /test/10.5_opt_san/sql/sys_vars.inl:193:18: runtime error: store to address 0x55bc003853a0 with insufficient space for an object of type 'uchar'
            0x55bc003853a0: note: pointer points here
             00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                          ^ 
                #0 0x55bbf4c54d58 in Sys_var_integer<unsigned long long, 8ul, (enum_mysql_show_type)4>::Sys_var_integer(char const*, char const*, int, long, unsigned long, CMD_LINE, unsigned long long, unsigned long long, unsigned long long, unsigned int, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:193
                #1 0x55bbf4c55158 in Sys_var_on_access_global<Sys_var_integer<unsigned long long, 8ul, (enum_mysql_show_type)4>, (privilege_t)68719509504>::Sys_var_on_access_global(char const*, char const*, int, long, unsigned long, CMD_LINE, unsigned long long, unsigned long long, unsigned long long, unsigned int, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:124
                #2 0x55bbf3c44394 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:540
                #3 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763
                #4 0x14681c8281fd in call_init ../csu/libc-start.c:145
                #5 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347
                #6 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)
             
            /test/10.5_opt_san/sql/sys_vars.inl:1827:8: runtime error: load of address 0x55bc00385220 with insufficient space for an object of type 'uchar'
            0x55bc00385220: note: pointer points here
             00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                          ^ 
                #0 0x55bbf4c4ca7b in Sys_var_bit::set(unsigned char*, unsigned long long) /test/10.5_opt_san/sql/sys_vars.inl:1827
                #1 0x55bbf4c4ca7b in Sys_var_bit::Sys_var_bit(char const*, char const*, int, long, unsigned long, CMD_LINE, unsigned long long, char, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:1847
                #2 0x55bbf3c44588 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:607
                #3 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763
                #4 0x14681c8281fd in call_init ../csu/libc-start.c:145
                #5 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347
                #6 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)
             
            /test/10.5_opt_san/sql/sys_vars.inl:1827:26: runtime error: store to address 0x55bc00385220 with insufficient space for an object of type 'uchar'
            0x55bc00385220: note: pointer points here
             00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                          ^ 
                #0 0x55bbf4c4c3ef in Sys_var_bit::set(unsigned char*, unsigned long long) /test/10.5_opt_san/sql/sys_vars.inl:1827
                #1 0x55bbf4c4c3ef in Sys_var_bit::Sys_var_bit(char const*, char const*, int, long, unsigned long, CMD_LINE, unsigned long long, char, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:1847
                #2 0x55bbf3c44588 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:607
                #3 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763
                #4 0x14681c8281fd in call_init ../csu/libc-start.c:145
                #5 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347
                #6 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)
             
            /test/10.5_opt_san/sql/sys_vars.inl:389:22: runtime error: store to address 0x55bbff054100 with insufficient space for an object of type 'uchar'
            0x55bbff054100: note: pointer points here
             00 00 00 00  02 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                          ^ 
                #0 0x55bbf4c45b5e in Sys_var_enum::Sys_var_enum(char const*, char const*, int, long, unsigned long, CMD_LINE, char const**, unsigned int, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:389
                #1 0x55bbf3c4530d in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:985
                #2 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763
                #3 0x14681c8281fd in call_init ../csu/libc-start.c:145
                #4 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347
                #5 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)
             
            /test/10.5_opt_san/sql/sys_vars.inl:519:28: runtime error: store to address 0x55bbfef081c0 with insufficient space for an object of type 'uchar'
            0x55bbfef081c0: note: pointer points here
             00 00 00 00  a0 8c 50 f8 bb 55 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                          ^ 
                #0 0x55bbf3c4242a in Sys_var_charptr_base::Sys_var_charptr_base(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:519
                #1 0x55bbf3c4242a in Sys_var_charptr::Sys_var_charptr(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:612
                #2 0x55bbf3c45a29 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:1200
                #3 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763
                #4 0x14681c8281fd in call_init ../csu/libc-start.c:145
                #5 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347
                #6 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)
             
            /test/10.5_opt_san/sql/sys_vars.inl:519:28: runtime error: store to address 0x55bc00386c60 with insufficient space for an object of type 'uchar'
            0x55bc00386c60: note: pointer points here
             00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                          ^ 
                #0 0x55bbf3c59b19 in Sys_var_charptr_base::Sys_var_charptr_base(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:519
                #1 0x55bbf3c59b19 in Sys_var_charptr::Sys_var_charptr(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:612
                #2 0x55bbf3c59b19 in Sys_var_lexstring::Sys_var_lexstring(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:824
                #3 0x55bbf3c59b19 in Sys_var_on_access_global<Sys_var_lexstring, (privilege_t)4295000064>::Sys_var_on_access_global(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:124
                #4 0x55bbf3c59b19 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:1255
                #5 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763
                #6 0x14681c8281fd in call_init ../csu/libc-start.c:145
                #7 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347
                #8 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)
             
            /test/10.5_opt_san/sql/sys_vars.inl:826:35: runtime error: store to address 0x55bc00386c68 with insufficient space for an object of type 'size_t'
            0x55bc00386c68: note: pointer points here
             bb 55 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                          ^ 
                #0 0x55bbf3c5a6c8 in Sys_var_lexstring::Sys_var_lexstring(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:826
                #1 0x55bbf3c5a6c8 in Sys_var_on_access_global<Sys_var_lexstring, (privilege_t)4295000064>::Sys_var_on_access_global(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:124
                #2 0x55bbf3c5a6c8 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:1255
                #3 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763
                #4 0x14681c8281fd in call_init ../csu/libc-start.c:145
                #5 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347
                #6 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)
             
            /test/10.5_opt_san/sql/sys_vars.inl:519:28: runtime error: store to address 0x55bc00386c20 with insufficient space for an object of type 'uchar'
            0x55bc00386c20: note: pointer points here
             00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                          ^ 
                #0 0x55bbf3c58cba in Sys_var_charptr_base::Sys_var_charptr_base(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:519
                #1 0x55bbf3c58cba in Sys_var_charptr::Sys_var_charptr(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:612
                #2 0x55bbf3c58cba in Sys_var_lexstring::Sys_var_lexstring(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:824
                #3 0x55bbf3c58cba in Sys_var_on_access_global<Sys_var_lexstring, (privilege_t)17179901952>::Sys_var_on_access_global(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:124
                #4 0x55bbf3c58cba in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:1295
                #5 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763
                #6 0x14681c8281fd in call_init ../csu/libc-start.c:145
                #7 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347
                #8 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)
             
            /test/10.5_opt_san/sql/sys_vars.inl:826:35: runtime error: store to address 0x55bc00386c28 with insufficient space for an object of type 'size_t'
            0x55bc00386c28: note: pointer points here
             bb 55 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                          ^ 
                #0 0x55bbf3c58bd9 in Sys_var_lexstring::Sys_var_lexstring(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:826
                #1 0x55bbf3c58bd9 in Sys_var_on_access_global<Sys_var_lexstring, (privilege_t)17179901952>::Sys_var_on_access_global(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:124
                #2 0x55bbf3c58bd9 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:1295
                #3 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763
                #4 0x14681c8281fd in call_init ../csu/libc-start.c:145
                #5 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347
                #6 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)
             
            /test/10.5_opt_san/sql/sys_vars.inl:193:18: runtime error: store to address 0x55bc00385d60 with insufficient space for an object of type 'uchar'
            0x55bc00385d60: note: pointer points here
             00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                          ^ 
                #0 0x55bbf4c5805b in Sys_var_integer<unsigned int, 4ul, (enum_mysql_show_type)2>::Sys_var_integer(char const*, char const*, int, long, unsigned long, CMD_LINE, unsigned int, unsigned int, unsigned int, unsigned int, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:193
                #1 0x55bbf3c46ff2 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:1375
                #2 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763
                #3 0x14681c8281fd in call_init ../csu/libc-start.c:145
                #4 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347
                #5 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)
             
            /test/10.5_opt_san/sql/sys_vars.inl:458:24: runtime error: store to address 0x55bc00386a80 with insufficient space for an object of type 'uchar'
            0x55bc00386a80: note: pointer points here
             00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                          ^ 
                #0 0x55bbf4c51003 in Sys_var_mybool::Sys_var_mybool(char const*, char const*, int, long, unsigned long, CMD_LINE, char, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:458
                #1 0x55bbf4c51003 in Sys_var_on_access_global<Sys_var_mybool, (privilege_t)68719509504>::Sys_var_on_access_global(char const*, char const*, int, long, unsigned long, CMD_LINE, char, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:124
                #2 0x55bbf3c4745d in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:1413
                #3 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763
                #4 0x14681c8281fd in call_init ../csu/libc-start.c:145
                #5 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347
                #6 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)
             
            /test/10.5_opt_san/sql/sys_vars.inl:458:24: runtime error: store to address 0x55bc003848c0 with insufficient space for an object of type 'uchar'
            0x55bc003848c0: note: pointer points here
             00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                          ^ 
                #0 0x55bbf4c51d43 in Sys_var_mybool::Sys_var_mybool(char const*, char const*, int, long, unsigned long, CMD_LINE, char, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:458
                #1 0x55bbf4c51d43 in Sys_var_on_access_global<Sys_var_mybool, (privilege_t)4295000064>::Sys_var_on_access_global(char const*, char const*, int, long, unsigned long, CMD_LINE, char, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:124
                #2 0x55bbf3c48156 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:1682
                #3 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763
                #4 0x14681c8281fd in call_init ../csu/libc-start.c:145
                #5 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347
                #6 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)
             
            /test/10.5_opt_san/sql/sys_vars.inl:458:24: runtime error: store to address 0x55bc0037eea0 with insufficient space for an object of type 'uchar'
            0x55bc0037eea0: note: pointer points here
             00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                          ^ 
                #0 0x55bbf4c52a83 in Sys_var_mybool::Sys_var_mybool(char const*, char const*, int, long, unsigned long, CMD_LINE, char, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:458
                #1 0x55bbf4c52a83 in Sys_var_on_access_global<Sys_var_mybool, (privilege_t)17179901952>::Sys_var_on_access_global(char const*, char const*, int, long, unsigned long, CMD_LINE, char, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:124
                #2 0x55bbf3c48f89 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:2011
                #3 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763
                #4 0x14681c8281fd in call_init ../csu/libc-start.c:145
                #5 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347
                #6 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)
             
            /test/10.5_opt_san/sql/sys_vars.inl:458:24: runtime error: store to address 0x55bc003860e0 with insufficient space for an object of type 'uchar'
            0x55bc003860e0: note: pointer points here
             00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                          ^ 
                #0 0x55bbf3c5a10d in Sys_var_mybool::Sys_var_mybool(char const*, char const*, int, long, unsigned long, CMD_LINE, char, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:458
                #1 0x55bbf3c5a10d in Sys_var_on_access_global<Sys_var_mybool, (privilege_t)8589967360>::Sys_var_on_access_global(char const*, char const*, int, long, unsigned long, CMD_LINE, char, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:124
                #2 0x55bbf3c5a10d in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:2921
                #3 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763
                #4 0x14681c8281fd in call_init ../csu/libc-start.c:145
                #5 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347
                #6 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)
             
            /test/10.5_opt_san/sql/sys_vars.inl:1401:26: runtime error: store to address 0x55bc00385420 with insufficient space for an object of type 'uchar'
            0x55bc00385420: note: pointer points here
             00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                          ^ 
                #0 0x55bbf4c4ac68 in Sys_var_set::Sys_var_set(char const*, char const*, int, long, unsigned long, CMD_LINE, char const**, unsigned long long, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:1401
                #1 0x55bbf3c4cd35 in Sys_var_on_access_global<Sys_var_set, (privilege_t)17179901952>::Sys_var_on_access_global(char const*, char const*, int, long, unsigned long, CMD_LINE, char const**, unsigned long long, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:124
                #2 0x55bbf3c4cd35 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:3340
                #3 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763
                #4 0x14681c8281fd in call_init ../csu/libc-start.c:145
                #5 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347
                #6 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)
             
            /test/10.5_opt_san/sql/sys_vars.inl:458:24: runtime error: store to address 0x55bc00385b60 with insufficient space for an object of type 'uchar'
            0x55bc00385b60: note: pointer points here
             00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                          ^ 
                #0 0x55bbf4c53c63 in Sys_var_mybool::Sys_var_mybool(char const*, char const*, int, long, unsigned long, CMD_LINE, char, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:458
                #1 0x55bbf4c53c63 in Sys_var_on_access_global<Sys_var_mybool, (privilege_t)34359771136>::Sys_var_on_access_global(char const*, char const*, int, long, unsigned long, CMD_LINE, char, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:124
                #2 0x55bbf3c4ce95 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:3360
                #3 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763
                #4 0x14681c8281fd in call_init ../csu/libc-start.c:145
                #5 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347
                #6 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)
             
            /test/10.5_opt_san/sql/sys_vars.inl:519:28: runtime error: store to address 0x55bc003b74a0 with insufficient space for an object of type 'uchar'
            0x55bc003b74a0: note: pointer points here
             00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                          ^ 
                #0 0x55bbf3c59c23 in Sys_var_charptr_base::Sys_var_charptr_base(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:519
                #1 0x55bbf3c59c23 in Sys_var_charptr::Sys_var_charptr(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:612
                #2 0x55bbf3c59c23 in Sys_var_charptr_fscs::Sys_var_charptr(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:630
                #3 0x55bbf3c59c23 in Sys_var_on_access_global<Sys_var_charptr_fscs, (privilege_t)4295000064>::Sys_var_charptr(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:124
                #4 0x55bbf3c59c23 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:4909
                #5 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763
                #6 0x14681c8281fd in call_init ../csu/libc-start.c:145
                #7 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347
                #8 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)
             
            /test/10.5_opt_san/sql/sys_vars.inl:193:18: runtime error: store to address 0x55bc00389be0 with insufficient space for an object of type 'uchar'
            0x55bc00389be0: note: pointer points here
             00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
                          ^ 
                #0 0x55bbf3c59e64 in Sys_var_integer<unsigned long long, 8ul, (enum_mysql_show_type)4>::Sys_var_integer(char const*, char const*, int, long, unsigned long, CMD_LINE, unsigned long long, unsigned long long, unsigned long long, unsigned int, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:193
                #1 0x55bbf3c59e64 in Sys_var_on_access_global<Sys_var_integer<unsigned long long, 8ul, (enum_mysql_show_type)4>, (privilege_t)17179901952>::Sys_var_on_access_global(char const*, char const*, int, long, unsigned long, CMD_LINE, unsigned long long, unsigned long long, unsigned long long, unsigned int, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:124
                #2 0x55bbf3c59e64 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:5557
                #3 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763
                #4 0x14681c8281fd in call_init ../csu/libc-start.c:145
                #5 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347
                #6 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)
             
            /test/10.5_opt_san/sql/sys_vars.inl:193:18: runtime error: store to address 0x55bc003b0904 with insufficient space for an object of type 'uchar'
            0x55bc003b0904: note: pointer points here
              00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
                          ^ 
                #0 0x55bbf4c56663 in Sys_var_integer<int, 3ul, (enum_mysql_show_type)10>::Sys_var_integer(char const*, char const*, int, long, unsigned long, CMD_LINE, int, int, int, unsigned int, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:193
                #1 0x55bbf3c55d53 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:6152
                #2 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763
                #3 0x14681c8281fd in call_init ../csu/libc-start.c:145
                #4 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347
                #5 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)
            

            Roel Roel Van de Paar added a comment - 10.5 opt full stacks: 10.5.26 736449d30ffb2ec71bd700ac84eb38ba30bb662c (Optimized, UBASAN) /test/10.5_opt_san/sql/sys_vars.inl:458:24: runtime error: store to address 0x55bbf8a79a80 with insufficient space for an object of type 'uchar' 0x55bbf8a79a80: note: pointer points here 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ #0 0x55bbf4c467be in Sys_var_mybool::Sys_var_mybool(char const*, char const*, int, long, unsigned long, CMD_LINE, char, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:458 #1 0x55bbf3c43eb1 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:498 #2 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763 #3 0x14681c8281fd in call_init ../csu/libc-start.c:145 #4 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347 #5 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)   /test/10.5_opt_san/sql/sys_vars.inl:193:18: runtime error: store to address 0x55bc00385720 with insufficient space for an object of type 'uchar' 0x55bc00385720: note: pointer points here 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ #0 0x55bbf4c572e8 in Sys_var_integer<unsigned long, 6ul, (enum_mysql_show_type)3>::Sys_var_integer(char const*, char const*, int, long, unsigned long, CMD_LINE, unsigned long, unsigned long, unsigned long, unsigned int, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:193 #1 0x55bbf3c43f5a in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:505 #2 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763 #3 0x14681c8281fd in call_init ../csu/libc-start.c:145 #4 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347 #5 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)   /test/10.5_opt_san/sql/sys_vars.inl:519:28: runtime error: store to address 0x55bc00380280 with insufficient space for an object of type 'uchar' 0x55bc00380280: note: pointer points here 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ #0 0x55bbf4c4f59d in Sys_var_charptr_base::Sys_var_charptr_base(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:519 #1 0x55bbf4c4f59d in Sys_var_charptr::Sys_var_charptr(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:612 #2 0x55bbf4c4f59d in Sys_var_charptr_fscs::Sys_var_charptr(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:630 #3 0x55bbf3c43ffe in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:511 #4 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763 #5 0x14681c8281fd in call_init ../csu/libc-start.c:145 #6 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347 #7 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)   /test/10.5_opt_san/sql/sys_vars.inl:193:18: runtime error: store to address 0x55bc003853a0 with insufficient space for an object of type 'uchar' 0x55bc003853a0: note: pointer points here 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ #0 0x55bbf4c54d58 in Sys_var_integer<unsigned long long, 8ul, (enum_mysql_show_type)4>::Sys_var_integer(char const*, char const*, int, long, unsigned long, CMD_LINE, unsigned long long, unsigned long long, unsigned long long, unsigned int, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:193 #1 0x55bbf4c55158 in Sys_var_on_access_global<Sys_var_integer<unsigned long long, 8ul, (enum_mysql_show_type)4>, (privilege_t)68719509504>::Sys_var_on_access_global(char const*, char const*, int, long, unsigned long, CMD_LINE, unsigned long long, unsigned long long, unsigned long long, unsigned int, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:124 #2 0x55bbf3c44394 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:540 #3 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763 #4 0x14681c8281fd in call_init ../csu/libc-start.c:145 #5 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347 #6 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)   /test/10.5_opt_san/sql/sys_vars.inl:1827:8: runtime error: load of address 0x55bc00385220 with insufficient space for an object of type 'uchar' 0x55bc00385220: note: pointer points here 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ #0 0x55bbf4c4ca7b in Sys_var_bit::set(unsigned char*, unsigned long long) /test/10.5_opt_san/sql/sys_vars.inl:1827 #1 0x55bbf4c4ca7b in Sys_var_bit::Sys_var_bit(char const*, char const*, int, long, unsigned long, CMD_LINE, unsigned long long, char, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:1847 #2 0x55bbf3c44588 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:607 #3 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763 #4 0x14681c8281fd in call_init ../csu/libc-start.c:145 #5 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347 #6 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)   /test/10.5_opt_san/sql/sys_vars.inl:1827:26: runtime error: store to address 0x55bc00385220 with insufficient space for an object of type 'uchar' 0x55bc00385220: note: pointer points here 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ #0 0x55bbf4c4c3ef in Sys_var_bit::set(unsigned char*, unsigned long long) /test/10.5_opt_san/sql/sys_vars.inl:1827 #1 0x55bbf4c4c3ef in Sys_var_bit::Sys_var_bit(char const*, char const*, int, long, unsigned long, CMD_LINE, unsigned long long, char, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:1847 #2 0x55bbf3c44588 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:607 #3 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763 #4 0x14681c8281fd in call_init ../csu/libc-start.c:145 #5 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347 #6 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)   /test/10.5_opt_san/sql/sys_vars.inl:389:22: runtime error: store to address 0x55bbff054100 with insufficient space for an object of type 'uchar' 0x55bbff054100: note: pointer points here 00 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ #0 0x55bbf4c45b5e in Sys_var_enum::Sys_var_enum(char const*, char const*, int, long, unsigned long, CMD_LINE, char const**, unsigned int, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:389 #1 0x55bbf3c4530d in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:985 #2 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763 #3 0x14681c8281fd in call_init ../csu/libc-start.c:145 #4 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347 #5 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)   /test/10.5_opt_san/sql/sys_vars.inl:519:28: runtime error: store to address 0x55bbfef081c0 with insufficient space for an object of type 'uchar' 0x55bbfef081c0: note: pointer points here 00 00 00 00 a0 8c 50 f8 bb 55 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ #0 0x55bbf3c4242a in Sys_var_charptr_base::Sys_var_charptr_base(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:519 #1 0x55bbf3c4242a in Sys_var_charptr::Sys_var_charptr(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:612 #2 0x55bbf3c45a29 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:1200 #3 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763 #4 0x14681c8281fd in call_init ../csu/libc-start.c:145 #5 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347 #6 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)   /test/10.5_opt_san/sql/sys_vars.inl:519:28: runtime error: store to address 0x55bc00386c60 with insufficient space for an object of type 'uchar' 0x55bc00386c60: note: pointer points here 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ #0 0x55bbf3c59b19 in Sys_var_charptr_base::Sys_var_charptr_base(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:519 #1 0x55bbf3c59b19 in Sys_var_charptr::Sys_var_charptr(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:612 #2 0x55bbf3c59b19 in Sys_var_lexstring::Sys_var_lexstring(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:824 #3 0x55bbf3c59b19 in Sys_var_on_access_global<Sys_var_lexstring, (privilege_t)4295000064>::Sys_var_on_access_global(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:124 #4 0x55bbf3c59b19 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:1255 #5 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763 #6 0x14681c8281fd in call_init ../csu/libc-start.c:145 #7 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347 #8 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)   /test/10.5_opt_san/sql/sys_vars.inl:826:35: runtime error: store to address 0x55bc00386c68 with insufficient space for an object of type 'size_t' 0x55bc00386c68: note: pointer points here bb 55 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ #0 0x55bbf3c5a6c8 in Sys_var_lexstring::Sys_var_lexstring(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:826 #1 0x55bbf3c5a6c8 in Sys_var_on_access_global<Sys_var_lexstring, (privilege_t)4295000064>::Sys_var_on_access_global(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:124 #2 0x55bbf3c5a6c8 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:1255 #3 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763 #4 0x14681c8281fd in call_init ../csu/libc-start.c:145 #5 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347 #6 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)   /test/10.5_opt_san/sql/sys_vars.inl:519:28: runtime error: store to address 0x55bc00386c20 with insufficient space for an object of type 'uchar' 0x55bc00386c20: note: pointer points here 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ #0 0x55bbf3c58cba in Sys_var_charptr_base::Sys_var_charptr_base(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:519 #1 0x55bbf3c58cba in Sys_var_charptr::Sys_var_charptr(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:612 #2 0x55bbf3c58cba in Sys_var_lexstring::Sys_var_lexstring(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:824 #3 0x55bbf3c58cba in Sys_var_on_access_global<Sys_var_lexstring, (privilege_t)17179901952>::Sys_var_on_access_global(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:124 #4 0x55bbf3c58cba in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:1295 #5 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763 #6 0x14681c8281fd in call_init ../csu/libc-start.c:145 #7 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347 #8 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)   /test/10.5_opt_san/sql/sys_vars.inl:826:35: runtime error: store to address 0x55bc00386c28 with insufficient space for an object of type 'size_t' 0x55bc00386c28: note: pointer points here bb 55 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ #0 0x55bbf3c58bd9 in Sys_var_lexstring::Sys_var_lexstring(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:826 #1 0x55bbf3c58bd9 in Sys_var_on_access_global<Sys_var_lexstring, (privilege_t)17179901952>::Sys_var_on_access_global(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:124 #2 0x55bbf3c58bd9 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:1295 #3 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763 #4 0x14681c8281fd in call_init ../csu/libc-start.c:145 #5 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347 #6 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)   /test/10.5_opt_san/sql/sys_vars.inl:193:18: runtime error: store to address 0x55bc00385d60 with insufficient space for an object of type 'uchar' 0x55bc00385d60: note: pointer points here 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ #0 0x55bbf4c5805b in Sys_var_integer<unsigned int, 4ul, (enum_mysql_show_type)2>::Sys_var_integer(char const*, char const*, int, long, unsigned long, CMD_LINE, unsigned int, unsigned int, unsigned int, unsigned int, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:193 #1 0x55bbf3c46ff2 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:1375 #2 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763 #3 0x14681c8281fd in call_init ../csu/libc-start.c:145 #4 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347 #5 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)   /test/10.5_opt_san/sql/sys_vars.inl:458:24: runtime error: store to address 0x55bc00386a80 with insufficient space for an object of type 'uchar' 0x55bc00386a80: note: pointer points here 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ #0 0x55bbf4c51003 in Sys_var_mybool::Sys_var_mybool(char const*, char const*, int, long, unsigned long, CMD_LINE, char, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:458 #1 0x55bbf4c51003 in Sys_var_on_access_global<Sys_var_mybool, (privilege_t)68719509504>::Sys_var_on_access_global(char const*, char const*, int, long, unsigned long, CMD_LINE, char, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:124 #2 0x55bbf3c4745d in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:1413 #3 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763 #4 0x14681c8281fd in call_init ../csu/libc-start.c:145 #5 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347 #6 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)   /test/10.5_opt_san/sql/sys_vars.inl:458:24: runtime error: store to address 0x55bc003848c0 with insufficient space for an object of type 'uchar' 0x55bc003848c0: note: pointer points here 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ #0 0x55bbf4c51d43 in Sys_var_mybool::Sys_var_mybool(char const*, char const*, int, long, unsigned long, CMD_LINE, char, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:458 #1 0x55bbf4c51d43 in Sys_var_on_access_global<Sys_var_mybool, (privilege_t)4295000064>::Sys_var_on_access_global(char const*, char const*, int, long, unsigned long, CMD_LINE, char, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:124 #2 0x55bbf3c48156 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:1682 #3 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763 #4 0x14681c8281fd in call_init ../csu/libc-start.c:145 #5 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347 #6 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)   /test/10.5_opt_san/sql/sys_vars.inl:458:24: runtime error: store to address 0x55bc0037eea0 with insufficient space for an object of type 'uchar' 0x55bc0037eea0: note: pointer points here 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ #0 0x55bbf4c52a83 in Sys_var_mybool::Sys_var_mybool(char const*, char const*, int, long, unsigned long, CMD_LINE, char, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:458 #1 0x55bbf4c52a83 in Sys_var_on_access_global<Sys_var_mybool, (privilege_t)17179901952>::Sys_var_on_access_global(char const*, char const*, int, long, unsigned long, CMD_LINE, char, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:124 #2 0x55bbf3c48f89 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:2011 #3 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763 #4 0x14681c8281fd in call_init ../csu/libc-start.c:145 #5 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347 #6 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)   /test/10.5_opt_san/sql/sys_vars.inl:458:24: runtime error: store to address 0x55bc003860e0 with insufficient space for an object of type 'uchar' 0x55bc003860e0: note: pointer points here 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ #0 0x55bbf3c5a10d in Sys_var_mybool::Sys_var_mybool(char const*, char const*, int, long, unsigned long, CMD_LINE, char, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:458 #1 0x55bbf3c5a10d in Sys_var_on_access_global<Sys_var_mybool, (privilege_t)8589967360>::Sys_var_on_access_global(char const*, char const*, int, long, unsigned long, CMD_LINE, char, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:124 #2 0x55bbf3c5a10d in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:2921 #3 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763 #4 0x14681c8281fd in call_init ../csu/libc-start.c:145 #5 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347 #6 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)   /test/10.5_opt_san/sql/sys_vars.inl:1401:26: runtime error: store to address 0x55bc00385420 with insufficient space for an object of type 'uchar' 0x55bc00385420: note: pointer points here 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ #0 0x55bbf4c4ac68 in Sys_var_set::Sys_var_set(char const*, char const*, int, long, unsigned long, CMD_LINE, char const**, unsigned long long, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:1401 #1 0x55bbf3c4cd35 in Sys_var_on_access_global<Sys_var_set, (privilege_t)17179901952>::Sys_var_on_access_global(char const*, char const*, int, long, unsigned long, CMD_LINE, char const**, unsigned long long, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:124 #2 0x55bbf3c4cd35 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:3340 #3 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763 #4 0x14681c8281fd in call_init ../csu/libc-start.c:145 #5 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347 #6 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)   /test/10.5_opt_san/sql/sys_vars.inl:458:24: runtime error: store to address 0x55bc00385b60 with insufficient space for an object of type 'uchar' 0x55bc00385b60: note: pointer points here 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ #0 0x55bbf4c53c63 in Sys_var_mybool::Sys_var_mybool(char const*, char const*, int, long, unsigned long, CMD_LINE, char, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:458 #1 0x55bbf4c53c63 in Sys_var_on_access_global<Sys_var_mybool, (privilege_t)34359771136>::Sys_var_on_access_global(char const*, char const*, int, long, unsigned long, CMD_LINE, char, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:124 #2 0x55bbf3c4ce95 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:3360 #3 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763 #4 0x14681c8281fd in call_init ../csu/libc-start.c:145 #5 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347 #6 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)   /test/10.5_opt_san/sql/sys_vars.inl:519:28: runtime error: store to address 0x55bc003b74a0 with insufficient space for an object of type 'uchar' 0x55bc003b74a0: note: pointer points here 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ #0 0x55bbf3c59c23 in Sys_var_charptr_base::Sys_var_charptr_base(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:519 #1 0x55bbf3c59c23 in Sys_var_charptr::Sys_var_charptr(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:612 #2 0x55bbf3c59c23 in Sys_var_charptr_fscs::Sys_var_charptr(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:630 #3 0x55bbf3c59c23 in Sys_var_on_access_global<Sys_var_charptr_fscs, (privilege_t)4295000064>::Sys_var_charptr(char const*, char const*, int, long, unsigned long, CMD_LINE, char const*, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:124 #4 0x55bbf3c59c23 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:4909 #5 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763 #6 0x14681c8281fd in call_init ../csu/libc-start.c:145 #7 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347 #8 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)   /test/10.5_opt_san/sql/sys_vars.inl:193:18: runtime error: store to address 0x55bc00389be0 with insufficient space for an object of type 'uchar' 0x55bc00389be0: note: pointer points here 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ #0 0x55bbf3c59e64 in Sys_var_integer<unsigned long long, 8ul, (enum_mysql_show_type)4>::Sys_var_integer(char const*, char const*, int, long, unsigned long, CMD_LINE, unsigned long long, unsigned long long, unsigned long long, unsigned int, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:193 #1 0x55bbf3c59e64 in Sys_var_on_access_global<Sys_var_integer<unsigned long long, 8ul, (enum_mysql_show_type)4>, (privilege_t)17179901952>::Sys_var_on_access_global(char const*, char const*, int, long, unsigned long, CMD_LINE, unsigned long long, unsigned long long, unsigned long long, unsigned int, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:124 #2 0x55bbf3c59e64 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:5557 #3 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763 #4 0x14681c8281fd in call_init ../csu/libc-start.c:145 #5 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347 #6 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)   /test/10.5_opt_san/sql/sys_vars.inl:193:18: runtime error: store to address 0x55bc003b0904 with insufficient space for an object of type 'uchar' 0x55bc003b0904: note: pointer points here 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ #0 0x55bbf4c56663 in Sys_var_integer<int, 3ul, (enum_mysql_show_type)10>::Sys_var_integer(char const*, char const*, int, long, unsigned long, CMD_LINE, int, int, int, unsigned int, PolyLock*, sys_var::binlog_status_enum, bool (*)(sys_var*, THD*, set_var*), bool (*)(sys_var*, THD*, enum_var_type), char const*) /test/10.5_opt_san/sql/sys_vars.inl:193 #1 0x55bbf3c55d53 in __static_initialization_and_destruction_0 /test/10.5_opt_san/sql/sys_vars.cc:6152 #2 0x55bbf3c5aaf8 in _GLOBAL__sub_I_sys_vars.cc /test/10.5_opt_san/sql/sys_vars.cc:6763 #3 0x14681c8281fd in call_init ../csu/libc-start.c:145 #4 0x14681c8281fd in __libc_start_main_impl ../csu/libc-start.c:347 #5 0x55bbf3cd0484 in _start (/test/UBASAN_MD240524-mariadb-10.5.26-linux-x86_64-opt/bin/mariadbd+0x6bb8484) (BuildId: a686b5fcf5f96cc94fcc69f2752ff340a6ed0b08)

            GCC 12 is also showing issues, ref MDEV-34236 - Mroonga build will hang during MariaDB build when using GCC 12

            Roel Roel Van de Paar added a comment - GCC 12 is also showing issues, ref MDEV-34236 - Mroonga build will hang during MariaDB build when using GCC 12

            I was regularly compiling with UBSAN using gcc 13.3.1 and didn't see anything like that.

            May be it was a bug in the earlier UBSAN implementation that was fixed after gcc 13.1.0?

            serg Sergei Golubchik added a comment - I was regularly compiling with UBSAN using gcc 13.3.1 and didn't see anything like that. May be it was a bug in the earlier UBSAN implementation that was fixed after gcc 13.1.0?

            People

              serg Sergei Golubchik
              marko Marko Mäkelä
              Votes:
              1 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.