I've also a Lenovo ThinkPad SL510 with Ubuntu 10.10. I've got exactly the same problems.
With the Ubuntu upgrade from 10.04, hibernate-to-ram doesn't work anymore as good as in karmic. Everytime when I close the screen or want to go into standby, the display shows "(process XXX): GLib_Warning **: getpwuid_r(): failed due to unknown user id (0)" (XXX is a changing number).
I've also a Lenovo ThinkPad SL510 with Ubuntu 10.10. I've got exactly the same problems.
With the Ubuntu upgrade from 10.04, hibernate-to-ram doesn't work anymore as good as in karmic. Everytime when I close the screen or want to go into standby, the display shows "(process XXX): GLib_Warning **: getpwuid_r(): failed due to unknown user id (0)" (XXX is a changing number).