Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006208 [Resin] minor always 12-18-18 19:15 01-10-19 15:15
Reporter mikeb01 View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.60 Product Version 4.0.59
  Product Build
Summary 0006208: ResinEmbed.join never exits
Description There appears to be a bug in ResinEmbed.join. This method sleep() + poll() the lifecycle of the ResinEmbed's interior Resin instance (_resin). When ResinEmbed.stop(), .close() or .destroy() is called it will run through the Resin instance applying to all of the contained instances. However, it does not change the livecycle of the _resin field on ResinEmbed so in the ResinEmbed.join() method the 'while (! _resin.isClosed())' statement never exits the loop gracefully. Found while dianosing 0006207.
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0006866)
ferg
01-10-19 15:15

Note: the purpose of the change was because of timing/threading issues with closing outstanding openssl connections at shutdown, leaving them to be closed during GC'd instead of a forced close. The fix attempts to close the file descriptor without incurring those openssl issues.
 

- Issue History
Date Modified Username Field Change
12-18-18 19:15 mikeb01 New Issue
01-10-19 15:15 ferg Note Added: 0006866
01-10-19 15:15 ferg Assigned To  => ferg
01-10-19 15:15 ferg Status new => closed
01-10-19 15:15 ferg Resolution open => fixed
01-10-19 15:15 ferg Fixed in Version  => 4.0.60


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker