gnome-cups-manager-0.19 :: core dump and undefined symbol
Joe Marcus Clarke
marcus at marcuscom.com
Mon Jul 26 14:28:55 PDT 2004
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:
> >
> >>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:
> >
> >
> > 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.
>
> noew-port-PR for sysutils/gnomesu: #69615
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=69615
Committed, thanks!
Joe
>
> Franz.
>
> > Joe
> >
--
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20040726/f101bd54/attachment.bin
More information about the freebsd-gnome
mailing list