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

MaxScale crashes in gwbuf_set_type() upon query retry

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 2.4.10, 2.4.12
    • 2.4.13
    • readwritesplit
    • None
    • MXS-SPRINT-117

    Description

      Crash with the following backtrace happens:

      2020-10-02 11:00:36   error  : (1) Write to Backend DCB X.Y.Z.T in state DCB_STATE_POLLING failed: 104, Connection reset by peer
      2020-10-02 11:00:36   alert  : (1) Fatal: MaxScale 2.4.10 received fatal signal 11. Commit ID: 7781f7042ab077811e2431794c2280162c0a6a3d System name: Linux Release string: Red Hat Enterprise Linux Server release 7.8 (Maipo)
      2020-10-02 11:00:36   alert  : (1) 
        /usr/local/maxscale/bin/../lib64/maxscale/libmaxscale-common.so.1.0.0(_Z14gwbuf_set_typeP5GWBUFj+0x10): server/core/buffer.cc:600
        /usr/lib64/maxscale/libreadwritesplit.so(_ZN14RWSplitSession11retry_queryEP5GWBUFi+0x33): server/modules/routing/readwritesplit/rwsplit_route_stmt.cc:159
        /usr/lib64/maxscale/libreadwritesplit.so(_ZN14RWSplitSession18retry_master_queryEPN8maxscale9RWBackendE+0x14b): /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_deque.h:1582
        /usr/lib64/maxscale/libreadwritesplit.so(_ZN14RWSplitSession11handleErrorEP5GWBUFP3DCB12error_actionPb+0x692): server/modules/routing/readwritesplit/rwsplitsession.cc:1128
        /usr/lib64/maxscale/libreadwritesplit.so(_ZN8maxscale6RouterI7RWSplit14RWSplitSessionE11handleErrorEP10mxs_routerP18mxs_router_sessionP5GWBUFP3DCB12error_actionPb+0x2d): include/maxscale/router.hh:489
        /usr/lib64/maxscale/libmariadbbackend.so(+0x4f44): server/modules/protocol/MySQL/mariadbbackend/mysql_backend.cc:626
        /usr/lib64/maxscale/libmariadbbackend.so(+0x5101): server/modules/protocol/MySQL/mariadbbackend/mysql_backend.cc:1386
        /usr/local/maxscale/bin/../lib64/maxscale/libmaxscale-common.so.1.0.0(+0xa0057): server/core/dcb.cc:2720
        /usr/local/maxscale/bin/../lib64/maxscale/libmaxscale-common.so.1.0.0(+0xa0271): server/core/dcb.cc:2755
        /usr/local/maxscale/bin/../lib64/maxscale/libmaxscale-common.so.1.0.0(_ZN7maxbase6Worker15poll_waiteventsEv+0x1a6): maxutils/maxbase/src/worker.cc:858
        /usr/local/maxscale/bin/../lib64/maxscale/libmaxscale-common.so.1.0.0(_ZN7maxbase6Worker3runEPNS_9SemaphoreE+0x53): maxutils/maxbase/src/worker.cc:559
        /usr/local/maxscale/bin/../lib64/maxscale/libmaxscale-common.so.1.0.0(+0x1b830f): thread48.o:?
        /lib64/libpthread.so.0(+0x7ea5): pthread_create.c:?
        /lib64/libc.so.6(clone+0x6d): ??:?
      

      Attachments

        Activity

          People

            markus makela markus makela
            valerii Valerii Kravchuk
            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.