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

AVX instructions end up being executed on startup

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 22.08.5, 23.02.1
    • 6.4.7, 22.08.6, 23.02.2
    • Core
    • None
    • Red Hat Enterprise Linux release 9.1
      Rocky Linux release 9.1
    • MXS-SPRINT-182

    Description

      Program received signal SIGILL, Illegal instruction.
      0x00007ffff7b9fa5c in _GLOBAL__sub_I_simd_canonical.cc () at /usr/include/c++/11/ext/new_allocator.h:79
      79	      new_allocator() _GLIBCXX_USE_NOEXCEPT { }
      Missing separate debuginfos, use: dnf debuginfo-install maxscale-23.02.1-1.rhel.9.x86_64
      (gdb) bt
      #0  0x00007ffff7b9fa5c in _GLOBAL__sub_I_simd_canonical.cc () at /usr/include/c++/11/ext/new_allocator.h:79
      #1  0x00007ffff7fd11ae in call_init (env=0x7fffffffe3e8, argv=0x7fffffffe3b8, argc=5, l=<optimized out>) at dl-init.c:70
      #2  call_init (l=<optimized out>, argc=5, argv=0x7fffffffe3b8, env=0x7fffffffe3e8) at dl-init.c:26
      #3  0x00007ffff7fd129c in _dl_init (main_map=0x7ffff7ffe220, argc=5, argv=0x7fffffffe3b8, env=0x7fffffffe3e8) at dl-init.c:117
      #4  0x00007ffff7fe7b0a in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
      #5  0x0000000000000005 in ?? ()
      #6  0x00007fffffffe663 in ?? ()
      #7  0x00007fffffffe675 in ?? ()
      #8  0x00007fffffffe678 in ?? ()
      #9  0x00007fffffffe681 in ?? ()
      #10 0x00007fffffffe684 in ?? ()
      #11 0x0000000000000000 in ?? ()
      (gdb)
      


      Original description:

      I start the installation process

      [root@karma033 clustrix]# yum -y install ./maxscale-23.02.1-1.rhel.9.x86_64.rpm
      Updating Subscription Management repositories.
      Unable to read consumer identity
       
      This system is not registered with an entitlement server. You can use subscription-manager to register.
       
      Clustrix custom EL 9 packages                                                                                                                                                                                           23 MB/s | 491 kB     00:00
      RHEL-9 - AppStream                                                                                                                                                                                                      59 MB/s |  18 MB     00:00
      RHEL-9 - BaseOS                                                                                                                                                                                                         58 MB/s |  10 MB     00:00
      RHEL-9 - CRB                                                                                                                                                                                                            53 MB/s | 4.8 MB     00:00
      Extra Packages for Enterprise Linux 9 - x86_64                                                                                                                                                                          60 MB/s |  15 MB     00:00
      Dependencies resolved.
      =======================================================================================================================================================================================================================================================
       Package                                                     Architecture                                          Version                                                           Repository                                                   Size
      =======================================================================================================================================================================================================================================================
      Installing:
       maxscale                                                    x86_64                                                23.02.1-1.rhel.9                                                  @commandline                                                 82 M
      Installing dependencies:
       libatomic                                                   x86_64                                                11.3.1-2.1.el9                                                    base                                                         59 k
       libtool-ltdl                                                x86_64                                                2.4.6-45.el9                                                      AppStream                                                    39 k
       unixODBC                                                    x86_64                                                2.3.9-4.el9                                                       AppStream                                                   495 k
       
      Transaction Summary
      =======================================================================================================================================================================================================================================================
      Install  4 Packages
       
      Total size: 82 M
      

      I check the usual locations that maxscale files should be

      [root@karma033 etc]# cd /var/lib/maxscale
      [root@karma033 maxscale]# ls
      [root@karma033 maxscale]# cd
      [root@karma033 ~]# ls
      anaconda-ks.cfg  original-ks.cfg  pxe_command
      [root@karma033 ~]# systemctl restart maxscale
      Job for maxscale.service failed because a fatal signal was delivered causing the control process to dump core.
      See "systemctl status maxscale.service" and "journalctl -xeu maxscale.service" for details.
      [root@karma033 ~]# ls /var/log/maxscale
      [root@karma033 ~]#
      

      There is no maxscale.log.

      I had the following in my /etc/maxscale.cnf

      [maxscale]
      threads          = auto
      admin_host       = 0.0.0.0
      admin_secure_gui = false
      

      This is what I see in dmesg

      [  646.714809] show_signal: 11 callbacks suppressed
      [  646.714815] traps: maxscale[44390] trap invalid opcode ip:7fd8ed566a5c sp:7ffc245ef3d0 error:0 in libmaxscale-common.so.1.0.0[7fd8ed528000+338000]
      [  646.976665] traps: maxscale[44399] trap invalid opcode ip:7faa3028aa5c sp:7ffcc1971450 error:0 in libmaxscale-common.so.1.0.0[7faa3024c000+338000]
      [  647.226668] traps: maxscale[44408] trap invalid opcode ip:7f4ba177da5c sp:7ffed9fe9ab0 error:0 in libmaxscale-common.so.1.0.0[7f4ba173f000+338000]
      [  647.476661] traps: maxscale[44417] trap invalid opcode ip:7f34f49bea5c sp:7ffeece09ce0 error:0 in libmaxscale-common.so.1.0.0[7f34f4980000+338000]
      [  647.727664] traps: maxscale[44426] trap invalid opcode ip:7f3003144a5c sp:7ffd8454f6b0 error:0 in libmaxscale-common.so.1.0.0[7f3003106000+338000]
      [  647.976657] traps: maxscale[44435] trap invalid opcode ip:7f11d636ea5c sp:7ffe879f8fe0 error:0 in libmaxscale-common.so.1.0.0[7f11d6330000+338000]
      

      Attachments

        Activity

          People

            nantti Niclas Antti
            bchin Brad Chin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.