When multiple users login, GDM doesn't come back after any of them logs out leading to DATA LOSS for the others

Bug #569948 reported by Fabián Rodríguez
48
This bug affects 8 people
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: gdm

This system is running Lucid beta 1 with latest updates (so, up to RC). It has one main admin user and 3 other users, all using encrypted home directories. I created two extra test users, one with encrypted home and one without. I was able to reproduce this problem with any combination of users.

Steps to reproduce:
- Login as one user (A)
- Switch to user (B)
- Logout

Result: GDM / X crash - can't access console or zap X (X session kill shortcut Ctrl Alt Backspace is enabled).

This results in data loss for user (A). In my use case, at home, I often remain logged in when I am nearby the system, and my 2 daughter and wife login.

Switching back and forth from any user works, however as soon as one user logs out completely, it will crash the system as described above, requiring a restart (hard power-off, restart).

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gdm 2.30.0-0ubuntu5
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Sun Apr 25 18:45:19 2010
EcryptfsInUse: Yes
ProcEnviron:
 LANG=en_CA.utf8
 SHELL=/bin/bash
SourcePackage: gdm
---
Architecture: i386
DistroRelease: Ubuntu 10.04
EcryptfsInUse: Yes
Package: gdm 2.30.0-0ubuntu5
PackageArchitecture: i386
ProcEnviron:
 LANG=en_CA.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Tags: lucid
Uname: Linux 2.6.32-21-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Fabián Rodríguez (magicfab) wrote :
Revision history for this message
Fabián Rodríguez (magicfab) wrote :

I removed the nvidia proprietary drivers and tested again with the Nouveau drivers. This lead to almost the same result: black screen, although with responsive mouse cursor, can't access console, can't login to previously logged users, however X could be restarted (CtrlAltBackspace was previously enabled).

tags: added: apport-collected
description: updated
Revision history for this message
Fabián Rodríguez (magicfab) wrote : Dependencies.txt

apport information

Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report, xrog crashing on xsession switch is an xorg issue though not a gdm one

affects: gdm (Ubuntu) → xorg-server (Ubuntu)
Revision history for this message
Bryce Harrington (bryce) wrote :

Hi Fabián,

Thanks for including the attached files. Could you also include your /var/log/Xorg.0.log (or Xorg.0.log.old) from after reproducing the issue?

Please attach the output of `lspci -vvnn` too.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-xorglog
Changed in xorg-server (Ubuntu):
status: New → Incomplete
Revision history for this message
CoudCoud (coudertmatthieu) wrote :

I have the same problem.
I installed lucid from a CD, keeping my /home installed on karmic on a different partition.
As the reporter of this bug doesn't send the xorg logs, I send mine.
These are the logs obtained after I had to manually reboot due to the crash.

Revision history for this message
CoudCoud (coudertmatthieu) wrote :
Download full text (7.8 KiB)

And here is the output of lspci -vvnn :
00:00.0 Host bridge [0600]: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface [8086:2560] (rev 03)
 Subsystem: FIRST INTERNATIONAL Computer Inc Device [1509:9055]
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
 Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
 Latency: 0
 Region 0: Memory at e0000000 (32-bit, prefetchable) [size=128M]
 Capabilities: <access denied>
 Kernel driver in use: agpgart-intel
 Kernel modules: intel-agp

00:01.0 PCI bridge [0604]: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE Host-to-AGP Bridge [8086:2561] (rev 03)
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
 Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 64
 Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
 Memory behind bridge: e8000000-e9ffffff
 Prefetchable memory behind bridge: d0000000-dfffffff
 Secondary status: 66MHz+ FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
 BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B-
  PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
 Kernel modules: shpchp

00:1d.0 USB Controller [0c03]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 [8086:24c2] (rev 02)
 Subsystem: FIRST INTERNATIONAL Computer Inc Device [1509:9055]
 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
 Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0
 Interrupt: pin A routed to IRQ 16
 Region 4: I/O ports at d800 [size=32]
 Kernel driver in use: uhci_hcd

