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

[Draft] Server crashes in Field::is_real_null

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Cannot Reproduce
    • 5.5(EOL)
    • N/A
    • OTHER
    • None

    Description

      5.5 c2509a1588ee1dc7351b67b2f9149003540015c4

      171010 15:22:42 [ERROR] mysqld got exception 0xc0000005 ;
      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 http://kb.askmonty.org/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: 5.5.58-MariaDB-debug
      key_buffer_size=1048576
      read_buffer_size=131072
      max_used_connections=7
      max_threads=501
      thread_count=6
      It is possible that mysqld could use up to 
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 195826 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0x62507c7ce0
      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!Field::is_real_null()[field.h:414]
      mysqld.exe!create_tmp_table()[sql_select.cc:15522]
      mysqld.exe!JOIN::exec()[sql_select.cc:2572]
      mysqld.exe!mysql_select()[sql_select.cc:3105]
      mysqld.exe!handle_select()[sql_select.cc:307]
      Inmysqld.exe!nexecute_sqlcom_select()o[sql_parse.cc:4685]D
      B: DEBUG: update_statistics for transforms/insert_select_1436.
      mysqld.exe!mysql_execute_command()[sql_parse.cc:2233]
      mysqld.exe!mysql_parse()[sql_parse.cc:5930]
      mysqld.exe!dispatch_command()[sql_parse.cc:1077]
      mysqld.exe!do_command()[sql_parse.cc:793]
      mysqld.exe!threadpool_process_request()[threadpool_common.cc:233]
      mysqld.exe!io_completion_callback()[threadpool_win.cc:568]
      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 (0x62507c56a8): SELECT DISTINCT GROUP_CONCAT( UUID_SHORT(), CURRENT_USER() ) AS field1, DEFAULT( `col_datetime_nokey` ) AS field2 FROM `c` GROUP BY `col_varchar_key` / -17676 ORDER BY BENCHMARK( 1, AVG( SIGN( ( RAND() ) ) ) ), @A := 'h'  /* QNO 14276 CON_ID 11 */
      Connection ID (thread ID): 11
      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=off
      

      http://buildbot.askmonty.org/buildbot/builders/qa-win-debug/builds/629/steps/crash_tests/logs/stdio

      experimental 6c495f3a62986e26acf35703fde4975a24a8aadc

      Command line:
      E:\buildbot\rqg/runall.pl --no-mask --seed=1507637959 --threads=5 --duration=400 --queries=100M --reporters=QueryTimeout,Backtrace,ErrorLog,Deadlock,Shutdown --redefine=conf/mariadb/redefine_random_keys.yy --redefine=conf/mariadb/redefine_set_session_vars.yy --validators=TransformerNoComparator --transformers=ConvertSubqueriesToViews,DisableOptimizations,EnableOptimizations,ExecuteAsCTE,ExecuteAsInsertSelect,ExecuteAsPreparedOnce,ExecuteAsSelectItem,ExecuteAsUnion,ExecuteAsUpdateDelete,ExecuteAsView,NullIf,OrderBy,StraightJoin,ExecuteAsExecuteImmediate --grammar=conf/mariadb/functions.yy --mtr-build-thread=150 --basedir1=D:\qa-win-debug\build --vardir1=E:\buildbot\vardirs\qa-win-debug\5.5-629\optim-crash-tests/current1_1
      

      Not easily reproducible

      Attachments

        1. master.log.gz
          1.66 MB
          Elena Stepanova
        2. master.err
          365 kB
          Elena Stepanova

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

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