Op vr 28-02-2003, om 21:53 schreef clayton rollins:I caught this same failure on my machine too, and got quite a bit of debugging info. To my dismay, it was highly reproducible; crashing the program over and over within seconds of launching.
Jeroen wrote: The patch (parq007.diff) which I send a few hours ago should solve the problem.
-Jeroen
I wrote: Thanks Jeroen, that fixes my problem.
Sorry, spoke too soon. This cleared up the immediate problem with the bad token, but the underlying problem still seems to be an issue. More specifically, it fixed the 'downloads' entry, but still fails from a faulty token, (same node causing it).
(My case may be special, though, as there is only a single client out there causing it to happen. Maybe that client has serious errors; I don't know. I've blocked any packets for now with ipfw.)
At a minimum, it seems this failure could/should be made more stateful. (ban the client causing it, try next entry.)
Unfortunately, I deleted the backtraces from the previous go-around, so I can't verify that they are 100% the same. This new one looks to be identical, but I have no way of being sure. I'll append this one to this e-mail, so you can see it.
Let me know if there's anything I can do to help. (Aside from coding; I'm too busy right now, else I would already be doing it instead of writing you.)
Peace, Clayton
(gdb) bt f
#0 0x28589b78 in kill () from /usr/lib/libc.so.4
No symbol table info available.
#1 0x285ca742 in abort () from /usr/lib/libc.so.4
No symbol table info available.
#2 0x282c736e in g_logv () from /usr/local/lib/libglib12.so.3
No symbol table info available.
#3 0x282c7425 in g_log () from /usr/local/lib/libglib12.so.3
No symbol table info available.
#4 0x8102fd3 in parq_download_parse_queue_status (d=0x847d000,
header=0x8477820) at parq.c:275
d = (struct download *) 0x847d000
header = (header_t *) 0x8477820
buf = (gchar *) 0x0
value = (gchar *) 0x0
major = 137931712
minor = 135425742
header_value_length = 135081884
retry = 0
#5 0x80d3137 in download_request (d=0x847d000, header=0x8477820, ok=1)
at downloads.c:4332
d = (struct download *) 0x847d000
s = (struct gnutella_socket *) 0x847e000
status = (gchar *) 0x1f7 <Error reading address 0x1f7: Bad address>
ack_code = 503
ack_message = (
gchar *) 0x838abcd "Too many uploads (2 max) Queued at: 1223"
buf = (gchar *) 0x85b08d0 "close"
st = {st_dev = 3217028896, st_ino = 673981505, st_mode = 26308,
st_nlink = 10285, st_uid = 137823536, st_gid = 3217028896,
st_rdev = 135146773, st_atimespec = {tv_sec = 140095488,
tv_nsec = 135526056}, st_mtimespec = {tv_sec = -1077938384,
tv_nsec = 673981317}, st_ctimespec = {tv_sec = 674063428,
tv_nsec = 137823536}, st_size = 2894726877250327936,
st_blocks = 2895080379363714756, st_blksize = 137823536,
st_flags = 135148379, st_gen = 140183872, st_lspare = 135526056,
st_qspare = {2894767321740474208, 591947580413142084}}
got_content_length = 0
ip = 3578372284
port = 6345
http_major = 1
http_minor = 1
is_followup = 0
fi = (struct dl_file_info *) 0xbfbff6e4
short_read = "[EMAIL PROTECTED](Lf](��\023\b\n\000\000\000�\213\\(����+�Y\b�����\f[(\n\000\000\000��\023\b����v\f[([EMAIL PROTECTED])\\(��d\b\000�Y\b"
delay = 140183760
#6 0x80d1816 in call_download_request (o=0x847d000, header=0x8477820)
at downloads.c:3262
No locals.
---Type <return> to continue, or q <return> to quit---
#7 0x80e3b2f in io_header_parse (ih=0x8416028) at ioheader.c:282
s = (struct gnutella_socket *) 0x847e000
getline = (getline_t *) 0x8481580
header = (header_t *) 0x8477820
parsed = 2
error = 8
#8 0x80e3c67 in io_read_data (data=0x8416028, source=13,
cond=INPUT_EVENT_READ) at ioheader.c:356
data = 0x8416028
cond = 0
s = (struct gnutella_socket *) 0x847e000
count = 0
r = 0
#9 0x8102491 in inputevt_dispatch (source=0x832a4c0, condition=G_IO_IN,
data=0x84819d0) at inputevt.c:88
condition = 46714
data = 0x84819d0
cond = 0
#10 0x282c3594 in g_io_unix_dispatch () from /usr/local/lib/libglib12.so.3
No symbol table info available.
#11 0x282c4c3b in g_main_dispatch () from /usr/local/lib/libglib12.so.3
No symbol table info available.
#12 0x282c5264 in g_main_iterate () from /usr/local/lib/libglib12.so.3
No symbol table info available.
#13 0x282c53fc in g_main_run () from /usr/local/lib/libglib12.so.3
No symbol table info available.
#14 0x281e37e7 in gtk_main () from /usr/X11R6/lib/libgtk12.so.2
No symbol table info available.
#15 0x80b13a2 in main_gui_run () at main_gui.c:565
coord = {0, 280, 1143, 510}
#16 0x80e17a5 in main (argc=1, argv=0xbfbff9e4) at main.c:425
i = 256
#17 0x8061cb1 in _start ()
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Gtk-gnutella-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel
