From owner-freebsd-gnome@FreeBSD.ORG Tue Jul 27 10:05:28 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 3CD2816A4CE for ; Tue, 27 Jul 2004 10:05:28 +0000 (GMT) Received: from sv02.webonaut.com (kirk.webonaut.com [212.41.243.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id B98F243D48 for ; Tue, 27 Jul 2004 10:05:27 +0000 (GMT) (envelope-from klammer@webonaut.com) Received: from localhost (localhost [127.0.0.1]) by sv02.webonaut.com (Postfix) with ESMTP id C7FE77642E; Tue, 27 Jul 2004 12:05:25 +0200 (CEST) Received: from sv02.webonaut.com ([127.0.0.1]) by localhost (sv02.webonaut.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 78726-01; Tue, 27 Jul 2004 12:05:20 +0200 (CEST) Received: from [192.168.0.9] (sisko.webonaut.com [212.41.243.28]) by sv02.webonaut.com (Postfix) with ESMTP id AF30B7642D; Tue, 27 Jul 2004 12:05:20 +0200 (CEST) Message-ID: <410628E2.1060604@webonaut.com> Date: Tue, 27 Jul 2004 12:05:22 +0200 From: Franz Klammer User-Agent: Mozilla Thunderbird 0.7.2 (X11/20040719) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joe Marcus Clarke References: <41028829.7020809@webonaut.com> <1090699167.76622.22.camel@shumai.marcuscom.com> <4104F7C1.5010502@webonaut.com> <1090877327.6881.75.camel@shumai.marcuscom.com> In-Reply-To: <1090877327.6881.75.camel@shumai.marcuscom.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at webonaut.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: Tue, 27 Jul 2004 10:05:28 -0000 Joe Marcus Clarke wrote: > 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: >>> >>> >>>>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: >>> >>> >>>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 GThreadPools >>>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. >>> >>>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. >>> >> >>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. > > but what happends if someone start it from the gnome-menu as normal user? gnome-cups-add will be started with gnomesu and if not found an error will be displayed. probably you are right and the update should be backed out until gnome 2.8 is out. i tried today to disable a printer and no (internal?) password dialog pops up - more: gnome-cups-manager freezes. guess it's my patch - but i need it top build that port against libgnome-2.6. are i'm the only one who has problem with(and -out) the patch? franz.