Project

General

Profile

Actions

Bug #11418

closed

spawn segfaults

Added by nobu (Nobuyoshi Nakada) over 8 years ago. Updated over 8 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:70251]

Description

Process.spawn sometimes segfaults, because buffer allocated by ALLOCV_N is not marked, when the size exceeds 1024 bytes.
In these days, TestEncodingConverter#test_default_external has occasionally segfaulted by this problem.

Until 2.2, this has not appeared since Process.spawn didn't use ALLOCV_N.
Maybe unnecessary before 2.2.


Related issues 1 (0 open1 closed)

Has duplicate Ruby master - Bug #12507: random SEGV in kernel.system when called with long parametre listClosedActions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0