Restore from Suspend creates problems

Bug #58382 reported by DaveR
6
Affects Status Importance Assigned to Milestone
Ubuntu
New
Undecided
Unassigned

Bug Description

I experience problems with Suspend on my desktop Compaq Presario SR1265CL running Ubuntu Dapper as automagicly updated.

The system behaves normally upon resuming from the Suspend state if I let the Power Management function suspend the system. It's set for 1/2 hour of inactivity before entering "sleep" mode which I have set to Suspend.

If the Suspend state is entered by System->Quit->Suspend about 20% of the time my system exibits strange behavior after resuming:
1 - Applications will no longer launch by double clicking a desktop icon
2 - Applications fail to start from the Application menu
3 - Folders will no longer open from the Places menu
4 - Infrequently an error message of some sort will flash on the screen and disappear before I can begin to read it - I think it says something including 'too long'.
5 - Infrequently I will have to log-in twice.
6 - Applications will launch from the Upper Panel
7 - Panel Applets continue to function.
8 - Simply restarting Gnome [Ctrl][Alt][Backspace] completely resolves the problem.

Within the last few weeks both the kernal and X have been updated - the odd behavior occurs less frequently. I'm not sure which improved things.

The problem did not occur under Breezy. I'm virtually certain that it did not occur while running Daper Beta or the earliest versions of Dapper.

I realize that this is not a "proper" bug report - would someone be kind enough to tell me how to troubleshoot and document my problem?

Revision history for this message
Yleeyas (yleeyas) wrote :

Hello DaveR,

Just to let you know you are NOT alone. I'm having most of the same symptoms, under the same circumstances (ie; system>quit>suspend scenario). Worst case for me is that (rarely) the system won't return from suspend at all, and a hard powerdown reboot is the only way to get my system back.

Can't help you with "proper" reporting, though I suspect when a guru shows up, they'll ask for more specifics.

Good luck to both of us, and I'm betting, many others, based on some of the threads in the Ubuntu Forums.

Yleeyas

Revision history for this message
Richard Theil (richard-theil) wrote : Similar problems on a Powerbook G3, x-session-manager hangs

I see problems that are very similar to what is described here on a Powerbook G3 that has been dist-upgraded from breezy to dapper. In a low, but important percentage of cases, launching applications after a wakeup from standby fails. Restarting Gnome restores a working condition. I can't confirm points 4-6, but here I see an occasional message bubble from the gnome-power icon that "standby failed" (or so).

Anticipating it to happen again, I left a terminal open and tried to trace an application from the terminal (gaim, in this case).
We see one icon file being accessed and then it tries do
do a connection to what seems to be another process - blocking forever:
munmap(0x30024000, 4096) = 0
open("/usr/share/pixmaps/gaim/icons/online.png", O_RDONLY|O_LARGEFILE) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=3671, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30024000
read(4, "\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0000\0\0\0000\10\6\0\0"..., 4096) = 3671
_llseek(4, 0, [0], SEEK_SET) = 0
read(4, "\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0000\0\0\0000\10\6\0\0"..., 4096) = 3671
brk(0x10223000) = 0x10223000
brk(0x1021b000) = 0x1021b000
close(4) = 0
munmap(0x30024000, 4096) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 4
uname({sys="Linux", node="pbg3", ...}) = 0
connect(4, {sa_family=AF_FILE, path="/tmp/.ICE-unix/4361"}, 21) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
write(4, "\0\1\1\0\0\0\0\0", 8) = 8
read(4,

With this read blocking, I had a look what process 4361 might be, and it was x-session-manager:
 4350 tty6 Ss+ 0:00 /sbin/getty 38400 tty6
 4361 ? Ss 0:05 x-session-manager
 4409 ? Ss 0:00 /usr/bin/ssh-agent ...

So my particular instance of this problem seems to be x-session-manager becoming unresponsive.

Revision history for this message
DaveR (djrpublic) wrote : Re: [Bug 58382] Re: Restore from Suspend creates problems

This has nothing to do with hibernation! That's a whole 'nuther issue.

Suspend retains enough processor awareness to refresh memory and respond
to interrupts while hibernation dumps everything to disk and shuts down.

Dave Rowell

Daniel Holbach wrote:
> *** This bug is a duplicate of bug 49221 ***
>
> ** This bug has been marked a duplicate of bug 49221
> Unable to start applications after hibernation
>
>

Revision history for this message
Richard Theil (richard-theil) wrote : Re: Suspend vs. Hibernation on this issue.

> This has nothing to do with hibernation!
> That's a whole 'nuther issue.

My Powerbook has the problem when waking up from _suspend_ (RAM preserved, Power light pulsing), so from this point of view, it should be filed here. The strace output with hanging gnome-session above (x-session-manager is an alias for gnome-session) is the cause for the failure on my Powerbook - but that is about identical to the traces filed for the other bug. So it's likely that gnome-session has general problems with sleep recovery.

Revision history for this message
Removed by request (removed1081762) wrote :

I would also like to add that you are not alone in this problem. Upon return from suspend (hibernation), my sony vaio will not launch programs or a terminal window. For some reason though, it will bring up a firefox web browser.

I'm goin to continue checking other threads, and if I come across anything, I'll let you guys know.

Best Of Luck

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.