Hey'
On 09 Jul 2003 21:01:50 +0200 Jeroen Asselman wrote:
> problem hopefully solved in CVS now.
Afraid not - well, I don't know if it's the SAME problem... Segfaulted
after ~10min uptime.
Versions: parq.c,v 1.88, uploads.c,v 1.151
Log excerpt (that first PARQ UL line looks bad):
=======================================
03/07/09 15:17:25 (WARNING): QRP query (95 bytes) [hops=2, TTL=1] had
empty hash vector
03/07/09 15:17:28 (WARNING): node 68.164.52.23:55686 (LimeWire/3.2.2
(Pro)) sent us a pong for new IP 12.215.96.113:6346 (used 192.168.1.100
before)
03/07/09 15:17:28 (WARNING): [PARQ UL] Removing () for too many
disconnections "(null)" 584 secs early
03/07/09 15:17:29 (WARNING): node 68.164.52.23:55686 (LimeWire/3.2.2
(Pro)) sent us a pong for new IP 12.220.185.111:6346 (used 12.215.96.113
before)
03/07/09 15:17:29 (WARNING): node 68.164.52.23:55686 (LimeWire/3.2.2
(Pro)) sent us a pong for new IP 4.65.227.84:6346 (used 12.220.185.111
before)
03/07/09 15:17:29 (WARNING): node 68.164.52.23:55686 (LimeWire/3.2.2
(Pro)) sent us a pong for new IP 68.160.41.90:6346 (used 4.65.227.84
before)
03/07/09 15:17:29 (WARNING): node 68.164.52.23:55686 (LimeWire/3.2.2
(Pro)) sent us a pong for new IP 217.39.1.54:6346 (used 68.160.41.90
before)
03/07/09 15:17:29 (WARNING): node 68.164.52.23:55686 (LimeWire/3.2.2
(Pro)) sent us a pong for new IP 192.168.1.100:6348 (used 217.39.1.54
before)
03/07/09 15:17:29 (WARNING): node 24.55.174.91:2556 (LimeWire/3.2.2) sent
us a pong for new IP 68.65.32.44:6346 (used 192.168.1.100 before)
03/07/09 15:17:29 (WARNING): node 24.55.174.91:2556 (LimeWire/3.2.2) sent
us a pong for new IP 24.210.76.101:6346 (used 68.65.32.44 before)
03/07/09 15:17:29 (WARNING): node 24.55.174.91:2556 (LimeWire/3.2.2) sent
us a pong for new IP 24.31.112.201:6346 (used 24.210.76.101 before)
03/07/09 15:17:29 (WARNING): node 24.55.174.91:2556 (LimeWire/3.2.2) sent
us a pong for new IP 68.3.0.184:6346 (used 24.31.112.201 before)
03/07/09 15:17:29 (WARNING): node 24.55.174.91:2556 (LimeWire/3.2.2) sent
us a pong for new IP 68.160.41.90:6346 (used 68.3.0.184 before)
03/07/09 15:17:29 (WARNING): node 24.55.174.91:2556 (LimeWire/3.2.2) sent
us a pong for new IP 192.168.1.100:6346 (used 68.160.41.90 before)
Back trace:
=================
(gdb) bt full
#0 0x081532d2 in parq_upload_lookup_size (u=0x8507b00) at parq.c:2840
parq_ul = (struct parq_ul_queued *) 0x867f5c0
#1 0x0811f2a1 in upload_get_status (uh=2, si=0xbffff678) at
#uploads.c:2623
u = (gnutella_upload_t *) 0x8507b00
now = 1057789049
#2 0x080d4de0 in uploads_gui_update_display (now=1057789049)
at uploads_gui.c:356
data = (upload_row_data_t *) 0x8e5ce50
last_update = 1057789049
clist = (GtkCList *) 0x8374cc8
l = (GList *) 0x8ce7730
row = 6
status = {status = GTA_UL_WAITING, pos = 200802304, bps = 1,
avg_bps = 1, last_update = 1057789048, parq_position = 141319120,
parq_size = 10, parq_lifetime = 516, parq_retry = 426, parq_queue_no =
0}
to_remove = (GSList *) 0x0
sl = (GSList *) 0x400a45c4
all_removed = 0
#3 0x080bd13b in gui_update_global () at gui.c:102
now = 1057789049
start_stamp = 1057788635
#4 0x080d81e7 in main_gui_timer () at main_gui.c:677
No locals.
#5 0x0812010f in main_timer (p=0x0) at main.c:284
now = 1057789049
#6 0x4018e17a in g_timeout_dispatch () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#7 0x4018d258 in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#8 0x4018d863 in g_main_iterate () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#9 0x4018d9fc in g_main_run () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#10 0x400af707 in gtk_main () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#11 0x080d810e in main_gui_run () at main_gui.c:645
coord = {2, 4, 1276, 989}
#12 0x08120620 in main (argc=1, argv=0xbffff924, env=0xbffff92c) at
#main.c:502
i = 256
#13 0x4035a17d in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
(gdb) frame 0
#0 0x081532d2 in parq_upload_lookup_size (u=0x8507b00) at parq.c:2840
2840 return parq_ul->queue->alive;
(gdb) p *u
$1 = {upload_handle = 2, status = GTA_UL_WAITING, socket = 0x8abcf80,
error_sent = 0, io_opaque = 0x8452570, parq_opaque = 0x867f5c0,
file_desc = -1, bio = 0x0, buffer = 0x0, bpos = 0, bsize = 0, buf_size =
0,
index = 3121, name = 0x8470d94 "The Simpsons - Medical Marijuana.mpg",
file_size = 235200420, start_date = 1057789034, last_update =
1057789048,
ip = 404313890, user_agent = 0x8adfa0c "Morpheus 3.0.3.6 (GnucDNA
0.9.2.2)",
skip = 0, end = 0, pos = 200802304, last_dmesh = 1057789034,
sha1 = 0x8468c3c "7�z�\a\220:f-r`]�2\222\206\023�c�",
total_requested = 1048576, http_major = 1, http_minor = 1, keep_alive =
1,
push = 0, queue = 0, accounted = 0, parq_status = 0}
(gdb) p *u->socket
$2 = {file_desc = 25, gdk_tag = 3256, direction = SOCK_CONN_INCOMING,
type = SOCK_TYPE_UPLOAD, corked = 1, adns = 0, adns_msg = 0x0,
ip = 404313890, port = 29316, local_port = 9346, last_update = 0,
resource = {node = 0x8507b00, download = 0x8507b00, upload = 0x8507b00,
handle = 0x8507b00}, getline = 0x0,
buffer = "\r\nGnutella-Alternate-Location:
http://24.86.185.16:3765/uri-res/N2R?urn:sha1:G7AHVUIHSA5GMLLSMBO5AMUSQYJ22Y7B
2003-07-09T12:11Z\r\n\r\n-Gnutella-Alternate-Location:
http://24.86.185.16:3765/uri-res/N2R?ur"..., pos = 0}
(gdb) p *u->socket->resource->node
$3 = {node_handle = 2, peermode = NODE_P_UNKNOWN,
error_str = "\200ϫ\b\0\0\0\0p%E\b��g\b����", '\0' <repeats 20 times>,
"1\f\0\0\224\rG\b��\004\016j\224\f?x\224\f?\"W\031\030\f��\b\0\0\0\0\0\0\
0\0\0\0�\vj\224\f?<\214F\b\0\0\020\0\001\0\0\0\001\0\0\0\001", '\0'
<repeats 20 times>,
"zP\b\006\0\0\0\0\0\0\0\220\001\0\0\0\0\0\0\0\0\0\0����", '\0' <repeats 36
times>, "�\222\f?\b�R�", '\0' <repeats 40 times>, "\001", '\0' <repeats 15
times>, "\200{P\b\006\0\0", socket = 0x0, proto_major = 144 '\220',
proto_minor = 1 '\001',
qrp_major = 0 '\0', qrp_minor = 0 '\0', vendor = 0x0, vcode = "\0\0\0",
io_opaque = 0xffffffff, header = {muid = '\0' <repeats 15 times>,
function = 0 '\0', ttl = 0 '\0', hops = 0 '\0', size = "\0\0\0"},
size = 0, data = 0x0, pos = 0, status = 247 '�', hops_flow = 146 '\222',
flags = 3485328435, attrs = 0, sent = 0, received = 0, tx_dropped = 0,
rx_dropped = 0, n_bad = 0, n_dups = 0, n_hard_ttl = 0, n_weird = 0,
allocated = 0, have_header = 0, last_update = 1, connect_date = 0,
tx_flowc_date = 0, rxfc = 0x0, shutdown_date = 139492352, up_date = 6,
shutdown_delay = 0, remove_msg = 0x190 <Address 0x190 out of bounds>,
ip = 0, port = 0, outq = 0xffffffff, searchq = 0x0, rx = 0x0,
routing_data = 0x0, query_table = 0x0, qrt_update = 0x0, qrt_receive =
0x0,
alive_pings = 0x0, last_alive_ping = 0, alive_period = 0, id =
1057788663,
ping_throttle = 415459615, ping_accept = 0, next_ping = 0,
ping_guid = '\0' <repeats 15 times>, pong_needed = "\0\0\0\0\0\0",
pong_missing = 0 '\0', gnet_ip = 0, gnet_port = 0, gnet_files_count = 1,
gnet_kbytes_count = 0, gnet_pong_ip = 0, gnet_qhit_ip = 0,
gnet_guid = 0x8507d80 "\200|P\b\006", n_ping_throttle = 2,
n_ping_accepted = 0, n_ping_special = 0, n_ping_sent = 0,
n_pong_received = 0, n_pong_sent = 4294967295, tx_given = 0,
tx_deflated = 0, tx_written = 0, rx_given = 0, rx_inflated = 0,
rx_read = 3121}
(gdb) p *u->socket->resource->download
$4 = {src_handle = 2,
error_str = "\005\0\0\0\200ϫ\b\0\0\0\0p%E\b��g\b����", '\0' <repeats 20
times>,
"1\f\0\0\224\rG\b��\004\016j\224\f?x\224\f?\"W\031\030\f��\b\0\0\0\0\0\0\
0\0\0\0�\vj\224\f?<\214F\b\0\0\020\0\001\0\0\0\001\0\0\0\001", '\0'
<repeats 20 times>,
"zP\b\006\0\0\0\0\0\0\0\220\001\0\0\0\0\0\0\0\0\0\0����", '\0' <repeats 36
times>, "�\222\f?\b�R�", '\0' <repeats 40 times>, "\001", '\0' <repeats 15
times>, "\200{P\b", status = GTA_DL_HEADERS, io_opaque = 0x0, bio = 0x190,
server = 0x0, list_idx = DL_LIST_RUNNING, file_info = 0xffffffff,
record_index = 0, file_name = 0x0, file_size = 0, size = 0, skip = 0,
pos = 0, range_end = 0, socket = 0x0, file_desc = 0,
overlap_size = 1057788663, start_date = -809638861, last_update = 0,
last_gui_update = 0, record_stamp = 0, retries = 0, timeout_delay = 0,
remove_msg = 0x0, sha1 = 0x0, last_dmesh = 0, ranges = 0x0, ranges_size
= 0,
sinkleft = 1, flags = 0, keep_alive = 0, visible = 0, push = 139492352,
always_push = 6, queue_status = 0x0}
(gdb) p *u->socket->resource->upload
$5 = {upload_handle = 2, status = GTA_UL_WAITING, socket = 0x8abcf80,
error_sent = 0, io_opaque = 0x8452570, parq_opaque = 0x867f5c0,
file_desc = -1, bio = 0x0, buffer = 0x0, bpos = 0, bsize = 0, buf_size =
0,
index = 3121, name = 0x8470d94 "The Simpsons - Medical Marijuana.mpg",
file_size = 235200420, start_date = 1057789034, last_update =
1057789048,
ip = 404313890, user_agent = 0x8adfa0c "Morpheus 3.0.3.6 (GnucDNA
0.9.2.2)",
skip = 0, end = 0, pos = 200802304, last_dmesh = 1057789034,
sha1 = 0x8468c3c "7�z�\a\220:f-r`]�2\222\206\023�c�",
total_requested = 1048576, http_major = 1, http_minor = 1, keep_alive =
1,
push = 0, queue = 0, accounted = 0, parq_status = 0}
(gdb) p *parq_ul
$7 = {magic = 141321840, flags = 10, position = 1,
relative_position = 141319120, active_queued = 5, has_slot = 1,
had_slot = 145092312, eta = 9, expire = 1, retry = 141319136, enter = 7,
updated = 1, ban_timeout = 141318760, disc_timeout = 4, last_queue_sent
= 1,
queue_sent = 141319008, queue_refused = 4, is_alive = 1,
id = 0x86c5b58 "`[l\b", ip_and_name = 0x2 <Address 0x2 out of bounds>,
name = 0x1 <Address 0x1 out of bounds>, remote_ip = 143982528,
file_size = 2, chunk_size = 1, ip = 143982512, port = 3, major = 1,
minor = 141319080, queue = 0x4, by_ip = 0x1}
(gdb) frame 1
#1 0x0811f2a1 in upload_get_status (uh=2, si=0xbffff678) at
#uploads.c:2623
2623 si->parq_size = parq_upload_lookup_size(u);
(gdb) p *si
$8 = {status = GTA_UL_WAITING, pos = 200802304, bps = 1, avg_bps = 1,
last_update = 1057789048, parq_position = 141319120, parq_size = 10,
parq_lifetime = 516, parq_retry = 426, parq_queue_no = 0}
(gdb) frame 2
#2 0x080d4de0 in uploads_gui_update_display (now=1057789049)
at uploads_gui.c:356
356 upload_get_status(data->handle, &status);
(gdb) p *data
$11 = {handle = 2, valid = 1, start_date = 1057789034,
last_update = 1057789049, range_start = 0, range_end = 0,
status = GTA_UL_WAITING}
--
Murphy (eqom14)
-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel