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

SIGSEGV in wsrep_start_replication

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Duplicate
    • 10.4(EOL)
    • N/A
    • Galera
    • None

    Description

      (gdb) where
      #0  __pthread_kill (threadid=<optimized out>, signo=signo@entry=6)
          at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
      #1  0x00005605840d522c in my_write_core (sig=sig@entry=6) at /test/10.5_dbg/mysys/stacktrace.c:424
      #2  0x00005605839156c5 in handle_fatal_signal (sig=6) at /test/10.5_dbg/sql/signal_handler.cc:356
      #3  <signal handler called>
      #4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
      #5  0x00001500aa134859 in __GI_abort () at abort.c:79
      #6  0x00001500aa4f3911 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
      #7  0x00001500aa4ff38c in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
      #8  0x00001500aa4ff3f7 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
      #9  0x00001500aa4ff6a9 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
      #10 0x00001500aa4f621e in std::__throw_logic_error(char const*) ()
         from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
      #11 0x0000560583a868e0 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char const*> (this=this@entry=0x150045150ca0, __beg=0x0, 
          __end=0xffffffffffffffff <error: Cannot access memory at address 0xffffffffffffffff>)
          at /usr/include/c++/9/bits/char_traits.h:300
      #12 0x0000560583c194c1 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct_aux<char const*> (__end=<optimized out>, __beg=<optimized out>, this=0x150045150ca0)
          at /usr/include/c++/9/bits/basic_string.h:267
      #13 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char const*> (__end=<optimized out>, __beg=<optimized out>, this=0x150045150ca0)
          at /usr/include/c++/9/bits/basic_string.h:270
      --Type <RET> for more, q to quit, c to continue without paging--
      #14 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string (__a=..., 
          __s=<optimized out>, this=0x150045150ca0) at /usr/include/c++/9/bits/basic_string.h:531
      #15 wsrep_start_replication (wsrep_cluster_address=<optimized out>, 
          wsrep_cluster_address@entry=0x14ffac2f5f08 "OFF") at /test/10.5_dbg/sql/wsrep_mysqld.cc:1175
      #16 0x0000560583c23b06 in wsrep_cluster_address_update (self=<optimized out>, thd=0x14ffac000d48, 
          type=<optimized out>) at /test/10.5_dbg/sql/wsrep_var.cc:672
      #17 0x00005605835a588e in sys_var::update (this=0x560584b3e780 <Sys_wsrep_cluster_address>, 
          thd=0x14ffac000d48, var=0x14ffac012ee8) at /test/10.5_dbg/sql/set_var.cc:207
      #18 0x00005605835a5da5 in set_var::update (this=<optimized out>, thd=<optimized out>)
          at /test/10.5_dbg/sql/set_var.cc:859
      #19 0x00005605835a706f in sql_set_variables (thd=thd@entry=0x14ffac000d48, 
          var_list=var_list@entry=0x14ffac005c58, free=free@entry=true) at /test/10.5_dbg/sql/set_var.cc:746
      #20 0x0000560583686f75 in mysql_execute_command (thd=thd@entry=0x14ffac000d48)
          at /test/10.5_dbg/sql/sql_parse.cc:5098
      #21 0x0000560583671c0b in mysql_parse (thd=thd@entry=0x14ffac000d48, rawbuf=<optimized out>, 
          length=<optimized out>, parser_state=parser_state@entry=0x150045151310, 
          is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false)
          at /test/10.5_dbg/sql/sql_parse.cc:8089
      #22 0x000056058367f779 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x14ffac000d48, 
          packet=packet@entry=0x14ffac0cb529 "SET @@global.wsrep_cluster_address='OFF';", 
          packet_length=packet_length@entry=41, is_com_multi=is_com_multi@entry=false, 
          is_next_command=is_next_command@entry=false) at /test/10.5_dbg/sql/sql_class.h:1297
      #23 0x0000560583681feb in do_command (thd=0x14ffac000d48) at /test/10.5_dbg/sql/sql_parse.cc:1375
      

      Attachments

        Issue Links

          Activity

            People

              jplindst Jan Lindström (Inactive)
              jplindst Jan Lindström (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.