XXX crasher workarounds
detach implementation and test
additional logging, actually cause buffering to occur