[MDEV-3741] LP:849809 - Second assertion `t->rp->type == Gcalc_function::shape_line' in Gcalc_operation_reducer::end_line() Created: 2011-09-14  Updated: 2012-10-04  Resolved: 2012-10-04

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Philip Stoev (Inactive) Assignee: Alexey Botchkov
Resolution: Fixed Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug849809.xml    

 Description   

mysqld: gcalc_tools.cc:1044: int Gcalc_operation_reducer::end_line(Gcalc_operation_reducer::active_thread*, const Gcalc_heap::Info*, const Gcalc_scan_iterator
*): Assertion `t->rp->type == Gcalc_function::shape_line' failed.

  1. 2011-09-14T12:08:56 #8 0x006b0d98 in __assert_fail () from /lib/libc.so.6
  2. 2011-09-14T12:08:56 #9 0x08368d3b in Gcalc_operation_reducer::end_line (this=0xa76a5b18, t=0xa76b5ff8, ev_p=0xa76a9438, si=0xa75fda34) at gcalc_tools.cc:10
    44
  3. 2011-09-14T12:08:56 #10 0x08367cde in Gcalc_operation_reducer::count_slice (this=0xa76a5b18, si=0xa75fda34) at gcalc_tools.cc:638
  4. 2011-09-14T12:08:56 #11 0x08368e4e in Gcalc_operation_reducer::count_all (this=0xa76a5b18, hp=0xa76a59c4) at gcalc_tools.cc:1076
  5. 2011-09-14T12:08:56 #12 0x0825d817 in Item_func_buffer::val_str (this=0xa76a5940, str_value=0x915137b8) at item_geofunc.cc:1483
  6. 2011-09-14T12:08:56 #13 0x0825c074 in Item_func_spatial_operation::val_str (this=0x91513598, str_value=0xa75fdc60) at item_geofunc.cc:1010
  7. 2011-09-14T12:08:56 #14 0x08259793 in Item_func_as_wkt::val_str (this=0x915138f0, str=0xa75fe060) at item_geofunc.cc:123
  8. 2011-09-14T12:08:56 #15 0x081dbb81 in Item::send (this=0x915138f0, protocol=0xaac7824, buffer=0xa75fe060) at item.cc:5905
  9. 2011-09-14T12:08:56 #16 0x08289528 in select_send::send_data (this=0x91513ae8, items=...) at sql_class.cc:1919
  10. 2011-09-14T12:08:56 #17 0x08326378 in JOIN::exec (this=0x91504028) at sql_select.cc:2069
  11. 2011-09-14T12:08:56 #18 0x08328d94 in mysql_select (thd=0xaac74f8, rref_pointer_array=0xaac9010, tables=0x0, wild_num=0, fields=..., conds=0x0, og_num=0, or
    der=0x0, group=0x0,
  12. 2011-09-14T12:08:56 having=0x0, proc_param=0x0, select_options=2147764736, result=0x91513ae8, unit=0xaac8c14, select_lex=0xaac8ef0) at sql_select.cc:288
    5
  13. 2011-09-14T12:08:56 #19 0x08320c5f in handle_select (thd=0xaac74f8, lex=0xaac8bb8, result=0x91513ae8, setup_tables_done_option=0) at sql_select.cc:283
  14. 2011-09-14T12:08:56 #20 0x082bc38f in execute_sqlcom_select (thd=0xaac74f8, all_tables=0x0) at sql_parse.cc:5082
  15. 2011-09-14T12:08:56 #21 0x082b3193 in mysql_execute_command (thd=0xaac74f8) at sql_parse.cc:2227
  16. 2011-09-14T12:08:56 #22 0x082be9cb in mysql_parse (thd=0xaac74f8,
  17. 2011-09-14T12:08:56 rawbuf=0xa76a4c10 "SELECT ASTEXT( ST_DIFFERENCE( ST_BUFFER( MULTILINESTRINGFROMTEXT(' MULTILINESTRING( ( 9 9 , 7 8 , 1 5 , 9 9 ) )
    ') , NUMPOINTS( LINESTRINGFROMTEXT(' LINESTRING( 4 2 , 9 8 , 0 4 , 9 4 , 3 1 , 0 3 , 9 0 , 0 5 ) ') ) ) , ST_BUFFER( ST_SYMDIFFERENCE( MULTIPOINTFROMTEXT('
    MULTIPOINT( 1 1 , 7 3 , 4 0 , 3 9 , 5 1 , 6 6 ) ') , ENDPOINT( LINESTRINGFROMTEXT(' LINESTRING( 3 1 , 8 8 , 0 4 , 6 7 , 5 3 ) ') ) ) , DIMENSION( GEOMETR
    YFROMTEXT(' POINT( 7 6 ) ') ) ) ) )", length=465, found_semicolon=0xa75ff228) at sql_parse.cc:6083
  18. 2011-09-14T12:08:56 #23 0x082b0e2f in dispatch_command (command=COM_QUERY, thd=0xaac74f8, packet=0xaac9a39 "", packet_length=465) at sql_parse.cc:1206
  19. 2011-09-14T12:08:56 #24 0x082b02b5 in do_command (thd=0xaac74f8) at sql_parse.cc:904
  20. 2011-09-14T12:08:56 #25 0x082ad330 in handle_one_connection (arg=0xaac74f8) at sql_connect.cc:1177
  21. 2011-09-14T12:08:56 #26 0x00821919 in start_thread () from /lib/libpthread.so.0
  22. 2011-09-14T12:08:56 #27 0x0076acce in clone () from /lib/libc.so.6
  23. 2011-09-14T12:08:56 #5 0x0087f424 in __kernel_vsyscall ()

query:

SELECT ASTEXT( ST_DIFFERENCE( ST_BUFFER( MULTILINESTRINGFROMTEXT(' MULTILINESTRING( ( 9 9 , 7 8 , 1 5 , 9 9 ) )
') , NUMPOINTS( LINESTRINGFROMTEXT(' LINESTRING( 4 2 , 9 8 , 0 4 , 9 4 , 3 1 , 0 3 , 9 0 , 0 5 ) ') ) ) , ST_BUFFER( ST_SYMDIFFERENCE( MULTIPOINTFROMTEXT('
MULTIPOINT( 1 1 , 7 3 , 4 0 , 3 9 , 5 1 , 6 6 ) ') , ENDPOINT( LINESTRINGFROMTEXT(' LINESTRING( 3 1 , 8 8 , 0 4 , 6 7 , 5 3 ) ') ) ) , DIMENSION( GEOMETR
YFROMTEXT(' POINT( 7 6 ) ') ) ) ) );



 Comments   
Comment by Rasmus Johansson (Inactive) [ 2011-12-13 ]

Launchpad bug id: 849809

Generated at Thu Feb 08 06:50:52 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.