From owner-freebsd-gnome@FreeBSD.ORG Thu Oct 16 11:29:45 2003 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 552DF16A4B3 for ; Thu, 16 Oct 2003 11:29:45 -0700 (PDT) Received: from lakemtao08.cox.net (lakemtao08.cox.net [68.1.17.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43B0B43FCB for ; Thu, 16 Oct 2003 11:29:44 -0700 (PDT) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.11]) by lakemtao08.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20031016182942.DKTB22544.lakemtao08.cox.net@mezz.mezzweb.com>; Thu, 16 Oct 2003 14:29:42 -0400 To: Joe Marcus Clarke References: <200310160140.h9G1e453046088@freefall.freebsd.org> <1066270019.29089.6.camel@shumai.marcuscom.com> <1066326667.753.37.camel@gyros> Message-ID: From: Jeremy Messenger Content-Type: text/plain; format=flowed; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Thu, 16 Oct 2003 13:28:37 -0500 In-Reply-To: <1066326667.753.37.camel@gyros> User-Agent: Opera7.21/Linux M2 build 480 cc: FreeBSD GNOME Users Subject: Re: ports/56752: Using the Crux GTK 2.2 theme causes problems X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2003 18:29:45 -0000 On Thu, 16 Oct 2003 13:51:07 -0400, Joe Marcus Clarke wrote: > On Thu, 2003-10-16 at 13:29, Jeremy Messenger wrote: >> On Wed, 15 Oct 2003 22:06:59 -0400, Joe Marcus Clarke >> wrote: >> >> > On Wed, 2003-10-15 at 21:40, Jeremy Messenger wrote: >> >> The following reply was made to PR ports/56752; it has been noted by >> >> GNATS. >> >> >> >> From: Jeremy Messenger >> >> To: freebsd-gnats-submit@FreeBSD.org, apeiron@comcast.net >> >> Cc: >> >> Subject: Re: ports/56752: Using the Crux GTK 2.2 theme causes >> problems >> >> Date: Wed, 15 Oct 2003 20:30:38 -0500 >> >> >> >> ------------VrDfvEvpaxEfiejQKNzpy6 >> >> Content-Type: text/plain; format=flowed; charset=utf-8 >> >> Content-Transfer-Encoding: 8bit >> >> >> >> Silly me, took me hours and hours (include recompiles) to figure why >> >> the >> >> update of thunderbird will not run under gdb.. Oh, I forgot to add >> the >> >> WITH_DEBUG define when I use the portupgrade to update thunderbord >> >> 0.3.. >> >> :-) Anyway, here's attach of gdb-thunderbirdVScrux.txt that has the >> >> backtrace of CRUX crashed with the thunderbird, hopeful it will be >> >> useful. >> > >> > Good stuff. If you still have the gdb handy, do: >> >> I do and I will keep it until it's finish ;-), so here: > > Edit crux-gradient.c, and change the line: > > guchar *xrgb = alloca (clip_rect->width * clip_rect->height * 3); > > to > > guchar *xrgb = g_malloc (clip_rect->width * clip_rect->height * 3); > > (yes, this is a memory leak, but let's see if it works) Yep, it works now and no crash.. Other thing that I forgot to add, it always has the flood error message like this bottom at the every time when I make the move in thunderbird like click on menu and etc. ========================= (thunderbird-bin:7646): Gdk-CRITICAL **: file gdkwindow.c: line 1846 (gdk_window_clear_area): assertion `GDK_IS_WINDOW (window)' failed (thunderbird-bin:7646): Gdk-CRITICAL **: file gdkwindow.c: line 1846 (gdk_window_clear_area): assertion `GDK_IS_WINDOW (window)' failed [...goes on...] ========================= Cheers, Mezz > I think when it tries to allocate over one MB of memory in the stack > frame, things go very wrong. > > Joe > >> >> > frame 0 >> #0 0x2ab5ee17 in draw_vertical_gradient (drawable=0x88f0880, >> gc=0x8166b00, >> full_rect=0xbfacc000, clip_rect=0xbfbfcf20, gradient=0x1e7) >> at crux-gradient.c:252 >> 252 in crux-gradient.c >> >> > print clip_rect->width >> $1 = 805 >> >> > print clip_rect->height >> $2 = 526 >> >> Cheers, >> Mezz >> >> > Thanks. >> > >> > Joe >> > >> >> >> >> Cheers, >> >> Mezz >> >> >> >> >> >> -- >> >> bsdforums.org 's moderator, mezz. >> -- bsdforums.org 's moderator, mezz.