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

mroonga fails embedded tests in 10.1

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

          serg Sergei Golubchik created issue -
          serg Sergei Golubchik made changes -
          Field Original Value New Value
          Assignee Kentoku [ kentoku ] Sergei Golubchik [ serg ]
          serg Sergei Golubchik made changes -
          Sprint 10.1.9-3 [ 20 ]
          serg Sergei Golubchik made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          serg Sergei Golubchik made changes -
          Rank Ranked higher
          serg Sergei Golubchik made changes -
          Status In Progress [ 3 ] Stalled [ 10000 ]
          serg Sergei Golubchik made changes -
          Priority Major [ 3 ] Minor [ 4 ]
          ratzpo Rasmus Johansson (Inactive) made changes -
          Rank Ranked higher
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 70711 ] MariaDB v4 [ 143466 ]

          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.