Bugzilla – Full Text Bug Listing |
Summary: | segmentation fault or crash upon rotating logfile | ||
---|---|---|---|
Product: | unbound | Reporter: | Stephane Lapie <stephane.lapie> |
Component: | server | Assignee: | unbound team <unbound-team> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | stephane.lapie, wouter |
Priority: | P5 | ||
Version: | 1.4.17 | ||
Hardware: | i386 | ||
OS: | Linux |
Description
Stephane Lapie
2014-07-04 08:23:24 CEST
Hi Stephane, Thank you for the report. There was a race condition between the use of the logfile variable and the updating of that variable. I have added a lock to protect the variable in a multithreaded system. This should fix the issue. I have not been able to reproduce the crash. The fix is committed on the svn trunk version of unbound. The file util/log.c contains the fixes. Best regards, Wouter |