Here are some of my own experiences in analyzing dump, personal opinion
After the system blue screen, will first come out a hint:
You can also see by dump:
Instructions for turning on MSDN on the blue screen: http://msdn.microsoft.com/en-us/library/windows/hardware/hh994433 (v=vs.85). aspx
Instructions for finding 0x19:
0x00000019 Bad_pool_headerThen find the place where parameter 1 is 0x20:
The pool en
make changes, you can use
ulimit-c n n represents the core file size limit
ulimit-c Unlimited No Limit size
The purpose of core
The core file is quite useful, and the core file is equivalent to saving the program out of the wrong site to the programmer to debug, looking for problems. It saves the program's call stack information, memory information, and CPU usage information.
Commissioning Technology
Debugging with GDB:
GDB program Core uses the BT view stack using info t
(3)Microsoft critical problem resolution platforms team blogX86-x64 ProcessorsArticles about ntsd, CDB and dbghelpDebug tutorial Part 1: Beginning Debugging Using CDB and ntsdDebug tutorial Part 2: The stackDebug tutorial Part 3: the heapDebug tutorial Part 4: Writing windbg extensionsDebug tutorial Part 5: handle leaksDebug tutorial Part 6: Navigating the kernel debuggerDebug tutorial Part 7: locks and synchronization objectsDebugging services on VistaForensic memory
){Crash ();}Compilation Environment: vc++6.0Compiler settings:This step is to require that the release version not be optimized, and if optimized, the crash (void) function in the source code above will not be compiled.This step setting produces debug symbol tables for release versions and prepares for subsequent positioning errors.Steps:1. Installation DrWtsn32Users can see where the DMP files will be saved through the DRWTSN32 command.2, installation windbg,windbg download address:Http://www.m
, then when the calculation of retained, C in the end is to calculate the retained of a or on the B retained? If an object is retained by its association, or the object being towed is interpreted at all, because the observed result is that C does not count to a retained and not to the retained of B. The correct understanding is that the retained of an object is the amount of memory space (object collection) that the object can free when it is in the GC. After selecting the AB show retained set y
explains why some large software will have debug version exists, because debug is not optimized version, contains the complete symbol table information, easy to debug), and rerun, Get a new core and view it, such as:This time it is more obvious that the value in B is not a problem, the problem is a, the address is an illegal region, that is, a does not allocate memory caused by the core. Of course, the problem in this case is very obvious and can be seen almost at a glance, but it does not prev
) {case Redis_string:case redis_hash_zipmap:case REDIS_LIST_ZIPL Ist:case redis_set_intset:case redis_zset_ziplist:case redis_hash_ziplist://Because a struct like ziplist,zipmap is actually a node. Connected to a super string, so is directly read if (!processstringobject (NULL)) {Shift_error (offset, "ERROR reading entry value"); return 0; } break; Case Redis_list:case Redis_set://And the above 2 types are the traditional structure, to divide the node to read for (i = 0; i If the e-
Recently, the blue screen analysis team has received a lot of user feedback about the wdf01000.sys blue screen. Wdf01000.sys is the Kernel Mode Driver Framework Runtime provided by Microsoft for Framework-based drivers. Is there a problem with this file or a third-party Driver? I searched the internet and found that many users encountered the same problem, but the specific cause is not very clear. So I decided to analyze the blue screen problem.The Wi
, when I set its value to 1/2/3, the above situation will be normal error. After this test, we recommend that in the development process, it is best to set the Malloc_check_ to 0, wait until the release, the value is set to 0 increase speed. The following is the GLIBC MALLOC debugging related environment variables or tool description, is a good reference (GO) a) Malloc_check_gnu standard library (GLIBC) Dynamic memory can be debugged through the built-in debugging features, it is the MALLOC_CHE
Introduction: Eclipse Memory Analyzer (MAT) is one of the 33 components of the Eclipse Galileo version of the famous Cross-platform integrated development environment, a feature-rich JAVA heap dump file analysis tool that can help you discover memory vulnerabilities and reduce memory dissipation Consumption. This article mainly describes how to install the configuration Memory Analyzer, and combined with an
Memory analyzer (MAT)-Java memory dump analysis tool
The eclipse memory analyzer is a fast and feature-richJava heap AnalyzerThat helps you find memory leaks and reduce memory consumption.
Use the memory analyzer to analyze productive heap dumps with hundreds of millions of objects, quickly calculate the retained sizes of objects, see who is preventing the garbage collector from collecting objects, run a
Today happens to have a system blue screen dump file, the next step to find out where the error.1. Open the dump file with WinDbg, set the symbol path, and so on.As shownHas basically determined which driver is causing the problem.2. Execute the ANALYZE-V command as shown inThis is where the problem is pointed out and the stack information is listed, indicating which line of code is problematic.3. Confirm t
. NET interview question analysis (07)-multi-thread programming and thread synchronization,. net multi-thread programmingDirectory address of the series of articles:. NET interview questions (00)-start with interview Index of series of articles
There are many thread knowled
In-depth analysis of java thread pool implementation principles, in-depth analysis of java Thread Pool
Preface
A thread is a scarce resource. If it is created without limit, it will not only consume system resources, but also reduce system stability. It is reasonable to use
Implementation Algorithm Analysis of Several thread pools [reprinted], thread algorithm analysis
Original article addressContent
Preface
Thread Pool meaning
Technical Points of Thread Pool
Section
Reference source code
Analysis of multi-thread object lock and Class lock, analysis of multi-thread class lockI. Preface
I originally wanted to talk about it in another article. I found it may be a little too long, so I 'd better open another blog post. For more information, see Java multi-thread
Java Performance Analysis thread stack details (bottom)Reprinted from: Public number "test that thing."Combining Jstack results with a detailed explanation of thread statusThe previous article details the role, status, and any viewing comprehension of line stacks, this article combined with the Jstack tool to view the thread
Related Articles Directory:java thread pool threadpoolexecutor usage and analysis (i)java thread pool threadpoolexecutor usage and Analysis (ii)-execute () principlejava thread pool threadpoolexecutor usage and Analysis (iii)-Term
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.