From owner-freebsd-ports@FreeBSD.ORG Mon Sep 15 19:59:09 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD2861065672 for ; Mon, 15 Sep 2008 19:59:09 +0000 (UTC) (envelope-from bsd-unix@embarqmail.com) Received: from mailrelay.embarq.synacor.com (mailrelay.embarq.synacor.com [208.47.184.3]) by mx1.freebsd.org (Postfix) with ESMTP id 511E28FC08 for ; Mon, 15 Sep 2008 19:59:09 +0000 (UTC) (envelope-from bsd-unix@embarqmail.com) DKIM-Signature: v=1; a=rsa-sha1; d=embarqmail.com; s=s012408; c=relaxed/simple; q=dns/txt; i=@embarqmail.com; t=1221508748; h=From:Subject:Date:To:Mime-Version:Content-Type; bh=f8grZTqRmjtPgSRVQ6AXieNQVs0=; b=Ghtkv7ZoePq/tKPXkN85Li5VtlHAUIzQO1StIv7o8XGYdWq1GAnNDBmBNK0QZ60b tEdZ2pjrN3gtBLW7b/Gq234no3cCCsfiucAHakjgsYFe379Va/lDsZJv4w8RXqWw; X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=1.0 c=1 a=JH9z_NcPetQA:10 a=iB6sH3V1qC0A:10 a=6I5d2MoRAAAA:8 a=aCSnKr5PoqUzJanLD6UA:9 a=rchsb-Kr_O-lSkWGYOkA:7 a=BPG69BCSiJ5MOwygJgft1umXOrIA:4 a=CVrfAwbdCTgA:10 a=4vB-4DCPJfMA:10 a=LY0hPdMaydYA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp07.embarq.synacor.com smtp.user=rpratt1950@embarqmail.com; auth=pass (LOGIN) Received: from [74.4.78.58] ([74.4.78.58:53585] helo=kt.weeeble.com) by mailrelay.embarq.synacor.com (envelope-from ) (ecelerity 2.2.2.33 r(25932/25934)) with ESMTPA id 98/4C-14712-B8EBEC84; Mon, 15 Sep 2008 15:59:08 -0400 Date: Mon, 15 Sep 2008 15:59:06 -0400 From: Randy Pratt To: "Jeremy Messenger" Message-Id: <20080915155906.5288eaa5.bsd-unix@embarqmail.com> In-Reply-To: References: <792298050809150907r5f53fa09r433afc176fb4b368@mail.gmail.com> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.11; i386-portbld-freebsd6.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org, L Campbell Subject: Re: fluxbox unshade crashing GTK2 applications? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2008 19:59:09 -0000 On Mon, 15 Sep 2008 13:35:41 -0500 "Jeremy Messenger" wrote: > On Mon, 15 Sep 2008 11:07:09 -0500, L Campbell wrote: > > > (This probably isn't the right place to ask, but I figured I'd start > > here and head upstream if necessary). > > > > Since updating to fluxbox 1.1.0.1 last night (and x11-toolkits/gtk20 > > to revision 1), attempting to unshade a shaded GUI application is > > causing the application to segfault with a BadAlloc X Window System > > error. This behavior was not observed before updating. Tested with > > www/firefox3, graphics/gimp and graphics/inkscape. For all three > > applications, unshading produces the following error -- > > > > The program 'gimp' received an X Window System error. > > This probably reflects a bug in the program. > > The error was 'BadAlloc (insufficient resources for operation)'. > > (Details: serial 3250 error_code 11 request_code 53 minor_code 0) > > (Note to programmers: normally, X errors are reported asynchronously; > > that is, you will receive the error a while after causing it. > > To debug your program, run it with the --sync command line > > option to change this behavior. You can then get a meaningful > > backtrace from your debugger if you break on the gdk_x_error() > > function.) > > > > I'm not really sure if this is an issue with fluxbox, GTK, or my own > > configuration. It seems like only GTK2 applications crashing -- > > audio/aumix uses GTK 1.2 and doesn't crash on unshade. Relevant > > version information follows, please advise on appropriate course of > > action :( > > > > $ uname -a > > FreeBSD kanaria.desudesudesu.org 7.0-STABLE FreeBSD 7.0-STABLE #4: Fri > > Aug 1 17:05:27 EDT 2008 > > hark@kanaria.desudesudesu.org:/usr/obj/usr/src/sys/KANARIA i386 > > > > x11-wm/fluxbox-1.1.0.1 > > $ fluxbox -version > > Fluxbox 1.1.0.1 : (c) 2001-2008 Fluxbox Team > > > > x11-toolkits/gtk-1.2.10_20 > > x11-toolkits/gtk-2.12.11_1 > > > > www/firefox-3.0.1_1,1 > > $ firefox3 -version > > Mozilla Firefox 3.0.1, Copyright (c) 1998 - 2008 mozilla.org > > > > graphics/gimp-2.4.7,2 > > $ gimp --version > > GNU Image Manipulation Program version 2.4.7 > > > > graphics/inkscape-0.46_3 > > $ inkscape --version > > Inkscape 0.46 (Jul 6 2008) > > > > Let me know if there's anything else I can do to help get this fixed. > > Thanks :( > > Try to fetch this patch and put in x11-wm/fluxbox/files/, then reinstall > fluxbox. It was took from its git. > > http://people.freebsd.org/~mezz/diff/patch-fix_unshading_crash I was seeing the same unshading problem with Sylpheed2 with the new fluxbox. The above patch seems to fix it. Oddly, if I ran sylpheed -sync (as the error message suggested for debugging) then the unshading problem disappeared so I wasn't able to do any debugging. Like the OP, I wasn't sure where the problem originated but reverting to an older version of fluxbox eliminated the problem. Thanks for digging out the patch! Randy --