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

[Draft] Server crashed in alloc_histograms_for_table_share

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 10.0, 10.3
    • Fix Version/s: N/A
    • Component/s: Optimizer, Server
    • Labels:
      None

      Description

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

      10.0 d6dbe8e2071bf9fdc21b5530abce88ff01b40e25

      Version: '10.0.35-MariaDB-debug'  socket: ''  port: 11500  Source distribution
      180428  9:16:52 [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.0.35-MariaDB-debug
      key_buffer_size=1048576
      read_buffer_size=131072
      max_used_connections=7
      max_threads=501
      thread_count=7
      It is possible that mysqld could use up to 
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 196107 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0xe7a5148478
      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...
      ntdll.dll!RtlLockHeap()
      ntdll.dll!RtlEnterCriticalSection()
      mysqld.exe!inline_mysql_mutex_lock()[mysql_thread.h:693]
      mysqld.exe!alloc_histograms_for_table_share()[sql_statistics.cc:2253]
      mysqld.exe!read_histograms_for_table()[sql_statistics.cc:3029]
      mysqld.exe!read_statistics_for_tables_if_needed()[sql_statistics.cc:3111]
      mysqld.exe!open_and_lock_tables()[sql_base.cc:5247]
      mysqld.exe!open_and_lock_tables()[sql_base.h:491]
      mysqld.exe!mysql_execute_command()[sql_parse.cc:3515]
      mysqld.exe!mysql_parse()[sql_parse.cc:6573]
      mysqld.exe!dispatch_command()[sql_parse.cc:1298]
      mysqld.exe!do_command()[sql_parse.cc:999]
      mysqld.exe!threadpool_process_request()[threadpool_common.cc:271]
      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 (0xe7a2698a50): INSERT INTO table11 SELECT * FROM table11 LIMIT 0 /* QNO 2002 CON_ID 11
      

      windows 59febe381aaf

      E:\buildbot\rqg/runall.pl --no-mask --seed=1524899240 --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 --store-binaries --grammar=conf/optimizer/updateable_views.yy --mysqld=--default-storage-engine=MyISAM --mysqld=--init-file=E:/buildbot/rqg/conf/optimizer/updateable_views.init --mtr-build-thread=150 --basedir1=D:\qa-win-debug\install --vardir1=E:\buildbot\vardirs\qa-win-debug\10.0-1428\optim-crash-tests/current1_1
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              elenst Elena Stepanova
              Reporter:
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.