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

Debug assertion on shutdown

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 23.02.1
    • 23.02.2
    • Core
    • None

    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 ()
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              markus makela markus makela
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.