BUG: Finished erasure with refcount=1 (ref=5:1) DM (:0)
BUG: Crashing due to an illegal operation!
The refcounting error isnt always coupled with, but seems to have a chance to cause, an illegal operation. Our FreeBSD servers on the same build dont seem to suffer from the crash at all (I've seen it happen and crash involving things other than clients however, but that seems to be a separate issue).
Is it also possible to have calls check the reference they're giving before they go haywire?
Could be a leak or something that never got caught.
If you compile with the debug flag, it should you tell the file and line where that error stems from.