Details

    Description

      http://buildbot.askmonty.org/buildbot/builders/kvm-rpm-fedora28-amd64/builds/23/steps/mtr/logs/stdio

      10.2 182db5a1b79e0be27e8191f9bea7c8cd3dbe22a3

      tokudb_mariadb.xa-recovery-9214 'innodb' w2 [ fail ]
              Test ended at 2018-05-15 15:17:59
       
      CURRENT_TEST: tokudb_mariadb.xa-recovery-9214
       
       
      Failed to start mysqld.1
      mysqltest failed but provided no output
       
       
       - skipping '/dev/shm/var/2/log/tokudb_mariadb.xa-recovery-9214-innodb/'
       
      Retrying test tokudb_mariadb.xa-recovery-9214, attempt(2/3)...
       
      worker[2] > Restart  - not started
      ***Warnings generated in error logs during shutdown after running tests: tokudb_mariadb.xa-recovery-9214
       
      2018-05-15 15:17:57 139751156107520 [ERROR] Couldn't load plugins from 'ha_tokudb.so'.
      2018-05-15 15:17:58 139751156107520 [ERROR] /usr/sbin/mysqld: unknown option '--tokudb'
      2018-05-15 15:17:58 139751156107520 [ERROR] Aborting
      

      Attachments

        Issue Links

          Activity

            serg Sergei Golubchik added a comment - - edited

            The error is

            2018-05-16  2:26:08 140039501175040 [ERROR] Can't open shared library '/usr/lib64/mysql/plugin/ha_tokudb.so' (errno: 2, /lib64/libjemalloc.so.2: cannot allocate memory in static TLS block)
            

            This comes from the new jemalloc (see https://github.com/jemalloc/jemalloc/issues/937) when it's dlopen-ed or linked with a module that is dlopen-ed. Which is exactly our case, jemalloc is linked with tokudb, and tokudb is dlopen-ed.

            serg Sergei Golubchik added a comment - - edited The error is 2018-05-16 2:26:08 140039501175040 [ERROR] Can't open shared library '/usr/lib64/mysql/plugin/ha_tokudb.so' (errno: 2, /lib64/libjemalloc.so.2: cannot allocate memory in static TLS block) This comes from the new jemalloc (see https://github.com/jemalloc/jemalloc/issues/937 ) when it's dlopen-ed or linked with a module that is dlopen-ed. Which is exactly our case, jemalloc is linked with tokudb, and tokudb is dlopen-ed.

            The fix: don't link TokuDB with jemalloc on FC28. Instead, let's LD_PRELOAD jemalloc when TokuDB is installed.

            serg Sergei Golubchik added a comment - The fix: don't link TokuDB with jemalloc on FC28. Instead, let's LD_PRELOAD jemalloc when TokuDB is installed.

            People

              serg Sergei Golubchik
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.