mysqld.exe!ha_innobase::store_lock(THD * thd=0x260af9d8, st_thr_lock_data * * to=0x26035110, thr_lock_type lock_type=TL_READ_NO_INSERT) Line 6606 + 0xf bytes C++ mysqld.exe!get_lock_data(THD * thd=0x260af9d8, st_table * * table_ptr=0x2634c4e8, unsigned int count=0x00000003, unsigned int flags=0x00000002, st_table * * write_lock_used=0x3229e8f4) Line 721 C++ mysqld.exe!mysql_lock_tables(THD * thd=0x30010630, st_table * * tables=0x2634c4e8, unsigned int count=0x00000003, unsigned int flags=0x00000004, int * need_reopen=0x3229e934) Line 126 + 0x24 bytes C++ mysqld.exe!lock_tables(THD * thd=0x260af9d8, st_table_list * tables=0x2634b1e0, unsigned int count=0x00000003, int * need_reopen=0x3229e934) Line 2808 + 0x10 bytes C++ mysqld.exe!open_and_lock_tables(THD * thd=0x260af9d8, st_table_list * tables=0x2634b1e0) Line 2661 + 0x15 bytes C++ mysqld.exe!mysql_execute_command(THD * thd=0x260af9d8) Line 3542 + 0xb bytes C++ ntdll.dll!RtlValidateHeap() + 0x11bc0 bytes First-chance exception at 0x0041f18f in mysqld.exe: 0xC0000005: Access violation reading location 0x30485860. First-chance exception at 0x0041f18f in mysqld.exe: 0xC0000005: Access violation reading location 0x30485860. Unhandled exception at 0x0041f18f in mysqld.exe: 0xC0000005: Access violation reading location 0x30485860. if (srv_locks_unsafe_for_binlog && prebuilt->trx->isolation_level != TRX_ISO_SERIALIZABLE && (lock_type == TL_READ || lock_type == TL_READ_NO_INSERT) && (thd->lex->sql_command == SQLCOM_INSERT_SELECT || thd->lex->sql_command == SQLCOM_UPDATE || thd->lex->sql_command == SQLCOM_CREATE_TABLE)) { 0041F180 cmp dword ptr [_srv_locks_unsafe_for_binlog (896E64h)],ebx 0041F186 je ha_innobase::store_lock+0AEh (41F20Eh) 0041F18C mov esi,dword ptr [edx+8] 0041F18F cmp dword ptr [esi+18h],4 <---------------------CRASH 0041F193 je ha_innobase::store_lock+0AEh (41F20Eh) 0041F195 cmp eax,1 0041F198 je ha_innobase::store_lock+3Fh (41F19Fh) 0041F19A cmp eax,4 0041F19D jne ha_innobase::store_lock+0AEh (41F20Eh) 0041F19F mov esi,dword ptr [edi+2Ch] 0041F1A2 mov esi,dword ptr [esi+734h] 0041F1A8 cmp esi,6 0041F1AB je ha_innobase::store_lock+57h (41F1B7h) 0041F1AD cmp esi,4 0041F1B0 je ha_innobase::store_lock+57h (41F1B7h) 0041F1B2 cmp esi,1 0041F1B5 jne ha_innobase::store_lock+0AEh (41F20Eh) /* In case we have innobase_locks_unsafe_for_binlog option set and isolation level of the transaction is not set to serializable and MySQL is doing INSERT INTO...SELECT or UPDATE ... = (SELECT ...) or CREATE ... SELECT... without FOR UPDATE or IN SHARE MODE in select, then we use consistent read for select. */ prebuilt->select_lock_type = LOCK_NONE; 0041F1B7 mov dword ptr [edx+74h],ebx prebuilt->stored_select_lock_type = LOCK_NONE; 0041F1BA mov dword ptr [edx+78h],ebx 0041F1BD jmp ha_innobase::store_lock+0D0h (41F230h) EAX = 00000004 EBX = 00000000 ECX = 2609DC30 EDX = 260A1A68 ESI = 30485848 EDI = 260AF9D8 EIP = 0041F18F ESP = 3229E88C EBP = 26035110 EFL = 00010202 30485860 = ????????