Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Still trying to get X working on -current



Problem soved - I found /var/cache/fontconfig/ and removed everything. Then I ran fc-cache and now xdm starts!

I have no idea how the font-cache file(s) got messed up, but at least now I know where they live, and how to regen them!



On Mon, 11 Nov 2013, Paul Goyette wrote:

Some of you readers may remember that, one only one of my machines, after an upgrade from 6.99.23 to 6.99.24 I was unable to get X working.

I actually looked at the output from /etc/daily today, and found a big hint to my problem. It seems that xdm is crashing and dumping core with the following traceback (editted):

#0  0x00007f7ff300ef0d in ?? () from /usr/X11R7/lib/libfontconfig.so.2
#1  0x00007f7ff300f57d in FcPatternObjectFindElt ()
  from /usr/X11R7/lib/libfontconfig.so.2
#2  0x00007f7ff3010214 in FcPatternObjectGet ()
  from /usr/X11R7/lib/libfontconfig.so.2
#3  0x00007f7ff30103aa in FcPatternObjectGetString ()
  from /usr/X11R7/lib/libfontconfig.so.2
#4  0x00007f7ff301cac8 in FcConfigAddCache ()
  from /usr/X11R7/lib/libfontconfig.so.2
#5  0x00007f7ff301cc11 in ?? () from /usr/X11R7/lib/libfontconfig.so.2
#6  0x00007f7ff301ce4f in IA__FcConfigBuildFonts ()
  from /usr/X11R7/lib/libfontconfig.so.2
#7  0x00007f7ff30142f8 in FcInitLoadOwnConfigAndFonts ()
  from /usr/X11R7/lib/libfontconfig.so.2
#8  0x00007f7ff301a54c in ?? () from /usr/X11R7/lib/libfontconfig.so.2
#9  0x00007f7ff301a56d in FcConfigInit ()
  from /usr/X11R7/lib/libfontconfig.so.2
#10 0x00007f7ff700bbf7 in XftInit () from /usr/X11R7/lib/libXft.so.3
#11 0x00007f7ff70047ac in XftFontMatch ()
  from /usr/X11R7/lib/libXft.so.3
#12 0x00007f7ff7004a90 in XftFontOpenName () from /usr/X11R7/lib/libXft.so.3
#13 0x00007f7ff1408468 in ?? () from /usr/X11R7/lib/libXdmGreet.so
#14 0x00007f7ff6046d97 in ?? () from /usr/X11R7/lib/libXt.so.7
#15 0x00007f7ff6047ca9 in _XtConvert () from /usr/X11R7/lib/libXt.so.7
#16 0x00007f7ff602d9ce in ?? () from /usr/X11R7/lib/libXt.so.7
#17 0x00007f7ff602e843 in _XtGetResources ()
  from /usr/X11R7/lib/libXt.so.7
#18 0x00007f7ff603afec in ?? () from /usr/X11R7/lib/libXt.so.7
#19 0x00007f7ff603b475 in _XtCreateWidget ()
  from /usr/X11R7/lib/libXt.so.7
#20 0x00007f7ff603b7c1 in XtCreateManagedWidget ()
  from /usr/X11R7/lib/libXt.so.7
#21 0x00007f7ff1405128 in GreetUser ()
  from /usr/X11R7/lib/libXdmGreet.so
#22 0x000000000040e176 in ManageSession ()
#23 0x000000000040aa6b in StartDisplay ()
#24 0x000000000040accd in ForEachDisplay ()
#25 0x0000000000409bf5 in main ()

Yup, probably something wrong with the fonts.

I tried checking things with 'postinstall check fontconfig' but it didn't report any issues.

Then I looked even closer at the /etc/daily log, and there's _another_ core file, this time from fc-cache, with this backtrace:

#0  0x00007f7ff780ef0d in ?? () from /usr/X11R7/lib/libfontconfig.so.2
#1  0x00007f7ff780f57d in FcPatternObjectFindElt ()
  from /usr/X11R7/lib/libfontconfig.so.2
#2  0x00007f7ff7810214 in FcPatternObjectGet ()
  from /usr/X11R7/lib/libfontconfig.so.2
#3  0x00007f7ff78103aa in FcPatternObjectGetString ()
  from /usr/X11R7/lib/libfontconfig.so.2
#4  0x00007f7ff781cac8 in FcConfigAddCache ()
  from /usr/X11R7/lib/libfontconfig.so.2
#5  0x00007f7ff781cc11 in ?? () from /usr/X11R7/lib/libfontconfig.so.2
#6  0x00007f7ff781ce4f in IA__FcConfigBuildFonts ()
  from /usr/X11R7/lib/libfontconfig.so.2
#7  0x00007f7ff781cef3 in IA__FcConfigSetCurrent ()
  from /usr/X11R7/lib/libfontconfig.so.2
#8  0x0000000000401d34 in main ()


I tried removing my /etc/fonts/ directory and replacing it with a copy from one of my working systems, but it didn't help. (I didn't try to copy the font cache from the other system, cuz I don't know where the font cache lives!)


Any suggestions on how to proceed from here?




-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index