I finally found the bug. One of the glyphs in the 1.04 liberation font
package has a bad index. That index causes the higher layers to
corrupt a few bytes of memory when they cache it. Of course corrupting
a few bytes of memory may, but not always, lead to a bunch of
unrelated failures later.  In this cause the bytes corrupted were in
the new code I was adding to the system. Updating to the current
release of liberation fonts fixes it.

Index: font/liberation-fonts-ttf/Makefile
===================================================================
--- font/liberation-fonts-ttf/Makefile  (revision 29747)
+++ font/liberation-fonts-ttf/Makefile  (working copy)
@@ -6,14 +6,13 @@
 #
 include $(TOPDIR)/rules.mk

-PKG_NAME:=liberation-fonts
+PKG_NAME:=liberation-fonts-ttf
 PKG_RELEASE:=1
-PKG_VERSION:=1.04
+PKG_VERSION:=1.07.1

 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
 PKG_SOURCE_URL:=http://fedorahosted.org/releases/l/i/liberation-fonts/
-PKG_MD5SUM:=4846797ef0fc70b0cbaede2514677c58

 include $(INCLUDE_DIR)/package.mk


-- 
Jon Smirl
[email protected]
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to