Project

General

Profile

Actions

Bug #2321

closed

osmo-gsm-tester: store properly coredump files when a process crashes

Added by pespin almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
06/12/2017
Due date:
% Done:

100%

Spec Reference:

Description

When a process crashes (both on main unit or on the BTS), we should be able to record the details and store the coredump in the run directory of the trial.

  • Configure the main unit correctly (ulimit, etc.) to output the core dump in the run directory of the crashed process, together with its stderr and stdout files.
  • Same for the BTs + scp it back to the trial directory in the main unit.
  • Extra: Add python code to automatically open the dump file and print a backtrace + other interesting stuff.

This can be tested apparently by sending a SIGQUIT signal to a process: https://stackoverflow.com/questions/6561194/force-a-core-to-dump-from-an-active-normally-running-program-on-freebsd

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)