intermittent very slow X login with eventual dbus error

Bug #488391 reported by wierdlmate@gmail.com
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-settings-daemon (Ubuntu)
Incomplete
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: dbus

Intermittently, my login to X is extremely slow (3-4 minutes), and I get a dbus error, and some of the gnome-panel applets cannot start. Since this is a new, 64 bit, amd quad machine, this behavior puzzles me. Please help me to debug this. Here is my .xsession-errors right after such a slow login

/etc/gdm/Xsession: Beginning session setup...
Setting IM through im-switch for locale=hu_HU.
Start IM through /etc/X11/xinit/xinput.d/all_ALL linked to /etc/X11/xinit/xinput.d/default.
GNOME_KEYRING_SOCKET=/tmp/keyring-vhS5ph/socket
SSH_AUTH_SOCK=/tmp/keyring-vhS5ph/socket.ssh

(gnome-settings-daemon:15607): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed

(gnome-settings-daemon:15607): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
gnome-session[15512]: WARNING: Application 'gnome-settings-daemon.desktop' failed to register before timeout
Checking for Xgl: not present.
xset q doesn't reveal the location of the log file. Using fallback /var/log/Xorg.0.log
Detected PCI ID for VGA:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Checking screen 1Comparing resolution (1680x1050) to maximum 3D texture size (4096): Passed.
Checking for Software Rasterizer: Not present.
Checking for nVidia: not present.
Checking for FBConfig: present.
running under gnome seesion, checking for gnomecompat
Checking for Xgl: not present.
Starting gtk-window-decorator
WARNING: Application calling GLX 1.3 function "glXCreatePixmap" when GLX 1.3 is not supported! This is an application bug!
/usr/bin/compiz.real (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format
I/O warning : failed to load external entity "/home/apu/.compiz/session/10ad42e8bc8d8b7e3712591758039211200000155120023"
WARNING: Application calling GLX 1.3 function "glXDestroyPixmap" when GLX 1.3 is not supported! This is an application bug!
gnome-session[15512]: WARNING: Application 'gnome-panel.desktop' failed to register before timeout

(polkit-gnome-authentication-agent-1:15690): GLib-GObject-WARNING **: cannot register existing type `_PolkitError'

(polkit-gnome-authentication-agent-1:15690): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(nautilus:15688): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
** Message: Reading of RFKILL events failed
** Message: killswitches state 3
** Message: killswitches state 3
evolution-alarm-notify-Message: Setting timeout for 17746 1259193600 1259175854
evolution-alarm-notify-Message: Wed Nov 25 18:00:00 2009

evolution-alarm-notify-Message: Wed Nov 25 13:04:14 2009

Unable to find a synaptics device.

(gnome-panel:15683): GVFS-RemoteVolumeMonitor-WARNING **: invoking IsSupported() failed for remote volume monitor with dbus name org.gtk.Private.GduVolumeMonitor: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
** (gnome-panel:15683): DEBUG: Adding applet 0.
** (gnome-panel:15683): DEBUG: Initialized Panel Applet Signaler.
** (gnome-panel:15683): DEBUG: Adding applet 1.
** (gnome-panel:15683): DEBUG: Adding applet 2.
** (gnome-panel:15683): DEBUG: Adding applet 3.
** (gnome-panel:15683): DEBUG: Adding applet 4.
** (gnome-panel:15683): DEBUG: Adding applet 5.
** (gnome-panel:15683): DEBUG: Adding applet 6.
** (gnome-panel:15683): DEBUG: Adding applet 7.
** (gnome-panel:15683): DEBUG: Adding applet 8.

** (nautilus:15688): WARNING **: No marshaller for signature of signal 'UploadFinished'

** (nautilus:15688): WARNING **: No marshaller for signature of signal 'DownloadFinished'

** (nautilus:15688): WARNING **: No marshaller for signature of signal 'ShareCreateError'
Initializing nautilus-gdu extension
** (gnome-panel:15683): DEBUG: Adding applet 9.

** (gnome-panel:15683): WARNING **: panel-applet-frame.c:1310: failed to get Bonobo/Control interface on applet OAFIID:GNOME_IndicatorApplet:
Unknown CORBA exception id: 'IDLmg.org/CORBA/COMM_FAILURE:1.0'

** (gnome-panel:15683): WARNING **: panel-applet-frame.c:1310: failed to get Bonobo/Control interface on applet OAFIID:GNOME_DriveMountApplet:
Unknown CORBA exception id: 'IDLmg.org/CORBA/COMM_FAILURE:1.0'

** (gnome-panel:15683): WARNING **: panel-applet-frame.c:1310: failed to get Bonobo/Control interface on applet OAFIID:GNOME_GWeatherApplet:
Unknown CORBA exception id: 'IDLmg.org/CORBA/COMM_FAILURE:1.0'

** (gnome-panel:15683): WARNING **: panel-applet-frame.c:1310: failed to get Bonobo/Control interface on applet OAFIID:GNOME_GWeatherApplet:
Unknown CORBA exception id: 'IDLmg.org/CORBA/COMM_FAILURE:1.0'
** (gnome-panel:15683): DEBUG: Adding applet 10.
** (gnome-panel:15683): DEBUG: Adding applet 11.
Nautilus-Share-Message: Called "net usershare info" but it failed: A „net usershare” a következő hibát adta vissza: 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error Nincs ilyen fájl vagy könyvtár
Please ask your system administrator to enable user sharing.

ERROR: ld.so: object '/usr/lib64/libv4l/v4l1compat.so' from /etc/ld.so.preload cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib64/libv4l/v4l1compat.so' from /etc/ld.so.preload cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib64/libv4l/v4l1compat.so' from /etc/ld.so.preload cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib64/libv4l/v4l1compat.so' from /etc/ld.so.preload cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib64/libv4l/v4l1compat.so' from /etc/ld.so.preload cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib64/libv4l/v4l1compat.so' from /etc/ld.so.preload cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib64/libv4l/v4l1compat.so' from /etc/ld.so.preload cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib64/libv4l/v4l1compat.so' from /etc/ld.so.preload cannot be preloaded: ignored.
*** NSPlugin Wrapper *** ERROR: NPP_Destroy() invoke: Törött adatcsatorna
ERROR: ld.so: object '/usr/lib64/libv4l/v4l1compat.so' from /etc/ld.so.preload cannot be preloaded: ignored.

ProblemType: Bug
Architecture: amd64
Date: Wed Nov 25 13:24:01 2009
DistroRelease: Ubuntu 9.10
Package: dbus 1.2.16-0ubuntu9
ProcEnviron:
 PATH=(custom, no user)
 LANG=hu_HU.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-15.50-generic
SourcePackage: dbus
Uname: Linux 2.6.31-15-generic x86_64
XsessionErrors:
 (gnome-settings-daemon:15607): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (gnome-settings-daemon:15607): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (polkit-gnome-authentication-agent-1:15690): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (nautilus:15688): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed

Revision history for this message
wierdlmate@gmail.com (wierdlmate) wrote :
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Your slow login appears to be because gnome-setting-daemon doesn't register with gnome-session

The D-Bus reply timeout appears unrelated, being about GVfs

affects: dbus (Ubuntu) → gnome-settings-daemon (Ubuntu)
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

This is not likely to be a gnome-settings-daemon issue really. It doesn't register with the session manager (it just fork()'s when all the plugins are loaded). Even if it doesn't do this in time, the phase timeout is only 10 seconds anyway so wouldn't account for a 3 minute delay. It seems like the panel fails to register too, and the GVFS error will only occur if gvfs-gdu-volume-monitor is not contactable (it should be d-bus activated). There seems to be something fairly fundamental wrong or missing from your session, which basically stops most components from working.

Is this a fresh install? Has this install ever worked, or did you change something?

Could you please try logging in to a failsafe xterm session from GDM, and then running "gnome-session --debug 2>&1 | tee gnome-session.log", and attach the resulting file to this bug report.

Thanks

Changed in gnome-settings-daemon (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
wierdlmate@gmail.com (wierdlmate) wrote :

This launcpad doesn't seem to let me attach more than one file, so I just put them up on the web. The first file is the result of

gnome-session --debug 2>&1 | tee gnome-session.log

when run during a regular gnome session (I just thought, I'd try it). The second is when I logged in to an xterm under gdm. While the problem I am reporting is intermittent (say one out of 10 logins), this time after running the command you told me to run, it took me 4 attempts till I could log in properly. During the unsuccessful attempts, I could not click on panel items. One more remark: when I logged in to the failsafe session, I could start an emacs form the xtemr, but not a firefox.

http://otthon.csi.hu/apu/gnome-session.log
http://otthon.csi.hu/apu/gnome-session_failsafe.log

Revision history for this message
wierdlmate@gmail.com (wierdlmate) wrote :

I should have answered your questions: so I had a fresh install of ubuntu 9.04 on this box about 2 months ago, and then when the 9.10 update came out (Nove 1st), I updated. I had the problem with login from the start (so even with 9.04). I changed one thing in X: 3 weeks after the distro upgrade X suddenly started to display only in very low resolution, so I manually added a 1680x1050 resolution. Here is my xorg.conf (beginning comments stripped)

Section "Device"
        Identifier "Configured Video Device"
EndSection

Section "Monitor"
        Identifier "Configured Monitor"
        ModeLine "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
EndSection

Section "Screen"
        Identifier "Default Screen"
        Monitor "Configured Monitor"
        Device "Configured Video Device"
        Subsection "Display"
        Modes "1680x1050_60.00"
        EndSubsection
EndSection

Perhaps I should try to take a video of an unsuccessful login?

Revision history for this message
wierdlmate@gmail.com (wierdlmate) wrote :

Ooops, I didn't realize that I after entering your command, I was supposed to wait patiently until gnome starts. I now did that, and it did start in about 5 minutes. All seem well except some panel applets didn't start, and a dbus error was reported. Here is the debug log

http://otthon.csi.hu/apu/gnome-session_failsafe2.log

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.