From owner-freebsd-gnome@FreeBSD.ORG Mon Jul 26 21:28:55 2004 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 6AFB116A4CE for ; Mon, 26 Jul 2004 21:28:55 +0000 (GMT) Received: from creme-brulee.marcuscom.com (rrcs-midsouth-24-172-16-118.biz.rr.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEF8343D49 for ; Mon, 26 Jul 2004 21:28:54 +0000 (GMT) (envelope-from marcus@marcuscom.com) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) i6QLRxTP085161; Mon, 26 Jul 2004 17:27:59 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Franz Klammer In-Reply-To: <4104F7C1.5010502@webonaut.com> References: <41028829.7020809@webonaut.com> <1090699167.76622.22.camel@shumai.marcuscom.com> <4104F7C1.5010502@webonaut.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-F22WULQPh3+n8Dx/cxEY" Organization: MarcusCom, Inc. Message-Id: <1090877327.6881.75.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 26 Jul 2004 17:28:47 -0400 X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on creme-brulee.marcuscom.com cc: FreeBSD GNOME Users Subject: Re: gnome-cups-manager-0.19 :: core dump and undefined symbol 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: Mon, 26 Jul 2004 21:28:55 -0000 --=-F22WULQPh3+n8Dx/cxEY Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2004-07-26 at 08:23, Franz Klammer wrote: > Joe Marcus Clarke wrote: > > On Sat, 2004-07-24 at 12:02, Franz Klammer wrote: > >=20 > >>gnome-cups-manager doesn't build with libgnomeui-2.6.1.1: > >> > >>undefined symbol: gnome_password_dialog_set_show_userpass_buttons > >>and didn't find any similar in any gnome-library. (grepping for the > >>string "buttons") > >> > >>attached a patch that comment out that line in add-priner.c. > >> > >>after i got it compile my next problem was a core dump. > >>for the back trace i compiled cups-base ans gnome-cups-manager > >>with debuging sysmbols: > >=20 > >=20 > > This is a stack overflow problem with CUPS being called out of a > > thread. CUPS allocates a lot of memory on the stack, and it was > > overflowing the default 64 KB stack size. Since that's all GThreadPool= s > > allow, I upped the amount of stack size in gthread to be 256 KB > > everywhere. Yes, this is a hack, but I see no other way to handle this > > unless the GThreadPool API changes, libgnomecups is rewritten again not > > to use thread pools, or CUPS is updated to dynamically allocate memory > > on the heap. Other ideas are certainly welcome. > >=20 > > That said, given that this version of gnome-cups-manager uses > > libgnomeui-2.7 functions, it should probably be moved over to MC, and > > backed out of the FreeBSD ports tree. > >=20 >=20 > it seems to work with 2.6 and my patch but it depends on a the > non existing port gnomesu. I wouldn't say it depends on gnomesu since it can be run as root without it. I'd rather not add an explicit gnomesu dependency, but I will add gnomesu to gnome2-power-tools. >=20 > noew-port-PR for sysutils/gnomesu: #69615 >=20 > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D69615 Committed, thanks! Joe >=20 > Franz. >=20 > > Joe > >=20 --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-F22WULQPh3+n8Dx/cxEY Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBBBXePb2iPiv4Uz4cRAqVVAJ97BqJMl+esEOJUkJWlBP4Mx3xcGwCfRL8h j1SJ08O1AfzpE9U+9uHlkuQ= =hi3B -----END PGP SIGNATURE----- --=-F22WULQPh3+n8Dx/cxEY--