Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-3363

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

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      this is not an assertion, it is a crash

      backtrace:

      1. 2011-09-14T11:54:29 #4 <signal handler called>
      2. 2011-09-14T11:54:29 #5 0x08369178 in Gcalc_operation_reducer::get_result (this=0x9f6359c, storage=0x9f63540) at gcalc_tools.cc:1224
      3. 2011-09-14T11:54:29 #6 0x0825c2e6 in Item_func_spatial_operation::val_str (this=0x9f633c0, str_value=0x91664060) at item_geofunc.cc:1039
      4. 2011-09-14T11:54:29 #7 0x08259a1f in Item_func_geometry_type::val_str (this=0x9f63728, str=0x91664060) at item_geofunc.cc:170
      5. 2011-09-14T11:54:29 #8 0x081dbb81 in Item::send (this=0x9f63728, protocol=0x9f573a4, buffer=0x91664060) at item.cc:5905
      6. 2011-09-14T11:54:29 #9 0x08289528 in select_send::send_data (this=0x9f63920, items=...) at sql_class.cc:1919
      7. 2011-09-14T11:54:29 #10 0x08326378 in JOIN::exec (this=0x9f69fc8) at sql_select.cc:2069
      8. 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,
      9. 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
      10. 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
      11. 2011-09-14T11:54:29 #13 0x082bc38f in execute_sqlcom_select (thd=0x9f57078, all_tables=0x0) at sql_parse.cc:5082
      12. 2011-09-14T11:54:29 #14 0x082b3193 in mysql_execute_command (thd=0x9f57078) at sql_parse.cc:2227
      13. 2011-09-14T11:54:29 #15 0x082be9cb in mysql_parse (thd=0x9f57078,
      14. 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 ) ) ) ') ) )",
      15. 2011-09-14T11:54:29 length=280, found_semicolon=0x91665228) at sql_parse.cc:6083
      16. 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
      17. 2011-09-14T11:54:29 #17 0x082b02b5 in do_command (thd=0x9f57078) at sql_parse.cc:904
      18. 2011-09-14T11:54:29 #18 0x082ad330 in handle_one_connection (arg=0x9f57078) at sql_connect.cc:1177
      19. 2011-09-14T11:54:29 #19 0x00821919 in start_thread () from /lib/libpthread.so.0
      20. 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

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 849799

            Show
            ratzpo Rasmus Johansson added a comment - Launchpad bug id: 849799

              People

              • Assignee:
                holyfoot Alexey Botchkov
                Reporter:
                philipstoev Philip Stoev
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: