When a part of the chunks of the log dump needs to be discarded due to insufficient kernel memory, the chunks are being freed but not subtracted from the total chunk size held by the log dump.
The current log dump structure must always have more than one log dump chunk. However, as above issue, all chunks can be freed, resulting in an abort.
Fix the following problems.