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

Abort due to double free or corruption after "Write to Client DCB ... state DCB_STATE_POLLING failed"

    XMLWordPrintable

Details

    Description

      Seeing a similar thing happening on customer case CS0122589, but with different stack trace, where

      Write to Client DCB 10.10.130.24 in state DCB_STATE_POLLING failed: 14, Bad address

      followed by

      double free or corruption (out)

      leads to an abort() call first, followed by a segfault during signal handling.

      This is happening repeatedly on two maxcale instances, sometimes even right after maxscale process restart.

      2020-09-18 01:24:54   error  : (974076) Write to Client DCB 10.10.130.24 in state DCB_STATE_POLLING failed: 14, Bad address
      2020-09-18 01:24:54   alert  : (974076) Fatal: MaxScale 2.4.12 received fatal signal 6. Commit ID: 7756d7c25708811b7a52b72156de752d6ac91a35 System name: Linux Release string: Ubuntu 18.04.5 LTS
      2020-09-18 01:24:54   alert  : (974076) Statement currently being classified: none/unknown
      double free or corruption (out)
      Fatal: MaxScale 2.4.12 received fatal signal 6. Commit ID: 7756d7c25708811b7a52b72156de752d6ac91a35 System name: Linux Release string: Ubuntu 18.04.5 LTS
       
      2020-09-18 01:24:54   alert  : (974076) 
        /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7) [0x7fb5d37b7f47]: binutils not installed
        /lib/x86_64-linux-gnu/libc.so.6(abort+0x141) [0x7fb5d37b98b1]: binutils not installed
        /lib/x86_64-linux-gnu/libc.so.6(+0x89907) [0x7fb5d3802907]: binutils not installed
        /lib/x86_64-linux-gnu/libc.so.6(+0x9097a) [0x7fb5d380997a]: binutils not installed
        /lib/x86_64-linux-gnu/libc.so.6(cfree+0x525) [0x7fb5d3810ee5]: binutils not installed
        /usr/lib/x86_64-linux-gnu/maxscale/libmaxscale-common.so.1.0.0(_Z10gwbuf_freeP5GWBUF+0x18) [0x7fb5d5784978]: binutils not installed
        /usr/lib/x86_64-linux-gnu/maxscale/libmariadbbackend.so(+0x454a) [0x7fb5cf24954a]: binutils not installed
        /usr/lib/x86_64-linux-gnu/maxscale/libmariadbbackend.so(+0x49f1) [0x7fb5cf2499f1]: binutils not installed
        /usr/lib/x86_64-linux-gnu/maxscale/libmaxscale-common.so.1.0.0(+0x9c887) [0x7fb5d57af887]: binutils not installed
        /usr/lib/x86_64-linux-gnu/maxscale/libmaxscale-common.so.1.0.0(+0x9c961) [0x7fb5d57af961]: binutils not installed
        /usr/lib/x86_64-linux-gnu/maxscale/libmaxscale-common.so.1.0.0(_ZN7maxbase6Worker15poll_waiteventsEv+0x1a6) [0x7fb5d582c646]: binutils not installed
        /usr/lib/x86_64-linux-gnu/maxscale/libmaxscale-common.so.1.0.0(_ZN7maxbase6Worker3runEPNS_9SemaphoreE+0x53) [0x7fb5d582c863]: binutils not installed
        /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xbd6df) [0x7fb5d45436df]: binutils not installed
        /lib/x86_64-linux-gnu/libpthread.so.0(+0x76db) [0x7fb5d4fea6db]: binutils not installed
        /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f) [0x7fb5d389aa3f]: binutils not installed
      2020-09-18 01:24:54   alert  : (974076) Fatal: MaxScale 2.4.12 received fatal signal 11. Commit ID: 7756d7c25708811b7a52b72156de752d6ac91a35 System name: Linux Release string: Ubuntu 18.04.5 LTS
      2020-09-18 01:24:54   alert  : (974076) Statement currently being classified: none/unknown
       
       
      Writing core dump
      Fatal: MaxScale 2.4.12 received fatal signal 11. Commit ID: 7756d7c25708811b7a52b72156de752d6ac91a35 System name: Linux Release string: Ubuntu 18.04.5 LTS
       
       
       
      Writing core dump
      2020-09-18 01:24:54   alert  : (974076) 
        /lib/x86_64-linux-gnu/libc.so.6(abort+0x230) [0x7fb5d37b99a0]: binutils not installed
        /lib/x86_64-linux-gnu/libc.so.6(+0x89907) [0x7fb5d3802907]: binutils not installed
        /lib/x86_64-linux-gnu/libc.so.6(+0x9097a) [0x7fb5d380997a]: binutils not installed
        /lib/x86_64-linux-gnu/libc.so.6(cfree+0x525) [0x7fb5d3810ee5]: binutils not installed
        /usr/lib/x86_64-linux-gnu/maxscale/libmaxscale-common.so.1.0.0(_Z10gwbuf_freeP5GWBUF+0x18) [0x7fb5d5784978]: binutils not installed
        /usr/lib/x86_64-linux-gnu/maxscale/libmariadbbackend.so(+0x454a) [0x7fb5cf24954a]: binutils not installed
        /usr/lib/x86_64-linux-gnu/maxscale/libmariadbbackend.so(+0x49f1) [0x7fb5cf2499f1]: binutils not installed
        /usr/lib/x86_64-linux-gnu/maxscale/libmaxscale-common.so.1.0.0(+0x9c887) [0x7fb5d57af887]: binutils not installed
        /usr/lib/x86_64-linux-gnu/maxscale/libmaxscale-common.so.1.0.0(+0x9c961) [0x7fb5d57af961]: binutils not installed
        /usr/lib/x86_64-linux-gnu/maxscale/libmaxscale-common.so.1.0.0(_ZN7maxbase6Worker15poll_waiteventsEv+0x1a6) [0x7fb5d582c646]: binutils not installed
        /usr/lib/x86_64-linux-gnu/maxscale/libmaxscale-common.so.1.0.0(_ZN7maxbase6Worker3runEPNS_9SemaphoreE+0x53) [0x7fb5d582c863]: binutils not installed
        /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xbd6df) [0x7fb5d45436df]: binutils not installed
        /lib/x86_64-linux-gnu/libpthread.so.0(+0x76db) [0x7fb5d4fea6db]: binutils not installed
      /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f) [0x7fb5d389aa3f]: binutils not installed
      

      Attachments

        Issue Links

          Activity

            People

              johan.wikman Johan Wikman
              hholzgra Hartmut Holzgraefe
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.