View Issue Details

IDProjectCategoryView StatusLast Update
0001687XdebugStep Debuggingpublic2019-07-25 14:19
Reporterderick Assigned Toderick  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Target Version2.8.0devFixed in Version2.8.0beta1 
Summary0001687: Use appropriate process ID for logging and "is this the right process" tracking
Description

With ZTS enabled, getpid() does not necessarily return a useful number, and pthread_self() should be used.
On Windows, or GetCurrentThreadId() should be used instead of getpid().

TagsNo tags attached.
Operating System
PHP Version7.3.5-7.3.9

Relationships

related to 0001681 resolvedderick Reduce cost of getpid() syscall to once per request/thread/process 

Activities

derick

2019-07-19 14:02

administrator   ~0005078

Fixed in GIT. Thanks to Joe Watkins for the initial patch

Issue History

Date Modified Username Field Change
2019-07-19 12:12 derick New Issue
2019-07-19 12:16 derick Relationship added related to 0001681
2019-07-19 14:02 derick Assigned To => derick
2019-07-19 14:02 derick Status new => closed
2019-07-19 14:02 derick Resolution open => fixed
2019-07-19 14:02 derick Fixed in Version => 2.8.0dev
2019-07-19 14:02 derick Note Added: 0005078
2019-07-25 14:19 derick Fixed in Version 2.8.0dev => 2.8.0beta1
2020-03-12 16:33 derick Category Remote Debugging => Step Debugging