View Issue Details

IDProjectCategoryView StatusLast Update
0000018Tasks- none -public2011-10-26 00:51
Reportercobines Assigned To 
PrioritynormalSeverityminorReproducibilityN/A
Status newResolutionopen 
ProjectionnoneETAnone 
Target Version0.5.5 
Summary0000018: FileSystemWatcher access to FOSWatchers is not protected properly
DescriptionOn Linux in ExecuteWatcher access to FOSWatchers is not protected with a lock.

On BSD in ExecuteWatcher the TOSWatch instance is taken from the kevent user data parameter but it could have been destroyed by the main thread before reading TOSWatch(ke.uData).WatchPath. If that is indeed possible implement a similar reference counting as in Windows part or some other mechanism.

On Windows I think it is OK due to completion routines always executed from main thread but it should be reviewed and confirmed anyway.
TagsNo tags attached.
Fixed in Revision
Operating system
Widgetset
Architecture
WorkloadUnspecified

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2011-09-28 14:45 cobines New Issue
2011-10-25 23:57 cobines Target Version => 0.6.0 (trunk)
2011-10-26 00:46 cobines Target Version => 0.5.5