Detailed information is as follows:
Issue Event Name: BlueScreen
OS version: 6.1.7601.2.1.0.256.1
Regional Settings id:2052
For additional information about this issue:
bccode:1000007e
bcp1:c0000005
bcp2:8357163c
Bcp3:9018fc1c
bcp4:9018f800
OS version:6_1_7601
Service PACK:1_0
Product:256_1
Encounter the System blue screen This situation often occurs, the cause is also more, here for you recommend the following kinds of basic
can be set by: *
* Using the _NT_SYMBOL_PATH environment variable. *
* Using the-y argument when starting the debugger. *
* using. Sympath and. sympath+ *
*********************************************************************
Unable to load image Ntoskrnl.exe, Win32 error 0N2
Warning:unable to verify timestamp for Ntoskrnl.exe
Error:module load completed but symbols could not is loaded for Ntoskrnl.exe
Loading Kernel Symbols
..............................................................
options need to be removed from the project setup
1) first on the intuitive code, of course, the error is running.
Listing 1:
#include return 0;}
Code at the beginning to see no problem, debugging run, the program runs to
strcpy (Injcode->filepath, "abc");
Inevitable error, see WinDbg output, C0000005, while DT Injcode allocated memory also has the wrong hint:
It took a long time to find the root knot:
Injcode = (injcode*) VirtualAllocEx (
User or Kernel mode code "s difficult to troubleshoot on Windows.
Common User mode Debugging commands:. HH (Open WINDBG ' s help)Vertaget (Get the version of the target computer)Symbol Path (Display or Set symbol search path)Version (Dump version info of debugger and loaded extension DLLs)!ext.help (General extensions)!analyze-v (Display information about the current exception or bug check; verbose)Common Kernel mode Debugging commands:!analyze!error (plus error code, e.g. "!error
is 32 DWORD (128 bytes).Example: [CPP]
0:000> da 0027eb3c
0027EB3C "Tencent Technology (Shenzhen) Com"
0027eb5c "Pany Limited"
0:000> ea 0027eb3c "Tencent Technology (Shenzhen) company Limited1"
0:000> da 0027eb3c
0027EB3C "Tencent Technology (Shenzhen) Com"
0027eb5c "Pany Limited1"
Second, search for a value in memory: command sThe command s (for search) is a very useful command that can be used to find a known value within a debug target.The parameters of this command include
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.