Bug 7534

Summary: suspend to disk fails if gdb is suspended with a traced child
Product: Power Management Reporter: maurice barnum (pixi+kbug)
Component: OtherAssignee: Rafael J. Wysocki (rjwysocki)
Status: CLOSED CODE_FIX    
Severity: normal CC: bunk, pavel
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.19-rc6 Subsystem:
Regression: --- Bisected commit-id:
Attachments: dmesg output after failed suspend
kernel config
A fix

Description maurice barnum 2006-11-15 23:32:55 UTC
Most recent kernel where this bug did *NOT* occur: unknown. occurs in 2.6.17,
2.6.18, and 2.6.19-sw2
Distribution: fedora core 5
Hardware Environment: thinkpad x32
Problem Description:

suspend-to-disk is unable to freeze processes if a gdb with a traced child is
suspended (SIGTSTP).

Steps to reproduce:

1)gdb /bin/cat
2) ^Z
3) ^Z
4) pm-hibernate

config and dmesg output attached.
Comment 1 maurice barnum 2006-11-15 23:35:18 UTC
Created attachment 9525 [details]
dmesg output after failed suspend
Comment 2 maurice barnum 2006-11-15 23:36:21 UTC
Created attachment 9526 [details]
kernel config
Comment 3 Rafael J. Wysocki 2006-11-16 06:57:51 UTC
Created attachment 9530 [details]
A fix

This patch should help.
Comment 4 Adrian Bunk 2007-02-06 20:27:29 UTC
Maurice, does this patch fix your problem?
Comment 5 Rafael J. Wysocki 2007-02-07 04:30:37 UTC
Well, I think we should close this entry and let Maurice repoen it if need 
be. ;-)