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

Assertion `null_value' failed in virtual bool Item::send(Protocol*, String*)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 10.2
    • Fix Version/s: 10.2
    • Component/s: None
    • Labels:
      None

      Description

      The crash is from galera multi-master pquery run.

      10.2.41

      mysqld: /test/mtest/10.2_dbg/sql/item.cc:6915: virtual bool Item::send(Protocol*, String*): Assertion `null_value' failed.
      

      10.2.41

      Core was generated by `/test/mtest/GAL_MD170821-mariadb-10.2.41-linux-x86_64-dbg/bin/mysqld --defaults'.
      Program terminated with signal SIGABRT, Aborted.
      #0  0x0000000070000002 in ?? ()
      [Current thread is 1 (Thread 0x60ce43839700 (LWP 1405950))]
      (gdb) bt
      #0  0x0000000070000002 in ?? ()
      #1  0x000019ae30e5a766 in _raw_syscall () at /home/roc/rr/rr/src/preload/raw_syscall.S:120
      #2  0x000019ae30e5604e in traced_raw_syscall (call=<optimized out>) at /home/roc/rr/rr/src/preload/syscallbuf.c:272
      #3  0x000019ae30e594d1 in syscall_hook_internal (call=0x153e8a968fa0) at /home/roc/rr/rr/src/preload/syscallbuf.c:3295
      #4  syscall_hook (call=0x153e8a968fa0) at /home/roc/rr/rr/src/preload/syscallbuf.c:3329
      #5  0x000019ae30e55e50 in _syscall_hook_trampoline () at /home/roc/rr/rr/src/preload/syscall_hook.S:313
      #6  0x000019ae30e55eaf in __morestack () at /home/roc/rr/rr/src/preload/syscall_hook.S:458
      #7  0x000019ae30e55f08 in _syscall_hook_trampoline_89_c2_f7_da () at /home/roc/rr/rr/src/preload/syscall_hook.S:504
      #8  0x00007ffe65a58f0c in __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
      #9  0x00005612b6953fe2 in my_write_core (sig=sig@entry=6) at /test/mtest/10.2_dbg/mysys/stacktrace.c:382
      #10 0x00005612b62447b3 in handle_fatal_signal (sig=6) at /test/mtest/10.2_dbg/sql/signal_handler.cc:355
      #11 <signal handler called>
      #12 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
      #13 0x0000582a3d0fa859 in __GI_abort () at abort.c:79
      #14 0x0000582a3d0fa729 in __assert_fail_base (fmt=0x582a3d290588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x5612b6ac8881 "null_value", file=0x5612b6abffa0 "/test/mtest/10.2_dbg/sql/item.cc", line=6915, function=<optimized out>) at assert.c:92
      #15 0x0000582a3d10bf36 in __GI___assert_fail (assertion=assertion@entry=0x5612b6ac8881 "null_value", file=file@entry=0x5612b6abffa0 "/test/mtest/10.2_dbg/sql/item.cc", line=line@entry=6915, function=function@entry=0x5612b6ac0e48 "virtual bool Item::send(Protocol*, String*)") at assert.c:101
      #16 0x00005612b625ab54 in Item::send (this=0xaa11802efb8, protocol=0xaa11801ef78, buffer=0x60ce438362d0) at /test/mtest/10.2_dbg/sql/item.cc:6993
      #17 0x00005612b5f80084 in Protocol::send_result_set_row (this=this@entry=0xaa11801ef78, row_items=row_items@entry=0xaa118022e30) at /test/mtest/10.2_dbg/sql/protocol.cc:992
      #18 0x00005612b5ffe2ec in select_send::send_data (this=0xaa11802f1b0, items=@0xaa118022e30: {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0xaa11802f0e0, last = 0xaa11802f0e0, elements = 1}, <No data fields>}) at /test/mtest/10.2_dbg/sql/sql_class.cc:2801
      #19 0x00005612b60a8f64 in JOIN::exec_inner (this=this@entry=0xaa11802f1d0) at /test/mtest/10.2_dbg/sql/sql_select.cc:3543
      #20 0x00005612b60a9bc3 in JOIN::exec (this=this@entry=0xaa11802f1d0) at /test/mtest/10.2_dbg/sql/sql_select.cc:3446
      #21 0x00005612b60aa5b6 in mysql_select (thd=thd@entry=0xaa11801e9c0, tables=0x0, wild_num=0, fields=@0xaa118022e30: {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0xaa11802f0e0, last = 0xaa11802f0e0, elements = 1}, <No data fields>}, conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2281966336, result=0xaa11802f1b0, unit=0xaa1180225b8, select_lex=0xaa118022d08) at /test/mtest/10.2_dbg/sql/sql_select.cc:3849
      #22 0x00005612b60aa84b in handle_select (thd=thd@entry=0xaa11801e9c0, lex=lex@entry=0xaa1180224f8, result=result@entry=0xaa11802f1b0, setup_tables_done_option=setup_tables_done_option@entry=0) at /test/mtest/10.2_dbg/sql/sql_select.cc:361
      #23 0x00005612b602ee85 in execute_sqlcom_select (thd=thd@entry=0xaa11801e9c0, all_tables=0x0) at /test/mtest/10.2_dbg/sql/sql_parse.cc:6271
      #24 0x00005612b603916c in mysql_execute_command (thd=thd@entry=0xaa11801e9c0) at /test/mtest/10.2_dbg/sql/sql_parse.cc:3582
      #25 0x00005612b6042809 in mysql_parse (thd=thd@entry=0xaa11801e9c0, rawbuf=rawbuf@entry=0xaa11802ee48 "SELECT ST_BOUNDARY(1)", length=length@entry=21, parser_state=parser_state@entry=0x60ce43838540, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/mtest/10.2_dbg/sql/sql_parse.cc:7793
      #26 0x00005612b6043e12 in wsrep_mysql_parse (thd=thd@entry=0xaa11801e9c0, rawbuf=0xaa11802ee48 "SELECT ST_BOUNDARY(1)", length=21, parser_state=parser_state@entry=0x60ce43838540, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/mtest/10.2_dbg/sql/sql_parse.cc:7585
      #27 0x00005612b604536b in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0xaa11801e9c0, packet=packet@entry=0xaa118026661 "", packet_length=packet_length@entry=22, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/mtest/10.2_dbg/sql/sql_class.h:1109
      #28 0x00005612b604814a in do_command (thd=0xaa11801e9c0) at /test/mtest/10.2_dbg/sql/sql_parse.cc:1381
      #29 0x00005612b614e1b1 in do_handle_one_connection (connect=connect@entry=0x593d317778a0) at /test/mtest/10.2_dbg/sql/sql_connect.cc:1336
      #30 0x00005612b614e3dc in handle_one_connection (arg=0x593d317778a0) at /test/mtest/10.2_dbg/sql/sql_connect.cc:1241
      #31 0x00007ffe65a50609 in start_thread (arg=<optimized out>) at pthread_create.c:477
      #32 0x0000582a3d1f7293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
      

        Attachments

          Activity

            People

            Assignee:
            holyfoot Alexey Botchkov
            Reporter:
            ramesh Ramesh Sivaraman
            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.