How to create a crash dump for Axapta processes ?

Published 28 January 09 12:07 PM | czdaxsup 

Symptoms:

All clients lose connection to the AOS Server. If the Axapta AOS or client process crashes for any reason, it is recommended to create a crash dump, of the failing process.

Here are the steps to do so:

  1. Download the Microsoft debugging tools, from here:
    http://www.microsoft.com/whdc/devtools/debugging/installx86.Mspx
    The 64-bit Version is available here:
    http://www.microsoft.com/whdc/devtools/debugging/install64bit.mspx
  2. Install the debugging tools on the problem machine.
  3. Switch to the install folder of the debugging tools using the command line.
  4. Attach the tracing tool(adplus) to the crashing process. 
  5. Use the following command line options to attach the debugger.
    adplus –crash –pn ax32.exe
    adplus –crash –pn ax32serv.exe

    or
    adplus –crash –p <PID>

    To enable the Process ID, go to Task Manager\View\Select Columns…
    PID (Process Identifier)
  6. Now the tracing tool is active and should generate a crash dump, once the process  crashes.
  7. You will find the dump file in the installation folder of the debugging tools.
  8. A correct crash dump file should look like this:
    PID-4580__AX32.EXE__2nd_chance_UnknownException__full_1810_2008-12-04_20-53-48-528_11e4.dmp
    Please focus on the 2nd_chance in the title. Please reattach the tracing tool again in case you get only 1st_chance exception, or just a log file(has a *.log extension).
    Example:
    example1
  9. Once you have created a second chance crash dump file, send it to the Microsoft MBS support to get the file analyzed in detail.

Martin Ch

Filed under: ,

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Dynamics AX Czech Support Team How to create a crash dump for Axapta | Green Tea Fat Burner said on June 7, 2009 10:33 PM:

PingBack from http://greenteafatburner.info/story.php?id=3864

# balazss said on July 30, 2009 4:40 AM:

Nice article, the only thing I'm missing a listing of when and how to use the "-fullonfirst" option.

# czdaxsup said on September 8, 2009 10:04 AM:

Thanks for hint Balazs. I'll extend the article with description of this option.

Leave a Comment

(required) 
(optional)
(required) 

  
Enter Code Here: Required

Search

This Blog

Syndication

Page view tracker