panic! if there was a problem during buffer creation