Project

General

Profile

Bug #11101

Segfault due to data race on socket closing

Added by Matthias Van Ceulebroeck 15 days ago. Updated 7 days ago.

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

0%

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.

#1

Updated by Roel Standaert 15 days ago

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

Updated by Roel Standaert 7 days ago

  • Status changed from New to InProgress
#3

Updated by Roel Standaert 7 days ago

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

Also available in: Atom PDF