From owner-freebsd-current@FreeBSD.ORG Thu Apr 16 23:25:46 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFA74106566C for ; Thu, 16 Apr 2009 23:25:45 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from kientzle.com (kientzle.com [66.166.149.50]) by mx1.freebsd.org (Postfix) with ESMTP id 85E748FC17 for ; Thu, 16 Apr 2009 23:25:45 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: (from root@localhost) by kientzle.com (8.14.3/8.14.3) id n3GNPjnD015851 for current@freebsd.org; Thu, 16 Apr 2009 16:25:45 -0700 (PDT) (envelope-from kientzle@freebsd.org) Received: from dark.x.kientzle.com (fw2.kientzle.com [10.123.1.2]) by kientzle.com with SMTP id vmf7yndvyyasujzukbn9bvrqya; for current@freebsd.org; Thu, 16 Apr 2009 16:25:45 -0700 (PDT) (envelope-from kientzle@freebsd.org) Message-ID: <49E7BE78.6000802@freebsd.org> Date: Thu, 16 Apr 2009 16:25:44 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.21) Gecko/20090409 SeaMonkey/1.1.15 MIME-Version: 1.0 To: "'current@FreeBSD.org'" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Weird warnings from lots of applications X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Apr 2009 23:25:47 -0000 Here's a sample of the warnings I'm seeing whenever I start up emacs. This is -CURRENT from about two weeks ago with all ports upgraded within the last week: :1: error: scanner: digit is beyond radix - e.g. `style' :1: error: unexpected character `\222', expected character `=' :1: error: unexpected character `{', expected keyword - e.g. `style' I've seen this with other applications as well (firefox3, gimp), so it's not an emacs-specific issue. From ktrace, it looks like someone is getting confused trying to read the current directory (the current directory at this point is /home/tim/t/foo/barfoo): 43423 initial thread CALL open(0x864ca80,O_RDONLY,0) 43423 initial thread NAMI "/home/tim/t/foo/barfoo" 43423 initial thread RET open 6 43423 initial thread CALL read(0x6,0x864e000,0xfa0) 43423 initial thread GIO fd 6 read 512 bytes 0x0000 7b4b 9200 0c00 0401 2e00 0000 754b 9200 0c00 ... 43423 initial thread RET read 512/0x200 43423 initial thread CALL write(0x2,0xbfbfd180,0x4) 43423 initial thread GIO fd 2 wrote 4 bytes ":1: " 43423 initial thread RET write 4 43423 initial thread CALL write(0x2,0x28a56d9d,0x7) 43423 initial thread GIO fd 2 wrote 7 bytes "error: " 43423 initial thread RET write 7 43423 initial thread CALL write(0x2,0xbfbfd180,0x3a) 43423 initial thread GIO fd 2 wrote 58 bytes "unexpected character `{', expected keyword - e.g. `style' " Note that the character being warned about is exactly the first byte in the directory. This also matches the obvservation that the exact error message varies depending on the current directory. My current theory is that some library is trying to read and parse an initialization file and opening the wrong thing, but I'm not having much luck narrowing the exact library responsible. Has anyone else managed to narrow this down? Tim