From owner-freebsd-gnome@FreeBSD.ORG Sat Jul 24 16:02:56 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 B6E9E16A4CE for ; Sat, 24 Jul 2004 16:02:56 +0000 (GMT) Received: from sv02.webonaut.com (kirk.webonaut.com [212.41.243.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9E4F43D2D for ; Sat, 24 Jul 2004 16:02:55 +0000 (GMT) (envelope-from klammer@webonaut.com) Received: from localhost (localhost [127.0.0.1]) by sv02.webonaut.com (Postfix) with ESMTP id 1F9F97642D for ; Sat, 24 Jul 2004 18:02:54 +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 59929-03 for ; Sat, 24 Jul 2004 18:02:48 +0200 (CEST) Received: from [192.168.0.9] (sisko.webonaut.com [212.41.243.28]) by sv02.webonaut.com (Postfix) with ESMTP id D88CC7642C for ; Sat, 24 Jul 2004 18:02:48 +0200 (CEST) Message-ID: <41028829.7020809@webonaut.com> Date: Sat, 24 Jul 2004 18:02:49 +0200 From: Franz Klammer User-Agent: Mozilla Thunderbird 0.7.2 (X11/20040719) X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD GNOME Users Content-Type: multipart/mixed; boundary="------------060907030102000203050607" X-Virus-Scanned: by amavisd-new at webonaut.com Subject: 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: Sat, 24 Jul 2004 16:02:56 -0000 This is a multi-part message in MIME format. --------------060907030102000203050607 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 , blocking=1, parent=0x0, ipp=0x8098be0) at ipp.c:1418 1418 { (gdb) bt full #0 0x28a92a9c in ippWriteIO (dst=0x80b2000, cb=0x28a8f840 , 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 , 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. --------------060907030102000203050607 Content-Type: text/plain; name="patch-gnome-cups-add::add-printer.c" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="patch-gnome-cups-add::add-printer.c" LS0tIGdub21lLWN1cHMtYWRkL2FkZC1wcmludGVyLmMub3JpZwlTYXQgSnVsIDI0IDE3OjI3 OjIyIDIwMDQKKysrIGdub21lLWN1cHMtYWRkL2FkZC1wcmludGVyLmMJU2F0IEp1bCAyNCAx NzoyOToyMCAyMDA0CkBAIC02NzQsNyArNjc0LDcgQEAKIAkJCV8oIkF1dGhlbnRpY2F0aW9u IFJlcXVpcmVkIiksIG1zZy0+c3RyLCAiIiwgIiIsIEZBTFNFKSk7CiAJCWlmIChkZWZhdWx0 X2lkICE9IE5VTEwpCiAJCQlnbm9tZV9wYXNzd29yZF9kaWFsb2dfc2V0X3VzZXJuYW1lCShk aWFsb2csIGRlZmF1bHRfaWQpOwotCQlnbm9tZV9wYXNzd29yZF9kaWFsb2dfc2V0X3Nob3df dXNlcnBhc3NfYnV0dG9ucyAoZGlhbG9nLCBGQUxTRSk7CisJCS8qIGdub21lX3Bhc3N3b3Jk X2RpYWxvZ19zZXRfc2hvd191c2VycGFzc19idXR0b25zIChkaWFsb2csIEZBTFNFKTsgKi8K IAkJZ25vbWVfcGFzc3dvcmRfZGlhbG9nX3NldF9zaG93X3VzZXJuYW1lCQkoZGlhbG9nLCAg VFJVRSk7CiAJCWdub21lX3Bhc3N3b3JkX2RpYWxvZ19zZXRfc2hvd19kb21haW4JCShkaWFs b2csIEZBTFNFKTsKIAkJZ25vbWVfcGFzc3dvcmRfZGlhbG9nX3NldF9zaG93X3Bhc3N3b3Jk CQkoZGlhbG9nLCAgVFJVRSk7Cg== --------------060907030102000203050607--