[MDEV-5615] crash in Gcalc_function::add_operation Created: 2014-02-05  Updated: 2014-02-18  Resolved: 2014-02-18

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.3.12, 5.5.35, 10.0.7
Fix Version/s: 5.5.36, 10.0.9, 5.3.13

Type: Bug Priority: Major
Reporter: sbester1 Assignee: Alexey Botchkov
Resolution: Fixed Votes: 0
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);



 Comments   
Comment by Elena Stepanova [ 2014-02-05 ]

Thanks, Shane.

Comment by Alexey Botchkov [ 2014-02-18 ]

Fix:
http://lists.askmonty.org/pipermail/commits/2014-February/005918.html

Comment by Alexey Botchkov [ 2014-02-18 ]

fix pushed in 5.3

Generated at Thu Feb 08 07:05:43 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.