Solved

Analyzing Dr watson Log

Posted on 2004-09-19
7
405 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
unable to delete all specified values regedit 38 270
viewing source code from eclipse 13 88
only14 challenge 19 68
sumHeights  challenge 17 65
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

929 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now