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

SIGSEGV in report_json_error_ex (on optimized builds)

    XMLWordPrintable

    Details

      Description

      Version: '10.4.8-MariaDB'  socket: ''  port: 3306  mariadb.org binary distribution
      [ERROR] mysqld got exception 0xc0000005 ;
      mysqld.exe!report_json_error_ex()[item_jsonfunc.cc:263]
      mysqld.exe!Item_func_json_merge_patch::val_str()[item_jsonfunc.cc:2466]
      mysqld.exe!Type_handler_string_result::Item_update_null_value()[sql_type.cc:3547]
      mysqld.exe!Item_func::is_null()[item_func.h:185]
      mysqld.exe!mysql_do()[sql_do.cc:34]
      mysqld.exe!mysql_execute_command()[sql_parse.cc:6109]
      mysqld.exe!mysql_parse()[sql_parse.cc:7914]
      mysqld.exe!dispatch_command()[sql_parse.cc:1845]
      mysqld.exe!do_command()[sql_parse.cc:1359]
      mysqld.exe!threadpool_process_request()[threadpool_common.cc:366]
      mysqld.exe!tp_callback()[threadpool_common.cc:193]
      

      How to Repeat:
      Run it a few times, or try valgrind,ASAN,debug build.

      do json_merge_patch((null ) ,concat_ws('','$',''),'[]' ,from_unixtime(1537014395));
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              holyfoot Alexey Botchkov
              Reporter:
              sbester1 sbester1
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: