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

Crash on repeated calls to "maxctrl show sessions"

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 23.08.2
    • N/A
    • maxctrl
    • None

    Description

      CentOS Linux release 7.9.2009 (Core)

      [psumner@xxxxx ~]$ uname -a
      Linux dblb02..... 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

      [psumner@xxxxx ~]$ maxctrl --version
      23.08.2

      Repeated calls - not necessarily done in quick succession - to:

      maxctrl show sessions
      

      causes Maxscale to restart with this in the error log:

      2024-01-11 13:56:06   alert  : MaxScale 23.08.2 received fatal signal 11. Commit ID: be2d3b6e3373dcd6febbde93a5a78ed24ca4eda6, System name: Linux, Release string: CentOS Linux 7 (Core), Thread: Worker-11
      2024-01-11 13:56:06   alert  : Statement currently being classified: none/unknown
      2024-01-11 13:56:06   notice : For a more detailed stacktrace, install GDB and add 'debug=gdb-stacktrace' under the [maxscale] section.
        /usr/lib64/maxscale/libmaxscale-common.so.1.0.0 (MariaDBClientConnection::diagnostics() const): ??:?
        /usr/lib64/maxscale/libmaxscale-common.so.1.0.0 (Session::as_json_resource(char const*, bool) const): /opt/rh/devtoolset-9/root/usr/include/c++/9/bits/std_function.h:687
        /usr/lib64/maxscale/libmaxscale-common.so.1.0.0 (seslist_cb(DCB*, void*)): /opt/rh/devtoolset-9/root/usr/include/c++/9/bits/std_function.h:687
        /usr/lib64/maxscale/libmaxscale-common.so.1.0.0 (SerialDcbTask::execute(maxbase::Worker&)): server/core/dcb.cc:1199
        /usr/lib64/maxscale/libmaxscale-common.so.1.0.0 (maxbase::Worker::handle_message(maxbase::MessageQueue&, maxbase::MessageQueueMessage const&)): ??:?
        /usr/lib64/maxscale/libmaxscale-common.so.1.0.0 (maxbase::EventMessageQueue::handle_poll_events(maxbase::Worker*, unsigned int, maxbase::Pollable::Context)): maxutils/maxbase/src/messagequeue.cc:222
        /usr/lib64/maxscale/libmaxscale-common.so.1.0.0 (maxbase::Worker::deliver_events(maxbase::Pollable*, unsigned int, maxbase::Pollable::Context)): ??:?
        /usr/lib64/maxscale/libmaxscale-common.so.1.0.0 (maxbase::Worker::poll_waitevents()): ??:?
        /usr/lib64/maxscale/libmaxscale-common.so.1.0.0 (maxbase::Worker::run(maxbase::Semaphore*)): ??:?
        /usr/lib64/maxscale/libmaxscale-common.so.1.0.0 (execute_native_thread_routine): thread48.o:?
        /lib64/libpthread.so.0 (start_thread): pthread_create.c:?
        /lib64/libc.so.6 (__clone): ??:?
      MaxScale 23.08.2 received fatal signal 11. Commit ID: be2d3b6e3373dcd6febbde93a5a78ed24ca4eda6, System name: Linux, Release string: CentOS Linux 7 (Core), Thread: Worker-11Writing core dump.
      

      I can't easily install GDB on this machine, so am hoping this information is useful enough.

      Attachments

        Issue Links

          Activity

            People

              markus makela markus makela
              psumner Phil Sumner
              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.