Tech or Treat! Write an article about your scariest tech disaster to win gadgets!Learn more

x
?
Solved

Analyzing Dr watson Log

Posted on 2004-09-19
7
Medium Priority
?
428 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
7 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 280 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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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.
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

648 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