JPS63140340A - Information acquiring system for abnormal completion of task - Google Patents

Information acquiring system for abnormal completion of task

Info

Publication number
JPS63140340A
JPS63140340A JP61288167A JP28816786A JPS63140340A JP S63140340 A JPS63140340 A JP S63140340A JP 61288167 A JP61288167 A JP 61288167A JP 28816786 A JP28816786 A JP 28816786A JP S63140340 A JPS63140340 A JP S63140340A
Authority
JP
Japan
Prior art keywords
task
information
cause
abnormal
exception
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP61288167A
Other languages
Japanese (ja)
Inventor
Aiko Kumagai
愛子 熊谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP61288167A priority Critical patent/JPS63140340A/en
Publication of JPS63140340A publication Critical patent/JPS63140340A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To efficiently analyze the cause of the abnormal completion of a task, by providing a cause analyzing means which analyzes the cause by which the task is completed abnormally. CONSTITUTION:An abnormal information reference means 4 refers to the abnormal information 1 of the task where the abnormal state of the task is stored at the time of requesting the abnormal completion information of the task. The cause analyzing means 5 analyzes the cause by which the task is completed abnormally from the information obtained by a reference means 4. When it is recognized that the cause analyzed by the analyzing means 5 is generated exceptionally, an exception information acquiring means 6 acquires exception information from the information obtained by the reference means 4. Also, a required information acquiring means 7 acquires the information requested from an aport exit routine from the information obtained by the reference means 4. In such way, it is possible to analyze the cause of the abnormal completion of the task efficiently.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、電子計算機系の処理に関し、特にタスクが異
常終了した時に呼び出されるアボート出口ルーチンにお
けるタスクが、異常終了した情報を取得するタスクの異
常終了情報取得方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to processing in electronic computer systems, and in particular, the present invention relates to processing of electronic computer systems, and in particular, a task in an abort exit routine that is called when a task terminates abnormally is a task that acquires information about the abnormal termination. Concerning an abnormal termination information acquisition method.

〔従来の技術〕[Conventional technology]

従来、タスクの異常終了情報取得方式は、メモリダンプ
で情報を収集するだけであり、タスクが異常終了した原
因を分析する手段はなかった。
Conventionally, methods for acquiring information about abnormal task termination have only collected information through memory dumps, and there has been no means to analyze the cause of abnormal task termination.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来のタスクの異常終了情報取得方式では、ア
プリケーションプログラムは各アボート出口ルーチンに
おいて、O3/ハードウェア依存性の強いタスクの異常
情報をもとに、タスクが異常終了した原因を分析しなけ
ればならない欠点がある。
In the conventional task abnormal termination information acquisition method described above, in each abort exit routine, the application program must analyze the cause of the abnormal task termination based on the abnormality information of tasks that are highly dependent on O3/hardware. There are disadvantages that cannot be avoided.

本発明の目的は、簡単な構成により上記欠点を除去し効
率良くタスクの異常終了の原因を分析することのできる
タスクの異常終了情報取得方式を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a method for acquiring information on abnormal termination of a task, which eliminates the above-mentioned drawbacks with a simple configuration and can efficiently analyze the cause of abnormal termination of a task.

〔問題点を解決するための手段〕[Means for solving problems]

本発明のタスクの異常終了情報取得方式の構成は、計算
機系のタスク管理におけるタスクが、異常終了した時に
呼び出されるアボート出口ルーチンによるタスクの異常
終了情報要求時に、タスクの異常状態が格納されている
タスクの異常情報を参照する異常情報参照手段と、この
異常情報参照手段によって得られた情報からタスクが異
常終了した原因を分析する原因分析手段と、この原因分
析手段によって分析された原因が例外発生である時に、
例外情報を前記異常情報参照手段によって得られた情報
から取得する例外情報取得手段と、前記アボート出口ル
ーチンから要求された情報を前記異常情報参照手段によ
って得られた情報から取得する必要情報取得手段とを有
することを特徴とする。
The configuration of the task abnormal termination information acquisition method of the present invention is such that the abnormal state of a task is stored when requesting task abnormal termination information by an abort exit routine that is called when a task in computer system task management terminates abnormally. An abnormality information reference means for referencing task abnormality information, a cause analysis means for analyzing the cause of the abnormal termination of a task from the information obtained by this abnormality information reference means, and a cause analyzed by this cause analysis means for determining whether an exception has occurred. When
exception information acquisition means for acquiring exception information from the information obtained by the abnormality information reference means; and necessary information acquisition means for acquiring information requested from the abort exit routine from the information obtained by the abnormality information reference means. It is characterized by having the following.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は、本発明の一実施例のブロック図であり、タス
クが異常終了した時点でタスクの異常状態が格納される
タスクの異常情報1、アボート出口ルーチンが要求した
タスクの異常情報の要求2、タスクが異常終了した原因
を格納する異常終了原因格納領域3、タスクの異常状態
が格納されているタスクの異常情報を参照する異常情報
参照手段4、異常情報参照手段によって得られた情報か
ら、タスクが異常終了した原因を分析する原因分析手段
5、原因分析手段5によって分析された原因が例外発生
である時に、例外情報を異常情報参照手段4によって得
られた情報から取得する例外情報取得手段6、アポ−I
・出口ルーチンから要求された情報を異常情報参照手段
4によって得られた情報から取得する必要情報取得手段
7から構成されている。
FIG. 1 is a block diagram of an embodiment of the present invention, including task abnormality information 1 in which the abnormal state of the task is stored when the task terminates abnormally, and a request for task abnormality information requested by the abort exit routine. 2. Abnormal termination cause storage area 3 that stores the cause of the abnormal termination of a task; Abnormality information reference means 4 that refers to the abnormality information of the task in which the abnormal state of the task is stored; From the information obtained by the abnormality information reference means. , cause analysis means 5 for analyzing the cause of abnormal termination of a task; and exception information acquisition for acquiring exception information from the information obtained by the abnormality information reference means 4 when the cause analyzed by the cause analysis means 5 is the occurrence of an exception. Means 6, Apo-I
- Consists of necessary information acquisition means 7 that acquires information requested from the exit routine from information obtained by the abnormality information reference means 4.

