#50389 ns-slapd craches while two threads are polling the same connection
Closed: fixed 21 days ago by mreynolds. Opened a month ago by tbordaz.

Issue Description

On a same connection, a worker can send back an operation result at the same time an other worker wants to read an incoming request.
It results in two worker threads polling (one in read, one in write).
nspr IO is not multi-threaded safe and those threads need to be synchronize.

Package Version and Platform

all versions

Steps to reproduce

So far no clear reproducer.

Actual results

One thread can read 'fd' field that are modified under itself by the other thread.
It can crash.

Expected results

Should not crash


Metadata Update from @tbordaz:
- Custom field origin adjusted to RHCust
- Custom field reviewstatus adjusted to None
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1702740

a month ago

Metadata Update from @tbordaz:
- Issue assigned to tbordaz

a month ago

Metadata Update from @mreynolds:
- Issue set to the milestone: 1.3.9

a month ago

1b3c075..5f40c02 389-ds-base-1.3.9 -> 389-ds-base-1.3.9

Metadata Update from @mreynolds:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

21 days ago

Login to comment on this ticket.

Metadata