Project

General

Profile

Actions

Bug #2653

closed

gdm (vnc?) problems

Added by Richard PALO over 9 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Desktop (JDS)
Target version:
-
Start date:
2012-04-24
Due date:
2014-02-14
% Done:

100%

Estimated time:
1.00 h
Difficulty:
Medium
Tags:
jds

Description

multiple vnc access seems to cause headaches to gdm, using thin clients running tiny core linux and tigervnc as well as an oi_151a3 workstation to access a 151a3 server.

from oi, the symptom is vncviewer will return quickly without displaying anything at all, although rarely I'll get a moment or so a beginning of a login window before it goes away.
to resolve I just 'pfexec svcadm restart gdm'.

this morning I got the message that gdm actually died and had to be cleared.
the logs follow:

# fmdump -m -u 13a612a6-c146-cde8-affc-e44589b68078
SUNW-MSG-ID: SMF-8000-YX, TYPE: defect, VER: 1, SEVERITY: major
EVENT-TIME: Mon Apr 23 17:05:58 CEST 2012
PLATFORM: H8SGL, CSN: 1234567890, HOSTNAME: smicro
SOURCE: software-diagnosis, REV: 0.1
EVENT-ID: 13a612a6-c146-cde8-affc-e44589b68078
DESC: A service failed - a method is failing in a retryable manner but too often.
  Refer to http://illumos.org/msg/SMF-8000-YX for more information.
AUTO-RESPONSE: The service has been placed into the maintenance state.
IMPACT: svc:/application/graphical-login/gdm:default is unavailable.
REC-ACTION: Run 'svcs -xv svc:/application/graphical-login/gdm:default' to determine the generic reason why the service failed, the location of any logfiles, and a list of other services impacted.

SUNW-MSG-ID: FMD-8000-4M, TYPE: Repair, VER: 1, SEVERITY: Minor
EVENT-TIME: Mon Apr 23 17:05:58 CEST 2012
PLATFORM: H8SGL, CSN: 1234567890, HOSTNAME: smicro
SOURCE: fmd, REV: 1.2
EVENT-ID: 13a612a6-c146-cde8-affc-e44589b68078
DESC: All faults associated with an event id have been addressed.
  Refer to http://illumos.org/msg/FMD-8000-4M for more information.
AUTO-RESPONSE: Some system components offlined because of the original fault may have been brought back online.
IMPACT: Performance degradation of the system due to the original fault may have been recovered.
REC-ACTION: Use fmdump -v -u <EVENT-ID> to identify the repaired components.

SUNW-MSG-ID: FMD-8000-6U, TYPE: Resolved, VER: 1, SEVERITY: Minor
EVENT-TIME: Mon Apr 23 17:05:58 CEST 2012
PLATFORM: H8SGL, CSN: 1234567890, HOSTNAME: smicro
SOURCE: fmd, REV: 1.2
EVENT-ID: 13a612a6-c146-cde8-affc-e44589b68078
DESC: All faults associated with an event id have been addressed.
  Refer to http://illumos.org/msg/FMD-8000-6U for more information.
AUTO-RESPONSE: All system components offlined because of the original fault have been brought back online.
IMPACT: Performance degradation of the system due to the original fault has been recovered.
REC-ACTION: Use fmdump -v -u <EVENT-ID> to identify the repaired components.

and

[ avr. 23 17:05:58 Stopping because all processes in service exited. ]
[ avr. 23 17:05:58 Executing stop method ("/lib/svc/method/svc-gdm stop"). ]
/var/run/gdm.pid doesn't exist, perhaps GDM isn't running
[ avr. 23 17:05:58 Method "stop" exited with status 1. ]
[ avr. 23 17:05:58 Executing stop method ("/lib/svc/method/svc-gdm stop"). ]
/var/run/gdm.pid doesn't exist, perhaps GDM isn't running
[ avr. 23 17:05:58 Method "stop" exited with status 1. ]
[ avr. 23 17:05:58 Executing stop method ("/lib/svc/method/svc-gdm stop"). ]
/var/run/gdm.pid doesn't exist, perhaps GDM isn't running
[ avr. 23 17:05:58 Method "stop" exited with status 1. ]
[ avr. 24 09:15:28 Leaving maintenance because clear requested. ]
[ avr. 24 09:15:28 Enabled. ]
[ avr. 24 09:15:28 Executing start method ("/lib/svc/method/svc-gdm start"). ]
[ avr. 24 09:15:29 Method "start" exited with status 0. ]

nothing special...

Is it possible that this is resource related?

btw, from dmesg

Apr 23 17:05:58 smicro console-kit-daemon[2019]: [ID 702911 daemon.crit] GLib-GObject-CRITICAL: file gobject.c: line 2396: assertion `G_IS_OBJECT (object)' failed
Apr 23 17:05:58 smicro gdm-binary[3612]: [ID 124589 daemon.crit] ******************* START ********************************
Apr 23 17:05:58 smicro gdm-binary[3612]: [ID 883141 daemon.crit] Frame 0: /usr/sbin/gdm-binary'gdm_signal_handler_backtrace+0xae [0x8071832]
Apr 23 17:05:58 smicro gdm-binary[3612]: [ID 883141 daemon.crit] Frame 1: /usr/sbin/gdm-binary'signal_handler+0x88 [0x807196c]
Apr 23 17:05:58 smicro gdm-binary[3612]: [ID 883141 daemon.crit] Frame 2: /lib/libc.so.1'__sighndlr+0x15 [0xfef0f605]
Apr 23 17:05:58 smicro gdm-binary[3612]: [ID 883141 daemon.crit] Frame 3: /lib/libc.so.1'call_user_handler+0x2a2 [0xfef0237e]
Apr 23 17:05:58 smicro gdm-binary[3612]: [ID 883141 daemon.crit] Frame 4: /lib/libc.so.1'strcmp+0xec [0xfee72054]
Apr 23 17:05:58 smicro gdm-binary[3612]: [ID 883141 daemon.crit] Frame 5: /usr/sbin/gdm-binary'lookup_by_session+0x45 [0x805fb51]
Apr 23 17:05:58 smicro gdm-binary[3612]: [ID 883141 daemon.crit] Frame 6: /usr/lib/libglib-2.0.so.0.2501.0'g_hash_table_find+0x58 [0xfed5a08c]
Apr 23 17:05:58 smicro gdm-binary[3612]: [ID 883141 daemon.crit] Frame 7: /usr/sbin/gdm-binary'seat_session_removed+0x1d [0x806098d]
Apr 23 17:05:58 smicro gdm-binary[3612]: [ID 883141 daemon.crit] Frame 8: /usr/lib/libgobject-2.0.so.0.2501.0'g_cclosure_marshal_VOID__BOXED+0x82 [0xfecb81a6]
Apr 23 17:05:58 smicro gdm-binary[3612]: [ID 883141 daemon.crit] Frame 9: /usr/lib/libdbus-glib-1.so.2.1.0'marshal_dbus_message_to_g_marshaller+0x161 [0xfec22c99]
Apr 23 17:05:58 smicro gdm-binary[3612]: [ID 883141 daemon.crit] Frame 10: /usr/lib/libgobject-2.0.so.0.2501.0'g_closure_invoke+0xdf [0xfec9fa23]
Apr 23 17:05:58 smicro gdm-binary[3612]: [ID 883141 daemon.crit] Frame 11: /usr/lib/libgobject-2.0.so.0.2501.0'signal_emit_unlocked_R+0x9f2 [0xfecb6652]
Apr 23 17:05:58 smicro gdm-binary[3612]: [ID 883141 daemon.crit] Frame 12: /usr/lib/libgobject-2.0.so.0.2501.0'g_signal_emit_valist+0x8c6 [0xfecb594a]
Apr 23 17:05:58 smicro gdm-binary[3612]: [ID 883141 daemon.crit] Frame 13: /usr/lib/libgobject-2.0.so.0.2501.0'g_signal_emit+0x28 [0xfecb5ab0]
Apr 23 17:05:58 smicro gdm-binary[3612]: [ID 883141 daemon.crit] Frame 14: /usr/lib/libdbus-glib-1.so.2.1.0'dbus_g_proxy_manager_filter+0x891 [0xfec21e59]
Apr 23 17:05:58 smicro gdm-binary[3612]: [ID 883141 daemon.crit] Frame 15: /usr/lib/libdbus-1.so.3.4.0'dbus_connection_dispatch+0x2cd [0xfebd80a1]
Apr 23 17:05:58 smicro gdm-binary[3612]: [ID 883141 daemon.crit] Frame 16: /usr/lib/libdbus-glib-1.so.2.1.0'message_queue_dispatch+0x2c [0xfec1abcc]
Apr 23 17:05:58 smicro gdm-binary[3612]: [ID 883141 daemon.crit] Frame 17: /usr/lib/libglib-2.0.so.0.2501.0'g_main_context_dispatch+0x25f [0xfed6a0c7]
Apr 23 17:05:58 smicro gdm-binary[3612]: [ID 883141 daemon.crit] Frame 18: /usr/lib/libglib-2.0.so.0.2501.0'g_main_context_iterate+0x46d [0xfed6a775]
Apr 23 17:05:58 smicro gdm-binary[3612]: [ID 883141 daemon.crit] Frame 19: /usr/lib/libglib-2.0.so.0.2501.0'g_main_loop_run+0x1d7 [0xfed6adb3]
Apr 23 17:05:58 smicro gdm-binary[3612]: [ID 883141 daemon.crit] Frame 20: /usr/sbin/gdm-binary'main+0x800 [0x805d448]
Apr 23 17:05:58 smicro gdm-binary[3612]: [ID 883141 daemon.crit] Frame 21: /usr/sbin/gdm-binary'_start+0x7d [0x805c66d]
Apr 23 17:05:58 smicro gdm-binary[3612]: [ID 166210 daemon.crit] ******************* END **********************************
Apr 23 17:05:58 smicro svc.startd[10]: [ID 652011 daemon.warning] svc:/application/graphical-login/gdm:default: Method "/lib/svc/method/svc-gdm stop" failed with exit status 1.
Apr 23 17:05:58 smicro last message repeated 2 times
Apr 23 17:05:58 smicro svc.startd[10]: [ID 748625 daemon.error] application/graphical-login/gdm:default failed: transitioned to maintenance (see 'svcs -xv' for details)
Apr 23 17:05:58 smicro fmd: [ID 377184 daemon.error] SUNW-MSG-ID: SMF-8000-YX, TYPE: defect, VER: 1, SEVERITY: major
Apr 23 17:05:58 smicro EVENT-TIME: Mon Apr 23 17:05:58 CEST 2012
Apr 23 17:05:58 smicro PLATFORM: H8SGL, CSN: 1234567890, HOSTNAME: smicro
Apr 23 17:05:58 smicro SOURCE: software-diagnosis, REV: 0.1
Apr 23 17:05:58 smicro EVENT-ID: 13a612a6-c146-cde8-affc-e44589b68078
Apr 23 17:05:58 smicro DESC: A service failed - a method is failing in a retryable manner but too often.
Apr 23 17:05:58 smicro   Refer to http://illumos.org/msg/SMF-8000-YX for more information.
Apr 23 17:05:58 smicro AUTO-RESPONSE: The service has been placed into the maintenance state.
Apr 23 17:05:58 smicro IMPACT: svc:/application/graphical-login/gdm:default is unavailable.
Apr 23 17:05:58 smicro REC-ACTION: Run 'svcs -xv svc:/application/graphical-login/gdm:default' to determine the generic reason why the service failed, the location of any logfiles, and a list of other services impacted.
Apr 24 09:15:29 smicro console-kit-daemon[2019]: [ID 702911 daemon.crit] GLib-GObject-CRITICAL: file gobject.c: line 2396: assertion `G_IS_OBJECT (object)' failed
Apr 24 09:15:29 smicro last message repeated 22 times
Apr 24 09:15:59 smicro gdm-binary[18837]: [ID 702911 daemon.warning] WARNING: Unable to lookup hostname: node name or service name not known
Apr 24 09:15:59 smicro gdm-binary[18837]: [ID 702911 daemon.warning] WARNING: Unable to lookup numeric info: node name or service name not known
Apr 24 09:15:59 smicro last message repeated 1 time
Apr 24 09:16:00 smicro gdm-binary[18837]: [ID 702911 daemon.warning] WARNING: Unable to lookup hostname: node name or service name not known
Apr 24 09:16:00 smicro gdm-binary[18837]: [ID 702911 daemon.warning] WARNING: Unable to lookup numeric info: node name or service name not known
Apr 24 09:16:00 smicro last message repeated 1 time
Apr 24 09:16:02 smicro gdm-simple-slave[18859]: [ID 702911 daemon.warning] WARNING: GdmWelcomeSession: Error setting owner of run time directory: No such file or directory
Apr 24 09:16:02 smicro gdm-simple-slave[18864]: [ID 702911 daemon.warning] WARNING: GdmWelcomeSession: Error setting owner of run time directory: No such file or directory
Apr 24 09:16:02 smicro gnome-session[18864]: [ID 702911 daemon.warning] WARNING: IceListenForConnections returned 2 non-local listeners: inet/smicro:51155,inet6/smicro:56390
Apr 24 09:16:03 smicro syslog[18886]: [ID 702911 daemon.warning] Gtk-WARNING: gtkwidget.c:5628: widget not within a GtkWindow
Apr 24 09:22:47 smicro syslog[18886]: [ID 702911 daemon.warning] WARNING: Failed to send buffer
Apr 24 09:22:56 smicro gdm-simple-slave[18852]: [ID 702911 daemon.crit] CRITICAL: file gdm-session-direct.c: line 2167: assertion `value != NULL' failed
Apr 24 09:22:57 smicro gnome-session[18943]: [ID 702911 daemon.warning] WARNING: IceListenForConnections returned 2 non-local listeners: inet/smicro:61204,inet6/smicro:60051
Apr 24 10:33:16 smicro gdm-binary[18837]: [ID 702911 daemon.warning] WARNING: Unable to lookup hostname: node name or service name not known
Apr 24 10:33:16 smicro gdm-binary[18837]: [ID 702911 daemon.warning] WARNING: Unable to lookup numeric info: node name or service name not known
Apr 24 10:33:16 smicro last message repeated 1 time
Apr 24 10:33:16 smicro gdm-binary[18837]: [ID 702911 daemon.warning] WARNING: Unable to lookup hostname: node name or service name not known
Apr 24 10:33:16 smicro gdm-binary[18837]: [ID 702911 daemon.warning] WARNING: Unable to lookup numeric info: node name or service name not known
Apr 24 10:33:16 smicro last message repeated 1 time

core file attached:

# pstack /var/lib/gdm/core
core '/var/lib/gdm/core' of 10321:    metacity
 fef03d97 _lwp_kill (1, 6, 8047048, fee9805e) + 7
 fee9806a raise    (6, 0, 8047098, fee6fa1a) + 22
 fee6fa3a abort    (20, 0, 80470d8, 80815ad, 811121c, feb4c000) + f2
 08095679 meta_bug (811121c, feb4c000, 80470d8, fea44997) + 81
 080815ad x_io_error_handler (81a5388, 80471a0, 20, fea678d4) + 2d
 fea67928 _XIOError (81a5388, feb4c000, 8047138, fea44868) + 60
 fea4492b _XRead   (81a5388, 80471a0, 20, fea453fa) + 157
 fea454ca _XReply  (81a5388, 80471a0, 0, 1) + de
 fea4b18a XSync    (81a5388, 1, fef65840, fea4b02a) + 72
 fea4b0ac XCloseDisplay (81a5388, fe156194, 8047270, fe14405e) + 90
 fe14419b spi_atk_bridge_exit_func (fe9d8b88, 81cf6f0, fef680c0, 0, fefa0820, 8) + 2cf
 fee70bcc _exithandle (81cf6f0, 80815e4, 1, 83, fef06f9d, 81d8e98) + 63
 fee614f2 exit     (8154600, 0, fef03ba7, fea678d4) + 12
 fea67928 _XIOError (8154600, feb4c000, 8047338, fea44868) + 60
 fea4492b _XRead   (8154600, 80473a0, 20, fea453fa) + 157
 fea454ca _XReply  (8154600, 80473a0, 0, 1) + de
 fea50761 XGetSelectionOwner (8154600, 108, 0, 815e0c8) + 75
 fedf59f3 check_manager_window (8160bb0, fed5e724, 8047428, fedf5d0d) + 5f
 fedf5d5d _gdk_xsettings_client_process_event (8160bb0, 8047570, 1, feddfa23) + 5d
 feddfa3e gdk_xsettings_client_event_filter (8047570, 81624b0, 815e0c8, feddc489) + 2a
 feddc4ac gdk_event_apply_filters (8047570) + 34
 feddd146 gdk_event_translate (815b0b0, 81624b0, 8047570, 0) + 266
 feddea4d _gdk_events_queue (815b0b0) + c5
 feddebe1 gdk_event_dispatch (81654e8, 0, 0, feca9f05) + 31
 fecaa0c7 g_main_context_dispatch (8138a60, 0, 81d5438, c) + 25f
 fecaa775 g_main_context_iterate (8138a60, 1, 1, 8131a90) + 46d
 fecaadb3 g_main_loop_run (8132420, 8, 8047b68, 8089513) + 1d7
 08089532 main     (1, 8047ba0, 8047ba8, 8047b5c) + 892
 0806d3bd _start   (1, 8047c74, 0, 8047c7d, 8047c99, 8047cbc) + 7d


Files

gdmdeb.txt (86 KB) gdmdeb.txt Richard PALO, 2012-05-15 12:29 PM
gdmcore.txt (492 KB) gdmcore.txt Richard PALO, 2012-05-16 07:48 AM
Actions

Also available in: Atom PDF