Allright. I could not get it to produce a core file I could find (even
when setting core_pattern to /tmp/core).

However I inserted some raise(SIGSTOP) at strategic points in the file,
and then attached gdb to the process before it crashed. This is the
output from gdb (running in the daemon directory of the gdm source):

Program received signal SIGSEGV, Segmentation fault.
0x0806b1e1 in gdm_slave_run (display=0x80a8fc0) at slave.c:1050
1050                    display->screenx = xscreens[xineramascreen].x_org;
---> I run the command: bt
#0  0x0806b1e1 in gdm_slave_run (display=0x80a8fc0) at slave.c:1050
#1  0x0806b84d in gdm_slave_start (display=0x80a8fc0) at slave.c:934
#2  0x0805ccd0 in gdm_display_manage (d=0x80a8fc0) at display.c:414
#3  0x08051f1e in gdm_start_first_unborn_local (delay=0) at gdm.c:266
#4  0x08052a1f in main (argc=Cannot access memory at address 0x0
) at gdm.c:1828
---> I run the command: list
1045                    if (screen_num <= gdm_daemon_config_get_value_int 
(GDM_KEY_XINERAMA_SCREEN))
1046                            gdm_daemon_config_set_value_int 
(GDM_KEY_XINERAMA_SCREEN, 0);
1047    
1048                    xineramascreen = gdm_daemon_config_get_value_int 
(GDM_KEY_XINERAMA_SCREEN);
1049    
1050                    display->screenx = xscreens[xineramascreen].x_org;
1051                    display->screeny = xscreens[xineramascreen].y_org;
1052                    display->screenwidth = xscreens[xineramascreen].width;
1053                    display->screenheight = xscreens[xineramascreen].height;
1054    

Also xscreens, seems to point to NULL.

I can't see why I thought that this was a crash in gdmgreeter, as the
greeter haven't even been started at this point. However it seems to be
related to xinerama, as xscreens is the result of calling
XineramaQueryScreens. However I'm quite unschooled in the workings of X,
so I'll leave guessing why it returns NULL to you :-)

-- 
gdm greeter crashes when X is using vesa driver
https://bugs.launchpad.net/bugs/138718
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to