Bug#577393: reproducibly segfaults in uswsusp's s2disk

Simon Josefsson simon at josefsson.org
Mon Apr 12 07:07:52 UTC 2010

tags 577393 help moreinfo

On Sun, 2010-04-11 at 12:59 +0400, Stanislav Maslovski wrote:
> Package: libgcrypt11
> Version: 1.4.5-2
> Severity: important
> Tags: sid
> I was playing with s2disk configuration on current sid and found that
> it reproducibly (always) segfaults in libgcrypt when image compression
> is disabled. Here is the uswsusp config that reveals the segfault:
> # /etc/uswsusp.conf(8) -- Configuration file for s2disk/s2both 
> resume device = /dev/sda5
> compress = n
> early writeout = n
> image size = 500000000
> RSA key file = /etc/uswsusp.key
> shutdown method = platform
> encrypt = y
> With "compress = y" (the debian default) it does not segfault.

Without more information, I think it makes more sense to debug this as a
s2disk bug than a libgcrypt bug.  To really be able to do anything here
from a libgcrypt point of view, a gdb backtrace is needed, or some
simpler way to reproduce the problem that doesn't look as potentially
disk corrupting as s2disk with the above configuration does.

Any objection to re-assigning this to s2disk?


More information about the Pkg-gnutls-maint mailing list