Project

General

Profile

Bug #14868

[PATCH] process.c (ruby_fork_ruby): fix race in signal handling

Added by normalperson (Eric Wong) 8 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:87622]

Description

process.c (ruby_fork_ruby): fix race in signal handling

We must block signals before stopping timer-thread, otherwise
signal handing can be delayed until another signal is
received after timer-thread is restarted.

Refixes [Bug #13916]


Files

Associated revisions

Revision 4bbdb9ea
Added by normal 8 months ago

process.c (ruby_fork_ruby): fix race in signal handling

We must block signals before stopping timer-thread, otherwise
signal handing may be delayed until (and if) another signal
is received after timer-thread is restarted.

[ruby-core:87622] [Bug #14868] [Bug #13916]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 63741
Added by normalperson (Eric Wong) 8 months ago

process.c (ruby_fork_ruby): fix race in signal handling

We must block signals before stopping timer-thread, otherwise
signal handing may be delayed until (and if) another signal
is received after timer-thread is restarted.

[ruby-core:87622] [Bug #14868] [Bug #13916]

Revision 63741
Added by normal 8 months ago

process.c (ruby_fork_ruby): fix race in signal handling

We must block signals before stopping timer-thread, otherwise
signal handing may be delayed until (and if) another signal
is received after timer-thread is restarted.

[ruby-core:87622] [Bug #14868] [Bug #13916]

Revision 8f2e9879
Added by usa (Usaku NAKAMURA) 7 months ago

merge revision(s) 63741: [Backport #14868]

    process.c (ruby_fork_ruby): fix race in signal handling

    We must block signals before stopping timer-thread, otherwise
    signal handing may be delayed until (and if) another signal
    is received after timer-thread is restarted.

    [ruby-core:87622] [Bug #14868] [Bug #13916]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@64130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 64130
Added by usa (Usaku NAKAMURA) 7 months ago

merge revision(s) 63741: [Backport #14868]

process.c (ruby_fork_ruby): fix race in signal handling

We must block signals before stopping timer-thread, otherwise
signal handing may be delayed until (and if) another signal
is received after timer-thread is restarted.

[ruby-core:87622] [Bug #14868] [Bug #13916]

Revision c66c5f3c
Added by nagachika (Tomoyuki Chikanaga) 6 months ago

merge revision(s) 63741: [Backport #14868]

    process.c (ruby_fork_ruby): fix race in signal handling

    We must block signals before stopping timer-thread, otherwise
    signal handing may be delayed until (and if) another signal
    is received after timer-thread is restarted.

    [ruby-core:87622] [Bug #14868] [Bug #13916]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@64439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 64439
Added by nagachika (Tomoyuki Chikanaga) 6 months ago

merge revision(s) 63741: [Backport #14868]

process.c (ruby_fork_ruby): fix race in signal handling

We must block signals before stopping timer-thread, otherwise
signal handing may be delayed until (and if) another signal
is received after timer-thread is restarted.

[ruby-core:87622] [Bug #14868] [Bug #13916]

History

#1

Updated by normalperson (Eric Wong) 8 months ago

  • Status changed from Open to Closed

Applied in changeset trunk|r63741.


process.c (ruby_fork_ruby): fix race in signal handling

We must block signals before stopping timer-thread, otherwise
signal handing may be delayed until (and if) another signal
is received after timer-thread is restarted.

[ruby-core:87622] [Bug #14868] [Bug #13916]

Updated by usa (Usaku NAKAMURA) 7 months ago

  • Backport changed from 2.3: REQUIRED, 2.4: REQUIRED, 2.5: REQUIRED to 2.3: REQUIRED, 2.4: DONE, 2.5: REQUIRED

ruby_2_4 r64130 merged revision(s) 63741.

Updated by nagachika (Tomoyuki Chikanaga) 6 months ago

  • Backport changed from 2.3: REQUIRED, 2.4: DONE, 2.5: REQUIRED to 2.3: REQUIRED, 2.4: DONE, 2.5: DONE

ruby_2_5 r64439 merged revision(s) 63741.

Also available in: Atom PDF