Interestingly, I also crash but get a different error:
malloc(): smallbin double linked list corrupted
What's funny is that this doesn't happen with any other specified texture resolution. I tried on my radeon card (mesa) and nvidia card and received crashes in both instances . It appears to be an issue with the code.
I also tried baking 16k occlusion on the sample robot, which also resulted in a crash. Seems no matter what you cannot bake 16k occlusion/cavity maps.
I did find somewhat of a workaround (more like a temporary bandaid) which is to set the texture resolution to 8k, bake whatever maps you need, and then switch back to 16k and continue texturing albedo etc.
I'm going to forward these posts to Sergii Kryzhanovskyi through email.