Starting a new thread, to separate this from my comments on building
Xorg without libXfont.

Following Douglas's note that Clearlooks is in gtk-engines, I built
that.  No change.  And perms of 640 for lxdm.conf owned by root:root
match es what worked in BLFS-7.6. 

Looking at lxdm, it is just a shell wrapper which eventually invokes
lxdm-binary.  So I tried (as root) running lxdm from gdb : it
segfaults (sorry, pasting this into mutt wraps the long lines)

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff746b47b in _int_malloc () from /lib/libc.so.6
(gdb) bt
#0  0x00007ffff746b47b in _int_malloc () from /lib/libc.so.6
#1  0x00007ffff746cd44 in malloc () from /lib/libc.so.6
#2  0x00007ffff7412c6d in __gconv_open () from /lib/libc.so.6
#3  0x00007ffff741275c in iconv_open () from /lib/libc.so.6
#4  0x00007ffff7efaa79 in try_conversion
(to_codeset=to_codeset@entry=0x615c20 "ANSI_X3.4-1968",
    from_codeset=from_codeset@entry=0x7ffff7f5f31a "UTF-8",
cd=cd@entry=0x7fffffffe4c8) at gconvert.c:176
#5  0x00007ffff7efafff in g_iconv_open
(to_codeset=to_codeset@entry=0x615c20 "ANSI_X3.4-1968",
    from_codeset=from_codeset@entry=0x7ffff7f5f31a "UTF-8") at
gconvert.c:225
#6  0x00007ffff7efb096 in open_converter (to_codeset=0x615c20
"ANSI_X3.4-1968", from_codeset=0x7ffff7f5f31a "UTF-8",
    error=0x7fffffffe5d0) at gconvert.c:312
#7  0x00007ffff7efb43b in g_convert (str=str@entry=0x63dbc0
"1479747666: add xserver watch\n", len=len@entry=30,
    to_codeset=to_codeset@entry=0x615c20 "ANSI_X3.4-1968",
from_codeset=from_codeset@entry=0x7ffff7f5f31a "UTF-8",
    bytes_read=bytes_read@entry=0x0,
bytes_written=bytes_written@entry=0x0, error=0x7fffffffe5d0) at
gconvert.c:552
#8  0x00007ffff7efb5aa in g_convert_with_fallback
(str=str@entry=0x63dbc0 "1479747666: add xserver watch\n", len=30,
len@entry=-1,
    to_codeset=to_codeset@entry=0x615c20 "ANSI_X3.4-1968",
from_codeset=from_codeset@entry=0x7ffff7f5f31a "UTF-8",
    fallback=fallback@entry=0x7ffff7f6076e "?",
bytes_read=bytes_read@entry=0x0, bytes_written=0x0,
error=0x7fffffffe638)
    at gconvert.c:657
#9  0x00007ffff7f1e0d4 in strdup_convert (string=0x63dbc0
"1479747666: add xserver watch\n", charset=0x615c20
"ANSI_X3.4-1968")
    at gmessages.c:984
#10 0x00007ffff7f1efbe in g_log_writer_format_fields
(log_level=log_level@entry=G_LOG_LEVEL_MESSAGE,
    fields=fields@entry=0x7fffffffe7d0, n_fields=n_fields@entry=3,
use_color=0) at gmessages.c:2008
#11 0x00007ffff7f1fbdd in g_log_writer_standard_streams
(log_level=G_LOG_LEVEL_MESSAGE, fields=0x7fffffffe7d0, n_fields=3,
    user_data=<optimized out>) at gmessages.c:2254
#12 0x00007ffff7f1fcd7 in g_log_writer_default
(log_level=log_level@entry=G_LOG_LEVEL_MESSAGE,
fields=fields@entry=0x7fffffffe7d0,
    n_fields=n_fields@entry=3, user_data=user_data@entry=0x0) at
gmessages.c:2357
#13 0x00007ffff7f1e32c in g_log_structured_array
(log_level=G_LOG_LEVEL_MESSAGE, fields=0x7fffffffe7d0, n_fields=3)
    at gmessages.c:1770
#14 0x00007ffff7f1e7b4 in g_log_default_handler
(log_domain=log_domain@entry=0x0,
log_level=log_level@entry=G_LOG_LEVEL_MESSAGE,
    message=message@entry=0x618050 "1479747666: add xserver
watch\n", unused_data=unused_data@entry=0x0) at gmessages.c:2813
#15 0x00007ffff7f1ea94 in g_logv (log_domain=0x0,
log_level=G_LOG_LEVEL_MESSAGE, format=<optimized out>,
    args=args@entry=0x7fffffffe908) at gmessages.c:1275
#16 0x00007ffff7f1ec92 in g_log (log_domain=log_domain@entry=0x0,
log_level=log_level@entry=G_LOG_LEVEL_MESSAGE,
    format=format@entry=0x40a724 "%ld: add xserver watch\n") at
gmessages.c:1337
#17 0x0000000000405db2 in lxdm_startx (s=s@entry=0x63cf70) at
lxdm.c:1009
#18 0x0000000000406461 in lxsession_add () at lxdm.c:301
#19 0x000000000040658b in lxsession_greeter () at lxdm.c:319
#20 0x0000000000404dcf in main (arc=<optimized out>, arg=<optimized
out>) at lxdm.c:1806
(gdb)

Unfortunately, the base system pre-dates my decision to add '-g' to
my CFLAGS and CXXFLAGS for everything which respects them - I'm
surprised that the details are present for items 0 to 3.

Whatever, this doesn't look like the sort of problem which would be
caused by omitting libXfont.  I expect lxdm remembers that I gave
up on it, and is now getting its own back :)

ĸen  
-- 
`I shall take my mountains', said Lu-Tze. `The climate will be good
for them.'     -- Small Gods
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to