Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Oct 2003 13:28:37 -0500
From:      Jeremy Messenger <mezz7@cox.net>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: ports/56752: Using the Crux GTK  2.2 theme causes problems
Message-ID:  <oprw5exzkl8ckrg5@smtp.central.cox.net>
In-Reply-To: <1066326667.753.37.camel@gyros>
References:  <200310160140.h9G1e453046088@freefall.freebsd.org> <1066270019.29089.6.camel@shumai.marcuscom.com> <oprw5b78fy8ckrg5@smtp.central.cox.net> <1066326667.753.37.camel@gyros>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 16 Oct 2003 13:51:07 -0400, Joe Marcus Clarke 
<marcus@marcuscom.com> wrote:

> On Thu, 2003-10-16 at 13:29, Jeremy Messenger wrote:
>> On Wed, 15 Oct 2003 22:06:59 -0400, Joe Marcus Clarke
>> <marcus@marcuscom.com> 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 <mezz7@cox.net>
>> >> 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.
>> <snip>


-- 
bsdforums.org 's moderator, mezz.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?oprw5exzkl8ckrg5>