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

debug assert at readwritesplit.cc:418 failed: a.second.total == a.second.read + a.second.write

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.9
    • Fix Version/s: 2.3.10
    • Component/s: N/A
    • Labels:
      None

      Description

      2019-07-16 21:37:57   error  : debug assert at /home/markusjm/MaxScale/server/modules/routing/readwritesplit/readwritesplit.cc:418 failed: a.second.total == a.second.read + a.second.write
      debug assert at /home/markusjm/MaxScale/server/modules/routing/readwritesplit/readwritesplit.cc:418 failed: a.second.total == a.second.read + a.second.write
      Fatal: MaxScale 2.3.10 received fatal signal 6. Attempting backtrace.
      Commit ID: c878d796beca9113fd21b012b9455c0bf8a2800f System name: Linux Release string: Fedora release 30 (Thirty)
       
      2019-07-16 21:37:57   alert  : Fatal: MaxScale 2.3.10 received fatal signal 6. Attempting backtrace.
      2019-07-16 21:37:57   alert  : Commit ID: c878d796beca9113fd21b012b9455c0bf8a2800f System name: Linux Release string: Fedora release 30 (Thirty)
      2019-07-16 21:37:57   alert  :   /lib64/libpthread.so.0(+0x12e80): sigaction.c:?
      2019-07-16 21:37:57   alert  :   /lib64/libpthread.so.0(raise+0x145): :?
      2019-07-16 21:37:57   alert  :   /home/markusjm/build-2.3/lib64/maxscale/libreadwritesplit.so(_ZNK7RWSplit16diagnostics_jsonEv+0x75e): server/modules/routing/readwritesplit/readwritesplit.cc:420
      2019-07-16 21:37:57   alert  :   /home/markusjm/build-2.3/lib64/maxscale/libreadwritesplit.so(_ZN8maxscale6RouterI7RWSplit14RWSplitSessionE16diagnostics_jsonEPK10mxs_router+0x29): include/maxscale/router.hh:196
      2019-07-16 21:37:57   alert  :   /home/markusjm/build-2.3/lib64/maxscale/libmaxscale-common.so.1.0.0(_Z18service_attributesPK7service+0x26f): server/core/service.cc:2063
      2019-07-16 21:37:58   alert  :   /home/markusjm/build-2.3/lib64/maxscale/libmaxscale-common.so.1.0.0(_Z17service_json_dataPK7servicePKc+0x132): server/core/service.cc:2131
      2019-07-16 21:37:58   alert  :   /home/markusjm/build-2.3/lib64/maxscale/libmaxscale-common.so.1.0.0(_Z20service_list_to_jsonPKc+0x1a0): server/core/service.cc:2175 (discriminator 2)
      2019-07-16 21:37:58   alert  :   /home/markusjm/build-2.3/lib64/maxscale/libmaxscale-common.so.1.0.0(+0x3007f8): server/core/resource.cc:558
      2019-07-16 21:37:58   alert  :   /home/markusjm/build-2.3/lib64/maxscale/libmaxscale-common.so.1.0.0(_ZNK8Resource4callERK11HttpRequest+0xd4): server/core/resource.cc:117
      2019-07-16 21:37:58   alert  :   /home/markusjm/build-2.3/lib64/maxscale/libmaxscale-common.so.1.0.0(+0x3090d9): server/core/resource.cc:1130
      2019-07-16 21:37:58   alert  :   /home/markusjm/build-2.3/lib64/maxscale/libmaxscale-common.so.1.0.0(+0x30a2da): server/core/resource.cc:1177
      2019-07-16 21:37:58   alert  :   /home/markusjm/build-2.3/lib64/maxscale/libmaxscale-common.so.1.0.0(+0x30c010): server/core/resource.cc:1300 (discriminator 1)
      2019-07-16 21:37:58   alert  :   /home/markusjm/build-2.3/lib64/maxscale/libmaxscale-common.so.1.0.0(+0x30ca08): server/core/resource.cc:1338 (discriminator 1)
      2019-07-16 21:37:58   alert  :   /home/markusjm/build-2.3/lib64/maxscale/libmaxscale-common.so.1.0.0(+0x30d014): /usr/include/c++/9/bits/std_function.h:302
      2019-07-16 21:37:58   alert  :   /home/markusjm/build-2.3/lib64/maxscale/libmaxscale-common.so.1.0.0(_ZNKSt8functionIFvvEEclEv+0x5c): /usr/include/c++/9/bits/std_function.h:690
      2019-07-16 21:37:58   alert  :   /home/markusjm/build-2.3/lib64/maxscale/libmaxscale-common.so.1.0.0(+0x3b72ce): maxutils/maxbase/src/worker.cc:488
      2019-07-16 21:37:58   alert  :   /home/markusjm/build-2.3/lib64/maxscale/libmaxscale-common.so.1.0.0(_ZN7maxbase6Worker14handle_messageERNS_12MessageQueueERKNS_19MessageQueueMessageE+0x191): maxutils/maxbase/src/worker.cc:649
      2019-07-16 21:37:58   alert  :   /home/markusjm/build-2.3/lib64/maxscale/libmaxscale-common.so.1.0.0(_ZN7maxbase12MessageQueue18handle_poll_eventsEPNS_6WorkerEj+0x3be): maxutils/maxbase/src/messagequeue.cc:291
      2019-07-16 21:37:58   alert  :   /home/markusjm/build-2.3/lib64/maxscale/libmaxscale-common.so.1.0.0(_ZN7maxbase12MessageQueue12poll_handlerEP13MXB_POLL_DATAP10MXB_WORKERj+0x31): maxutils/maxbase/src/messagequeue.cc:327
      2019-07-16 21:37:59   alert  :   /home/markusjm/build-2.3/lib64/maxscale/libmaxscale-common.so.1.0.0(_ZN7maxbase6Worker15poll_waiteventsEv+0xa0b): maxutils/maxbase/src/worker.cc:852
      2019-07-16 21:37:59   alert  :   /home/markusjm/build-2.3/lib64/maxscale/libmaxscale-common.so.1.0.0(_ZN7maxbase6Worker3runEPNS_9SemaphoreE+0x204): maxutils/maxbase/src/worker.cc:553
      2019-07-16 21:37:59   alert  :   bin/maxscale(_ZN7maxbase6Worker3runEv+0x1d): maxutils/maxbase/include/maxbase/worker.hh:412
      2019-07-16 21:37:59   alert  :   bin/maxscale(main+0x3382): server/core/gateway.cc:2259
      2019-07-16 21:37:59   alert  :   /lib64/libc.so.6(__libc_start_main+0xf3): ??:?
      2019-07-16 21:37:59   alert  :   bin/maxscale(_start+0x2e): ??:?
      

      Happened when sysbench was running and did a maxctrl show services.

        Attachments

          Activity

            People

            • Assignee:
              markus makela markus makela
              Reporter:
              markus makela markus makela
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: