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

crash in Gcalc_function::add_operation

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.3.12, 5.5.35, 10.0.7
    • Fix Version/s: 5.5.36, 10.0.9, 5.3.13
    • Component/s: None
    • Labels:
      None
    • Environment:
      Win x64, Linux x64

      Description

      Description:
      ---------------

      Version: '10.0.7-MariaDB'   mariadb.org binary distribution
      [ERROR] mysqld got exception 0xc0000005 ;
      mysqld.exe!Gcalc_function::add_operation()[gcalc_tools.cc:50]
      mysqld.exe!Item_func_buffer::Transporter::start_line()[item_geofunc.cc:1120]
      mysqld.exe!Gis_line_string::store_shapes()[spatial.cc:801]
      mysqld.exe!Item_func_buffer::val_str()[item_geofunc.cc:1300]
      mysqld.exe!Item::send()[item.cc:6464]
      mysqld.exe!Protocol::send_result_set_row()[protocol.cc:900]
      mysqld.exe!select_send::send_data()[sql_class.cc:2549]
      mysqld.exe!JOIN::exec_inner()[sql_select.cc:2441]
      mysqld.exe!JOIN::exec()[sql_select.cc:2358]
      mysqld.exe!mysql_select()[sql_select.cc:3296]
      mysqld.exe!handle_select()[sql_select.cc:372]
      mysqld.exe!execute_sqlcom_select()[sql_parse.cc:5250]
      mysqld.exe!mysql_execute_command()[sql_parse.cc:2571]
      mysqld.exe!mysql_parse()[sql_parse.cc:6399]
      mysqld.exe!dispatch_command()[sql_parse.cc:1299]
      mysqld.exe!do_command()[sql_parse.cc:1000]
      mysqld.exe!threadpool_process_request()[threadpool_common.cc:233]
      mysqld.exe!io_completion_callback()[threadpool_win.cc:568]
      

      How to repeat:
      ------------------

      do buffer(st_linestringfromwkb(linestring(point(-1,1), point(-1,-2))),-1);
      

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            elenst Elena Stepanova added a comment -

            Thanks, Shane.

            Show
            elenst Elena Stepanova added a comment - Thanks, Shane.
            Show
            holyfoot Alexey Botchkov added a comment - Fix: http://lists.askmonty.org/pipermail/commits/2014-February/005918.html
            Hide
            holyfoot Alexey Botchkov added a comment -

            fix pushed in 5.3

            Show
            holyfoot Alexey Botchkov added a comment - fix pushed in 5.3

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h