Project

General

Profile

Actions

Bug #4545

closed

profile_sharer_thread terminates too fast

Added by Jerome Jerome over 7 years ago. Updated over 7 years ago.

Status:
Fixed
Priority:
Normal
Category:
Transcoding
Target version:
-
Start date:
2017-08-23
Due date:
% Done:

100%

Estimated time:
Found in version:
7db25fab07bc76fcf1131be57de7dade7aabeee6
Affected Versions:

Description

The profile_sharer_thread (profile.c:871) terminates too fast because of a race condition:

To create an new sharer thread in profile_sharer_postinit (profile.c:991) the variable prsh->prsh_queue_run must be 0. But if the thread is starting too fast, the new thread (profile:872) will terminate because the variable prsh->prsh_queue_run is still 0.

Actions

Also available in: Atom PDF