Interstage Shunsaku Data Manager Troubleshooting - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX -
Contents Index PreviousNext

Chapter 3 Collecting Troubleshooting Information> 3.5 Collecting Information for the Process Down

3.5.6 Core Stack Trace

Collect the stack trace from the collected core file by using the debugger as the first step of problem identification.
This is the requisite information for identifying where the problem is.

The following procedure shows how to collect the core stack trace.

mark1Collecting Core Stack Trace

  1. Start the adb debugger with the superuser privilege.
    adb /opt/FJSVshnsk/sbin/process name core file name (absolute path)

    Example: The director process down

    adb /opt/FJSVshnsk/sbin/shunddmn core_15928.040831.054704
    core file = core_15928.040831.054704 -- program ``shunddmn'' on platform SUNW,Ultra-Enterprise
    SIGSEGV: Segmentation Fault

  2. Input the following characters (including $) on the debugger to display the stack trace.
    $c

    Example:

    $c
    do_entry(1970918,e,61b38,61850,5ba38,0) + b08
    _thread_start(63580,0,0,0,0,0) + 40

    Save the text file displayed above.

  3. Input the following characters (including $) on the debugger to stop the adb debugger.
    $q

  1. Start the gdb debugger with the superuser privilege.
    gdb /opt/FJSVshnsk/sbin/ process name core file name (absolute path)

    Example: The searcher process down.

    gdb /opt/FJSVshnsk/sbin/shunsdmn core_11216.040907.203435
    GNU gdb Red Hat Linux (5.2-2)
    Copyright 2002 Free Software Foundation, Inc.
                : 

  2. Input the following characters on the debugger to display the stack trace.
    thread apply all bt

    Example:

    (gdb) thread apply all bt
    Thread 4 (process 11216):
            : 

    Save the text file displayed above.

  3. Input the following characters on the debugger to stop the adb debugger.
    q

  1. Copy the map file to the folder specified at the CoreFileFolder in the environment file. Refer to 3.5.5 Map File (Windows) for the place where the map file is stored.

  2. Change the file name of the map file copied in step 1.
    File Name : shunmemfuncmap

  3. Execute the following command with the Administrator privilege on the folder specified at the CoreFileFolder in the environment file.
    Shunsaku installation folder \Shunsaku\sbin\shunstacktrace core file name

    Save the output of the command into the text file.


Contents Index PreviousNext

All Rights Reserved, Copyright (C) FUJITSU LIMITED 2006