We're updating the issue view to help you get more done. 

crash in Gcalc_function::add_operation

Description

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 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:
------------------

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

Environment

Win x64, Linux x64

Status

Assignee

Alexey Botchkov

Reporter

sbester1

Fix versions

Affects versions

5.3.12
5.5.35
10.0.7

Priority

Major