上記構成において、タスクの異常状態が格納されている
タスクの異常状態を参照する異常情報参照手段4は、第
2図の異常情報参照手段4の動作の流れ図に示すように
、ステップ11において、例外が発生したプロセスの呼
び出しモジュール単位の情報が格納されているスタック
を参照し、ステップ12において、例外が発生したプロ
セスのプロセスの制御を行うための情報を格納している
プロセス制御テーブルを参照する。
In the above configuration, the abnormality information reference means 4 that refers to the abnormal state of the task in which the abnormal state of the task is stored, as shown in the flowchart of the operation of the abnormality information reference means 4 in FIG. Refers to the stack storing information for each calling module of the process in which the exception has occurred, and in step 12 refers to the process control table storing information for controlling the process in which the exception has occurred.

異常情報参照手段4によって得られた情報から、タスク
が異常終了した原因を分析する原因分析手段5は、第3
図の原因分析手段5の動作の流れ図に示すように、判断
ステップ21において、異常情報参照手段4によりタス
クが異常終了した原因が、例外発生であると判断された
場合、ステップ22へ制御を渡し、ステップ22におい
て、異常終了原因格納領域3に例外発生を表示し、判断
ステップ23において、異常情報参照手段4によりタス
クが異常終了した原因が、プログラム中での強制終了で
あると判断された場合、ステップ24へ制御を渡し、ス
テップ24において、異常終了原因格納、領域3にプロ
グラム中での強制終了を表示し、判断ステップ25にお
いて、異常情報参照手段4によりタスクが異常終了した
原因が、親タスクの終了により子タスクの強制終了であ
ると判断された場合、ステップ26へ制御を5渡し、ス
テップ26において、異常終了格納領域3に親タスクの
終了による子タスクの強制終了を表示し、判断ステップ
27において、異常情報参照手段4によりタスクが異常
終了した原因が、コンソールからの強制制御であると判
断された場合、ステップ28へ制御を渡し、ステップ2
8において、異常終了原因格納領域3にコンソールから
の強制終了を表示し、判断ステップ29において、異常
情報参照手段4によりタスクが異常終了した原因が、シ
ステムにより強制終了であると判断された場合、ステッ
プ295へ制御を渡し、ステップ295において、異常
終了原因格納領域3にシステムによる強制終了を表示す
る。
The cause analysis means 5 analyzes the cause of the abnormal termination of the task from the information obtained by the abnormality information reference means 4.
As shown in the flowchart of the operation of the cause analysis means 5 in the figure, if the abnormality information reference means 4 determines in judgment step 21 that the cause of the abnormal termination of the task is the occurrence of an exception, control is passed to step 22. In step 22, the occurrence of an exception is displayed in the abnormal termination cause storage area 3, and in judgment step 23, the abnormality information reference means 4 determines that the cause of the abnormal termination of the task is forced termination in the program. , the control is passed to step 24, and in step 24, the cause of abnormal termination is stored and the forced termination in the program is displayed in area 3. In judgment step 25, the abnormality information reference means 4 determines that the cause of the abnormal termination of the task is the parent. If it is determined that the child task has been forcibly terminated due to the termination of the task, control is passed to step 26, and in step 26, the forcible termination of the child task due to the termination of the parent task is displayed in the abnormal termination storage area 3, and the judgment is made. In step 27, if the abnormality information reference means 4 determines that the cause of the abnormal termination of the task is forced control from the console, control is passed to step 28, and step 2
In Step 8, a forced termination from the console is displayed in the abnormal termination cause storage area 3, and in judgment step 29, if the abnormality information reference means 4 determines that the cause of the abnormal termination of the task is forced termination by the system, Control is passed to step 295, and in step 295, forced termination by the system is displayed in the abnormal termination cause storage area 3.

