r13037, GTK1, everything enabled except remote shell
I copied the "config_gnet" and "config_gui" from a backup to the
.gtk-gnutella directory in the new install. When I run gtk-gnutella, I get
the following. It seems to occur about 5-10 seconds after starting the
program:
07-03-10 07:48:51 (MESSAGE): Memory allocated: 4.67 MiB (3960 chunks)
07-03-10 07:48:51 (WARNING): can't read file
"/home/lloyd/.gtk-gnutella/sha1_cache": No such file or directory
07-03-10 07:48:51 (WARNING): [Host Whitelist] unable to retrieve: no
alternate locations known
07-03-10 07:48:51 (WARNING): [PARQ upload queue data] unable to retrieve: no
alternate locations known
07-03-10 07:48:51 (WARNING): searches file does not exist:
/home/lloyd/.gtk-gnutella/searches.xml
07-03-10 07:48:51 (WARNING): [downloads] unable to retrieve: no alternate
locations known
07-03-10 07:49:02 (MESSAGE): Sent D-BUS signal 'PeermodeChange': leaf
Assertion failure (hcache.c:1169) "available"
Here's a backtrace on it:
(gdb) bt full
#0 0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb795a770 in raise () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2 0xb795bef3 in abort () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#3 0x08211aa8 in assertion_failure (data=0x8265778) at fast_assert.c:97
No locals.
#4 0x080afcda in hcache_get_caught (type=HOST_ANY, addr=0xbfadb8a0,
port=0xbfadb89c) at hcache.c:1169
hc = (hostcache_t *) 0xb75820a0
reading = 0
h = (gnet_host_t *) 0xb79fb236
available = 0
alternate = 0
assertion_data_ = {file = 0x8265254 "hcache.c",
expr = 0x82657a4 "addr", line = 1149}
assertion_data_ = {file = 0x8265254 "hcache.c",
expr = 0x8265790 "port", line = 1150}
assertion_data_ = {file = 0x8265254 "hcache.c", expr = 0x0,
line = 1160}
assertion_data_ = {file = 0x8265254 "hcache.c",
expr = 0x826576d "available", line = 1169}
#5 0x080c3d9d in node_slow_timer (now=1173538164) at nodes.c:752
addr = {net = 16, addr = {
ipv6 = "\003\000\000\000\004\000\000\000\003\000\000\000\021\000\000",
ipv4 = 3,
u8 = "\003\000\000\000\004\000\000\000\003\000\000\000\021\000\000",
u16 = {3, 0, 4, 0, 3, 0, 17, 0}, u32 = {3, 4, 3, 17}}}
port = 16384
last_ping = 1173538164
#6 0x080542bd in slow_main_timer (now=1173538164) at main.c:565
i = 1
last_warn = 0
since = {tv_sec = 0, tv_usec = 0}
user = 0
sys = 0
assertion_data_ = {file = 0x82482d8 "main.c", expr = 0x0, line =
554}
#7 0x080547a2 in main_timer (p=0x0) at main.c:729
now = 1173538164
#8 0xb7cab7fe in g_source_add () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#9 0xb7caa681 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#10 0xb7cab0f6 in g_main_add_poll () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#11 0xb7cab485 in g_main_run () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#12 0xb7e93466 in gtk_main () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#13 0x08147e4e in main_gui_run (geometry_spec=0x0) at main.c:752
now = 1173538141
#14 0x0805542c in main (argc=1, argv=0xbfadbb64) at main.c:1277
No locals.
This is 100% repeatable, if I use those config_* files from my backup. If I
delete the ~/.gtk-gnutella directory (so that GtkG will recreate it), I get
the following:
07-03-10 08:00:58 (WARNING): [download mesh] unable to retrieve: no
alternate locations known
07-03-10 08:00:58 (WARNING): [banned mesh] unable to retrieve: no alternate
locations known
07-03-10 08:00:58 (WARNING): [Host Whitelist] unable to retrieve: no
alternate locations known
07-03-10 08:00:58 (WARNING): [PARQ upload queue data] unable to retrieve: no
alternate locations known
07-03-10 08:00:58 (WARNING): bitzi_init: failed to rename
/home/lloyd/.gtk-gnutella/bitzi.xml to
/home/lloyd/.gtk-gnutella/bitzi.xml.orig (No such file or directory)
07-03-10 08:00:58 (WARNING): can't read file
"/home/lloyd/.gtk-gnutella/config_gui": No such file or directory
07-03-10 08:00:58 (WARNING): searches file does not exist:
/home/lloyd/.gtk-gnutella/searches.xml
** ERROR **: file nodes.h: line 615 (node_check): assertion failed: (n)
aborting...
And a backtrace on it:
(gdb) bt full
#0 0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb7906770 in raise () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2 0xb7907ef3 in abort () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#3 0xb7c596d1 in g_logv () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#4 0xb7c59706 in g_log () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#5 0x080c5986 in node_check (n=0x0) at nodes.h:615
__PRETTY_FUNCTION__ = "node_check"
#6 0x080cf8f4 in node_udp_enable_by_net (net=NET_TYPE_IPV4) at nodes.c:5651
s = (struct gnutella_socket *) 0x83f4d10
n = (gnutella_node_t *) 0x0
tx = (txdrv_t *) 0x1
args = {cb = 0xbff6cf18, wio = 0x814952b, bws = 3077075868}
host = {data = {port = "\034f", ha = {net = 183 '�',
addr =
"\025�\000\000\030����&\026\b\000\000\000"}}}
assertion_data_ = {file = 0x826a3d8 "nodes.c", expr = 0x0, line =
5648}
assertion_data_ = {file = 0x826a3d8 "nodes.c",
expr = 0x826c0bb "s != NULL", line = 5652}
#7 0x080cfb38 in node_udp_enable () at nodes.c:5717
No locals.
#8 0x080c5209 in node_post_init () at nodes.c:1277
No locals.
#9 0x08055381 in main (argc=1, argv=0xbff6cff4) at main.c:1246
No locals.
Building GtkG for GTK2 does NOT produce the error in the event that there's
no ~/gtk-gnutella directory, but it DOES produce the hcache.c assert. I
take this to mean that failure #1 (the hcache.c assert) is something global
to GTK1 and 2, while the nodes.c assert reflects some issue with GTK1/Glib1.
Lloyd B.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Gtk-gnutella-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel