Second crash with Gcalc_operation_reducer::get_result in maria-5.3-gis

Bug #849799 reported by Philip Stoev on 2011-09-14
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MariaDB
Fix Released
Undecided
Alexey Botchkov

Bug Description

this is not an assertion, it is a crash

backtrace:

# 2011-09-14T11:54:29 #4 <signal handler called>
# 2011-09-14T11:54:29 #5 0x08369178 in Gcalc_operation_reducer::get_result (this=0x9f6359c, storage=0x9f63540) at gcalc_tools.cc:1224
# 2011-09-14T11:54:29 #6 0x0825c2e6 in Item_func_spatial_operation::val_str (this=0x9f633c0, str_value=0x91664060) at item_geofunc.cc:1039
# 2011-09-14T11:54:29 #7 0x08259a1f in Item_func_geometry_type::val_str (this=0x9f63728, str=0x91664060) at item_geofunc.cc:170
# 2011-09-14T11:54:29 #8 0x081dbb81 in Item::send (this=0x9f63728, protocol=0x9f573a4, buffer=0x91664060) at item.cc:5905
# 2011-09-14T11:54:29 #9 0x08289528 in select_send::send_data (this=0x9f63920, items=...) at sql_class.cc:1919
# 2011-09-14T11:54:29 #10 0x08326378 in JOIN::exec (this=0x9f69fc8) at sql_select.cc:2069
# 2011-09-14T11:54:29 #11 0x08328d94 in mysql_select (thd=0x9f57078, rref_pointer_array=0x9f58b90, tables=0x0, wild_num=0, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0,
# 2011-09-14T11:54:29 having=0x0, proc_param=0x0, select_options=2147764736, result=0x9f63920, unit=0x9f58794, select_lex=0x9f58a70) at sql_select.cc:2885
# 2011-09-14T11:54:29 #12 0x08320c5f in handle_select (thd=0x9f57078, lex=0x9f58738, result=0x9f63920, setup_tables_done_option=0) at sql_select.cc:283
# 2011-09-14T11:54:29 #13 0x082bc38f in execute_sqlcom_select (thd=0x9f57078, all_tables=0x0) at sql_parse.cc:5082
# 2011-09-14T11:54:29 #14 0x082b3193 in mysql_execute_command (thd=0x9f57078) at sql_parse.cc:2227
# 2011-09-14T11:54:29 #15 0x082be9cb in mysql_parse (thd=0x9f57078,
# 2011-09-14T11:54:29 rawbuf=0x9f62930 "SELECT GeometryType( ST_UNION( POLYGONFROMTEXT(' POLYGON( ( 7 7 , 2 7, 4 3, 7 8 , 7 7 ) ) ') , MULTIPOLYGONFROMTEXT(' MULTIPOLYGON( ( ( 2 2 , 2 8 , 8 8 , 8 2 , 2 2 ) , ( 4 4 , 4 6 , 6 6 , 6 4 , 4 4 ) ) , ( ( 0 0 , 1 4 , 2 2 , 0 0 ) ) , ( ( 7 7 , 2 7, 3 0, 7 8 , 7 7 ) ) ) ') ) )",
# 2011-09-14T11:54:29 length=280, found_semicolon=0x91665228) at sql_parse.cc:6083
# 2011-09-14T11:54:29 #16 0x082b0e2f in dispatch_command (command=COM_QUERY, thd=0x9f57078, packet=0x9f595b9 "", packet_length=280) at sql_parse.cc:1206
# 2011-09-14T11:54:29 #17 0x082b02b5 in do_command (thd=0x9f57078) at sql_parse.cc:904
# 2011-09-14T11:54:29 #18 0x082ad330 in handle_one_connection (arg=0x9f57078) at sql_connect.cc:1177
# 2011-09-14T11:54:29 #19 0x00821919 in start_thread () from /lib/libpthread.so.0
# 2011-09-14T11:54:29 #20 0x0076acce in clone () from /lib/libc.so.6

query:

SELECT GeometryType( ST_UNION( POLYGONFROMTEXT(' POLYGON( ( 7 7 , 2 7, 4 3, 7 8 , 7 7 ) ) ') , MULTIPOLYGONFROMTEXT(' MULTIPOLYGON( ( ( 2 2 , 2 8 , 8 8 , 8 2 , 2 2 ) , ( 4 4 , 4 6 , 6 6 , 6 4 , 4 4 ) ) , ( ( 0 0 , 1 4 , 2 2 , 0 0 ) ) , ( ( 7 7 , 2 7, 3 0, 7 8 , 7 7 ) ) ) ') ) )

revision-id: <email address hidden>
date: 2011-09-13 18:26:16 +0500
build-date: 2011-09-14 11:58:47 +0300
revno: 3001
branch-nick: maria-5.3-gis

Changed in maria:
assignee: nobody → Alexey Botchkov (holyfoot)
Changed in maria:
status: New → Fix Committed
Changed in maria:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers