[MDEV-14194] main.distinct failed in buildbot with server crash Created: 2017-10-29  Updated: 2023-11-29  Resolved: 2023-11-29

Status: Closed
Project: MariaDB Server
Component/s: Locking, Tests
Affects Version/s: 10.2
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-16016 [draft] Closed

 Description   

http://buildbot.askmonty.org/buildbot/builders/winx64-packages/builds/5229/steps/test/logs/stdio

main.distinct                            w3 [ fail ]
        Test ended at 2017-10-09 12:28:30
 
CURRENT_TEST: main.distinct
mysqltest: At line 200: query 'drop table t1,t2,t3' failed: 2013: Lost connection to MySQL server during query
 
The result from queries just before the failure was:
< snip >
SELECT DISTINCT
t1.id
from
t1
straight_join
t2
straight_join
t3
straight_join
t1 as j_lj_t2 left join t2 as t2_lj
on j_lj_t2.id=t2_lj.id
straight_join
t1 as j_lj_t3 left join t3 as t3_lj
on j_lj_t3.id=t3_lj.id
WHERE
((t1.id=j_lj_t2.id AND t2_lj.id IS NULL) OR (t1.id=t2.id AND t2.idx=2))
AND ((t1.id=j_lj_t3.id AND t3_lj.id IS NULL) OR (t1.id=t3.id AND t3.idx=2));
id
2
drop table t1,t2,t3;
 
More results from queries before failure can be found in D:\winx64-packages\build\mysql-test\var\3\log\distinct.log
 
 
Server [mysqld.1 - pid: 2212, winpid: 2212, exit: 65280] failed during test run
Server log from this test:
----------SERVER LOG START-----------

171009 12:28:26 [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.2.10-MariaDB-log
key_buffer_size=1048576
read_buffer_size=131072
max_used_connections=3
max_threads=65537
thread_count=2
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 4199 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
 
Thread pointer: 0x7c4b725c78
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!MDL_lock::Ticket_list::remove_ticket()[mdl.cc:1219]
mysqld.exe!MDL_lock::remove_ticket()[mdl.cc:1655]
mysqld.exe!MDL_context::release_lock()[mdl.cc:2629]
mysqld.exe!MDL_context::release_locks_stored_before()[mdl.cc:2678]
mysqld.exe!THD::restore_backup_open_tables_state()[sql_class.cc:4229]
mysqld.exe!delete_statistics_for_table()[sql_statistics.cc:3343]
mysqld.exe!mysql_rm_table()[sql_table.cc:2028]
mysqld.exe!mysql_execute_command()[sql_parse.cc:4738]
mysqld.exe!mysql_parse()[sql_parse.cc:7880]
mysqld.exe!dispatch_command()[sql_parse.cc:1814]
mysqld.exe!do_command()[sql_parse.cc:1359]
mysqld.exe!threadpool_process_request()[threadpool_common.cc:366]
mysqld.exe!tp_callback()[threadpool_common.cc:192]
ntdll.dll!RtlFreeUnicodeString()
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 (0x7c4b960cd0): drop table t1,t2,t3
Connection ID (thread ID): 616
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=on,condition_pushdown_for_derived=on
 
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.
Writing a core file
 
Minidump written to D:\winx64-packages\build\mysql-test\var\3\mysqld.1\data\mysqld.dmp
----------SERVER LOG END-------------
 
 
 - saving 'D:/winx64-packages/build/mysql-test/var/3/log/main.distinct/' to 'D:/winx64-packages/build/mysql-test/var/log/main.distinct/'
 - found 'mysqld.dmp' (0/5)
 
Trying 'cdb' to get a backtrace
Output from cdb follows. Faulting thread is printed twice,with and without function parameters
Search for STACK_TEXT to see the stack trace of 
the faulting thread. Callstacks of other threads are printed after it.
 
Microsoft (R) Windows Debugger Version 10.0.10586.567 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
 
 
Loading Dump File [D:\winx64-packages\build\mysql-test\var\log\main.distinct\mysqld.1\data\mysqld.dmp]
User Mini Dump File: Only registers, stack and portions of memory are available
 
 
Response                         Time (ms)     Location
OK                                             D:\winx64-packages\build\sql\RelWithDebInfo
OK                                             C:\Windows\System32
OK                                             .
 
Response                         Time (ms)     Location
OK                                             D:\winx64-packages\build\sql\RelWithDebInfo
OK                                             C:\Windows\System32
OK                                             .
Deferred                                       cache*c:\cdb_symbols
Deferred                                       SRV*C:\cdb_symbols*http://msdl.microsoft.com/download/symbols
Symbol search path is: D:\winx64-packages\build\sql\RelWithDebInfo;C:\Windows\System32;.;cache*c:\cdb_symbols;SRV*C:\cdb_symbols*http://msdl.microsoft.com/download/symbols
Executable search path is: D:\winx64-packages\build\sql\RelWithDebInfo;C:\Windows\System32;.
Windows 8.1 Version 9600 MP (4 procs) Free x64
Product: Server, suite: TerminalServer DataCenter SingleUserTS
Built by: 6.3.9600.17031 (winblue_gdr.140221-1952)
Machine Name:
Debug session time: Mon Oct  9 12:28:29.000 2017 (UTC + 0:00)
System Uptime: not available
Process Uptime: 0 days 0:04:07.000
.............................
This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(32d4.258c): Access violation - code c0000005 (first/second chance not available)
ntdll!NtGetContextThread:
             ret
0:008> cdb: Reading initial command '!sym prompts off; !analyze -v; .ecxr; !for_each_frame dv /t;!uniqstack -p;q'
quiet mode - symbol prompts off
 
GetUrlPageData2 (WinHttp) failed: 12002.
 
DUMP_CLASS: 2
 
DUMP_QUALIFIER: 400
 
CONTEXT:  (.ecxr)
rax=0000007c4b4b9008 rbx=0000007c4cde9ca8 rcx=0000007c4cde9e80
rdx=0000007c4b4b8fa0 rsi=0000007c4b4c2a00 rdi=0000000000000000
rip=00007ff65077351d rsp=0000007c4cdcb708 rbp=0000007c4cdcb740
 r8=742d6c7173796d5c  r9=0000007c48bd03d0 r10=0000000000000002
r11=0000007c4cdcb6f0 r12=0000007c4cf73420 r13=0000007c4b63fd90
r14=0000007c4b4b8fa0 r15=00000000000001d8
iopl=0         nv up ei pl nz na po nc
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010206
mysqld!I_P_List<MDL_ticket,I_P_List_adapter<MDL_ticket,24,32>,I_P_List_null_counter,I_P_List_fast_push_back<MDL_ticket> >::remove [inlined in mysqld!MDL_lock::Ticket_list::remove_ticket]:
       mov     qword ptr [r8+20h],rax ds:742d6c71`73796d7c=????????????????
Resetting default scope
 
FAULTING_IP: 
mysqld!MDL_lock::Ticket_list::remove_ticket+d [d:\winx64-packages\build\src\sql\mdl.cc @ 1219]
       mov     qword ptr [r8+20h],rax
 
EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 00007ff65077351d (mysqld!I_P_List<MDL_ticket,I_P_List_adapter<MDL_ticket,24,32>,I_P_List_null_counter,I_P_List_fast_push_back<MDL_ticket> >::remove)
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 0000000000000000
   Parameter[1]: ffffffffffffffff
Attempt to read from address ffffffffffffffff
 
DEFAULT_BUCKET_ID:  INVALID_POINTER_READ
 
PROCESS_NAME:  mysqld.exe
 
ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.
 
EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.
 
EXCEPTION_CODE_STR:  c0000005
 
EXCEPTION_PARAMETER1:  0000000000000000
 
EXCEPTION_PARAMETER2:  ffffffffffffffff
 
READ_ADDRESS:  ffffffffffffffff 
 
FOLLOWUP_IP: 
mysqld!MDL_lock::Ticket_list::remove_ticket+d [d:\winx64-packages\build\src\sql\mdl.cc @ 1219]
       mov     qword ptr [r8+20h],rax
 
BUGCHECK_STR:  INVALID_POINTER_READ
 
WATSON_BKT_PROCSTAMP:  59db6408
 
WATSON_BKT_PROCVER:  10.2.10.0
 
WATSON_BKT_MODULE:  mysqld.exe
 
WATSON_BKT_MODSTAMP:  59db6408
 
WATSON_BKT_MODOFFSET:  4351d
 
WATSON_BKT_MODVER:  10.2.10.0
 
BUILD_VERSION_STRING:  6.3.9600.17415 (winblue_r4.141028-1500)
 
MODLIST_WITH_TSCHKSUM_HASH:  1ba0ac40448d8a912de810f7dd30e83ee79a815e
 
MODLIST_SHA1_HASH:  56dfb2633e3292075fe6baef2536f098eb195753
 
DUMP_FLAGS:  0
 
DUMP_TYPE:  2
 
APP:  mysqld.exe
 
ANALYSIS_SESSION_HOST:  MARIADB-01
 
ANALYSIS_SESSION_TIME:  10-09-2017 12:28:57.0209
 
ANALYSIS_VERSION: 10.0.10586.567 amd64fre
 
THREAD_ATTRIBUTES: 
PROBLEM_CLASSES: 
 
 
 
INVALID_POINTER_READ
    Tid    [0x258c]
    Frame  [0x00]: mysqld!MDL_lock::Ticket_list::remove_ticket
 
 
LAST_CONTROL_TRANSFER:  from 00007ff650773493 to 00007ff65077351d
 
STACK_TEXT:  
mysqld!MDL_lock::Ticket_list::remove_ticket
mysqld!MDL_lock::remove_ticket
mysqld!MDL_context::release_lock
mysqld!MDL_context::release_locks_stored_before
mysqld!THD::restore_backup_open_tables_state
mysqld!delete_statistics_for_table
mysqld!mysql_rm_table
mysqld!mysql_execute_command
mysqld!mysql_parse
mysqld!dispatch_command
mysqld!do_command
mysqld!threadpool_process_request
mysqld!tp_callback
ntdll!TppWorkpExecuteCallback
ntdll!TppWorkerThread
kernel32!BaseThreadInitThunk
ntdll!RtlUserThreadStart
 
 
THREAD_SHA1_HASH_MOD_FUNC:  b3030fa5c857f1150701dd8a63757536de24c12a
 
THREAD_SHA1_HASH_MOD_FUNC_OFFSET:  b273e01e52a8bd532f0cf0f33d4e0efb66d8dd02
 
THREAD_SHA1_HASH_MOD:  35c7cc4b029050ff1a32f4aa880304265f9a9734
 
FAULT_INSTR_CODE:  20408949
 
FAULTING_SOURCE_LINE:  d:\winx64-packages\build\src\sql\mdl.cc
 
FAULTING_SOURCE_FILE:  d:\winx64-packages\build\src\sql\mdl.cc
 
FAULTING_SOURCE_LINE_NUMBER:  1219
 
FAULTING_SOURCE_CODE:  
   124:   inline void remove(T *a)
   125:   {
   126:     T *next= *B::next_ptr(a);
   127:     if (next)
>  128:       *B::prev_ptr(next)= *B::prev_ptr(a);
   129:     else
   130:       I::set_last(*B::prev_ptr(a));
   131:     **B::prev_ptr(a)= next;
   132:     C::dec();
   133:   }
 
 
SYMBOL_STACK_INDEX:  0
 
SYMBOL_NAME:  mysqld!MDL_lock::Ticket_list::remove_ticket+d
 
FOLLOWUP_NAME:  MachineOwner
 
MODULE_NAME: mysqld
 
IMAGE_NAME:  mysqld.exe
 
DEBUG_FLR_IMAGE_TIMESTAMP:  59db6408
 
STACK_COMMAND:  .ecxr ; kb
 
BUCKET_ID:  INVALID_POINTER_READ_mysqld!MDL_lock::Ticket_list::remove_ticket+d
 
PRIMARY_PROBLEM_CLASS:  INVALID_POINTER_READ_mysqld!MDL_lock::Ticket_list::remove_ticket+d
 
BUCKET_ID_OFFSET:  d
 
BUCKET_ID_MODULE_STR:  mysqld
 
BUCKET_ID_MODTIMEDATESTAMP:  59db6408
 
BUCKET_ID_MODCHECKSUM:  dd3549
 
BUCKET_ID_MODVER_STR:  10.2.10.0
 
BUCKET_ID_PREFIX_STR:  INVALID_POINTER_READ_
 
FAILURE_PROBLEM_CLASS:  INVALID_POINTER_READ
 
FAILURE_EXCEPTION_CODE:  c0000005
 
FAILURE_IMAGE_NAME:  mysqld.exe
 
FAILURE_FUNCTION_NAME:  MDL_lock::Ticket_list::remove_ticket
 
BUCKET_ID_FUNCTION_STR:  MDL_lock::Ticket_list::remove_ticket
 
FAILURE_SYMBOL_NAME:  mysqld.exe!MDL_lock::Ticket_list::remove_ticket
 
FAILURE_BUCKET_ID:  INVALID_POINTER_READ_c0000005_mysqld.exe!MDL_lock::Ticket_list::remove_ticket
 
WATSON_STAGEONE_URL:  http://watson.microsoft.com/StageOne/mysqld.exe/10.2.10.0/59db6408/mysqld.exe/10.2.10.0/59db6408/c0000005/0004351d.htm?Retriage=1
 
TARGET_TIME:  2017-10-09T12:28:29.000Z
 
OSBUILD:  9600
 
OSSERVICEPACK:  17415
 
SERVICEPACK_NUMBER: 0
 
OS_REVISION: 0
 
SUITE_MASK:  400
 
PRODUCT_TYPE:  3
 
OSPLATFORM_TYPE:  x64
 
OSNAME:  Windows 8.1
 
OSEDITION:  Windows 8.1 Server TerminalServer DataCenter SingleUserTS
 
OS_LOCALE:  
 
USER_LCID:  0
 
OSBUILD_TIMESTAMP:  2014-10-29 02:45:30
 
BUILDDATESTAMP_STR:  141028-1500
 
BUILDLAB_STR:  winblue_r4
 
BUILDOSVER_STR:  6.3.9600.17415
 
ANALYSIS_SESSION_ELAPSED_TIME: 6d2e
 
ANALYSIS_SOURCE:  UM
 
FAILURE_ID_HASH_STRING:  um:invalid_pointer_read_c0000005_mysqld.exe!mdl_lock::ticket_list::remove_ticket
 
FAILURE_ID_HASH:  {c2e091bd-73ef-9ac7-1bfe-aeb0533c3282}
 
Followup:     MachineOwner
---------
 
rax=0000007c4b4b9008 rbx=0000007c4cde9ca8 rcx=0000007c4cde9e80
rdx=0000007c4b4b8fa0 rsi=0000007c4b4c2a00 rdi=0000000000000000
rip=00007ff65077351d rsp=0000007c4cdcb708 rbp=0000007c4cdcb740
 r8=742d6c7173796d5c  r9=0000007c48bd03d0 r10=0000000000000002
r11=0000007c4cdcb6f0 r12=0000007c4cf73420 r13=0000007c4b63fd90
r14=0000007c4b4b8fa0 r15=00000000000001d8
iopl=0         nv up ei pl nz na po nc
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010206
mysqld!I_P_List<MDL_ticket,I_P_List_adapter<MDL_ticket,24,32>,I_P_List_null_counter,I_P_List_fast_push_back<MDL_ticket> >::remove [inlined in mysqld!MDL_lock::Ticket_list::remove_ticket]:
       mov     qword ptr [r8+20h],rax ds:742d6c71`73796d7c=????????????????
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
(Inline Function) --------`-------- mysqld!I_P_List<MDL_ticket,I_P_List_adapter<MDL_ticket,24,32>,I_P_List_null_counter,I_P_List_fast_push_back<MDL_ticket> >::remove [d:\winx64-packages\build\src\sql\sql_plist.h @ 128]
class MDL_ticket * next = 0x742d6c71`73796d5c
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
mysqld!MDL_lock::Ticket_list::remove_ticket [d:\winx64-packages\build\src\sql\mdl.cc @ 1219]
class MDL_lock::Ticket_list * this = 0x0000007c`4cde9e80
class MDL_ticket * ticket = 0x0000007c`4b4b8fa0
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
mysqld!MDL_lock::remove_ticket [d:\winx64-packages\build\src\sql\mdl.cc @ 1655]
class MDL_lock * this = 0x0000007c`4cde9ca8
struct LF_PINS * pins = 0x0000007c`4b4c2a00
class MDL_lock::Ticket_list * list = 0x00000000`000001d8
class MDL_ticket * ticket = 0x0000007c`4b4b8fa0
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
mysqld!MDL_context::release_lock [d:\winx64-packages\build\src\sql\mdl.cc @ 2629]
class MDL_context * this = <value unavailable>
enum_mdl_duration duration = 0n1289533728 (No matching enumerant)
class MDL_ticket * ticket = 0x0000007c`4b4b8fa0
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
mysqld!MDL_context::release_locks_stored_before [d:\winx64-packages\build\src\sql\mdl.cc @ 2678]
class MDL_context * this = 0x0000007c`4b725d70
enum_mdl_duration duration = MDL_TRANSACTION (0n1)
class MDL_ticket * sentinel = 0x00000000`00000000
class I_P_List_iterator<MDL_ticket,I_P_List<MDL_ticket,I_P_List_adapter<MDL_ticket,8,16>,I_P_List_null_counter,I_P_List_no_push_back<MDL_ticket> > > it = class I_P_List_iterator<MDL_ticket,I_P_List<MDL_ticket,I_P_List_adapter<MDL_ticket,8,16>,I_P_List_null_counter,I_P_List_no_push_back<MDL_ticket> > >
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
mysqld!THD::restore_backup_open_tables_state [d:\winx64-packages\build\src\sql\sql_class.cc @ 4229]
class THD * this = 0x0000007c`4b725c78
class Open_tables_backup * backup = 0x0000007c`4cdcba00
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
mysqld!delete_statistics_for_table [d:\winx64-packages\build\src\sql\sql_statistics.cc @ 3343]
class THD * thd = 0x0000007c`4b725c78
struct st_mysql_lex_string * db = 0x0000007c`4cdcd8f8
struct st_mysql_lex_string * tab = 0x0000007c`4cdcd8e8
class Index_stat index_stat = class Index_stat
int err = <value unavailable>
class Table_stat table_stat = class Table_stat
int rc = 0n0
class Column_stat column_stat = class Column_stat
struct TABLE_LIST [3] tables = struct TABLE_LIST [3]
class Open_tables_backup open_tables_backup = class Open_tables_backup
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
mysqld!mysql_rm_table [d:\winx64-packages\build\src\sql\sql_table.cc @ 2028]
class THD * thd = 0x0000007c`4b725c78
struct TABLE_LIST * tables = 0x0000007c`4b960da0
char if_exists = 0n0 ''
char drop_temporary = 0n0 ''
struct TABLE_LIST * table = 0x0000007c`4b960da0
class Drop_table_error_handler err_handler = class Drop_table_error_handler
struct st_mysql_lex_string table_name = struct st_mysql_lex_string
struct st_mysql_lex_string db_name = struct st_mysql_lex_string
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
mysqld!mysql_execute_command [d:\winx64-packages\build\src\sql\sql_parse.cc @ 4738]
class THD * thd = 0x0000007c`4b725c78
struct TABLE_LIST * all_tables = 0x0000007c`4b960da0
class st_select_lex_unit * unit = <value unavailable>
bool have_table_map_for_update = false
enum_binlog_format orig_current_stmt_binlog_format = BINLOG_FORMAT_STMT (0n1)
int up_result = <value unavailable>
int res = 0n0
enum_binlog_format orig_binlog_format = BINLOG_FORMAT_MIXED (0n0)
class Rpl_filter * rpl_filter = <value unavailable>
struct LEX * lex = 0x0000007c`4b728c68
class st_select_lex * select_lex = 0x0000007c`4b729448
struct TABLE_LIST * first_table = 0x0000007c`4b960da0
struct TABLE_LIST * table = <value unavailable>
unsigned int64 table_map_for_update = <value unavailable>
class Query_arena backup = class Query_arena
class set_var_base * var = 0x00000000`00000000
struct st_mem_root * mem_root = 0x0000007c`46a3afd8
class set_var * o = <value unavailable>
bool null_value = false
int64 val = <value unavailable>
bool null_value = false
unsigned int64 val = <value unavailable>
bool null_value = false
double val = 0
char [80] buff = char [80] ""
class String * val = <value unavailable>
class String tmp = class String
class Item_string * str = 0x000c5328`5a04a56a
bool commit_failed = <value unavailable>
unsigned long privileges_requested = <value unavailable>
class Item * it = <value unavailable>
class Master_info * mi = <value unavailable>
struct LEX_MASTER_INFO * lex_mi = <value unavailable>
bool new_master = <value unavailable>
bool master_info_added = <value unavailable>
class Master_info * mi = <value unavailable>
struct Table_specification_st create_info = struct Table_specification_st
class Alter_info alter_info = class Alter_info
bool link_to_local = <value unavailable>
struct TABLE_LIST * select_tables = <value unavailable>
class partition_info * part_info = <value unavailable>
unsigned int save_thd_create_info_options = <value unavailable>
class select_result * result = <value unavailable>
class Item * item = <value unavailable>
unsigned int splocal_refs = <value unavailable>
struct TABLE_LIST * duplicate = <value unavailable>
struct HA_CREATE_INFO create_info = struct HA_CREATE_INFO
class Alter_info alter_info = class Alter_info
class Master_info * mi = <value unavailable>
int load_error = <value unavailable>
class Master_info * mi = <value unavailable>
unsigned int64 updated = <value unavailable>
unsigned int64 found = <value unavailable>
class multi_update * result_obj = <value unavailable>
class select_result * sel_result = <value unavailable>
struct TABLE_LIST * second_table = <value unavailable>
struct TABLE_LIST * save_table = <value unavailable>
class select_result * sel_result = <value unavailable>
class Protocol * save_protocol = <value unavailable>
bool replaced_protocol = <value unavailable>
struct TABLE_LIST * aux_tables = <value unavailable>
class multi_delete * result = <value unavailable>
struct st_mysql_lex_string db_str = <value unavailable>
unsigned int privilege = <value unavailable>
class List<set_var_base> * lex_var_list = <value unavailable>
struct st_mysql_lex_string * db = <value unavailable>
struct st_mysql_lex_string * db = <value unavailable>
char [193] db_name_buff = char [193] "@."
struct st_mysql_lex_string db_name = <value unavailable>
struct st_lex_user * user = <value unavailable>
class List_iterator<st_lex_user> user_list = <value unavailable>
bool first_user = <value unavailable>
unsigned int grants = <value unavailable>
struct st_lex_user * user = <value unavailable>
class List_iterator<st_lex_user> str_list = <value unavailable>
struct st_lex_user * tmp_user = <value unavailable>
int write_to_binlog = <value unavailable>
class Item * it = <value unavailable>
struct st_lex_user * grant_user = <value unavailable>
struct st_lex_user * grant_user = <value unavailable>
bool commit_failed = <value unavailable>
bool tx_release = <value unavailable>
bool tx_chain = <value unavailable>
bool tx_release = <value unavailable>
bool rollback_failed = <value unavailable>
bool tx_chain = <value unavailable>
unsigned int namelen = <value unavailable>
char * name = <value unavailable>
struct st_udf_func * udf = <value unavailable>
bool restore_backup_context = <value unavailable>
class Security_context security_context = class Security_context
class Security_context * backup = <value unavailable>
struct st_lex_user * definer = <value unavailable>
class sp_head * sp = <value unavailable>
int sp_result = <value unavailable>
char * db = <value unavailable>
int sp_result = <value unavailable>
char * name = <value unavailable>
struct st_udf_func * udf = <value unavailable>
bool commit_failed = <value unavailable>
bool rollback_failed = <value unavailable>
int error = <value unavailable>
int err_code = <value unavailable>
struct st_mysql_mutex LOCK_active_mi = <value unavailable>
class Master_info_index * master_info_index = <value unavailable>
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
mysqld!mysql_parse [d:\winx64-packages\build\src\sql\sql_parse.cc @ 7880]
class THD * thd = 0x0000007c`4b725c78
char * rawbuf = 0x0000007c`4b960cd0 "--- memory read error at address 0x0000007c`4b960cd0 ---"
unsigned int length = <value unavailable>
class Parser_state * parser_state = 0x0000007c`4cdce870
bool is_com_multi = false
bool is_next_command = false
bool err = <value unavailable>
struct LEX * lex = 0x0000007c`4b728c68
char * found_semicolon = <value unavailable>
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
mysqld!dispatch_command [d:\winx64-packages\build\src\sql\sql_parse.cc @ 1814]
enum_server_command command = COM_QUERY (0n3)
class THD * thd = 0x0000007c`4b725c78
char * packet = <value unavailable>
unsigned int packet_length = 0
bool is_com_multi = false
bool is_next_command = false
bool error = false
struct st_net * net = <value unavailable>
struct st_mysql_lex_string tmp = struct st_mysql_lex_string
struct charset_info_st * save_character_set_results = <value unavailable>
struct charset_info_st * save_character_set_client = <value unavailable>
struct user_conn * save_user_connect = <value unavailable>
unsigned int save_db_length = <value unavailable>
int auth_rc = <value unavailable>
class Security_context save_security_ctx = class Security_context
char * save_db = <value unavailable>
struct charset_info_st * save_collation_connection = <value unavailable>
char * packet_end = 0x0000007c`4b960ce3 "--- memory read error at address 0x0000007c`4b960ce3 ---"
class Parser_state parser_state = class Parser_state
unsigned long length = <value unavailable>
char * beginning_of_next_stmt = <value unavailable>
char * fields = <value unavailable>
char * packet_end = <value unavailable>
struct TABLE_LIST table_list = struct TABLE_LIST
class MDL_savepoint mdl_savepoint = class MDL_savepoint
unsigned int arg_length = <value unavailable>
struct st_mysql_lex_string db = <value unavailable>
char * arg_end = <value unavailable>
struct st_mysql_lex_string table_name = struct st_mysql_lex_string
struct st_schema_table * schema_table = <value unavailable>
unsigned short flags = <value unavailable>
unsigned int64 nlen = <value unavailable>
unsigned int slave_server_id = <value unavailable>
char * name = <value unavailable>
unsigned long pos = <value unavailable>
unsigned int64 options = <value unavailable>
int not_used = 0n1185924400
mysql_enum_shutdown_level level = <value unavailable>
unsigned long uptime = <value unavailable>
char [250] buff = char [250] "???"
unsigned int64 queries_per_second1000 = <value unavailable>
struct system_status_var * current_global_status_var = <value unavailable>
unsigned int opt_command = <value unavailable>
unsigned int current_com = <value unavailable>
unsigned int counter = <value unavailable>
char * packet_start = 0x00000000`00000000 ""
struct PSI_statement_locker * save_locker = <value unavailable>
unsigned char * readbuff = <value unavailable>
unsigned int64 next_length_length = <value unavailable>
unsigned int64 next_subpacket_length = <value unavailable>
struct sql_digest_state * save_digest = <value unavailable>
enum_server_command subcommand = <value unavailable>
unsigned int64 subpacket_length = <value unavailable>
unsigned int64 length_length = <value unavailable>
struct charset_info_st * files_charset_info = <value unavailable>
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
mysqld!do_command [d:\winx64-packages\build\src\sql\sql_parse.cc @ 1359]
class THD * thd = 0x0000007c`4b725c78
bool return_value = true
unsigned long packet_length = 0x14
enum_server_command command = COM_QUERY (0n3)
char * packet = 0x0000007c`4d120828 "--- memory read error at address 0x0000007c`4d120828 ---"
struct st_net * net = 0x0000007c`4b725e78
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
mysqld!threadpool_process_request [d:\winx64-packages\build\src\sql\threadpool_common.cc @ 366]
class THD * thd = 0x0000007c`4b725c78
struct st_vio * vio = <value unavailable>
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
mysqld!tp_callback [d:\winx64-packages\build\src\sql\threadpool_common.cc @ 192]
struct TP_connection * c = 0x0000007c`4cdd1990
struct Worker_thread_context worker_context = struct Worker_thread_context
class THD * thd = 0x0000007c`4b725c78
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ntdll!TppWorkpExecuteCallback
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ntdll!TppWorkerThread
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
kernel32!BaseThreadInitThunk
Unable to enumerate locals, HRESULT 0x80004005
Private symbols (symbols.pri) are required for locals.
Type ".hh dbgerr005" for details.
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ntdll!RtlUserThreadStart
Unable to enumerate locals, HRESULT 0x80004005
Private symbols (symbols.pri) are required for locals.
Type ".hh dbgerr005" for details.
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
(Inline Function) --------`-------- mysqld!I_P_List<MDL_ticket,I_P_List_adapter<MDL_ticket,24,32>,I_P_List_null_counter,I_P_List_fast_push_back<MDL_ticket> >::remove [d:\winx64-packages\build\src\sql\sql_plist.h @ 128]
Processing 12 threads, please wait
 
.  0  Id: 32d4.1d88 Suspend: 0 Teb: 00007ff6`4ffcd000 Unfrozen
      Priority: 0  Priority class: 32
 
ntdll!NtWaitForAlertByThreadId
ntdll!RtlSleepConditionVariableCS
KERNELBASE!SleepConditionVariableCS
mysqld!pthread_cond_timedwait(struct _RTL_CONDITION_VARIABLE * cond = 0x00007ff6`5148c010, struct _RTL_CRITICAL_SECTION * mutex = 0x00007ff6`5148ba18, struct timespec * abstime = <Value unavailable error>) [d:\winx64-packages\build\src\mysys\my_wincond.c @ 85]
(Inline Function) --------`-------- mysqld!inline_mysql_cond_wait [d:\winx64-packages\build\src\include\mysql\psi\mysql_thread.h @ 1138]
mysqld!handle_connections_methods(void) [d:\winx64-packages\build\src\sql\mysqld.cc @ 5579]
mysqld!win_main(int argc = 0n129, char ** argv = 0x0000007c`46a201a8) [d:\winx64-packages\build\src\sql\mysqld.cc @ 6083]
mysqld!mysql_service(void * p = 0x00000000`0000002d) [d:\winx64-packages\build\src\sql\mysqld.cc @ 6128]
mysqld!mysqld_main(int argc = 0n6, char ** argv = 0x0000007c`46a12340) [d:\winx64-packages\build\src\sql\mysqld.cc @ 6321]
(Inline Function) --------`-------- mysqld!invoke_main [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl @ 78]
mysqld!__scrt_common_main_seh(void) [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl @ 283]
kernel32!BaseThreadInitThunk
ntdll!RtlUserThreadStart
 
.  1  Id: 32d4.1d78 Suspend: 0 Teb: 00007ff6`4ffcb000 Unfrozen
      Priority: 0  Priority class: 32
 
ntdll!NtWaitForAlertByThreadId
ntdll!RtlSleepConditionVariableCS
KERNELBASE!SleepConditionVariableCS
mysqld!pthread_cond_timedwait(struct _RTL_CONDITION_VARIABLE * cond = 0x00007ff6`51cf4ca8, struct _RTL_CRITICAL_SECTION * mutex = 0x00007ff6`51cf4c78, struct timespec * abstime = <Value unavailable error>) [d:\winx64-packages\build\src\mysys\my_wincond.c @ 85]
(Inline Function) --------`-------- mysqld!inline_mysql_cond_timedwait [d:\winx64-packages\build\src\include\mysql\psi\mysql_thread.h @ 1175]
mysqld!timer_handler(void * arg = 0x00000000`00000000) [d:\winx64-packages\build\src\mysys\thr_timer.c @ 293]
mysqld!pfs_spawn_thread(void * arg = 0x0000007c`470ced58) [d:\winx64-packages\build\src\storage\perfschema\pfs.cc @ 1865]
mysqld!pthread_start(void * p = <Value unavailable error>) [d:\winx64-packages\build\src\mysys\my_winthread.c @ 62]
(Inline Function) --------`-------- mysqld!invoke_thread_procedure [d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp @ 91]
mysqld!thread_start<unsigned int (void * parameter = 0x00007ff6`50d62fe0) [d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp @ 115]
kernel32!BaseThreadInitThunk
ntdll!RtlUserThreadStart
 
.  2  Id: 32d4.1eb4 Suspend: 0 Teb: 00007ff6`4ffc9000 Unfrozen
      Priority: 0  Priority class: 32
 
ntdll!NtWaitForAlertByThreadId
ntdll!RtlSleepConditionVariableCS
KERNELBASE!SleepConditionVariableCS
mysqld!pthread_cond_timedwait(struct _RTL_CONDITION_VARIABLE * cond = 0x00007ff6`514e5390, struct _RTL_CRITICAL_SECTION * mutex = 0x00007ff6`514e5360, struct timespec * abstime = <Value unavailable error>) [d:\winx64-packages\build\src\mysys\my_wincond.c @ 85]
(Inline Function) --------`-------- mysqld!inline_mysql_cond_timedwait [d:\winx64-packages\build\src\include\mysql\psi\mysql_thread.h @ 1175]
mysqld!my_service_thread_sleep(struct st_ma_service_thread_control * control = 0x00007ff6`512a12e8, unsigned int64 sleep_time = <Value unavailable error>) [d:\winx64-packages\build\src\storage\maria\ma_servicethread.c @ 115]
mysqld!ma_checkpoint_background(void * arg = 0x00000000`0000001e) [d:\winx64-packages\build\src\storage\maria\ma_checkpoint.c @ 709]
mysqld!pfs_spawn_thread(void * arg = 0x0000007c`4b4f8f18) [d:\winx64-packages\build\src\storage\perfschema\pfs.cc @ 1865]
mysqld!pthread_start(void * p = <Value unavailable error>) [d:\winx64-packages\build\src\mysys\my_winthread.c @ 62]
(Inline Function) --------`-------- mysqld!invoke_thread_procedure [d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp @ 91]
mysqld!thread_start<unsigned int (void * parameter = 0x00007ff6`50d62fe0) [d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp @ 115]
kernel32!BaseThreadInitThunk
ntdll!RtlUserThreadStart
 
.  3  Id: 32d4.2edc Suspend: 0 Teb: 00007ff6`4ffc7000 Unfrozen
      Priority: 0  Priority class: 32
 
ntdll!NtWaitForWorkViaWorkerFactory
ntdll!TppWorkerThread
kernel32!BaseThreadInitThunk
ntdll!RtlUserThreadStart
 
.  4  Id: 32d4.1d38 Suspend: 0 Teb: 00007ff6`4ffc5000 Unfrozen
      Priority: 0  Priority class: 32
 
ntdll!NtWaitForSingleObject
KERNELBASE!WaitForSingleObjectEx
mysqld!handle_shutdown(void * arg = 0x0000007c`48b29d10) [d:\winx64-packages\build\src\sql\mysqld.cc @ 3673]
mysqld!pfs_spawn_thread(void * arg = 0x0000007c`4b666ce8) [d:\winx64-packages\build\src\storage\perfschema\pfs.cc @ 1865]
mysqld!pthread_start(void * p = <Value unavailable error>) [d:\winx64-packages\build\src\mysys\my_winthread.c @ 62]
(Inline Function) --------`-------- mysqld!invoke_thread_procedure [d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp @ 91]
mysqld!thread_start<unsigned int (void * parameter = 0x00007ff6`50d62fe0) [d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp @ 115]
kernel32!BaseThreadInitThunk
ntdll!RtlUserThreadStart
 
