How to solve «forked process died unexpectedly» error while «composer update»

I have solved it by rebooting the PC.
See also a discussion on StackExchange: http://stackoverflow.com/questions/12042363