ports/189163: x11/xorg: Could not init font path element /usr/local/lib/X11/fonts/*/

Anton Shterenlikht mexas at bris.ac.uk
Wed May 21 08:40:02 UTC 2014


The following reply was made to PR ports/189163; it has been noted by GNATS.

From: Anton Shterenlikht <mexas at bris.ac.uk>
To: bug-followup at freebsd.org
Cc:  
Subject: ports/189163: x11/xorg: Could not init font path element /usr/local/lib/X11/fonts/*/
Date: Wed, 21 May 2014 09:32:24 +0100 (BST)

 Following advice from tijl@, I collected this
 data in gdb:
 
 (gdb) break dixfonts.c:1576
 Breakpoint 1 at 0x14d744: file dixfonts.c, line 1576.
 (gdb) run
 Starting program: /usr/local/bin/Xorg 
 [New LWP 100108]
 [New Thread 42004400 (LWP 100108/Xorg)]
 
 X.Org X Server 1.12.4
 Release Date: 2012-08-27
 X Protocol Version 11, Revision 0
 Build Operating System: FreeBSD 11.0-CURRENT sparc64 
 Current Operating System: FreeBSD mech-anton240.men.bris.ac.uk 11.0-CURRENT FreeBSD 11.0-CURRENT #10 r259970: Tue May 20 08:24:57 BST 2014     root at mech-anton240.men.bris.ac.uk:/usr/obj/usr/src/sys/QOF sparc64
 Build Date: 20 May 2014  05:03:26PM
  
 Current version of pixman: 0.32.4
         Before reporting problems, check http://wiki.x.org
         to make sure that you have the latest version.
 Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 (==) Log file: "/var/log/Xorg.0.log", Time: Wed May 21 08:54:32 2014
 (==) Using config file: "/etc/X11/xorg.conf"
 [Switching to Thread 42004400 (LWP 100108/Xorg)]
 
 Breakpoint 1, find_existing_fpe (list=0x0, num=0, 
     name=0x421f2341 "/usr/local/lib/X11/fonts/misc/\035/usr/local/lib/X11/fonts/TTF/\035/usr/local/lib/X11/fonts/OTF/\037/usr/local/lib/X11/fonts/Type1/ /usr/local/lib/X11/fonts/100dpi/\037/usr/local/lib/X11/fonts/75dpi/ /usr/local/l"..., len=30) at dixfonts.c:1577
 1577        return (FontPathElementPtr) 0;
 (gdb) step
 1578    }
 (gdb) step
 SetFontPathElements (npaths=14, 
     paths=0x421f2340 "\036/usr/local/lib/X11/fonts/misc/\035/usr/local/lib/X11/fonts/TTF/\035/usr/local/lib/X11/fonts/OTF/\037/usr/local/lib/X11/fonts/Type1/ /usr/local/lib/X11/fonts/100dpi/\037/usr/local/lib/X11/fonts/75dpi/ /usr/local/"..., bad=0x7fdffffe9d4, persist=1) at dixfonts.c:1614
 1614                if (fpe) {
 (gdb) step
 1624                if (!fpe) {
 (gdb) step
 1625                    fpe = malloc(sizeof(FontPathElementRec));
 (gdb) step
 1626                    if (!fpe) {
 (gdb) step
 1630                    fpe->name = malloc(len + 1);
 (gdb) step
 1631                    if (!fpe->name) {
 (gdb) step
 1636                    fpe->refcount = 1;
 (gdb) step
 1638                    strncpy(fpe->name, (char *) cp, (int) len);
 (gdb) step
 1639                    fpe->name[len] = '\0';
 (gdb) step
 1640                    fpe->name_length = len;
 (gdb) step
 1641                    fpe->type = DetermineFPEType(fpe->name);
 (gdb) step
 DetermineFPEType (pathname=0x421149e0 "/usr/local/lib/X11/fonts/misc/") at dixfonts.c:1533
 1533        for (i = 0; i < num_fpe_types; i++) {
 (gdb) step
 1534            if ((*fpe_functions[i].name_check) (pathname))
 (gdb) step
 1533        for (i = 0; i < num_fpe_types; i++) {
 (gdb) step
 1534            if ((*fpe_functions[i].name_check) (pathname))
 (gdb) step
 1535                return i;
 (gdb) step
 1538    }
 (gdb) step
 SetFontPathElements (npaths=14, 
     paths=0x421f2340 "\036/usr/local/lib/X11/fonts/misc/\035/usr/local/lib/X11/fonts/TTF/\035/usr/local/lib/X11/fonts/OTF/\037/usr/local/lib/X11/fonts/Type1/ /usr/local/lib/X11/fonts/100dpi/\037/usr/local/lib/X11/fonts/75dpi/ /usr/local/"..., bad=0x7fdffffe9d4, persist=1) at dixfonts.c:1642
 1642                    if (fpe->type == -1)
 (gdb) step
 1645                        err = (*fpe_functions[fpe->type].init_fpe) (fpe);
 (gdb) step
 1646                    if (err != Successful) {
 (gdb) step
 1647                        if (persist) {
 (gdb) step
 1648                            ErrorF
 (gdb) step
 0x0000000040a16b80 in pthread_rwlock_rdlock () from /lib/libthr.so.3
 (gdb) 
 
 Does it help to understand the problem?
 


More information about the freebsd-x11 mailing list