Memory corruption after s2disk

Bug #557677 reported by [mdw]
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
uswsusp (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: uswsusp

After suspending to disk and resuming a couple of times using s2disk (via pm-hibernate, devicekit-power and gnome-power-manager), programs start behaving oddly, e.g., failing to find symbols in a shared library. Running debsums on the package containing the library in question shows that it's changed from the version from the package. However, immediately after a reboot, debsums shows that the file is OK after all. The library in question was mapped into at least one process at the time of the suspend, so I suspect that the copy in the page cache was corrupted.

On an earlier occasion, Google Chrome (and some other programs -- I don't recall the details) began segfaulting on startup. Again a reboot resolved the problem.

I since switched pm-hibernate to use the `kernel' method and haven't experienced any more problems of this nature since. This is a shame because uswsusp is rather faster (and I'd rather like to be able to use s2both).

The laptop in question is a ThinkPad T500; I turned on the compression and MD5 options. (I assumed that the MD5 checksum would ensure that the compression hadn't damaged anything, and haven't done further experimentation with the uswsusp options.)

ProblemType: Bug
Architecture: i386
Date: Wed Apr 7 18:41:43 2010
DistroRelease: Ubuntu 9.10
Package: uswsusp 0.8-1.1ubuntu3
ProcEnviron:
 LC_COLLATE=POSIX
 PATH=(custom, user)
 LANG=en_GB.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-20.58-generic
SourcePackage: uswsusp
Uname: Linux 2.6.31-20-generic i686

Revision history for this message
[mdw] (mdw-distorted) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.