gtk-gnutella was compiled with the following CFLAGS options:
-O3 -mcpu=7450 -mtune=7450 -fomit-frame-pointer -faltivec -funroll-loops -fsched-interblock -falign-loops=16 -falign-jumps=16 -falign-functions=16 -falign-jumps-max-skip=15 -falign-loops-max-skip=15 -mpowerpc-gpopt
Now before someone blames the CFLAGS please note that did I compile without any CFLAGS optimizations and I did received the same error and the same crash.
Another interesting fact is gtk-gnutella ver 0.93 compile with the CFLAGS listed above fine and ran as expected.
below is the log output and gdb backtrace:
~/src/gtk-gnutella-0.93.1/src/$ gdb ./gtk-gnutella
GNU gdb 5.3-20030128 (Apple version gdb-309) (Thu Dec 4 15:41:30 GMT 2003)
Copyright 2003 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 "powerpc-apple-darwin".
Reading symbols for shared libraries ................. done
(gdb) r
Starting program: /Users/dave/src/gtk-gnutella-0.93.1/src/gtk-gnutella
Reading symbols for shared libraries +++++++++++......................................................... done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
04/01/02 02:59:38 (WARNING): Detected amount of physical RAM: 458428 KB
04/01/02 02:59:38 (WARNING): [hosts] failed to retrieve from "/Users/dave/.gtk-gnutella/hosts": No such file or directory
04/01/02 02:59:38 (WARNING): [hosts] retrieving from "/Users/dave/.gtk-gnutella/hosts.orig" instead
04/01/02 02:59:38 (WARNING): [hosts] failed to retrieve from "/Users/dave/.gtk-gnutella/ultras": No such file or directory
04/01/02 02:59:38 (WARNING): [hosts] retrieving from "/Users/dave/.gtk-gnutella/ultras.orig" instead
04/01/02 02:59:38 (WARNING): [web cache URLs] failed to retrieve from "/Users/dave/.gtk-gnutella/gwcache": No such file or directory
04/01/02 02:59:38 (WARNING): [web cache URLs] trying to load from alternate locations...
04/01/02 02:59:38 (WARNING): [web cache URLs] retrieving from "/Users/dave/.gtk-gnutella/gwcache.orig" instead
search_init
04/01/02 02:59:38 (WARNING): [whitelist] failed to retrieve from "/Users/dave/.gtk-gnutella/whitelist": No such file or directory
04/01/02 02:59:38 (WARNING): [whitelist] unable to retrieve: no alternate locations known
04/01/02 02:59:38 (WARNING): [hostile IP addresses] failed to retrieve from "/Users/dave/.gtk-gnutella/hostiles.txt": No such file or directory
04/01/02 02:59:38 (WARNING): [hostile IP addresses] trying to load from alternate locations...
04/01/02 02:59:38 (WARNING): [hostile IP addresses] retrieving from "/sw/lib/gtk-gnutella/hostiles.txt" instead
04/01/02 02:59:38 (WARNING): [PARQ upload queue data] failed to retrieve from "/Users/dave/.gtk-gnutella/parq": No such file or directory
04/01/02 02:59:38 (WARNING): [PARQ upload queue data] retrieving from "/Users/dave/.gtk-gnutella/parq.orig" instead
04/01/02 02:59:38 (WARNING): Widget not found: clist_nodes
Program received signal EXC_BAD_ACCESS, Could not access memory.
0x0127e930 in gtk_clist_set_column_visibility ()
(gdb) 04/01/02 02:59:39 (WARNING): cannot resolve "unknown.pingtime.com": Unknown host
(gdb) bt full
#0 0x0127e930 in gtk_clist_set_column_visibility ()
No symbol table info available.
#1 0x000719c8 in update_node_column_visibility (prop=1072, col=5) at settings_gui.c:3435
clist = (GtkCList *) 0x0
value = 1
#2 0x00071d84 in settings_gui_init_prop_map () at settings_gui.c:4962
prop = 1446660
def = (prop_def_t *) 0x218a640
idx = 1446660
init_list = (gint *) 0x3e8
n = 1072
#3 0x0006ccd8 in settings_gui_init () at settings_gui.c:5019
No locals.
#4 0x0006736c in main_gui_init () at main_gui.c:602
rcfn = (gchar *) 0x218a640 "\002\023?p"
rchfn = (gchar *) 0x15fa90 "\002\031?"
userrc = (gchar *) 0x15fa90 "\002\031?"
#5 0x000c6448 in main (argc=25581880, argv=0x0, env=0x218a640) at main.c:535
i = 1440400
(gdb)
regards -dc
------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Gtk-gnutella-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel
