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

Crash in route_stored_query with ReadWriteSplit

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 2.3.3, 2.3.4, 2.3.6, 2.3.7
    • 2.3.8
    • readwritesplit
    • None
    • MXS-SPRINT-82, MXS-SPRINT-83

    Description

      A user is seeing the following crash in MaxScale 2.3.6:

      2019-05-02 06:30:11 alert : (15297) Fatal: MaxScale 2.3.6 received fatal signal 11. Attempting backtrace.
      2019-05-02 06:30:11 alert : (15297) Commit ID: 03dc969cf203decb4d0bc65280fe4f901da87830 System name: Linux Release string: NAME="CentOS Linux"
      2019-05-02 06:30:11 alert : (15297) /usr/bin/maxscale(_ZN7maxbase15dump_stacktraceESt8functionIFvPKcS2_EE+0x2b) [0x40cbab]: /home/vagrant/MaxScal
      e/maxutils/maxbase/src/stacktrace.cc:130
      2019-05-02 06:30:11 alert : (15297) /usr/bin/maxscale(_ZN7maxbase15dump_stacktraceEPFvPKcS1_E+0x4e) [0x40cf0e]: /usr/include/c++/4.8.2/functional
      :2029
      2019-05-02 06:30:11 alert : (15297) /usr/bin/maxscale() [0x4095b9]: ??:0
      2019-05-02 06:30:11 alert : (15297) /lib64/libpthread.so.0(+0xf6d0) [0x7f7767a6b6d0]: sigaction.c:?
      2019-05-02 06:30:11 alert : (15297) /usr/lib64/maxscale/libreadwritesplit.so(_ZN14RWSplitSession18route_stored_queryEv+0x1f9) [0x7f775f54b949]: /
      home/vagrant/MaxScale/include/maxscale/protocol/mysql.h:633
      2019-05-02 06:30:11 alert : (15297) /usr/lib64/maxscale/libreadwritesplit.so(_ZN14RWSplitSession11clientReplyEP5gwbufP3dcb+0x3be) [0x7f775f54d6ee
      ]: /home/vagrant/MaxScale/server/modules/routing/readwritesplit/rwsplitsession.cc:752
      2019-05-02 06:30:11 alert : (15297) /usr/lib64/maxscale/libreadwritesplit.so(_ZN8maxscale6RouterI7RWSplit14RWSplitSessionE11clientReplyEP10mxs_ro
      uterP18mxs_router_sessionP5gwbufP3dcb+0x24) [0x7f775f5479e4]: /home/vagrant/MaxScale/include/maxscale/router.hh:206
      2019-05-02 06:30:11 alert : (15297) /usr/lib64/maxscale/libmariadbbackend.so(+0x43a7) [0x7f775fd8d3a7]: /home/vagrant/MaxScale/server/modules/pro
      tocol/MySQL/mariadbbackend/mysql_backend.cc:1041
      2019-05-02 06:30:11 alert : (15297) /usr/lib64/maxscale/libmaxscale-common.so.1.0.0(+0x7cbc7) [0x7f7768197bc7]: /home/vagrant/MaxScale/server/cor
      e/dcb.cc:3136
      2019-05-02 06:30:11 alert : (15297) /usr/lib64/maxscale/libmaxscale-common.so.1.0.0(+0x7cd61) [0x7f7768197d61]: /home/vagrant/MaxScale/server/cor
      e/dcb.cc:3228
      2019-05-02 06:30:11 alert : (15297) /usr/lib64/maxscale/libmaxscale-common.so.1.0.0(_ZN7maxbase6Worker15poll_waiteventsEv+0x1b5) [0x7f77681f3ae5]
      : /home/vagrant/MaxScale/maxutils/maxbase/src/worker.cc:844
      2019-05-02 06:30:11 alert : (15297) /usr/lib64/maxscale/libmaxscale-common.so.1.0.0(_ZN7maxbase6Worker3runEPNS_9SemaphoreE+0x51) [0x7f77681f3ce1]
      : /home/vagrant/MaxScale/maxutils/maxbase/src/worker.cc:545
      2019-05-02 06:30:11 alert : (15297) /lib64/libstdc++.so.6(+0xb5070) [0x7f7766a9f070]: ??:?
      2019-05-02 06:30:11 alert : (15297) /lib64/libpthread.so.0(+0x7e25) [0x7f7767a63e25]: pthread_create.c:?
      2019-05-02 06:30:11 alert : (15297) /lib64/libc.so.6(clone+0x6d) [0x7f7765a44bad]: ??:?
      

      This is the same user who was affected by MXS-2461 in MaxScale 2.3.4.

      Attachments

        Issue Links

          Activity

            People

              markus makela markus makela
              GeoffMontee Geoff Montee (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              5 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.