原因分析手段5によって分析された原因が例外発生であ
る時、例外情報を異常情報参照手段4によって得られた
情報から取得する例外情報取得手段6は、第4図の例外
情報取得手段6の動作の流れ図のように、判断ステップ
31において、原因分析手段5によって分析された原因
が例外発生であると判断された場合、ステップ32へ制
御を渡し、ステップ32において、タスクの異常情報1
より例外が発生した命令のアドレスを取得し、判断ステ
ップ33において、例外の種類がセグメン1へのアクセ
ス例外であると判断された場合、ステップ34へ制御を
渡し、ステップ34において、タスクの異常情報1より
アクセスしようとしたセグメント番号を取得し、判断ス
テップ35において、例外の種類がプロセスのアクセス
例外であると判断された場合、ステップ36へ制御を渡
し、ステップ36において、タスクの異常情報1よりア
スセスしようとしたプロセス番号を取得し、判断ステッ
プ37において、例外の種類がセマフォ例外であると判
断された場合、ステップ38へ制御を渡し、ステップ3
8においてタスクの異常情報1よりセマフォセグメント
番号を取得し、判断ステップ39において、例外の種類
がチャネル例外であると判断された場合、ステップ39
5へ制御を渡し、ステップ395において、タスクの異
常情報1よりチャネル番号を取得する。
When the cause analyzed by the cause analysis means 5 is the occurrence of an exception, the exception information acquisition means 6 that acquires exception information from the information obtained by the abnormality information reference means 4 operates according to the operation of the exception information acquisition means 6 shown in FIG. As shown in the flowchart, if it is determined in the determination step 31 that the cause analyzed by the cause analysis means 5 is the occurrence of an exception, control is passed to step 32, and in step 32, the abnormality information 1 of the task is determined.
The address of the instruction in which the exception occurred is obtained from step 33, and if it is determined in judgment step 33 that the type of exception is an access exception to segment 1, control is passed to step 34, and in step 34, abnormality information of the task is obtained. 1, and if it is determined in judgment step 35 that the type of exception is a process access exception, control is passed to step 36, and in step 36, the segment number that is attempted to be accessed is obtained from task abnormality information 1. The process number that the attempt was made to access is obtained, and if it is determined in judgment step 37 that the type of exception is a semaphore exception, control is passed to step 38, and step 3
In step 8, the semaphore segment number is acquired from the abnormality information 1 of the task, and if it is determined in judgment step 39 that the type of exception is a channel exception, step 39
5, and in step 395, the channel number is obtained from the abnormality information 1 of the task.

アボート出口ルーチンから要求された情報を、異常情報
参照手段4によって得られた情報から取得する必要情報
取得手段7は、第5図の必要情報取得手段7の動作の流
れ図のように、判断ステップ51において、タスクの異
常情報の要求2によりタスクが異常終了した情報の要求
であると判断された場合、ステップ52へ制御を渡し、
ステップ52において、タスクの異常情報1よりタスク
の異常情報の要求2で要求されている情報を取得する。
The necessary information acquisition means 7 that acquires the information requested from the abort exit routine from the information obtained by the abnormality information reference means 4 performs the judgment step 51 as shown in the flowchart of the operation of the necessary information acquisition means 7 in FIG. In step 52, if it is determined that the task abnormality information request 2 is a request for information that the task has ended abnormally, control is passed to step 52;
In step 52, the information requested by the task abnormality information request 2 is obtained from the task abnormality information 1.

〔発明の効果〕〔Effect of the invention〕