00:1d.1 USB Controller [0c03]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 [8086:24c4] (rev 02)
 Subsystem: FIRST INTERNATIONAL Computer Inc Device [1509:9055]
 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
 Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0
 Interrupt: pin B routed to IRQ 19
 Region 4: I/O ports at d000 [size=32]
 Kernel driver in use: uhci_hcd

00:1d.2 USB Controller [0c03]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 [8086:24c7] (rev 02)
 Subsystem: FIRST INTERNATIONAL Computer Inc Device [1509:9055]
 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
 Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0
 Interrupt: pin C routed to IRQ 18
 Region 4: I/O ports at d400 [size=32]
 Kernel driver in use: uhci_hcd

00:1d.7 USB Controller [0c03]: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller [8086:24cd] (rev 02) (prog-if 20)
 Subsystem: FIRST INTERNATIONAL Computer Inc Device [1509:9055]
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
...

Read more...

Revision history for this message
Fabián Rodríguez (magicfab) wrote :

As a workaround if I don't logout but rather only switch users, there is no data loss. I will send my logs later today.

Revision history for this message
Jan Rüegg (rggjan) wrote :

I have the same problem here, on a new 10.04 system with a Nvidia GeForce FX 520 graphics card...

What data is missing here? Why is this bug set to incomplete?

Revision history for this message
Paul Ziegler (zpxmail) wrote :

My Lucid has the same problem. My system is running with a nVidia too. Don't know if this video card causes that problem.

Revision history for this message
Paul Ziegler (zpxmail) wrote :

some files...

Revision history for this message
Paul Ziegler (zpxmail) wrote :

...like all xorg logs in one file

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

[Expired for xorg-server (Ubuntu) because there has been no activity for 60 days.]

Changed in xorg-server (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Richard Ayotte (rich-ayotte) wrote :

I get this crash all the time (10.10) and I think that it might be related to inserting and removing usb flash drives and having multiple users logged in. It's intermittent so I'll see if I can reproduce it consistently.

Changed in xorg-server (Ubuntu):
status: Expired → New
Revision history for this message
magowiz (magowiz) wrote :
Revision history for this message
hamish (hamish-b) wrote :

once you get the blank screen, does ctrl-alt-F7, ctrl-alt-F8, ctrl-alt-F9, ctrl-alt-F10, ... get you back to a graphics console? does ctrl-alt-F1 through F6 get you to a text login console where you can restart the gdm service as root?

I often see that on our multi-user systems upon user logout; also I've wondered if it had to do with VNC servers coming and going in the background.

Hamish

Revision history for this message
Paul Ziegler (zpxmail) wrote :

No, nothing works. When the screen is blank / black (one of both logged in users logs out) then there ist only one possibility: to press reset button. There's nothing else to do.

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

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

Changed in xorg-server (Ubuntu):
status: New → Confirmed
Revision history for this message
Dimitris Kogias (dimitris-k) wrote :

FWIW, I have the exact same symptom with Lucid on a amd64 Thinkpad with:

00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
 Subsystem: Lenovo Device 20e4
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
 Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0
 Interrupt: pin A routed to IRQ 29
 Region 0: Memory at f2000000 (64-bit, non-prefetchable) [size=4M]
 Region 2: Memory at d0000000 (64-bit, prefetchable) [size=256M]
 Region 4: I/O ports at 1800 [size=8]
 Capabilities: <access denied>
 Kernel driver in use: i915
 Kernel modules: i915

00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
 Subsystem: Lenovo Device 20e4
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
 Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0
 Region 0: Memory at f2400000 (64-bit, non-prefetchable) [size=1M]
 Capabilities: <access denied>

Revision history for this message
penalvch (penalvch) wrote :

Fabián Rodríguez, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p xorg-server REPLACE-WITH-BUG-NUMBER

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

Changed in xorg-server (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Fabián Rodríguez (magicfab) wrote :

I don't use Ubuntu anymore nor do I have access to this particular hardware anymore.

I suppose anyone using Lucid at the time has long since upgraded.

Revision history for this message
penalvch (penalvch) wrote :

Fabián Rodríguez, this bug report is being closed due to your last comment https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/569948/comments/21 regarding you no longer have the original hardware. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

Changed in xorg-server (Ubuntu):
status: Incomplete → Invalid
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.