Solved

Analyzing Dr watson Log

Posted on 2004-09-19
7
410 Views
Last Modified: 2013-11-20
Hi,

I am working in a VC++ project. While running one of our services, one server is generating Dr.Watson error. I have Dr Watson log and user dump at that time. How to analyze these logs to find out the reason for the crash of my server.

Thanks
sai
0
Comment
Question by:dssrrjy
  • 3
  • 2
7 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 70 total points
ID: 12099637
You can use CrashFinder utility for this:

http://www.microsoft.com/msj/0498/bugslayer0498.aspx

Bug report from client computer should contain address of program instruction where exception occured. For computer without Visual C exception is logged to Dr. Watson log:
<system disk>:\Documents and Settings\All Users\Application Data\Microsoft\
Dr Watson\drwtsn32.log

Exception report has the following format:

Application exception occurred:
...
*----> Task List <----*
...
State Dump for Thread Id 0x...
...
function: ...
...
FAULT ->nnnnnnnn

where nnnnnnnn is exception address.

Having exception address from Dr. Watson log we can find source code line where exception occured (see details in the book "Debugging Applications" by John Robbins). To do this:
   - run CrashFinder program (one of the book samples)
   - create new CrashFinder project, add to it executable and all Dll from of your program. All these files are selected by green sign if CrashFinder finds Debug Info and mapfiles for these exe and Dll's.
- run function Find Crash from Edit menu, type crash address from bug report and see result. If source line not found, exception occured in some other code (MFC, third-party Dll etc.)
Actual source line where exception occured may be exactly the line poined by CrashFinder or line close to it because of compiler optimizations.

Executable and all Dll should contain mapfiles and debug information.

See also:
http://codeproject.com/debug/moomoo.asp
0
 

Author Comment

by:dssrrjy
ID: 12099734
Hi,

Thanks for your info. Currently i am using Windbg tool to debug the user dump file, that i got along with the watson log. But i dont know exactly how to use this tool. I tried to anlyse the dump but i was getting some error regarding the symbols. i installed win 2k sp3 symbols, which is the client OS, still i am getting the same problem. wht can be reason.
any help?

thanks
sai
0
 

Author Comment

by:dssrrjy
ID: 12099743
where can i download crashfinder?
0
 
LVL 48

Expert Comment

by:AlexFM
ID: 12099785
Download link is in the beginning of this article:
http://www.microsoft.com/msj/0498/bugslayer0498.aspx
0
 

Author Comment

by:dssrrjy
ID: 12109221
hi,

I am trying to download symbols for some of the hotfixes on windows 2000. But I couldnt able to
get the exact URL for this.
any help in this regard?
regards
sai
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question