Project

General

Profile

Actions

Bug #11101

closed
MV RS

Segfault due to data race on socket closing

Bug #11101: Segfault due to data race on socket closing

Added by Matthias Van Ceulebroeck almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Roel Standaert
Target version:
Start date:
11/22/2022
Due date:
% Done:

100%

Estimated time:

Description

When a socket is closed for a child process, the closeClientSocket call is executed. If this is done through SessionProcessManager::processDeadChildren(), this can happen safely, behind a mutex.

However, this call can also come from a ProxyReply, which does not run this behind a mutex. This can lead to a race condition.

RS Updated by Roel Standaert almost 4 years ago Actions #1

  • Assignee set to Roel Standaert
  • Target version set to 4.9.0

RS Updated by Roel Standaert almost 4 years ago Actions #2

  • Status changed from New to InProgress

RS Updated by Roel Standaert almost 4 years ago Actions #3

  • Status changed from InProgress to Review
  • Assignee changed from Roel Standaert to Korneel Dumon

RS Updated by Roel Standaert over 3 years ago Actions #4

  • % Done changed from 0 to 100

RS Updated by Roel Standaert over 3 years ago Actions #5

  • Status changed from Review to Resolved

RS Updated by Roel Standaert over 3 years ago Actions #6

  • Assignee changed from Korneel Dumon to Roel Standaert

RS Updated by Roel Standaert over 3 years ago Actions #7

  • Target version changed from 4.9.0 to 4.8.3

RS Updated by Roel Standaert over 3 years ago Actions #8

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom