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

garbd binary from linux generic "glibc_214" tarballs segfault with config file

    XMLWordPrintable

Details

    Description

      When using binary tarballs from mariabd.org on Ubuntu 16.04 garbd from the "glibc_214" tarball crashes when reading options from a config file.

      The garbd binaries from the other two tarballs work fine with the same config file, and all three binaries work fine when passing the same options via command line options directly instead of putting them into a config file.

      Looking further the content of the config file doesn't even really matter, garbd even crashes on an empty config file.

      Core file backtrace:

      (gdb) bt
      #0 0x0000000000434635 in _gnu_cxx::exchange_and_add (_mem=0xfffffffffffffff8, __val=<optimized out>)
      at /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../../../../include/c++/4.7.3/ext/atomicity.h:48
      #1 _gnu_cxx::exchange_and_add_dispatch (mem=_mem@entry=0xfffffffffffffff8, __val=-1)
      at /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../../../../include/c++/4.7.3/ext/atomicity.h:81
      #2 0x000000000044532c in std::string::Rep::_M_dispose (_a=..., this=0xffffffffffffffe8)
      at /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../../../../include/c++/4.7.3/bits/basic_string.h:242
      #3 std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string (this=0x7ffebdb5be20, __in_chrg=<optimized out>)
      at /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../../../../include/c++/4.7.3/bits/basic_string.h:536
      #4 boost::program_options::options_description::~options_description (this=0x7ffebdb5be20, __in_chrg=<optimized out>)
      at /usr/local/include/boost/program_options/options_description.hpp:163
      #5 0x0000000000443746 in garb::Config::Config (this=0x7ffebdb5c940, argc=3, argv=0x7ffebdb5d0a8) at garb/garb_config.cpp:157
      #6 0x0000000000435ee8 in garb::main (argc=<optimized out>, argv=<optimized out>) at garb/garb_main.cpp:82
      #7 0x000000000043612d in main (argc=<optimized out>, argv=<optimized out>) at garb/garb_main.cpp:113

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hholzgra Hartmut Holzgraefe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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