Date: Sat, 24 Jul 2004 18:02:49 +0200 From: Franz Klammer <klammer@webonaut.com> To: FreeBSD GNOME Users <gnome@freebsd.org> Subject: gnome-cups-manager-0.19 :: core dump and undefined symbol Message-ID: <41028829.7020809@webonaut.com>
next in thread | raw e-mail | index | archive | help
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 <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. --------------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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41028829.7020809>