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

Garbd gives terminate called after throwing an instance of 'gu::NotSet'

    XMLWordPrintable

Details

    Description

      Hi,

      I've been trying to run garbd with
      garbd -a "gcomm://10.20.1.241:3306,10.20.1.85:3306" -g antlabscluster --log /tmp/garbd.log
      terminate called after throwing an instance of 'gu::NotSet'
      Aborted (core dumped)

      On I set the ulimit -c unlimited so that I can get a core dump.

      I do not know if it is related to MDEV-9961 is it the same or different problem.
      If I do strace I get.
      open("/tmp/garbd.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3
      fstat(3,

      {st_mode=S_IFREG|0666, st_size=14010, ...}) = 0
      mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b404d717000
      fstat(3, {st_mode=S_IFREG|0666, st_size=14010, ...}

      ) = 0
      lseek(3, 14010, SEEK_SET) = 14010
      open("/etc/localtime", O_RDONLY) = 4
      fstat(4,

      {st_mode=S_IFREG|0644, st_size=402, ...}) = 0
      fstat(4, {st_mode=S_IFREG|0644, st_size=402, ...}

      ) = 0
      mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b404d718000
      read(4, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\10\0\0\0\0\0\0\0\10\0\0\0\10\0\0\0\27\206\203\205\243\272gN\220\300\n\344`\312\263\345`\313\221_\10\322Hm\360\367\272M\210\26\221\365\10\1\2\3\4\5\4\6\7\0\0a]\0\0\0\0bp\0\4\0\0g"..., 4096) = 402
      lseek(4, -231, SEEK_CUR) = 171
      read(4, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\t\0\0\0\t\0\0\0\0\0\0\0\t\0\0\0\t\0\0\0\33\377\377\377\377~6S\243\377\377\377\377\206\203\205\243\377\377\377\377\272gN\220\377\377\377\377\300\n\344`\377\377\377\377\312\263\345`\377\377\377\377\313\221_\10\377\377\377\377\322Hm"..., 4096) = 231
      close(4) = 0
      munmap(0x2b404d718000, 4096) = 0
      write(3, "2016-09-27 11:40:34.782 INFO: CRC-32C: using hardware acceleration.\n", 69) = 69
      write(3, "2016-09-27 11:40:34.783 INFO: Read config: \n\tdaemon: 0\n\tname: garb\n\taddress: gcomm://10.20.1.2"..., 289) = 289
      brk(0x11a02000) = 0x11a02000
      mmap(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b404d729000
      open("/proc/meminfo", O_RDONLY) = 4
      fstat(4,

      {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
      mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b404d74a000
      read(4, "MemTotal: 16436064 kB\nMemFree: 12438760 kB\nBuffers: 922700 kB\nCached: 248598"..., 1024) = 777
      close(4) = 0
      munmap(0x2b404d74a000, 4096) = 0
      open("/proc/meminfo", O_RDONLY) = 4
      fstat(4, {st_mode=S_IFREG|0444, st_size=0, ...}

      ) = 0
      mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b404d74a000
      read(4, "MemTotal: 16436064 kB\nMemFree: 12438760 kB\nBuffers: 922700 kB\nCached: 248598"..., 1024) = 777
      close(4) = 0
      munmap(0x2b404d74a000, 4096) = 0
      mmap(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b404d74a000
      mmap(NULL, 1052672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b404d76b000
      clock_gettime(CLOCK_MONOTONIC,

      {9147258, 841109363}

      ) = 0
      futex(0x3e2260d350, FUTEX_WAKE_PRIVATE, 2147483647) = 0
      write(3, "2016-09-27 11:40:34.784 INFO: protonet asio version 0\n", 55) = 55
      epoll_create(20000) = 4
      pipe([5, 6]) = 0
      fcntl(5, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
      fcntl(6, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
      epoll_ctl(4, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLERR|EPOLLET, {u32=295622832, u64=295622832}}) = 0
      write(6, "\0", 1) = 1
      write(3, "2016-09-27 11:40:34.785 INFO: Using CRC-32C for message checksums.\n", 68) = 68
      write(2, "terminate called after throwing an instance of '", 48terminate called after throwing an instance of ') = 48
      write(2, "gu::NotSet", 10gu::NotSet) = 10
      write(2, "'\n", 2'
      ) = 2
      rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
      tgkill(29501, 29501, SIGABRT) = 0
      — SIGABRT (Aborted) @ 0 (0) —
      +++ killed by SIGABRT (core dumped) +++

      From gdb "which garbd" core.x
      I get
      gdb 'which garbd' core.27935
      GNU gdb (GDB) CentOS (7.0.1-45.el5.centos)
      Copyright (C) 2009 Free Software Foundation, Inc.
      License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
      This is free software: you are free to change and redistribute it.
      There is NO WARRANTY, to the extent permitted by law. Type "show copying"
      and "show warranty" for details.
      This GDB was configured as "x86_64-redhat-linux-gnu".
      For bug reporting instructions, please see:
      <http://www.gnu.org/software/gdb/bugs/>...
      which garbd: No such file or directory.
      [New Thread 27935]

      warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fff302c0000
      Core was generated by `garbd -a gcomm://10.20.1.241:3306,10.20.1.85:3306 -g antlabscluster --log /tmp/'.
      Program terminated with signal 6, Aborted.
      #0 0x0000003e1e02ffc5 in ?? ()
      (gdb) where
      #0 0x0000003e1e02ffc5 in ?? ()
      (gdb) bt full
      #0 0x0000003e1e02ffc5 in ?? ()
      No symbol table info available.
      (gdb)

      Is there something I'm missing in the configuration or something in my system?

      Regards,

      Michael

      Attachments

        Activity

          People

            seppo Seppo Jaakola
            Michaelv Michael Van Der Beek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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