[MXS-4536] MaxScale 22.08.4 received fatal signal 6 Created: 2023-02-28  Updated: 2023-05-22  Resolved: 2023-05-22

Status: Closed
Project: MariaDB MaxScale
Component/s: N/A
Affects Version/s: 22.08.4
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Gerardo Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: None
Environment:

Ubuntu 20.04.4 LTS



 Description   

A server worked fine after the installation of Maxscale 22.08.4 during 2 days, but after that, started to show the below error.

2023-02-24 15:53:45.318   alert  : MaxScale 22.08.4 received fatal signal 6. Commit ID: 9be47263ae2ff2c7bdf4c3d1334fb86a7de53b77 System name: Linux Release string: Ubuntu 20.04.4 LTS
2023-02-24 15:53:45.318   alert  : Statement currently being classified: none/unknown
2023-02-24 15:53:45.318   notice : For a more detailed stacktrace, install GDB and add 'debug=gdb-stacktrace' under the [maxscale] section.
  /lib/x86_64-linux-gnu/libc.so.6(epoll_wait+0x5e) [0x7f0d394f046e]: <binutils not installed>
  /usr/lib/x86_64-linux-gnu/maxscale/libmaxscale-common.so.1.0.0(_ZN7maxbase6Worker15poll_waiteventsEv+0x173) [0x7f0d3a0b67f3]: <binutils not installed>
  /usr/lib/x86_64-linux-gnu/maxscale/libmaxscale-common.so.1.0.0(_ZN7maxbase6Worker3runEPNS_9SemaphoreE+0x53) [0x7f0d3a0b6ce3]: <binutils not installed>
  /usr/bin/maxscale(main+0x219b) [0x558585a8f7cb]: <binutils not installed>
  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f0d393f5083]: <binutils not installed>
  /usr/bin/maxscale(_start+0x2e) [0x558585a9030e]: <binutils not installed>
alert  : Writing core dump.

The maxscale.conf is:

  1. MaxScale documentation on GitHub:
  2. https://github.com/mariadb-corporation/MaxScale/blob/master/Documentation/Documentation-Contents.md
  1. Global parameters
    #
  2. Complete list of configuration options:
  3. https://github.com/mariadb-corporation/MaxScale/blob/master/Documentation/Getting-Started/Configuration-Guide.md

[maxscale]
threads = auto

  1. Configuración del monitor GUI
    ms_timestamp = 1
    admin_host = 0.0.0.0
    admin_port = 8989
    admin_secure_gui = false
    local_address = 10.20.80.10
    skip_name_resolve = true
  1. Server definitions
    #
  2. Set the address of the server to the network
  3. address of a MySQL server.
    #

[sql01lookup]
type = server
address = 10.20.80.12
port = 3306
protocol = MariaDBBackend

[sql02lookup]
type = server
address = 10.20.80.13
port = 3306
protocol = MariaDBBackend

[sql03lookup]
type = server
address = 10.20.80.14
port = 3306
protocol = MariaDBBackend

#

  1. This will keep MaxScale aware of the state of the servers.
  2. MySQL Monitor documentation:
  3. https://github.com/mariadb-corporation/MaxScale/blob/master/Documentation/Monitors/MySQL-Monitor.md

[MariaDB-Monitor]
type = monitor
module = galeramon
servers = sql01lookup,sql02lookup,sql03lookup
user = maxscale
password = B0DA8E34968B9DA6960E007A7831C64DAC8206EF3B8E46187B774
monitor_interval = 5s
available_when_donor = true
#use_priority = true

  1. Service definitions
    #
  2. Service Definition for a read-only service and
  3. a read/write splitting service.
    #
  1. ReadConnRoute documentation:
  2. https://github.com/mariadb-corporation/MaxScale/blob/master/Documentation/Routers/ReadConnRoute.md
  1. ReadWriteSplit documentation:
  2. https://github.com/mariadb-corporation/MaxScale/blob/master/Documentation/Routers/ReadWriteSplit.md

[Read-Write-Service]
type = service
router = readwritesplit
servers = sql01lookup,sql02lookup,sql03lookup
user = maxscale
password = A8B0DA8E34968B9DA6960E007A7831C64DAC8206EF3B8E46187B774
slave_selection_criteria = ADAPTIVE_ROUTING
master_accept_reads = true

  1. This service enables the use of the MaxAdmin interface
  2. MaxScale administration guide:
  3. https://github.com/mariadb-corporation/MaxScale/blob/master/Documentation/Reference/MaxAdmin.md
  1. Listener definitions for the services
    #
  2. These listeners represent the ports the
  3. services will listen on.
    #

[Read-Write-Listener]
type = listener
service = Read-Write-Service
protocol = MariaDBClient
port = 4006
address = 0.0.0.0



 Comments   
Comment by markus makela [ 2023-02-28 ]

Is it possible for you to install GDB and add 'debug=gdb-stacktrace' under the [maxscale] section? This will produce a more verbose stacktrace using GDB which should explain why this is happening.

If you have a coredump, that would also be very useful for us.

Comment by markus makela [ 2023-05-22 ]

Closed as Incomplete since there's been no feedback and we have found no way to reproduce this locally.

Generated at Thu Feb 08 04:29:21 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.