Sometimes after wake up from sleep mode it starts empty session instead of recover previous state

Bug #1638968 reported by wiewiur
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
elementary OS
New
Undecided
Unassigned
Ubuntu
Confirmed
Undecided
Unassigned

Bug Description

Afer waking up from sleep mode I have login screen, but after login I get empty session - just like after turning on computer. So all user work is gone.

This issue occurs not every time but very often. I'm not able to diagnose what couses this. I get only one corelation - the longer the computer is put to sleep the higher probability of issue is.

I don't know what logs/info I should attach, but I'm willing to help - Tell me what more info you need I will provide it.

Revision history for this message
Matt Stasch (matt-stasch) wrote :

I digged a little bit into the problem and it seems that I have repro steps for this bug.
My configuration looks as follows:

T430 --- (USB) ---> DELL U2412M (Hub) --- (USB) ---> Mouse and Keyboard

I'm using USB hub in the monitor.
Elementary OS is up to date (2017-02-20)

Repro steps:

1. Have a working session with monitor powered on; mouse and keyboard connected to the hub.
2. Suspend the laptop
3. Turn monitor off (hub is powered off at this moment)
4. Wake up the laptop
5. XOrg is rebooted due to SEGFAULT (logs bellow)

XOrg version:
X.Org X Server 1.18.4
Release Date: 2016-07-19
[121677.215] X Protocol Version 11, Revision 0
[121677.215] Build Operating System: Linux 4.4.0-45-generic x86_64 Ubuntu
[121677.215] Current Operating System: Linux arcus 4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017 x86_64
[121677.215] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-62-generic root=UUID=9a951287-6656-4f4e-a4bc-7618a51413a3 ro quiet splash vt.handoff=7
[121677.215] Build Date: 02 November 2016 10:06:10PM
[121677.215] xorg-server 2:1.18.4-0ubuntu0.2 (For technical support please see http://www.ubuntu.com/support)
[121677.215] Current version of pixman: 0.33.6

Xorg.0.log:

[121382.265] (EE) Failed to load module "nvidia" (module does not exist, 0)
[121382.265] (EE) Failed to load module "nvidia" (module does not exist, 0)
[121382.676] (EE) NOUVEAU(G0): [XvMC] Failed to initialize extension.
[121682.597] (EE)
[121682.597] (EE) Backtrace:
[121682.597] (EE) 0: /usr/lib/xorg/Xorg (xorg_backtrace+0x4e) [0x5639fa1a4ade]
[121682.597] (EE) 1: /usr/lib/xorg/Xorg (0x5639f9ff2000+0x1b6e69) [0x5639fa1a8e69]
[121682.597] (EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (0x7f9f6cc27000+0x354b0) [0x7f9f6cc5c4b0]
[121682.597] (EE) 3: /usr/lib/x86_64-linux-gnu/libinput.so.10 (libinput_device_config_tap_get_finger_count+0x0) [0x7f9f65d89b00]
[121682.597] (EE) 4: /usr/lib/xorg/modules/input/libinput_drv.so (0x7f9f65fa9000+0x6953) [0x7f9f65faf953]
[121682.597] (EE) 5: /usr/lib/xorg/Xorg (0x5639f9ff2000+0xa2998) [0x5639fa094998]
[121682.597] (EE) 6: /usr/lib/xorg/modules/input/libinput_drv.so (0x7f9f65fa9000+0x55e7) [0x7f9f65fae5e7]
[121682.597] (EE) 7: /usr/lib/xorg/modules/input/libinput_drv.so (0x7f9f65fa9000+0x582c) [0x7f9f65fae82c]
[121682.597] (EE) 8: /usr/lib/xorg/Xorg (ProcessWorkQueue+0x21) [0x5639fa04ac71]
[121682.597] (EE) 9: /usr/lib/xorg/Xorg (WaitForSomething+0xad) [0x5639fa1a16dd]
[121682.598] (EE) 10: /usr/lib/xorg/Xorg (0x5639f9ff2000+0x53b8e) [0x5639fa045b8e]
[121682.598] (EE) 11: /usr/lib/xorg/Xorg (0x5639f9ff2000+0x57dd3) [0x5639fa049dd3]
[121682.598] (EE) 12: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf0) [0x7f9f6cc47830]
[121682.598] (EE) 13: /usr/lib/xorg/Xorg (_start+0x29) [0x5639fa034049]
[121682.598] (EE)
[121682.598] (EE) Segmentation fault at address 0x40
[121682.598] (EE)
[121682.598] (EE) Caught signal 11 (Segmentation fault). Server aborting
[121682.598] (EE)
[121682.598] (EE)
[121682.598] (EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
[121682.598] (EE)
[121682.599] (EE) Server terminated with error (1). Closing log file.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu:
status: New → Confirmed
Revision history for this message
indigocat (indigocat) wrote :

Any news?

Revision history for this message
indigocat (indigocat) wrote :

Any news? It's been 2 years, and this keeps on happening

Revision history for this message
indigocat (indigocat) wrote :

Any news? Because this keeps on happening randomly.

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.