Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jul 2002 21:46:23 +0300 (IDT)
From:      ezislis <kesor@mail.ru>
To:        George <jirka@5z.com>
Cc:        Joe Kelsey <joe@zircon.seattle.wa.us>, <gnome@FreeBSD.ORG>
Subject:   Re: GDM 2.4.0.x & FreeBSD
Message-ID:  <20020713213104.U8082-100000@finone.in.kesor.net>
In-Reply-To: <20020712163740.GA11052@monique.linux.bogus>

next in thread | previous in thread | raw e-mail | index | archive | help

On Fri, 12 Jul 2002, George wrote:

> On Thu, Jul 11, 2002 at 04:13:47PM -0700, Joe Kelsey wrote:
> > This would seem to indicate that some one of the stdio file descriptors
> > is causing a problem, since that is the main difference between running
> > in /etc/ttys and running from /dev/ttyv0 root login (I think?)
>
> Ahh, this may be a bit of an insight.  So perhaps gdm doesn't handle well the
> case where stdin/out is missing (I suppose that may be the case when run from
> /etc/ttys) and when it is not daemonizing.  I think I know where the problem
> lies.  I think there may be many errors when the 0,1,2 descriptors are not
> open sicne that's not a well tested case.  I'll be committing a fix that
> ensures that 0,1 and 2 exist on execution.
>
>

I tested the latest cvs version (the one that checks for the availability
of 0,1,2 descriptors). and guess what, it doesnt work.
Not only that, but more so - it doesnt even let me write the username in
the firstplace, something that was possible in the earlier version.

WAS :  put in /etc/ttys, kill -1 1, typed username, hit enter, gdm stuck
NOW :  put in /etc/ttys, kill -1 1, cant type username because gdm stuck

But it still works ok when run from the console.

so the solution lies with the stdio, but just checking for their existance
and not using some kind of workaround does help much. only makes it stuck
earlier.



The other problem, the graphical greeter not working, it still doent work,
even when gdm is started from the console.

how to reproduce : install the factory gdm.conf, start gdmsetup in X,
choose graphical as the local greeter, try to run gdm.

here is some debug info when i tried to run the graphical gdm,

slave gdm-binary process backtrace is :
#0  0x288a1eb8 in _thread_sys_poll () from /usr/lib/libc_r.so.4
#1  0x288a1271 in _thread_kern_sched_state_unlock () from
/usr/lib/libc_r.so.4
#2  0x288a0b70 in _thread_kern_scheduler () from /usr/lib/libc_r.so.4
#3  0x0 in ?? ()

backtrace of gdmgreeter is :
#0  0x65707974 in ?? ()
#1  0x28956612 in FT_Get_First_Char () from
/usr/local/lib/libfreetype.so.9
#2  0x285a61df in pango_ft2_calc_coverage () from
/usr/X11R6/lib/libpangoft2-1.0.so.0
#3  0x285a6537 in pango_ft2_font_get_coverage () from
/usr/X11R6/lib/libpangoft2-1.0.so.0
#4  0x28614aa8 in pango_font_get_coverage () from
/usr/X11R6/lib/libpango-1.0.so.0
#5  0x2861abf2 in pango_fontset_simple_get_font () from
/usr/X11R6/lib/libpango-1.0.so.0
#6  0x2861a640 in pango_fontset_get_font () from
/usr/X11R6/lib/libpango-1.0.so.0
#7  0x2861945b in add_engines () from /usr/X11R6/lib/libpango-1.0.so.0
#8  0x28618e0d in pango_itemize () from /usr/X11R6/lib/libpango-1.0.so.0
#9  0x2861ec02 in pango_layout_check_lines () from
/usr/X11R6/lib/libpango-1.0.so.0
#10 0x2861d574 in pango_layout_get_extents_internal () from
/usr/X11R6/lib/libpango-1.0.so.0
#11 0x2861d7c0 in pango_layout_get_extents () from
/usr/X11R6/lib/libpango-1.0.so.0
#12 0x2861da3c in pango_layout_get_pixel_size () from
/usr/X11R6/lib/libpango-1.0.so.0
#13 0x28189993 in gnome_canvas_text_set_property () from
/usr/X11R6/lib/libgnomecanvas-2.so.0
#14 0x28646405 in g_object_set_valist () from
/usr/local/lib/libgobject-2.0.so.0
#15 0x28190fa2 in gnome_canvas_item_construct () from
/usr/X11R6/lib/libgnomecanvas-2.so.0
#16 0x28190b03 in gnome_canvas_item_new () from
/usr/X11R6/lib/libgnomecanvas-2.so.0
#17 0x80535f9 in greeter_item_size_request ()
#18 0x805333a in greeter_size_request_box ()
#19 0x80536dd in greeter_item_size_request ()
#20 0x8052fe9 in greeter_size_allocate_box ()
#21 0x8052bab in greeter_item_size_allocate ()
#22 0x8052da7 in greeter_size_allocate_fixed ()
#23 0x8052b90 in greeter_item_size_allocate ()
#24 0x8052da7 in greeter_size_allocate_fixed ()
#25 0x80538dc in greeter_layout ()
#26 0x80517ce in main ()
#27 0x804fd65 in _start ()


If it works for someone else, and its just a problem on my machine, i
would like to know about it.


and yet  small thing, the new /usr/X11R6/bin/gdm wrapper is using the
command 'source', which is a builtin, but in FreeBSD it doesnt work with
#!/bin/sh because it is not exactly bash.


-- Kesor


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020713213104.U8082-100000>