From owner-freebsd-current@FreeBSD.ORG Sat Apr 18 17:22:46 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AEBE106564A; Sat, 18 Apr 2009 17:22:46 +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 2599F8FC2C; Sat, 18 Apr 2009 17:22:46 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: (from root@localhost) by kientzle.com (8.14.3/8.14.3) id n3IHMjIB040772; Sat, 18 Apr 2009 10:22: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 ghkeg4gmbhknx3iutjdqepru7i; Sat, 18 Apr 2009 10:22:45 -0700 (PDT) (envelope-from kientzle@freebsd.org) Message-ID: <49EA0C64.8090709@freebsd.org> Date: Sat, 18 Apr 2009 10:22: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: Mel Flynn References: <49E7BE78.6000802@freebsd.org> <49E915A4.1000108@freebsd.org> <200904181358.50806.mel.flynn+fbsd.current@mailing.thruhere.net> In-Reply-To: <200904181358.50806.mel.flynn+fbsd.current@mailing.thruhere.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Tim Kientzle , freebsd-current@freebsd.org Subject: Re: 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: Sat, 18 Apr 2009 17:22:49 -0000 On Saturday 18 April 2009 01:49:56 Tim Kientzle wrote: > Igor R wrote: >>> "unexpected character `{', expected keyword - e.g. `style' >> Looks like GTK? GTK is certainly involved, it appears. From ktrace, I know that it invokes open() on the raw directory and reads it just before generating the warning. From inside GDB, I can breakpoint open() and see this backtrace just before the warning gets printed: Breakpoint 2, 0x28ca9f5c in open () from /lib/libc.so.7 #0 0x28ca9f5c in open () from /lib/libc.so.7 #1 0x28a97cb2 in open () from /lib/libthr.so.3 #2 0x2836c227 in gtk_rc_get_im_module_path () from /usr/local/lib/libgtk-x11-2.0.so.0 #3 0x2836c7a4 in gtk_rc_reparse_all_for_settings () from /usr/local/lib/libgtk-x11-2.0.so.0 #4 0x28388b64 in gtk_settings_get_for_screen () from /usr/local/lib/libgtk-x11-2.0.so.0 #5 0x28388cf5 in gtk_settings_get_default () from /usr/local/lib/libgtk-x11-2.0.so.0 So gtk is reading the raw directory and trying to interpret it as a settings file. Still don't know where it's getting the screwed-up settings file name from, but this is progress. Tim