I have seen this happen before ....... quite some time ago.
If the bolts don't look like they were loose, it could be caused by low oil pressure, not enough lube & then the gear twists the post off.
What does the bush in the gear look like, smooth or chewed up a little?
Check also for excessive wear at the camshaft bearings - could be loading the idler gear a little too much.