Project

General

Profile

Actions

Bug #11101

closed

Segfault due to data race on socket closing

Added by Matthias Van Ceulebroeck over 1 year ago. Updated over 1 year 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.

Actions #1

Updated by Roel Standaert over 1 year ago

  • Assignee set to Roel Standaert
  • Target version set to 4.9.0
Actions #2

Updated by Roel Standaert over 1 year ago

  • Status changed from New to InProgress
Actions #3

Updated by Roel Standaert over 1 year ago

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

Updated by Roel Standaert over 1 year ago

  • % Done changed from 0 to 100
Actions #5

Updated by Roel Standaert over 1 year ago

  • Status changed from Review to Resolved
Actions #6

Updated by Roel Standaert over 1 year ago

  • Assignee changed from Korneel Dumon to Roel Standaert
Actions #7

Updated by Roel Standaert over 1 year ago

  • Target version changed from 4.9.0 to 4.8.3
Actions #8

Updated by Roel Standaert over 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF