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

6.1.1 CentOS7 x86_64 RPMs fail on older CPUs without avx2 extension

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.1.1
    • Fix Version/s: 6.1.2
    • Component/s: Core
    • Labels:
      None
    • Environment:
      CentOS7, Xeon(R) CPU E5-2660 v2 model (first released 2013)

      Description

      This fails with an invalid opcode exception when running on a Xeon(R) CPU E5-2660 v2 model (first released 2013), but works on a slightly more recent Xeon(R) CPU E5-2676 v3 from 2014.

      One of the difference between the two models is that both support avx, but only the newer model also supports avx2 extensions.

      Crashes already when trying to run "maxscale --version"

      Backtrace:

      Thread 1 (Thread 0x7f03d32dcf40 (LWP 26311)):
      #0 0x00007f03d2e1f3b8 in maxsimd::simd256::make_ascii_bitmap (chars="\"'`/#-\\") at /home/timofey_turenko_mariadb_com/MaxScale/maxutils/maxsimd/src/impl/simd256.cc:64
      ch = 92 '\\'
      __for_range = "\"'`/#-\\"
      bitmap = {_M_elems = "@\000\004\004\000\000\000\004\000\000\000\000 \004\000\004@\000\004\004\000\000\000\004\000\000\000\000 \004\000\004"}
      #1 0x00007f03d2c0a751 in __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at /home/timofey_turenko_mariadb_com/MaxScale/maxutils/maxsimd/src/impl/simd_canonical.cc:36
      No locals.
      #2 _GLOBAL__sub_I_simd_canonical.cc(void) () at /home/timofey_turenko_mariadb_com/MaxScale/maxutils/maxsimd/src/impl/simd_canonical.cc:456
      No locals.
      #3 0x00007f03d30f59c3 in _dl_init_internal () from /lib64/ld-linux-x86-64.so.2
      No symbol table info available.
      #4 0x00007f03d30e717a in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
      No symbol table info available.
      #5 0x0000000000000002 in ?? ()
      No symbol table info available.
      #6 0x00007ffcfb7208a0 in ?? ()
      No symbol table info available.
      #7 0x00007ffcfb7208a9 in ?? ()
      No symbol table info available.
      #8 0x0000000000000000 in ?? ()
      No symbol table info available.
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              nantti Niclas Antti
              Reporter:
              hholzgra Hartmut Holzgraefe
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.