Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-1009

maxinfo sigsegv in spinlock_release

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.4.4
    • Fix Version/s: 1.4.4, 2.0.3
    • Component/s: maxinfo
    • Labels:
      None
    • Environment:
      3.13.0-58-generic #97-Ubuntu SMP Wed Jul 8 02:56:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

      Description

      Just saw maxscale crash with this error, after being online for close to a week.

      There's little to no MySQL traffic currently on this system, almost all of the transactions it's handling are queries against Maxinfo.

      2016-11-19 04:40:56   error  : Fatal: MaxScale 1.4.4 received fatal signal 11. Attempting backtrace.
      2016-11-19 04:40:56   error  : Commit ID: f95d31eb44249500b4a261e4adc8aad9a7e11eb6 System name: Linux Release string: Ubuntu 14.04.5 LTS Embedded library version: (null)
      2016-11-19 04:40:56   error  :   /usr/bin/maxscale() [0x403c20]
      2016-11-19 04:40:56   error  :   /lib/x86_64-linux-gnu/libpthread.so.0(+0x10330) [0x7fcc5781d330]
      2016-11-19 04:40:56   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libmaxinfo.so(+0x314e) [0x7fcc512a914e]
      2016-11-19 04:40:56   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libMySQLClient.so(+0x4d20) [0x7fcc35857d20]
      2016-11-19 04:40:56   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libmaxscale-common.so.1.0.0(+0x3153f) [0x7fcc57cbb53f]
      2016-11-19 04:40:56   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libmaxscale-common.so.1.0.0(+0x31222) [0x7fcc57cbb222]
      2016-11-19 04:40:56   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libmaxscale-common.so.1.0.0(dcb_process_zombies+0x230) [0x7fcc57cbb026]
      2016-11-19 04:40:56   error  :   /usr/lib/x86_64-linux-gnu/maxscale/libmaxscale-common.so.1.0.0(poll_waitevents+0x719) [0x7fcc57ccf2e2]
      2016-11-19 04:40:56   error  :   /usr/bin/maxscale(main+0x180c) [0x406c31]
      2016-11-19 04:40:56   error  :   /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fcc5708df45]
      2016-11-19 04:40:56   error  :   /usr/bin/maxscale() [0x4035c9]
       
      root@maxscale-cluster-a-rax02:/var/log/maxscale# gdb /usr/bin/maxscale core
      GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
      Copyright (C) 2014 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-linux-gnu".
      Type "show configuration" for configuration details.
      For bug reporting instructions, please see:
      <http://www.gnu.org/software/gdb/bugs/>.
      Find the GDB manual and other documentation resources online at:
      <http://www.gnu.org/software/gdb/documentation/>.
      For help, type "help".
      Type "apropos word" to search for commands related to "word"...
      Reading symbols from /usr/bin/maxscale...done.
      [New LWP 6924]
      [New LWP 6925]
      [New LWP 6930]
      [New LWP 6926]
      [New LWP 6928]
      [New LWP 6929]
      [Thread debugging using libthread_db enabled]
      Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
      Core was generated by `/usr/bin/maxscale --user=maxscale'.
      Program terminated with signal SIGSEGV, Segmentation fault.
      #0  0x00007fcc512a914e in closeSession (instance=0x159e820, router_session=0xf4c9f00) at /home/vagrant/workspace/server/modules/routing/maxinfo/maxinfo.c:248
      248		spinlock_release(&inst->lock);
      

        Attachments

          Activity

            People

            Assignee:
            esa.korhonen Esa Korhonen
            Reporter:
            cswingler Christopher Swingler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration