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

[Draft] Server crashes in Field::is_null_in_record

    XMLWordPrintable

Details

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

    Description

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

      160927 15:07: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 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.1.18-MariaDB-debug
      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 = 388151 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0x0x7d686f59a8
      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_null_in_record()[field.h:1035]
      mysqld.exe!create_tmp_table()[sql_select.cc:16720]
      mysqld.exe!JOIN::exec_inner()[sql_select.cc:2887]
      mysqld.exe!JOIN::exec()[sql_select.cc:2506]
      mysqld.exe!mysql_select()[sql_select.cc:3440]
      mysqld.exe!handle_select()[sql_select.cc:384]
      mysqld.exe!mysql_execute_command()[sql_parse.cc:3421]
      mysqld.exe!Prepared_statement::execute()[sql_prepare.cc:4299]
      mysqld.exe!Prepared_statement::execute_loop()[sql_prepare.cc:3931]
      mysqld.exe!mysql_sql_stmt_execute()[sql_prepare.cc:3056]
      mysqld.exe!mysql_execute_command()[sql_parse.cc:2973]
      mysqld.exe!mysql_parse()[sql_parse.cc:7318]
      mysqld.exe!dispatch_command()[sql_parse.cc:1490]
      mysqld.exe!do_command()[sql_parse.cc:1108]
      mysqld.exe!threadpool_process_request()[threadpool_common.cc:238]
      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 (0x7d68c2a158): CREATE TEMPORARY TABLE `ps` AS  SELECT DISTINCT STRAIGHT_JOIN STDDEV( `col_time_nokey` ) AS field1, DEFAULT( `col_varchar_nokey` ) AS field2, @A := `pk` AS field3 FROM `a` GROUP BY IFNULL( ( SCHEMA() ), ( RELEASE_LOCK( ( TRIM( BOTH -5614018410494033920 FROM ( `col_time_key` >> NULL ) ) ) ) ) ) WITH ROLLUP
      Connection ID (thread ID): 10
      Status: NOT_KILLED
      

      E:\buildbot\rqg/runall.pl --no-mask --seed=time --threads=5 --duration=600 --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 --grammar=conf/mariadb/functions.yy --mtr-build-thread=300 --basedir1=E:\buildbot\bbwin1\win-rqg-se\build\..\build-debug --vardir1=E:\buildbot\bbwin1\win-rqg-se\build\..\..\..\vardirs\10.1-2737\optim-crash-tests/current1_1
      seed => 1474977648
      

      Attachments

        1. master.err
          266 kB
        2. master.log.gz
          1.34 MB
        3. trial9.log.gz
          603 kB

        Issue Links

          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.