[MXS-4580] Debug assertion on shutdown Created: 2023-04-05  Updated: 2023-04-18  Resolved: 2023-04-18

Status: Closed
Project: MariaDB MaxScale
Component/s: Core
Affects Version/s: 23.02.1
Fix Version/s: 23.02.2

Type: Task Priority: Minor
Reporter: markus makela Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by MXS-4585 Debug assertion on shutdown Closed

 Description   

Steps to reproduce:

  • Install debug packages of MaxScale 23.02.1
  • Start it from the command line as a non-root user

The following output is produced

[vagrant@localhost ~]$  /usr/bin/maxscale
Failed to open file '/var/log/maxscale/maxscale.log': 13, Permission denied
alert: Could not initialize the MaxScale log.
maxscale: /home/timofey_turenko_mariadb_com/MaxScale/maxutils/maxbase/src/log.cc:567: void mxb_log_finish(): Assertion `this_unit.sLogger && this_unit.sMessage_registry' failed.

Stacktrace:

#0  0x00007ffff638454c in __pthread_kill_implementation () from /lib64/libc.so.6
#1  0x00007ffff6337ce6 in raise () from /lib64/libc.so.6
#2  0x00007ffff630b7f3 in abort () from /lib64/libc.so.6
#3  0x00007ffff630b71b in __assert_fail_base.cold () from /lib64/libc.so.6
#4  0x00007ffff6330c66 in __assert_fail () from /lib64/libc.so.6
#5  0x00007ffff7be03d0 in mxb_log_finish () at /home/timofey_turenko_mariadb_com/MaxScale/maxutils/maxbase/src/log.cc:567
#6  0x00007ffff633a455 in __run_exit_handlers () from /lib64/libc.so.6
#7  0x00007ffff633a5d0 in exit () from /lib64/libc.so.6
#8  0x00007ffff6322eb7 in __libc_start_call_main () from /lib64/libc.so.6
#9  0x00007ffff6322f60 in __libc_start_main_impl () from /lib64/libc.so.6
#10 0x000000000041d025 in _start ()



 Comments   
Comment by markus makela [ 2023-04-18 ]

This is a duplicate of MXS-4585.

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