Project

General

Profile

Actions

Bug #11530

closed

badseg test creates cores

Added by John Levon about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

the os-test badseg is supposed to crash, but creating many cores is not ideal behaviour...

Actions #1

Updated by Dan McDonald about 4 years ago

"badseg" intentionally core-dumps. It does a setrlimit(), but we need to prevent global core dumps too. We do this by having "badseg" be a shell script which limits corefiles during the run of the actual test program, now renamed "badseg_exec".

Actions #2

Updated by Electric Monk about 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit dbdc225a81ccef01e9d416169099b09ddbc06ea1

commit  dbdc225a81ccef01e9d416169099b09ddbc06ea1
Author: John Levon <john.levon@joyent.com>
Date:   2019-09-02T15:46:59.000Z

    11530 badseg test creates cores
    Reviewed by: Toomas Soome <tsoome@me.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF