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

[Draft] Assertion failed: fixed == 0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.2
    • Fix Version/s: 10.2.2
    • Component/s: Optimizer
    • Labels:
      None

      Description

      http://buildbot.askmonty.org/buildbot/builders/win-rqg-se/builds/2681/steps/rqg_crash_tests/logs/stdio

      Assertion failed: fixed == 0, file E:\buildbot\bbwin1\win-rqg-se\build-debug\sql\item.cc, line 5115
      R6010
      - abort() has been called
      160909  0:44:14 [ERROR] mysqld got exception 0x80000003 ;
      This could be because you hit a bug. It is also possible that this binary
      or one of the libraries it was linked against is corrupt, improperly built,
      or misconfigured. This error can also be caused by malfunctioning hardware.
       
      To report this bug, see https://mariadb.com/kb/en/reporting-bugs
       
      We will try our best to scrape up some info that will hopefully help
      diagnose the problem, but since we have already crashed, 
      something is definitely wrong and this may fail.
       
      Server version: 10.2.2-MariaDB-debug-log
      key_buffer_size=1048576
      read_buffer_size=131072
      max_used_connections=7
      max_threads=1001
      thread_count=6
      It is possible that mysqld could use up to 
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 388182 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0x0x29bcdf8a58
      Attempting backtrace. You can use the following information to find out
      where mysqld died. If you see no messages after this, something went
      terribly wrong...
      mysqld.exe!my_sigabrt_handler()[my_thr_init.c:477]
      mysqld.exe!raise()[winsig.c:594]
      mysqld.exe!abort()[abort.c:82]
      mysqld.exe!_wassert()[assert.c:380]
      mysqld.exe!Item_field::fix_fields()[item.cc:5115]
      mysqld.exe!Item_sum_num::fix_fields()[item_sum.cc:1085]
      mysqld.exe!setup_fields()[sql_base.cc:6957]
      mysqld.exe!JOIN::prepare()[sql_select.cc:802]
      mysqld.exe!subselect_single_select_engine::prepare()[item_subselect.cc:3569]
      mysqld.exe!Item_subselect::fix_fields()[item_subselect.cc:267]
      mysqld.exe!Item_func::fix_fields()[item_func.cc:209]
      mysqld.exe!Item_cond::fix_fields()[item_cmpfunc.cc:4526]
      mysqld.exe!pushdown_cond_for_derived()[sql_derived.cc:1204]
      mysqld.exe!JOIN::optimize_inner()[sql_select.cc:1277]
      mysqld.exe!JOIN::optimize()[sql_select.cc:1072]
      mysqld.exe!mysql_select()[sql_select.cc:3547]
      mysqld.exe!handle_select()[sql_select.cc:373]
      mysqld.exe!execute_sqlcom_select()[sql_parse.cc:6333]
      mysqld.exe!mysql_execute_command()[sql_parse.cc:3364]
      mysqld.exe!mysql_parse()[sql_parse.cc:7759]
      mysqld.exe!dispatch_command()[sql_parse.cc:1796]
      mysqld.exe!do_command()[sql_parse.cc:1353]
      mysqld.exe!threadpool_process_request()[threadpool_common.cc:252]
      mysqld.exe!io_completion_callback()[threadpool_win.cc:462]
      KERNEL32.DLL!VirtualUnlock()
      ntdll.dll!RtlGetActiveActivationContext()
      ntdll.dll!RtlFreeUnicodeString()
      KERNEL32.DLL!BaseThreadInitThunk()
      ntdll.dll!RtlUserThreadStart()
       
      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x29bcf9f3a0): SELECT DISTINCT alias1.`col_int_key` AS field1, 'y' AS cfield1, alias1.`col_int_key` AS ifield1, alias1.`col_varchar_nokey` AS field2, alias1.`col_varchar_key` AS cfield2, alias1.`col_time_nokey` AS field3, alias1.`col_int_key` AS ifield2, alias1.`col_time_key` AS field4, alias1.`col_date_key` AS field5, alias1.`pk` AS ifield3, alias1.`col_int_key` AS field6 FROM ( `e` AS alias1 RIGHT JOIN ( SELECT DISTINCT SQ1_alias1.* FROM ( `d` AS SQ1_alias1 STRAIGHT_JOIN `cc` AS SQ1_alias2 ON (SQ1_alias2.`col_varchar_key` = SQ1_alias1.`col_varchar_key` ) ) WHERE SQ1_alias1.`col_varchar_nokey` != SQ1_alias1.`col_varchar_key` ) AS alias2 ON (( alias2.`col_int_nokey` = alias1.`col_int_key` ) AND ( alias2.`col_varchar_key` < alias1.`col_varchar_key` ) ) ) WHERE alias2.`col_int_nokey` = ( SELECT COUNT( SQ2_alias1.`pk` ) AS SQ2_ifield1 FROM `b` AS SQ2_alias1 ) ORDER BY field6, field1, field5, field3, field2, field4, cfield2 /* QUERY_NO 408 CON_ID 12 */
      Connection ID (thread ID): 12
      Status: NOT_KILLED
       
      Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=off,condition_pushdown_for_derived=on
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration