Assertion `!sp0->is_bottom()' failed in Gcalc_scan_iterator::find_intersections in maria-5.3-gis

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

Bug Description

mysqld: gcalc_slicescan.cc:732: int Gcalc_scan_iterator::find_intersections(): Assertion `!sp0->is_bottom()' failed.

#8 0x006b0d98 in __assert_fail () from /lib/libc.so.6
#9 0x08365b95 in Gcalc_scan_iterator::find_intersections (this=0xae8dfb74) at gcalc_slicescan.cc:732
#10 0x08365da7 in Gcalc_scan_iterator::handle_intersections (this=0xae8dfb74) at gcalc_slicescan.cc:792
#11 0x083659c5 in Gcalc_scan_iterator::normal_scan (this=0xae8dfb74) at gcalc_slicescan.cc:678
#12 0x0825f3b0 in Gcalc_scan_iterator::step (this=0xae8dfb74) at gcalc_slicescan.h:337
#13 0x08368a65 in Gcalc_operation_reducer::count_all (this=0xae62e9f4, hp=0xae62e8a0) at gcalc_tools.cc:1074
#14 0x0825c2c5 in Item_func_spatial_operation::val_str (this=0xae62e818, str_value=0xae8e0060) at item_geofunc.cc:1039
#15 0x081dbb81 in Item::send (this=0xae62e818, protocol=0xb072c0c, buffer=0xae8e0060) at item.cc:5905
#16 0x082894ec in select_send::send_data (this=0xae514e90, items=...) at sql_class.cc:1919
#17 0x0832633c in JOIN::exec (this=0xae521390) at sql_select.cc:2069
#18 0x08328d58 in mysql_select (thd=0xb0728e0, rref_pointer_array=0xb0743f8, tables=0x0, wild_num=0, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0,
    having=0x0, proc_param=0x0, select_options=2147764736, result=0xae514e90, unit=0xb073ffc, select_lex=0xb0742d8) at sql_select.cc:2885
#19 0x08320c23 in handle_select (thd=0xb0728e0, lex=0xb073fa0, result=0xae514e90, setup_tables_done_option=0) at sql_select.cc:283
#20 0x082bc353 in execute_sqlcom_select (thd=0xb0728e0, all_tables=0x0) at sql_parse.cc:5082
#21 0x082b3157 in mysql_execute_command (thd=0xb0728e0) at sql_parse.cc:2227
#22 0x082be98f in mysql_parse (thd=0xb0728e0,
    rawbuf=0xae512eb0 "SELECT ST_DIFFERENCE (\nPOLYGONFROMTEXT( ' POLYGON( ( 2 2 , 2 8 , 8 8 , 8 2 , 2 2 ) , ( 4 4 , 4 6 , 6 6 , 6 4 , 4 4 ) ) ' ) ,\nST_UNION (\nMULTILINESTRINGFROMTEXT( ' MULTILINESTRING( (3 5, 2 5, 2 4, "..., length=801, found_semicolon=0xae8e1228) at sql_parse.cc:6083
#23 0x082b0df3 in dispatch_command (command=COM_QUERY, thd=0xb0728e0, packet=0xb0cd3e9 "", packet_length=801) at sql_parse.cc:1206
#24 0x082b0279 in do_command (thd=0xb0728e0) at sql_parse.cc:904
#25 0x082ad2f4 in handle_one_connection (arg=0xb0728e0) at sql_connect.cc:1177
#26 0x00821919 in start_thread () from /lib/libpthread.so.0
#27 0x0076acce in clone () from /lib/libc.so.6

 bzr version-info
revision-id: <email address hidden>
date: 2011-09-05 09:49:46 +0500
build-date: 2011-09-05 14:36:53 +0300
revno: 2998
branch-nick: maria-5.3-gis

SELECT ST_DIFFERENCE (
        POLYGONFROMTEXT( ' POLYGON( ( 2 2 , 2 8 , 8 8 , 8 2 , 2 2 ) , ( 4 4 , 4 6 , 6 6 , 6 4 , 4 4 ) ) ' ) ,
        ST_UNION (
                MULTILINESTRINGFROMTEXT( ' MULTILINESTRING( (3 5, 2 5, 2 4, 3 4, 3 5) ) ' ) ,
                ST_SYMDIFFERENCE (
                        MULTILINESTRINGFROMTEXT( ' MULTILINESTRING( ( 3 8 , 0 8 , 6 6 , 6 1 , 0 5 , 6 7 , 3 7 ) , ( 5 8 , 7 7 , 9 0 , 8 7 ) , ( 1 5 , 1 8 , 2 3 , 3 9 ) , ( 1 3 , 9 7 , 5 5 , 0 8 , 6 9 ) , ( 3 6 , 6 9 , 8 7 , 0 2 , 4 6 , 9 5 ) ) ' ) ,
                        ST_UNION (
                                MULTILINESTRINGFROMTEXT( ' MULTILINESTRING( ( 9 4 , 2 0 , 2 2 , 7 2 , 6 2 ) , ( 5 2 , 8 2 , 4 8 , 3 4 ) , ( 1 0 , 1 4 , 2 7 , 7 0 , 1 5 ) , ( 2 8 , 4 4 , 5 0 , 7 0 , 4 0 ) ) ' ) ,
                                GEOMETRYFROMTEXT( ' MULTILINESTRING( ( 3 7 , 7 3 , 5 8 , 4 8 ) , ( 3 2 , 5 0 , 9 3 , 4 4 ) , ( 6 0 , 4 2 , 7 8 , 1 3 ) ) ' )
                        )
                )
        )
);

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