[Xcb] xlibs --with-xcb unbroken

Bernardo Innocenti bernie at develer.com
Sat Feb 12 00:27:00 PST 2005

Josh Triplett wrote:
> I applied the fix to xlibs CVS, so --with-xcb now works again.

I still can't run xclock from the xorg tree with an XCB-enabled
libX11.  xterm works fine.

Looks like a problem in getting the font list from the server:

(gdb) bt
#0  0x004797a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x004b9955 in raise () from /lib/tls/libc.so.6
#2  0x004bb319 in abort () from /lib/tls/libc.so.6
#3  0x004b2f41 in __assert_fail () from /lib/tls/libc.so.6
#4  0xb7e13299 in _xcb_in_read_packet (c=0x80552d0) at xcb_in.c:296
#5  0xb7e13357 in _xcb_in_read (c=0x80552d0) at xcb_in.c:315
#6  0xb7e1205f in _xcb_conn_wait (c=0x80552d0, should_write=0, cond=0x8064238) at xcb_conn.c:243
#7  0xb7e12c12 in XCBWaitForReply (c=0x80552d0, request=38, e=0xbfffd9d8) at xcb_in.c:99
#8  0xb7e5e5cf in _XReply (dpy=0x8054cc0, rep=0x0, extra=0, discard=0) at xcl/io.c:282
#9  0xb7e3d41e in XListFontsWithInfo (dpy=0x8054cc0,
    pattern=0x8063f80 "-misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1", maxNames=0,
    actualCount=0x0, info=0x0) at FontInfo.c:67
#10 0xb7e9056e in load_font_info (oc=0x0) at omGeneric.c:334
#11 0xb7e91ca5 in create_fontset (oc=0x8067850) at omGeneric.c:1373
#12 0xb7e921d6 in create_oc (om=0xb7f070c0, args=0x0, num_args=0) at omGeneric.c:1675
#13 0xb7e47c2e in XCreateOC (om=0x80634e8) at OCWrap.c:50
#14 0xb7e3c0fa in XCreateFontSet (dpy=0x0, base_font_name_list=0x0, missing_charset_list=0xbfffdb8c,
    missing_charset_count=0xbfffdb90, def_string=0xbfffdb94) at FSWrap.c:182
#15 0xb7f65612 in XtCvtStringToFontSet (dpy=0x8054cc0, args=0x0, num_args=0x0, fromVal=0xbfffddb8,
    toVal=0xbfffdda8, closure_ret=0xbfffdc28) at Converters.c:1027
#16 0xb7f62cf9 in CallConverter (dpy=0x8054cc0, converter=0xb7f652e2 <XtCvtStringToFontSet>,
    args=0xbfffdc70, num_args=2, from=0xbfffddb8, to=0xbfffdda8, cache_ref_return=0x0, cP=0x8054a40)
    at Convert.c:806
#17 0xb7f6305d in _XtConvert (widget=0x8063948, from_type=2, from=0xbfffddb8, to_type=18, to=0xbfffdda8,
    cache_ref_return=0x0) at Convert.c:895
#18 0xb7f7f0f3 in GetResources (widget=0x8063948, base=0x8063948 "H9\006\b@\004\b�022\006\b*\003",
    names=0xbffff030, classes=0xbfffef60, table=0x8063418, num_resources=49, quark_args=0xbfffedd0,
    args=0x8063948, num_args=0, typed_args=0x0, pNumTypedArgs=0xbffff570, tm_hack=4 '\004')
    at Resources.c:907
#19 0xb7f7f5ce in _XtGetResources (w=0x8063948, args=0x0, num_args=0, typed_args=0x0,
    num_typed_args=0xbffff570) at Resources.c:1054
#20 0xb7f68b5d in xtCreate (name=0x0, class=0x0, widget_class=0x804f940, parent=0x80612d8,
    default_screen=0x8057808, args=0x0, num_args=0, typed_args=0x0, num_typed_args=0,
    parent_constraint_class=0x0, post_proc=0xb7f68e70 <widgetPostProc>) at Create.c:381
#21 0xb7f691b1 in _XtCreateWidget (name=0x804d767 "clock", widget_class=0x804f940, parent=0x80612d8,
    args=0x0, num_args=0, typed_args=0x0, num_typed_args=0) at Create.c:560
#22 0xb7f692ec in XtCreateManagedWidget (name=0x0, widget_class=0x0, parent=0x80612d8, args=0x0, num_args=0)
    at Create.c:600
#23 0x08049efb in main (argc=1, argv=0xbffff6d4) at xclock.c:199

  // Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/  http://www.develer.com/

More information about the xcb mailing list