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

LP:986977 - Assertion `!cur_p->event' failed in Gcalc_scan_iterator::arrange_event(int, int)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.23, 5.3.6
    • Fix Version/s: 5.3.7
    • Component/s: None
    • Labels:
      None

      Description

      https://bugs.launchpad.net/maria/+bug/986977

      SELECT ST_BUFFER( POLYGONFROMTEXT( 'POLYGON( (
        0.0 -3.0,
        -2.910427500435995 0.727606875108998,
        -0.910427500435995 8.727606875108998,
        7.664100588675687 1.503849116986468,
        1.664100588675687 -2.496150883013531,
        0.0 -3.0
      ))' ), 3 );

      #6 0x00007f883bd73d4d in __GI___assert_fail (assertion=0xdf9c1d "!cur_p->event", file=<optimized out>, line=1219, function=<optimized out>) at assert.c:81
      #7 0x000000000079916b in Gcalc_scan_iterator::arrange_event (this=0x7f8833075ea0, do_sorting=1, n_intersections=1) at gcalc_slicescan.cc:1219
      #8 0x000000000079988d in Gcalc_scan_iterator::step (this=0x7f8833075ea0) at gcalc_slicescan.cc:1366
      #9 0x000000000079f87c in Gcalc_operation_reducer::count_all (this=0x2b54af8, hp=0x2b549e0) at gcalc_tools.cc:1216
      #10 0x000000000066b480 in Item_func_buffer::val_str (this=0x2b54920, str_value=0x7f88330761d0) at item_geofunc.cc:1300
      #11 0x00000000005d2606 in Item::send (this=0x2b54920, protocol=0x2acdd68, buffer=0x7f88330761d0) at item.cc:5949
      #12 0x000000000069f0a2 in select_send::send_data (this=0x2b54d50, items=...) at sql_class.cc:1996
      #13 0x000000000074fd85 in JOIN::exec (this=0x2b54d70) at sql_select.cc:2127
      #14 0x0000000000752dcb in mysql_select (thd=0x2acd968, rref_pointer_array=0x2ad05a8, tables=0x0, wild_num=0, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2147764736, result=0x2b54d50, unit=0x2acfe50, select_lex=0x2ad0358) at sql_select.cc:2952
      #15 0x000000000074991d in handle_select (thd=0x2acd968, lex=0x2acfdb0, result=0x2b54d50, setup_tables_done_option=0) at sql_select.cc:285
      #16 0x00000000006d6731 in execute_sqlcom_select (thd=0x2acd968, all_tables=0x0) at sql_parse.cc:5151
      #17 0x00000000006cd4f9 in mysql_execute_command (thd=0x2acd968) at sql_parse.cc:2284
      #18 0x00000000006d9199 in mysql_parse (thd=0x2acd968, rawbuf=0x2b540b0 "SELECT ST_BUFFER(POLYGONFROMTEXT('POLYGON ((\n0.0 -3.0\n, -2.910427500435995 0.727606875108998\n, -0.910427500435995 8.727606875108998\n, 7.664100588675687 1.503849116986468\n, 1.664100588675687 -2.4961508"..., length=227, found_semicolon=0x7f88330777e8) at sql_parse.cc:6152
      #19 0x00000000006cac69 in dispatch_command (command=COM_QUERY, thd=0x2acd968, packet=0x2b4ac49 "", packet_length=227) at sql_parse.cc:1228
      #20 0x00000000006c9f50 in do_command (thd=0x2acd968) at sql_parse.cc:923
      #21 0x00000000006c6de8 in handle_one_connection (arg=0x2acd968) at sql_connect.cc:1218
      #22 0x00007f883c880efc in start_thread (arg=0x7f8833078700) at pthread_create.c:304
      #23 0x00007f883be2859d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

      bzr version-info
      revision-id: sanja@montyprogram.com-20120419061630-gkekk7gpdfggtvmb
      date: 2012-04-19 09:16:30 +0300
      build-date: 2012-04-22 23:18:58 +0400
      revno: 3505

      Also reproducible on MariaDB 5.5 revno 3377.
      No assertion on MySQL trunk revno 3890.

        Attachments

          Activity

            People

            Assignee:
            holyfoot Alexey Botchkov
            Reporter:
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved:

                Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.