Segmentation Fault if disk < 2*filesize

Description

If a config contains a class that has a disk size < 2*filesize, only a single file will be created in FifoDisk. Whenever this file is deleted due to the disk space being exhausted, a segmentation fault will occur. FifoDisk will try to get the oldest timestamp from the last active file, which does not exist.

The attached patch fixes the problem. The patch builds on the patch that fixes ticket

Environment

None

Assignee

Unassigned

Reporter

lothar

Labels

None

Priority

Low