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

Segmentation fault

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 13.2
    • None
    • Optimizer
    • None
    • Can result in hang or crash

    Description

      Issue:
      ---------
      Signal 11 seen while testing MDEV-39014

      Version:

      ----------------
      Branch : 13.2-mdev-39014-full-join-p2
      commit :7ddd5eed1b0771d36bffbd5e71c33dcb620bda9d
      Version : 13.0.1

      How to Repro:

      ---------------

      create table A(pk int) ENGINE=MyISAM;
      create table B(pk int) ENGINE=Innodb;
      SELECT A.pk FROM A FULL JOIN B  ON (1);
      

      Stack trace:

      #0  __pthread_kill_implementation (no_tid=0, signo=11, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
      #1  __pthread_kill_internal (signo=11, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
      #2  __GI___pthread_kill (threadid=<optimized out>, signo=11) at ./nptl/pthread_kill.c:89
      #3  my_write_core (sig=11) at /home/ppandith/wl-39014/mysys/stacktrace.c:424
      #4  handle_fatal_signal (sig=11) at /home/ppandith/wl-39014/sql/signal_handler.cc:298
      #5  <signal handler called>
      #6  alloc_full_join_duplicate_filters (join=, start_tab=, count=2) at /home/ppandith/wl-39014/sql/sql_select.cc:24917
      #7  do_select (join=, procedure=) at /home/ppandith/wl-39014/sql/sql_select.cc:25084
      #8  JOIN::exec_inner (this=) at /home/ppandith/wl-39014/sql/sql_select.cc:5244
      #9  JOIN::exec (this=) at /home/ppandith/wl-39014/sql/sql_select.cc:5032
      #10 mysql_select (thd=, tables=, fields=..., conds=, og_num=0, order=, group=, having=, proc_param=, select_options=2164525824, 
          result=, unit=, select_lex=) at /home/ppandith/wl-39014/sql/sql_select.cc:5558
      #11 handle_select (thd=, lex=, result=, setup_tables_done_option=0) at /home/ppandith/wl-39014/sql/sql_select.cc:752
      #12 execute_sqlcom_select (thd=, all_tables=) at /home/ppandith/wl-39014/sql/sql_parse.cc:6213
      #13 mysql_execute_command (thd=, is_called_from_prepared_stmt=false) at /home/ppandith/wl-39014/sql/sql_parse.cc:3989
      #14 mysql_parse (thd=, rawbuf="SELECT A.`pk` FROM A FULL JOIN B  ON (1)", length=40, parser_state=)
          at /home/ppandith/wl-39014/sql/sql_parse.cc:7941
      #15 dispatch_command (command=COM_QUERY, thd=, packet="", packet_length=40, blocking=true)
          at /home/ppandith/wl-39014/sql/sql_parse.cc:1898
      #16 do_command (thd=, blocking=true) at /home/ppandith/wl-39014/sql/sql_parse.cc:1432
      #17 do_handle_one_connection (connect=, put_in_cache=true) at /home/ppandith/wl-39014/sql/sql_connect.cc:1503
      #18 handle_one_connection (arg=) at /home/ppandith/wl-39014/sql/sql_connect.cc:1415
      #19 pfs_spawn_thread (arg=) at /home/ppandith/wl-39014/storage/perfschema/pfs.cc:2198
      #20 start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
      #21 clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
      

      Attachments

        Issue Links

          Activity

            People

              Gosselin Dave Gosselin
              mariadb-pavithrapandith Pavithra Pandith
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.