// // The following is the dump information // 0:055> || . 0 User mini dump: \ReportQueue\AppCrash_mysqld.exe_a59e943d726580e436f1ea8d4fc3857cf25d545d_cab_e602582c\WER368D.tmp.hdmp // // Exception code when the crash occurred // 0:055> .exr -1 ExceptionAddress: 000000014025679d (mysqld!fil_node_open_file+0x000000000000055d) ExceptionCode: c0000005 (Access violation) ExceptionFlags: 00000000 NumberParameters: 2 Parameter[0]: 0000000000000000 Parameter[1]: 0000000000000000 Attempt to read from address 0000000000000000 <-- Referring to NULL pointer, memory access violation occuurs // // Call stack when the issue occurred // 0:055> kn # Child-SP RetAddr Call Site 00 00000000`2c83d0e8 000007f8`cfea129e ntdll!NtWaitForMultipleObjects+0xa 01 00000000`2c83d0f0 000007f8`d049c4ee KERNELBASE!WaitForMultipleObjectsEx+0xe5 02 00000000`2c83d3d0 000007f8`d049c2c2 kernel32!WerpReportFaultInternal+0x245 03 00000000`2c83d470 000007f8`cff08fb8 kernel32!WerpReportFault+0x76 04 00000000`2c83d4a0 000007f8`d2c4e47f KERNELBASE!UnhandledExceptionFilter+0x23a <-- Windows error report shows an unhandled exception 05 00000000`2c83d5a0 000007f8`d2bd7076 ntdll!RtlUserThreadStart$filt$0+0x34 06 00000000`2c83d5d0 000007f8`d2bd642d ntdll!_C_specific_handler+0x8e 07 00000000`2c83d640 000007f8`d2bd7704 ntdll!RtlpExecuteHandlerForException+0xd 08 00000000`2c83d670 000007f8`d2bc4b7a ntdll!RtlDispatchException+0x392 09 00000000`2c83dd80 00000001`4025679d ntdll!KiUserExceptionDispatch+0x2e <-- Exception occurs here 0a 00000000`2c83e4b0 00000001`40259ab3 mysqld!fil_node_open_file+0x55d [g:\mysql-5.1.42-winbuild\mysql-community-nt-5.1.42-build\storage\innobase\fil\fil0fil.c @ 635] 0b 00000000`2c83e520 00000001`4025c84b mysqld!fil_node_prepare_for_io+0xd3 [g:\mysql-5.1.42-winbuild\mysql-community-nt-5.1.42-build\storage\innobase\fil\fil0fil.c @ 3881] 0c 00000000`2c83e550 00000001`402a4a81 mysqld!fil_io+0x24b [g:\mysql-5.1.42-winbuild\mysql-community-nt-5.1.42-build\storage\innobase\fil\fil0fil.c @ 4098] 0d 00000000`2c83e5f0 00000001`402a4e22 mysqld!buf_read_page_low+0x181 [g:\mysql-5.1.42-winbuild\mysql-community-nt-5.1.42-build\storage\innobase\buf\buf0rea.c @ 136] 0e 00000000`2c83e650 00000001`40261f20 mysqld!buf_read_page+0x52 [g:\mysql-5.1.42-winbuild\mysql-community-nt-5.1.42-build\storage\innobase\buf\buf0rea.c @ 325] 0f 00000000`2c83e690 00000001`4028d65f mysqld!buf_page_get_gen+0xa0 [g:\mysql-5.1.42-winbuild\mysql-community-nt-5.1.42-build\storage\innobase\buf\buf0buf.c @ 1212] 10 00000000`2c83e6e0 00000001`4028e630 mysqld!btr_page_get+0x2f [g:\mysql-5.1.42-winbuild\mysql-community-nt-5.1.42-build\storage\innobase\include\btr0btr.ic @ 36] 11 00000000`2c83e730 00000001`4028bae5 mysqld!btr_free_but_not_root+0x50 [g:\mysql-5.1.42-winbuild\mysql-community-nt-5.1.42-build\storage\innobase\btr\btr0btr.c @ 780] 12 00000000`2c83ec30 00000001`40285a6b mysqld!dict_drop_index_tree+0xf5 [g:\mysql-5.1.42-winbuild\mysql-community-nt-5.1.42-build\storage\innobase\dict\dict0crea.c @ 676] 13 00000000`2c83ec70 00000001`40285d36 mysqld!row_upd_clust_step+0x17b [g:\mysql-5.1.42-winbuild\mysql-community-nt-5.1.42-build\storage\innobase\row\row0upd.c @ 1733] 14 00000000`2c83f520 00000001`40285ee7 mysqld!row_upd+0x76 [g:\mysql-5.1.42-winbuild\mysql-community-nt-5.1.42-build\storage\innobase\row\row0upd.c @ 1873] 15 00000000`2c83f550 00000001`4025f53d mysqld!row_upd_step+0x107 [g:\mysql-5.1.42-winbuild\mysql-community-nt-5.1.42-build\storage\innobase\row\row0upd.c @ 2005] 16 00000000`2c83f580 00000001`4025fc30 mysqld!que_thr_step+0x25d [g:\mysql-5.1.42-winbuild\mysql-community-nt-5.1.42-build\storage\innobase\que\que0que.c @ 1235] 17 00000000`2c83f5c0 00000001`4025fdbf mysqld!que_run_threads_low+0x80 [g:\mysql-5.1.42-winbuild\mysql-community-nt-5.1.42-build\storage\innobase\que\que0que.c @ 1322] 18 00000000`2c83f5f0 00000001`40260013 mysqld!que_run_threads+0x7f [g:\mysql-5.1.42-winbuild\mysql-community-nt-5.1.42-build\storage\innobase\que\que0que.c @ 1357] 19 00000000`2c83f620 00000001`4021e871 mysqld!que_eval_sql+0x193 [g:\mysql-5.1.42-winbuild\mysql-community-nt-5.1.42-build\storage\innobase\que\que0que.c @ 1440] 1a 00000000`2c83f650 00000001`40210d76 mysqld!row_drop_table_for_mysql+0x4c1 [g:\mysql-5.1.42-winbuild\mysql-community-nt-5.1.42-build\storage\innobase\row\row0mysql.c @ 3248] 1b 00000000`2c83f6c0 00000001`40074507 mysqld!ha_innobase::delete_table+0xf6 [g:\mysql-5.1.42-winbuild\mysql-community-nt-5.1.42-build\storage\innobase\handler\ha_innodb.cc @ 5849] 1c 00000000`2c83faf0 00000001`4007623b mysqld!rm_temporary_table+0x97 [g:\mysql-5.1.42-winbuild\mysql-community-nt-5.1.42-build\sql\sql_base.cc @ 5565] 1d 00000000`2c83fb20 00000001`40077f70 mysqld!close_temporary+0x5b [g:\mysql-5.1.42-winbuild\mysql-community-nt-5.1.42-build\sql\sql_base.cc @ 1916] 1e 00000000`2c83fb50 00000001`40058854 mysqld!close_temporary_tables+0x600 [g:\mysql-5.1.42-winbuild\mysql-community-nt-5.1.42-build\sql\sql_base.cc @ 1453] 1f 00000000`2c83fe10 00000001`4001708e mysqld!THD::cleanup+0x74 [g:\mysql-5.1.42-winbuild\mysql-community-nt-5.1.42-build\sql\sql_class.cc @ 938] 20 00000000`2c83fe40 00000001`4001a63e mysqld!unlink_thd+0xe [g:\mysql-5.1.42-winbuild\mysql-community-nt-5.1.42-build\sql\mysqld.cc @ 1859] 21 00000000`2c83fe70 00000001`400974f9 mysqld!one_thread_per_connection_end+0xe [g:\mysql-5.1.42-winbuild\mysql-community-nt-5.1.42-build\sql\mysqld.cc @ 1945] 22 00000000`2c83fea0 00000001`40318ea5 mysqld!handle_one_connection+0x159 [g:\mysql-5.1.42-winbuild\mysql-community-nt-5.1.42-build\sql\sql_connect.cc @ 1134] 23 00000000`2c83fed0 00000001`402e2fd7 mysqld!pthread_start+0x55 [g:\mysql-5.1.42-winbuild\mysql-community-nt-5.1.42-build\mysys\my_winthread.c @ 85] 24 00000000`2c83ff00 00000001`402e30a5 mysqld!_callthreadstart+0x17 [f:\dd\vctools\crt_bld\self_64_amd64\crt\src\thread.c @ 295] 25 00000000`2c83ff30 000007f8`d0401842 mysqld!_threadstart+0x95 [f:\dd\vctools\crt_bld\self_64_amd64\crt\src\thread.c @ 275] 26 00000000`2c83ff60 000007f8`d2bff9d1 kernel32!BaseThreadInitThunk+0x1a 27 00000000`2c83ff90 00000000`00000000 ntdll!RtlUserThreadStart+0x1d // // Cotext information when the exception occurs // 0:055> .ecxr rax=0000000000000000 rbx=000000002fae04a0 rcx=00000000ffffffff rdx=0000000000000002 rsi=000000002fae04a0 rdi=000000000672e8e8 rip=000000014025679d rsp=000000002c83e4b0 rbp=000000000672e8e8 r8=000000000000018d r9=000000002c83e3c0 r10=0000000000000000 r11=0000000000000000 r12=00000000374ba4d0 r13=0000000000004000 r14=0000000000000000 r15=0000000000000000 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!fil_node_open_file+0x55d: 00000001`4025679d 4d3933 cmp qword ptr [r11],r14 ds:00000000`00000000=???????????????? <-- Memory access violation occurs since r11 register is NULL // // Processing information right before the exception // 0:055> ub @rip L11 mysqld!fil_node_open_file+0x508 [g:\mysql-5.1.42-winbuild\mysql-community-nt-5.1.42-build\storage\innobase\fil\fil0fil.c @ 632]: 00000001`40256748 488b4e08 mov rcx,qword ptr [rsi+8] <--- It's an argument of os_file_create 00000001`4025674c ba33000000 mov edx,33h 00000001`40256751 488d442470 lea rax,[rsp+70h] 00000001`40256756 448d4a31 lea r9d,[rdx+31h] 00000001`4025675a 448d420a lea r8d,[rdx+0Ah] 00000001`4025675e 4889442420 mov qword ptr [rsp+20h],rax 00000001`40256763 e878a6ffff call mysqld!os_file_create (00000001`40250de0) <--- It's invoke of os_file_create 00000001`40256768 48894618 mov qword ptr [rsi+18h],rax 00000001`4025676c 488b4c2470 mov rcx,qword ptr [rsp+70h] 00000001`40256771 488b15d0484c00 mov rdx,qword ptr [mysqld!ut_dbg_zero (00000001`4071b048)] 00000001`40256778 4803d1 add rdx,rcx 00000001`4025677b 752e jne mysqld!fil_node_open_file+0x56b (00000001`402567ab) <--- The error is forked here 00000001`4025677d 488d15f45d2100 lea rdx,[mysqld!`string' (00000001`4046c578)] 00000001`40256784 488d0dfde42000 lea rcx,[mysqld!`string' (00000001`40464c88)] 00000001`4025678b 41b87b020000 mov r8d,27Bh 00000001`40256791 e89aa3fcff call mysqld!ut_dbg_assertion_failed (00000001`40220b30) <--- Logging for Assert 00000001`40256796 4c8b1dbb484c00 mov r11,qword ptr [mysqld!ut_dbg_null_ptr (00000001`4071b058)] <--- NULL is substituted to r11 // // Here is node structure information remaining in register // 0:055> dt fil_node_t @rsi mysqld!fil_node_t +0x000 space : 0x00000000`374ba4d0 fil_space_struct +0x008 name : 0x00000000`307d6d00 "E:\Program Files (x86)\McAfee\MySQL for Quarantine Manager\Temp\#sql5a4_1009e1_28.ibd" <--- the file being accessed +0x010 open : 0 +0x018 handle : 0xffffffff`ffffffff Void +0x020 is_raw_disk : 0 +0x028 size : 6 +0x030 n_pending : 0 +0x038 n_pending_flushes : 0 +0x040 modification_counter : 0n39094726 +0x048 flush_counter : 0n39094726 +0x050 chain : +0x060 LRU : +0x070 magic_n : 0x15d2d >>>>>>>>>>.