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

The test case for bug mdev-16727 crashes the server in the tree bb-10.4-mdev7486

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • N/A
    • 10.4.3
    • Optimizer
    • None

    Description

      The test case for bug mdev-16727 crashes the server in the tree bb-10.4-mdev7486.

      How to reproduce:

      1. Strip off the comment signs from the query for mdev-16727.
      2. Run ./mtr main.in_sbq_cond_pushdown

      You'll get something like this:

      Program terminated with signal SIGSEGV, Segmentation fault.
      #0  0x00007f24f60e20d1 in pthread_kill () from /lib64/libpthread.so.0
      [Current thread is 1 (Thread 0x7f24ee12c700 (LWP 387))]
      #0  0x00007f24f60e20d1 in pthread_kill () from /lib64/libpthread.so.0
      #1  0x000055d39f580508 in my_write_core (sig=11) at /home/igor/maria-git/10.4-mdev7486-test/mysys/stacktrace.c:481
      #2  0x000055d39edb84fd in handle_fatal_signal (sig=11) at /home/igor/maria-git/10.4-mdev7486-test/sql/signal_handler.cc:305
      #3  <signal handler called>
      #4  0x000055d39eb12740 in Item_equal_iterator<List_iterator_fast, Item>::get_curr_field (this=0x7f24ee129aa0) at /home/igor/maria-git/10.4-mdev7486-test/sql/item_cmpfunc.h:3310
      #5  0x000055d39ee11bae in Item_equal::contains (this=0x7f24dc1c1840, field=0x7f24dc1ab2f0) at /home/igor/maria-git/10.4-mdev7486-test/sql/item_cmpfunc.cc:6602
      #6  0x000055d39ede5869 in Item_field::find_item_equal (this=0x7f24dc016660, cond_equal=0x7f24dc1c1620) at /home/igor/maria-git/10.4-mdev7486-test/sql/item.cc:5992
      #7  0x000055d39eae63df in eliminate_item_equal (thd=0x7f24dc000b00, cond=0x0, upper_levels=0x7f24dc1c1620, item_equal=0x7f24dc1c1a20) at /home/igor/maria-git/10.4-mdev7486-test/sql/sql_select.cc:15207
      #8  0x000055d39eae6fbd in substitute_for_best_equal_field (thd=0x7f24dc000b00, context_tab=0x1, cond=0x7f24dc1c1a20, cond_equal=0x7f24dc1c162
      ...
      

      Attachments

        Activity

          People

            shagalla Galina Shalygina (Inactive)
            igor Igor Babaev
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.