You are not logged in.

#1 2011-10-27 20:42:03

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

gdm 3.2 fails to start

ok. ive read several posts with similar situations, but none applied to me. already searched for a solution but couldnt find a simple one.


when xorg starts, i get a dark screen + busy cursor.

/var/log/gdm/:0-greeter.log.0 does not exists (deleted old file...)
/var/log/gdm/:0-slave.log is 0 bytes long.

starting with the gdm daemon or through inittab has the same effect.

if i start X with

exec ck-launch-session gnome-session

it does work ok.

i dont remember what update broke it. but it did work with 3.2 at some point.

if anyone know how to start debugging this, please let me know.


thanks in advance

Offline

#2 2011-10-28 06:52:57

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: gdm 3.2 fails to start

so here is what you need to do more:
1) install this debug packages: http://pkgbuild.com/~ioni/debug/ and fb-client
2) make gdm freeze
3) switch to vt (ctrl+alt+f2)
4) gdb attach $(/bin/pidof gnome-shell)
5) type in gdb "set logging on"
6)type "t a a bt full"

then exit and fb gdb.txt


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2011-10-28 11:01:38

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: gdm 3.2 fails to start

hi Wonder,

i dont have gnome-shell running. i could try and debug gdm-binary or gdm-binary-slave instead but dont know if its useful

additional info:

i got a defunct dbus-session in my list of processes

Offline

#4 2011-10-28 11:07:15

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: gdm 3.2 fails to start

do you have metacity or gnome-shell?

do ps aux | grep gdm

Last edited by wonder (2011-10-28 11:11:18)


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2011-10-28 11:47:28

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: gdm 3.2 fails to start

wonder wrote:

do you have metacity or gnome-shell?

do ps aux | grep gdm

gnome-shell

tomas@emmet: ~ $ ps aux |grep gdm
gdm       3846  0.0  0.0   2632   724 ?        Ss   Oct27   0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
gdm      14238  0.0  0.0   2632   340 ?        Ss   07:52   0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
root     14327  0.0  0.2  16344  2440 ?        Ssl  07:55   0:00 /usr/sbin/gdm-binary -nodaemon
root     14331  0.0  0.3  19816  3556 ?        Sl   07:55   0:00 /usr/lib/gdm/gdm-simple-slave --display-id /org/gnome/DisplayManager/Display1
root     14333  0.0  1.0  29540 11044 tty7     Ss+  07:55   0:00 /usr/bin/Xorg :0 -br -verbose -logverbose 7 -auth /var/run/gdm/auth-for-gdm-o2sbTq/database -no listen tcp vt7
gdm      14343  0.0  0.0      0     0 ?        Zs   07:55   0:00 [dbus-launch] <defunct>
gdm      14347  0.0  0.0   2632   344 ?        Ss   07:55   0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
tomas    14563  0.0  0.0   4328   820 pts/2    S+   08:46   0:00 grep --color gdm

Offline

#6 2011-10-28 12:07:33

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: gdm 3.2 fails to start

attach to the gdm-simple-slave pid process


Give what you have. To someone, it may be better than you dare to think.

Offline

#7 2011-10-28 12:34:59

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: gdm 3.2 fails to start

wonder wrote:

attach to the gdm-simple-slave pid process

here.

Thread 2 (Thread 0xb6d5db70 (LWP 15203)):
#0  0xb77ca424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb75e787b in read () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb74b8c86 in unix_signal_helper_thread (data=0x0) at gmain.c:4551
        i = 1
        bytes_read = 1
        b = "C", '\000' <repeats 39 times>"\200, \323ն\000\000\000\000\000\000\000\000\000P_\267\070\305]\267", '\000' <repeats 20 times>, "KX^\267", '\000' <repeats 12 times>"\364, ?\025\267\000\000\000\000\377+^\267X\323նy;^\267\000\000\000\000\260N\225\t\000\000\000"
        sigterm_received = 0
        sigint_received = 0
        sighup_received = 0
#3  0xb74e3bb0 in g_thread_create_proxy (data=0x9954eb0) at gthread.c:1962
        thread = 0x9954eb0
        __PRETTY_FUNCTION__ = "g_thread_create_proxy"
#4  0xb75e0ca7 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5  0xb73d6dee in clone () from /lib/libc.so.6
No symbol table info available.
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb6f238d0 (LWP 15200)):
#0  0xb77ca424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb73d0021 in select () from /lib/libc.so.6
No symbol table info available.
#2  0xb75072ce in g_spawn_sync (working_directory=0x0, argv=0x99aa640, envp=0x9974088, flags=G_SPAWN_SEARCH_PATH, child_setup=0x8052202 <spawn_child_setup>, 
    user_data=0xbfbd5b5c, standard_output=0xbfbd5bc8, standard_error=0xbfbd5bcc, exit_status=0xbfbd5bd0, error=0xbfbd5b74) at gspawn.c:330
        outpipe = 13
        errpipe = 15
        pid = 15213
        fds = {fds_bits = {40960, 0 <repeats 31 times>}}
        ret = 0
        outstr = 0x9947120
        errstr = 0x99470c0
        failed = 0
        status = 6
        __PRETTY_FUNCTION__ = "g_spawn_sync"
#3  0x0805280e in spawn_command_line_sync_as_user (command_line=0x806fdd5 "/usr/bin/dbus-launch", user_name=0x99a9490 "gdm", group_name=0x99a94a0 "gdm", 
    seat_id=0x99aa9a8 "/org/freedesktop/ConsoleKit/Seat1", runtime_dir=0x99a9470 "/var/run/gdm/greeter", log_file=0x0, env=0x9974088, std_output=0xbfbd5bc8, 
    std_error=0xbfbd5bcc, exit_status=0xbfbd5bd0, error=0xbfbd5bd4) at gdm-welcome-session.c:550
        argv = 0x99aa640
        local_error = 0x0
        ret = 0
        res = 160692656
        data = {user_name = 0x99a9490 "gdm", group_name = 0x99a94a0 "gdm", runtime_dir = 0x99a9470 "/var/run/gdm/greeter", log_file = 0x0, 
          seat_id = 0x99aa9a8 "/org/freedesktop/ConsoleKit/Seat1"}
#4  0x08052ae2 in start_dbus_daemon (welcome_session=0x9972c50) at gdm-welcome-session.c:667
        res = 134676164
        std_out = 0x0
        std_err = 0x0
        exit_status = 0
        error = 0x0
        env = 0x993f9b0
#5  0x08053011 in gdm_welcome_session_start (welcome_session=0x9972c50) at gdm-welcome-session.c:845
        res = -1219764955
#6  0x08066f09 in start_greeter (slave=0x9952800) at gdm-simple-slave.c:1355
        display_is_local = 1
        display_id = 0x9972990 "/org/gnome/DisplayManager/Display1"
        display_name = 0x99652f0 ":0"
        seat_id = 0x9971f80 "/org/freedesktop/ConsoleKit/Seat1"
        display_device = 0x9972980 "/dev/tty7"
        display_hostname = 0x9965310 ""
        auth_file = 0x9981648 "/var/run/gdm/auth-for-gdm-BHYBCr/database"
        address = 0x99aa830 "`\264F\267`\264F\267tract=/tmp/gdm-greeter-XHsKnnoO,guid=7a7839f93bf8f724837b769400036c31"
        res = 1
#7  0x08066ff4 in idle_connect_to_display (slave=0x9952800) at gdm-simple-slave.c:1385
        enabled = 0
        delay = 0
        res = 1
#8  0xb74b9042 in g_idle_dispatch (source=0x9953180, callback=0x8066f52 <idle_connect_to_display>, user_data=0x9952800) at gmain.c:4785
No locals.
#9  0xb74b4ba2 in g_main_dispatch (context=0x994b818) at gmain.c:2425
        dispatch = 0xb74b8ff8 <g_idle_dispatch>
        was_in_call = 0
        user_data = 0x9952800
        callback = 0x8066f52 <idle_connect_to_display>
        cb_funcs = 0xb7574374
        cb_data = 0x9954d58
        need_destroy = -1219018764
        current_source_link = {data = 0x9953180, next = 0x0}
        source = 0x9953180
        current = 0x99526d8
        i = 0
        __PRETTY_FUNCTION__ = "g_main_dispatch"
#10 0xb74b5edd in g_main_context_dispatch (context=0x994b818) at gmain.c:2995
No locals.
#11 0xb74b632a in g_main_context_iterate (context=0x994b818, block=1, dispatch=1, self=0x993e858) at gmain.c:3073
        max_priority = 200
        timeout = 0
        some_ready = 1
        nfds = 3
        allocated_nfds = 3
        fds = 0x9954c10
        __PRETTY_FUNCTION__ = "g_main_context_iterate"
#12 0xb74b6a60 in g_main_loop_run (loop=0x99502a0) at gmain.c:3281
        self = 0x993e858
        __PRETTY_FUNCTION__ = "g_main_loop_run"
#13 0x0804dd62 in main (argc=1, argv=0xbfbd5f24) at simple-slave-main.c:259
        main_loop = 0x99502a0
        context = 0x9946148
        connection = 0x9948d8c
        slave = 0x9952800
        display_id = 0x9946e20 "/org/gnome/DisplayManager/Display1"
        signal_handler = 0x994cc50
        entries = {{long_name = 0x806de30 "display-id", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_STRING, arg_data = 0x8080674, 
            description = 0x806de3b "Display ID", arg_description = 0x806de46 "ID"}, {long_name = 0x0, short_name = 0 '\000', flags = 0, 
            arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0, arg_description = 0x0}}
Detaching from program: /usr/lib/gdm/gdm-simple-slave, process 15200

hope its not too long for a post

Offline

#8 2011-10-28 12:42:24

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: gdm 3.2 fails to start

now open a bug report on bugzilla.gnome.org with the above output. also add ps aux one too and add me to cc(ibiru@archlinux.org)


Give what you have. To someone, it may be better than you dare to think.

Offline

#9 2011-10-28 12:57:09

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: gdm 3.2 fails to start

wonder wrote:

now open a bug report on bugzilla.gnome.org with the above output. also add ps aux one too and add me to cc(ibiru@archlinux.org)

done
https://bugzilla.gnome.org/show_bug.cgi?id=662931

Offline

Board footer

Powered by FluxBB