[DMC-944] Remove the buggy davix fork-handler Created: 11/May/17  Updated: 11/May/17  Resolved: 11/May/17

Status: Closed
Project: DMC - Development
Component/s: Davix
Affects Version/s: davix 0.6.5
Fix Version/s: davix 0.6.6
Security Level: Public Data (This ticket is visible to anyone on the internet and will be indexed by search engines)

Type: Bug Priority: Critical
Reporter: Georgios Bitzes Assignee: Georgios Bitzes
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Component Watchers:

 Description   

Apparently, the client application forking at a bad point is quite common.



 Comments   
Comment by Fabrizio Furano [ 11/May/17 ]

That's the normality I'd say...

However why remove it instead of fixing ? Was it totally useless ?

Comment by Georgios Bitzes [ 11/May/17 ]

My initial idea was that client applications would fork at a reasonable point, ie when there were no threads active inside davix code.

But if the client application forks to ie execv later (which is quite reasonable), it could leave davix in a pretty inconsistent state, and cause memory corruption when the fork-handler runs in the child.

There might be a way to fix it, but since this is rather urgent I'm removing it altogether, and pushing 0.6.6 as soon as possible.

Generated at Tue Dec 12 20:54:31 CET 2017 using JIRA 7.3.8#73019-sha1:94e8771b8094eef96c119ec22b8e8868d286fa88.