gnome-cups-manager-0.19 :: core dump and undefined symbol

Franz Klammer klammer at webonaut.com
Sat Jul 24 09:02:56 PDT 2004


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:

 > gdb gnome-cups-manager
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...
(gdb) r
Starting program: /usr/X11R6/bin/gnome-cups-manager

Program received signal SIGSEGV, Segmentation fault.
0x28a92a9c in ippWriteIO (dst=0x80b2000, cb=0x28a8f840 <httpWrite>,
     blocking=1, parent=0x0, ipp=0x8098be0) at ipp.c:1418
1418    {
(gdb) bt full
#0  0x28a92a9c in ippWriteIO (dst=0x80b2000, cb=0x28a8f840 <httpWrite>,
     blocking=1, parent=0x0, ipp=0x8098be0) at ipp.c:1418
         i = Error accessing memory address 0xbfaddd44: Bad address.
(gdb) bt
#0  0x28a92a9c in ippWriteIO (dst=0x80b2000, cb=0x28a8f840 <httpWrite>,
     blocking=1, parent=0x0, ipp=0x8098be0) at ipp.c:1418
#1  0x28a92a38 in ippWrite (http=0x80b2000, ipp=0x28a8f840) at ipp.c:1387
#2  0x28a9c80d in cupsDoFileRequest (http=0x80b2000, request=0x8098be0,
     resource=0x80a4c60 "/", filename=0x0) at util.c:281
#3  0x28a83834 in request_thread_main ()
    from /usr/X11R6/lib/libgnomecups-1.0.so.1
#4  0x28c65e09 in g_thread_pool_thread_proxy ()
    from /usr/local/lib/libglib-2.0.so.400
#5  0x28c64c5c in g_thread_create_proxy ()
    from /usr/local/lib/libglib-2.0.so.400
#6  0x284bc9b3 in pthread_create () from /usr/lib/libpthread.so.1

franz.
-------------- next part --------------
--- gnome-cups-add/add-printer.c.orig	Sat Jul 24 17:27:22 2004
+++ gnome-cups-add/add-printer.c	Sat Jul 24 17:29:20 2004
@@ -674,7 +674,7 @@
 			_("Authentication Required"), msg->str, "", "", FALSE));
 		if (default_id != NULL)
 			gnome_password_dialog_set_username	(dialog, default_id);
-		gnome_password_dialog_set_show_userpass_buttons (dialog, FALSE);
+		/* gnome_password_dialog_set_show_userpass_buttons (dialog, FALSE); */
 		gnome_password_dialog_set_show_username		(dialog,  TRUE);
 		gnome_password_dialog_set_show_domain		(dialog, FALSE);
 		gnome_password_dialog_set_show_password		(dialog,  TRUE);


More information about the freebsd-gnome mailing list