Date: Thu, 16 Oct 2003 13:51:07 -0400 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Jeremy Messenger <mezz7@cox.net> Cc: FreeBSD GNOME Users <gnome@freebsd.org> Subject: Re: ports/56752: Using the Crux GTK 2.2 theme causes problems Message-ID: <1066326667.753.37.camel@gyros> In-Reply-To: <oprw5b78fy8ckrg5@smtp.central.cox.net> References: <200310160140.h9G1e453046088@freefall.freebsd.org> <1066270019.29089.6.camel@shumai.marcuscom.com> <oprw5b78fy8ckrg5@smtp.central.cox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-q1IyXS6I/j7pCfj+wN5S Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2003-10-16 at 13:29, Jeremy Messenger wrote: > On Wed, 15 Oct 2003 22:06:59 -0400, Joe Marcus Clarke=20 > <marcus@marcuscom.com> wrote: >=20 > > 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=20 > >> 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 problem= s > >> Date: Wed, 15 Oct 2003 20:30:38 -0500 > >> > >> ------------VrDfvEvpaxEfiejQKNzpy6 > >> Content-Type: text/plain; format=3Dflowed; charset=3Dutf-8 > >> Content-Transfer-Encoding: 8bit > >> > >> Silly me, took me hours and hours (include recompiles) to figure why=20 > >> the > >> update of thunderbird will not run under gdb.. Oh, I forgot to add th= e > >> WITH_DEBUG define when I use the portupgrade to update thunderbord=20 > >> 0.3.. > >> :-) Anyway, here's attach of gdb-thunderbirdVScrux.txt that has the > >> backtrace of CRUX crashed with the thunderbird, hopeful it will be=20 > >> useful. > > > > Good stuff. If you still have the gdb handy, do: >=20 > I do and I will keep it until it's finish ;-), so here: Edit crux-gradient.c, and change the line: guchar *xrgb =3D alloca (clip_rect->width * clip_rect->height * 3); to guchar *xrgb =3D g_malloc (clip_rect->width * clip_rect->height * 3); (yes, this is a memory leak, but let's see if it works) I think when it tries to allocate over one MB of memory in the stack frame, things go very wrong. Joe >=20 > > frame 0 > #0 0x2ab5ee17 in draw_vertical_gradient (drawable=3D0x88f0880, gc=3D0x81= 66b00, > full_rect=3D0xbfacc000, clip_rect=3D0xbfbfcf20, gradient=3D0x1e7) > at crux-gradient.c:252 > 252 in crux-gradient.c >=20 > > print clip_rect->width > $1 =3D 805 >=20 > > print clip_rect->height > $2 =3D 526 >=20 > Cheers, > Mezz >=20 > > Thanks. > > > > Joe > > > >> > >> Cheers, > >> Mezz > >> > >> > >> -- > >> bsdforums.org 's moderator, mezz. > <snip> --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-q1IyXS6I/j7pCfj+wN5S Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/jtqLb2iPiv4Uz4cRAlSnAKCdDL02wrbLF2ETVABldrUBdj03fgCgrtkI RaDpWwt7jNAE/XDrekh9tZ8= =6Kpd -----END PGP SIGNATURE----- --=-q1IyXS6I/j7pCfj+wN5S--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1066326667.753.37.camel>