.  5  Id: 32d4.c0c Suspend: 0 Teb: 00007ff6`4ffc3000 Unfrozen
      Priority: 0  Priority class: 32
 
ntdll!NtWaitForAlertByThreadId
ntdll!RtlSleepConditionVariableCS
KERNELBASE!SleepConditionVariableCS
mysqld!pthread_cond_timedwait(struct _RTL_CONDITION_VARIABLE * cond = 0x00007ff6`5148bc18, struct _RTL_CRITICAL_SECTION * mutex = 0x00007ff6`5148b9b8, struct timespec * abstime = <Value unavailable error>) [d:\winx64-packages\build\src\mysys\my_wincond.c @ 85]
(Inline Function) --------`-------- mysqld!inline_mysql_cond_wait [d:\winx64-packages\build\src\include\mysql\psi\mysql_thread.h @ 1138]
mysqld!handle_slave_background(void * arg = 0x00000000`00000000) [d:\winx64-packages\build\src\sql\slave.cc @ 334]
mysqld!pfs_spawn_thread(void * arg = 0x0000007c`4b6514e8) [d:\winx64-packages\build\src\storage\perfschema\pfs.cc @ 1865]
mysqld!pthread_start(void * p = <Value unavailable error>) [d:\winx64-packages\build\src\mysys\my_winthread.c @ 62]
(Inline Function) --------`-------- mysqld!invoke_thread_procedure [d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp @ 91]
mysqld!thread_start<unsigned int (void * parameter = 0x00007ff6`50d62fe0) [d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp @ 115]
kernel32!BaseThreadInitThunk
ntdll!RtlUserThreadStart
 