以上説明した通り本発明は、タスクが異常終了した原因
を分析する為、アボート出口ルーチンにおいて、タスク
か異常終了した原因を容易゛に知ることができ、原因に
応じた処理が行える効果がある。
As explained above, since the present invention analyzes the cause of abnormal termination of a task, it is possible to easily know the cause of abnormal termination of a task in the abort exit routine, and has the advantage that processing can be carried out in accordance with the cause.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は、本発明の一実施例のブロック図、第2図〜第
5図は、第1図の異常情報参照手段4゜原因分析手段5
9例外情報取得手段6.必要情報取得手段7の動作の流
れ図である。 1・・・タスクの異常状態が格納されているタスクの異
常情報、2・・・アボータ出ロルーチンが要求したタス
クの異常情報の要求、3・・・タスクが異常終了した原
因を格納する異常終了原因格納領域、4・・・タスクの
異常情報を参照する異常情報参照手段、5・・・タスク
が異常終了した原因を分析する原因分析手段、6・・・
異常終了の原因が例外発生である時、例外情報を取得す
る例外情報取得手段、7・・・アボート出口ルーチンか
ら要求された情報を取得する必要情報取得手段。 茅2 厘 茅 、5rgJ
FIG. 1 is a block diagram of an embodiment of the present invention, and FIGS. 2 to 5 show the abnormality information reference means 4 and cause analysis means 5 in FIG.
9 Exception information acquisition means 6. It is a flowchart of the operation of the necessary information acquisition means 7. 1...Task abnormality information that stores the abnormal state of the task, 2...Request for task abnormality information requested by the aborter output routine, 3...Abnormal termination that stores the cause of the task's abnormal termination. Cause storage area, 4... Abnormality information reference means for referencing task abnormality information, 5... Cause analysis means for analyzing the cause of abnormal termination of a task, 6...
Exception information acquisition means for acquiring exception information when the cause of abnormal termination is the occurrence of an exception; 7. Necessary information acquisition means for acquiring information requested from the abort exit routine. Kaya 2 Rin Kaya, 5rgJ

Claims (1)

【特許請求の範囲】[Claims] 計算機系のタスク管理におけるタスクが、異常終了した
時に呼び出されるアボート出口ルーチンによるタスクの
異常終了情報要求時に、タスクの異常状態が格納されて
いるタスクの異常情報を参照する異常情報参照手段と、
この異常情報参照手段によって得られた情報からタスク
が異常終了した原因を分析する原因分析手段と、この原
因分析手段によって分析された原因が例外発生である時
に、例外情報を前記異常情報参照手段によって得られた
情報から取得する例外情報取得手段と、前記アボート出
口ルーチンから要求された情報を前記異常情報参照手段
によって得られた情報から取得する必要情報取得手段と
を有することを特徴とするタスクの異常終了情報取得方
式。
Abnormality information reference means for referencing task abnormality information in which the abnormal state of the task is stored when a task abnormal termination information is requested by an abort exit routine that is called when a task in computer system task management terminates abnormally;
cause analysis means for analyzing the cause of the abnormal termination of a task from the information obtained by the abnormality information reference means; and when the cause analyzed by this cause analysis means is the occurrence of an exception, the exception information is transmitted to the abnormality information reference means; A task characterized in that it has an exception information acquisition means for acquiring from the obtained information, and a necessary information acquisition means for acquiring the information requested from the abort exit routine from the information obtained by the abnormality information reference means. Abnormal termination information acquisition method.
JP61288167A 1986-12-02 1986-12-02 Information acquiring system for abnormal completion of task Pending JPS63140340A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61288167A JPS63140340A (en) 1986-12-02 1986-12-02 Information acquiring system for abnormal completion of task

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61288167A JPS63140340A (en) 1986-12-02 1986-12-02 Information acquiring system for abnormal completion of task

Publications (1)

Publication Number Publication Date
JPS63140340A true JPS63140340A (en) 1988-06-11

Family

ID=17726674

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61288167A Pending JPS63140340A (en) 1986-12-02 1986-12-02 Information acquiring system for abnormal completion of task

Country Status (1)

Country Link
JP (1) JPS63140340A (en)

Similar Documents

Publication Publication Date Title
US6041425A (en) Error recovery method and apparatus in a computer system
JPS63140340A (en) Information acquiring system for abnormal completion of task
US6543009B1 (en) Signal processing apparatus
JPH10320039A (en) Plant control system
JPH036748A (en) On-line terminal equipment
JPS59140568A (en) Program abnormality processing system
JP2001184235A (en) Device for obtaining and analyzing log information
JPH11143743A (en) Message classifying method and device therefor
JPS6359647A (en) Display system for exceptional event information
JPS6254337A (en) Specification displaying system for program hierarchy
JPS6358568A (en) Monitor system for execution of decentralized computer
JPH11232086A (en) Method and device for extracting inter-task interface
JP2829001B2 (en) Information aggregation display method and device
JPS63304337A (en) Automatic analyzing system for transaction processing performance
JPH01288930A (en) Discrete event type simulation system
JPS63298542A (en) Analysis information collecting system after ending abnormality of system
JP2001134431A (en) Method for deciding reinput possibility of function
JPH04172042A (en) Line controlling system
KR940003278A (en) Monitoring and tracing method of communication data between processors in all electronic switch
JPS63280347A (en) Memory dump gathering system
JPH0443437A (en) Memory use condition display method for memory control system
JPH03286358A (en) Discrete event type simulation device
JPH02247764A (en) Batch processing control method for electronic computer system
JPH04135247A (en) Factor trace-back system at end of program abnormality
JPS62219031A (en) Interruption control system