JPH05313918A - Analysis data collecting system in ending abnormality of application software - Google Patents
Analysis data collecting system in ending abnormality of application softwareInfo
- Publication number
- JPH05313918A JPH05313918A JP4117232A JP11723292A JPH05313918A JP H05313918 A JPH05313918 A JP H05313918A JP 4117232 A JP4117232 A JP 4117232A JP 11723292 A JP11723292 A JP 11723292A JP H05313918 A JPH05313918 A JP H05313918A
- Authority
- JP
- Japan
- Prior art keywords
- application program
- analysis data
- processing
- signal
- file
- 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.)
- Withdrawn
Links
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明はアプリケーションソフト
ウェアの異常終了時の解析データ採取システムに関し、
特にOSの一つであるUNIX(ユニックス:ユニック
ス インタナショナル ラボラトリが開発しライセンス
しているオペレーティングシステム。本明細書では「U
NIX」で表わす)上で利用するアプリケーションソフ
トウェアの異常終了時直後の必要情報をファイルに出力
する異常終了時の解析データ採取システムに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an analysis data collection system for abnormal termination of application software,
In particular, an operating system developed and licensed by UNIX (Unix International Laboratories), which is one of the operating systems.
(Represented by "NIX") related to the analysis data collection system at the time of abnormal termination that outputs necessary information immediately after abnormal termination of the application software used above to a file.
【0002】[0002]
【従来の技術】従来のアプリケーションソフトウェアの
異常終了時の解析データ採取システムは、必要情報を個
々にユーティリティ等を利用し、人手によって採取する
形式をとっていた。しかし、ユーティリティを使用した
場合、その構造上プログラム走行のタイミングが違った
ものになるため異常終了の箇所が異ることもあった。2. Description of the Related Art A conventional analysis data collection system for abnormal termination of application software has a form in which necessary information is manually collected by utilizing a utility or the like. However, when the utility is used, the timing of the program run may be different due to its structure, and the location of the abnormal end may be different.
【0003】[0003]
【発明が解決しようとする課題】上述した従来の異常終
了時の解析データ採取システムは、人手をたよって情報
採取を行うという事で、例えばUNIXコマンドやユー
ティリティー等の知識なしでは、データ採取できなかっ
た。また、最も大切なのは、採取した情報が、異常発生
直後の情報である保障が100%あるわけではなかっ
た。The conventional analysis data collection system at the time of abnormal termination as described above collects information by hand, and therefore cannot collect data without knowledge of UNIX commands and utilities, for example. It was In addition, the most important thing is that the collected information is information immediately after the occurrence of an abnormality, which is not 100% guaranteed.
【0004】[0004]
【課題を解決するための手段】本発明のアプリケーショ
ンソフトウェア異常終了時の解析データ採取システム
は、アプリケーションプログラムがUNIXのシグナル
関数により動作中に前記アプリケーションプログラム内
で不正データが発生して異常終了したとき、OSが前記
不正データを受信した不正データ発生のシグナルを発行
する不正データ検出手段と、前記シグナルを前記アプリ
ケーションプログラムが受信するとリカバリ処理ルーチ
ンによる処理を実行しファイルのクローズ処理を行うリ
カバリ処理手段と、を備えた異常終了後の解析データ採
取システムにおいて、前記アプリケーションプログラム
に従ったリカバリ処理手段の結果を受信して、解析デー
タ採取システム実行ルーチンによる処理を行うと共に必
要情報のファイル出力処理を行って前記プロセスを終了
する解析データ採取手段とを備えて構成される。According to the analysis data collection system for abnormal termination of application software of the present invention, when abnormal data is generated in the application program and the application program is abnormally terminated while the application program is operating by a UNIX signal function. An illegal data detection means for issuing a signal for generation of illegal data when the OS receives the illegal data, and a recovery processing means for executing processing by a recovery processing routine when the application program receives the signal and performing file closing processing In the analysis data collection system after abnormal termination, the result of the recovery processing means according to the application program is received, processing is performed by the analysis data collection system execution routine, and a file of necessary information is output. Configured with an analysis data collecting means to terminate the process by performing the process.
【0005】[0005]
【実施例】次に本発明について図面を参照して説明す
る。The present invention will be described below with reference to the drawings.
【0006】図1は本発明の一実施例を示す説明図、図
2は本実施例の実行箇所を示す説明図である。FIG. 1 is an explanatory view showing an embodiment of the present invention, and FIG. 2 is an explanatory view showing an execution part of this embodiment.
【0007】まず、図1の機能はアプリケーションプロ
グラム21内で、強制終了・命令無視または指定してお
いて関数へ飛ぶことが指定されているUNIXのシグナ
ル(SIGNAL)関数を利用し、割込み処理を行って
いることを前提とする。First, the function of FIG. 1 uses the UNIX signal (SIGNAL) function in the application program 21 for which forced termination / instruction disregard or designation of jumping to a function is designated to perform interrupt processing. Assuming that you are doing.
【0008】そこで、不正データ検出手段11としてU
NIX上のアプリケーションプログラムについてシグナ
ル関数を利用して開発されている時に、アプリケーショ
ンプログラム内で不正データが発生した場合(ステップ
1)、シグナル関数内で不正データをチェックし、OS
22がシグナルを発行する(ステップ3)。次にリカバ
リ処理手段12として前述のシグナル発明指示により解
除をアプリケーションプログラムが受け取ると(ステッ
プ4)、アプリケーションプログラムは処理を中断し、
開発元で作成したリカバリー処理ルーチン(EXCEP
TIONルーチン)へ飛んでこれを実行し(ステップ
5)、強制的にプロセスを終了させる(ステップ6)。
これは、通常のアプリケーションプログラムで多く利用
されているリカバリ処理である。Therefore, U is used as the illegal data detecting means 11.
When invalid data is generated in the application program (step 1) while the application program on the UNIX is being developed using the signal function, the invalid data is checked in the signal function, and the OS
22 issues a signal (step 3). Next, as the recovery processing means 12, when the application program receives the cancellation by the above-mentioned signal invention instruction (step 4), the application program interrupts the processing,
Recovery processing routine created by the developer (EXCEP
(TION routine) to execute this (step 5) and forcibly terminate the process (step 6).
This is a recovery process that is often used in normal application programs.
【0009】本実施例は、この機能を利用した解析デー
タ採取手段13として、解析データをファイルに出力す
ることにした。すなわちUNIXのシグナル関数は複数
のサブルーチンを呼べないので、リカバリ処理ルーチン
内で解析データ採取システム実行ルーチン(必要情報を
ファイルに出力する処理)を子サブルーチンの形で呼び
出して実行し(ステップ7,8)する。その後でプロセ
ス終了処理を行う(ステップ9)。これにより、アプリ
ケーションプログラム側で、異常が発生し、シグナル対
応関数内で割込み処理を実行する。すなわち、リカバリ
処理と新たに解析データ採取を行った後に、アプリケー
ションプログラムを終了させるものである。In this embodiment, the analysis data collecting means 13 using this function outputs the analysis data to a file. That is, since the UNIX signal function cannot call a plurality of subroutines, an analysis data collection system execution routine (processing for outputting necessary information to a file) is called in the recovery processing routine in the form of a child subroutine and executed (steps 7 and 8). ) Do. After that, process termination processing is performed (step 9). As a result, an abnormality occurs on the application program side, and interrupt processing is executed in the signal corresponding function. That is, the application program is terminated after performing the recovery process and newly collecting the analysis data.
【0010】[0010]
【発明の効果】以上説明したように、本発明は、アプリ
ケーションプログラムの異常発生直後の情報を異常発生
時にファイル出力することにより、信頼性の高い情報が
入手できると共にユーザのデータ採取工数も減少すると
いう効果があり、開発元でも信頼性の高い情報ほど異常
発生の原因追求が捗ると考えられる。また、外部起動の
デバッガのようにプログラム自体のタイミングを乱すこ
ともない。As described above, according to the present invention, by outputting the information immediately after the occurrence of the abnormality of the application program to the file when the abnormality occurs, highly reliable information can be obtained and the number of man-hours for collecting the data of the user can be reduced. Therefore, it is considered that the more reliable the information is from the developer, the better the pursuit of the cause of the abnormality. In addition, the timing of the program itself is not disturbed unlike the externally activated debugger.
【図1】本発明の一実施例の構成を示す説明図。FIG. 1 is an explanatory diagram showing a configuration of an embodiment of the present invention.
【図2】本実施例の実行箇所を示す説明図。FIG. 2 is an explanatory diagram showing execution points of the present embodiment.
11 不正データ検出手段 12 リカバリ処理手段 13 解析データ採取手段 11 Illegal Data Detecting Means 12 Recovery Processing Means 13 Analysis Data Collecting Means
Claims (1)
のシグナル関数により動作中に前記アプリケーションプ
ログラム内で不正データが発生して異常終了したとき、
OSが前記不正データを受信した不正データ発生のシグ
ナルを発行する不正データ検出手段と、前記シグナルを
前記アプリケーションプログラムが受信するとリカバリ
処理ルーチンによる処理を実行しファイルのクローズ処
理を行うリカバリ処理手段と、を備えた異常終了後の解
析データ採取システムにおいて、 前記アプリケーションプログラムに従ったリカバリ処理
手段の結果を受信して、解析データ採取システム実行ル
ーチンによる処理を行うと共に必要情報のファイル出力
処理を行って前記プロセスを終了する解析データ採取手
段とを備えて成ることを特徴とするアプリケーションソ
フトウェアの異常終了時の解析データ採取システム。1. The application program is UNIX
When abnormal data occurs in the application program during operation by the signal function of
An invalid data detecting means for issuing an invalid data generation signal when the OS receives the invalid data; and a recovery processing means for executing a processing by a recovery processing routine to perform a file closing processing when the application program receives the signal. In the analysis data collection system after abnormal termination, which comprises: receiving the result of the recovery processing means according to the application program, performing the processing by the analysis data collection system execution routine and performing the file output processing of the necessary information, An analysis data collection system at the time of abnormal termination of application software, comprising an analysis data collection means for terminating a process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4117232A JPH05313918A (en) | 1992-05-11 | 1992-05-11 | Analysis data collecting system in ending abnormality of application software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4117232A JPH05313918A (en) | 1992-05-11 | 1992-05-11 | Analysis data collecting system in ending abnormality of application software |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH05313918A true JPH05313918A (en) | 1993-11-26 |
Family
ID=14706660
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4117232A Withdrawn JPH05313918A (en) | 1992-05-11 | 1992-05-11 | Analysis data collecting system in ending abnormality of application software |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH05313918A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007133603A (en) * | 2005-11-09 | 2007-05-31 | Fujitsu Ten Ltd | Computer system, basic software and monitoring program |
WO2009104274A1 (en) * | 2008-02-22 | 2009-08-27 | 富士通株式会社 | Information processing unit, method for assisting process verification, and program for assisting process verification |
-
1992
- 1992-05-11 JP JP4117232A patent/JPH05313918A/en not_active Withdrawn
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007133603A (en) * | 2005-11-09 | 2007-05-31 | Fujitsu Ten Ltd | Computer system, basic software and monitoring program |
WO2009104274A1 (en) * | 2008-02-22 | 2009-08-27 | 富士通株式会社 | Information processing unit, method for assisting process verification, and program for assisting process verification |
US8225141B2 (en) | 2008-02-22 | 2012-07-17 | Fujitsu Limited | Information processing apparatus, process verification support method, and computer product |
JP5304657B2 (en) * | 2008-02-22 | 2013-10-02 | 富士通株式会社 | Information processing apparatus, process verification support method, and process verification support program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7415699B2 (en) | Method and apparatus for controlling execution of a child process generated by a modified parent process | |
JPH0588948A (en) | Method and device for analyzing sampling performance | |
US20040168157A1 (en) | System and method for creating a process invocation tree | |
US6031991A (en) | Debug system and method for reproducing an error occurring in parallel-executed programs | |
CN105824749B (en) | The analysis method of User space process exception under a kind of Linux system | |
JPH05313918A (en) | Analysis data collecting system in ending abnormality of application software | |
US6745213B2 (en) | Method and apparatus to facilitate testing of garbage collection implementations | |
JPH0426138B2 (en) | ||
JPH03113648A (en) | Program debug system | |
JP2658982B2 (en) | Specific instruction execution detection method | |
JPS6214241A (en) | Debug processing system at exceptional condition detection | |
JPH05334119A (en) | Method for debugging program | |
JP3159155B2 (en) | Method and apparatus for debugging program | |
JPH10198578A (en) | System and method for debugging | |
JPH0357036A (en) | Event information gathering system for multiprocessor data processing system | |
JPS5875256A (en) | Monitoring system for execution instruction processing state | |
JPH03134741A (en) | Deadlock debugger | |
JPH04124737A (en) | Data dependence analyzing system | |
JPS59202548A (en) | Debugging device | |
JPS5848154A (en) | One-step control system for program | |
JPS63289654A (en) | Program branching instruction monitoring system | |
JPH0750445B2 (en) | Program debugging method | |
JPH03246734A (en) | Method and device for checking jump destination address of debugger | |
JPH03134742A (en) | Debug device | |
JPH01166140A (en) | Information processor diagnosing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 19990803 |