Project

General

Profile

Bug #11530

badseg test creates cores

Added by John Levon 4 months ago. Updated 3 months ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

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

History

#1

Updated by Dan McDonald 3 months 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".

#2

Updated by Electric Monk 3 months 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>

Also available in: Atom PDF