Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-8508

mroonga fails embedded tests in 10.1

    XMLWordPrintable

Details

    • 10.1.9-3

    Description

      mroonga crashes in embedded tests in 10.1.

      this looks like a linking problem. the crash happens immediately in mrn_init() on

      mrn_hton_ptr = hton;

      In -DCMAKE_BUILD_TYPE=Debug this is compiled to

      	movq	mrn_hton_ptr@GOTPCREL(%rip), %rax
      	movq	-32(%rbp), %rdx
      	movq	%rdx, (%rax)

      And in gdb I see that %rax is 0 in the last line. Other plugins (for example, qc_info plugin) succeed, while having very similar code. I'd guess the issue has something to do with compilation or linking options that mroonga uses.

      As a temporary workaround I have made mroonga tests not to run by default in embedded test runs.

      Attachments

        Activity

          People

            serg Sergei Golubchik
            serg Sergei Golubchik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.