The problem @ViktorT repoted here Laptop resuming from hibernation but does not restore the previous session seems to be significantly different from the one I described.
In my case the system crashes during the resume 100% of the times. It crashes and caps lock starts blinking.
So there may be two different problems here.