.  6  Id: 32d4.2e1c Suspend: 0 Teb: 00007ff6`4fe9e000 Unfrozen
      Priority: 0  Priority class: 32
 
ntdll!NtWaitForSingleObject
mswsock!Tcpip6_WSHGetSockaddrType
mswsock!Tcpip6_WSHAddressToString
ws2_32!select
mysqld!handle_connections_sockets(void) [d:\winx64-packages\build\src\sql\mysqld.cc @ 6604]
mysqld!handle_connections_sockets_thread(void * arg = 0x0000007c`48b2cd90) [d:\winx64-packages\build\src\sql\mysqld.cc @ 6803]
mysqld!pfs_spawn_thread(void * arg = 0x0000007c`4b611ff8) [d:\winx64-packages\build\src\storage\perfschema\pfs.cc @ 1865]
mysqld!pthread_start(void * p = <Value unavailable error>) [d:\winx64-packages\build\src\mysys\my_winthread.c @ 62]
(Inline Function) --------`-------- mysqld!invoke_thread_procedure [d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp @ 91]
mysqld!thread_start<unsigned int (void * parameter = 0x00007ff6`50d62fe0) [d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp @ 115]
kernel32!BaseThreadInitThunk
ntdll!RtlUserThreadStart
 
.  8  Id: 32d4.258c Suspend: 0 Teb: 00007ff6`4fe9a000 Unfrozen
      Priority: 0  Priority class: 32
 
ntdll!NtGetContextThread
 
Total threads: 12
Duplicate callstacks: 4 (windbg thread #s follow):
7, 9, 10, 11
quit:


Generated at Thu Feb 08 08:11:39 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.