Hey'

> On Sat, 21 Jun 2003 00:34:57 -0700 Murphy wrote:
> 
> > I guess this is also bug [ 756690 ] assertion failed: (d->status ==
> > GTA_DL_VERIFYING)
> > 
> > The assertion is:
> > downloads.c: line 6381 (download_verify_progress): assertion failed:
> > (d->status == GTA_DL_VERIFYING)
> > but it seems that:  d->status = GTA_DL_VERIFY_WAIT

I've been trying to download from various servents and It seems that this
bug is only triggered when downloading from gtk-gnutella/0.92 and 0.92c. 
Downloads appear normally in the Download queue and in the Active
downloads when connecting, actively queued, and while sha1 checking - but
not while actively downloading.  They are visible in the Fileinfo pane
while actively downloading.  There's a good chance 50% or more? that gtkg
will crash at the beginning of sha1 checking.  

This bug does not seem to occur when downloading from any other servent or
from gtk-gnutella/092b2 as far as I can tell.  I wonder if downloads from
0.92 and 0.92c are visible in the Active downloads window in the gtk2
version? 

I have a stack from a crash while downloading from an 0.92c gtkg:

log
==========
Verifying SHA1 digest for /home/evo/.gtk-gnutella/incomplete//The Simpsons
- Medical Marijuana.mpg

[Removed about 450 lines here (core dbg=3) - must have got a ways into the
sha1 check before crashing.  There were two PARQ queue listings so at
least one minute must have passed (iirc that they are listed each
minute.)]

PARQ UL: Queue 1/20 contains 0 items, 0 uploading, 0 alive, queue is
marked active 
PARQ UL: Queue 2/20 contains 0 items, 0 uploading, 0 alive, queue is
marked active 
PARQ UL: Queue 3/20 contains 125 items, 6 uploading, 10 alive, queue is
marked active 
PARQ UL: Queue 4/20 contains 79 items, 2 uploading, 2 alive, queue is
marked active 
PARQ UL: Queue 5/20 contains 186 items, 1 uploading, 1 alive, queue is
marked active 
PARQ UL: Queue 6/20 contains 69 items, 0 uploading, 0 alive, queue is
marked active 
PARQ UL: Queue 7/20 contains 3176 items, 3 uploading, 3 alive, queue is
marked active 
PARQ UL: Queue 8/20 contains 3999 items, 1 uploading, 1 alive, queue is
marked active 
PARQ UL: Queue 9/20 contains 191 items, 0 uploading, 0 alive, queue is
marked active 
PARQ UL: Queue 10/20 contains 26 items, 0 uploading, 0 alive, queue is
marked active 
PARQ UL: Queue 11/20 contains 2 items, 0 uploading, 0 alive, queue is
marked active 
PARQ UL: Queue 12/20 contains 5 items, 0 uploading, 0 alive, queue is
marked active 
PARQ UL: Queue 13/20 contains 2 items, 0 uploading, 0 alive, queue is
marked active 
PARQ UL: Queue 14/20 contains 10 items, 0 uploading, 0 alive, queue is
marked active 
PARQ UL: Queue 15/20 contains 6 items, 0 uploading, 0 alive, queue is
marked active 
PARQ UL: Queue 16/20 contains 2 items, 0 uploading, 0 alive, queue is
marked active 
PARQ UL: Queue 17/20 contains 0 items, 0 uploading, 0 alive, queue is
marked active 
PARQ UL: Queue 18/20 contains 0 items, 0 uploading, 0 alive, queue is
marked active 
PARQ UL: Queue 19/20 contains 1 items, 0 uploading, 0 alive, queue is
marked active 
PARQ UL: Queue 20/20 contains 0 items, 0 uploading, 0 alive, queue is
marked active 
--- Got QUEUE from 131.188.128.107:
QUEUE 70ba90dc166ab075829f36e1512cc45a 131.188.128.107:6346
---

** ERROR **: file downloads.c: line 6381 (download_verify_progress):
assertion failed: (d->status == GTA_DL_VERIFYING)
aborting...

btw - the QUEUE above was from the gtk-gnutella/0.92c servent I was
downloading from.

Backtrace:
==============
(gdb) bt
#0  0x4036b2f1 in kill () from /lib/libc.so.6
#1  0x4036afbc in raise () from /lib/libc.so.6
#2  0x4036c7cb in abort () from /lib/libc.so.6
#3  0x4018f9de in g_logv () from /usr/lib/libglib-1.2.so.0
#4  0x4018fa91 in g_log () from /usr/lib/libglib-1.2.so.0
#5  0x0810e98f in download_verify_progress (d=0x8720d78, hashed=56053760)
#at downloads.c:6381 6  0x0814b0cc in d_step_compute (h=0x83e3798,
#u=0x83f4e48, ticks=64) at verify.c:242 7  0x0814a78f in bg_sched_timer ()
#at bg.c:987 8  0x0811f7a2 in main_timer (p=0x0) at main.c:280
#9  0x4018e17a in g_timeout_dispatch () from /usr/lib/libglib-1.2.so.0
#10 0x4018d258 in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
#11 0x4018d863 in g_main_iterate () from /usr/lib/libglib-1.2.so.0
#12 0x4018d9fc in g_main_run () from /usr/lib/libglib-1.2.so.0
#13 0x400af707 in gtk_main () from /usr/lib/libgtk-1.2.so.0
#14 0x080d7cf2 in main_gui_run () at main_gui.c:650
#15 0x0811fc3b in main (argc=1, argv=0xbffff924, env=0xbffff92c) at
#main.c:463 16 0x4035a17d in __libc_start_main () from /lib/libc.so.6

(gdb) frame 5
#5  0x0810e98f in download_verify_progress (d=0x8720d78, hashed=56053760)
#at downloads.c:6381
6381            g_assert(d->status == GTA_DL_VERIFYING);
(gdb) p *d
$1 = {src_handle = 1, error_str = "Nothing more to get\0TA: 1360d 23h",
'\0' <repeats 222 times>, 
  status = GTA_DL_VERIFY_WAIT, io_opaque = 0x0, bio = 0x0, server =
0x8714248, list_idx = DL_LIST_STOPPED, 
  file_info = 0x8f0b300, record_index = 8, file_name = 0x8cffa4c "The
Simpsons - Medical Marijuana.mpg", 
  file_size = 235200420, size = 235200420, skip = 235200420, pos =
235200420, range_end = 235200420, socket = 0x0, 
  file_desc = -1, overlap_size = 0, start_date = 1056437930, last_update =
1056439550, last_gui_update = 1056439550, 
  record_stamp = 1056430675, retries = 0, timeout_delay = 60, remove_msg =
0x8720d7c "Nothing more to get", 
  sha1 = 0x8c9ab0c "7�z�\a\220:f-r`]�2\222\206\023�c� ", last_dmesh =
1056437930, ranges = 0x0, ranges_size = 0, 
  sinkleft = 0, flags = 8, keep_alive = 0, visible = 1, push = 0,
always_push = 1, queue_status = 0x84b06b0}

(gdb) frame 6
#6  0x0814b0cc in d_step_compute (h=0x83e3798, u=0x83f4e48, ticks=64) at
#verify.c:242
242             download_verify_progress(vd->d, vd->hashed);
(gdb) p *vd
$2 = {magic = 930296, d = 0x8720d78, fd = 125, start = 1056439459, size =
235200420, hashed = 56053760, context = {
    Intermediate_Hash = {3599402102, 6376046, 3733499333, 5438978,
756403009}, Length_Low = 448430080, Length_High = 0, 
    Message_Block_Index = 0, 
    Message_Block =
"�\001YK<\017\035H\032\204�GIK�\021l�`\f7r\203V\224`\v\t�v��vfAY=\"\006q\
020a0\0�\006\030��A�$\223y5\200,!\22317\006\223\003", Computed = 0,
Corrupted = 0}, 
  buffer = 0x83f5e40 "S�D2\005U�gJ��\236\006
�m\220�\001\tt\227\202JX�\003�\207���\030\aJ\016\213_)N�k���\214c���\017\
b\026�\0226n�\235Z\224�T�m�3L+x�#\213\032H]�!#�#�+�\227K6\227&z\204��K�U\
001A�\214\022+8([EMAIL PROTECTED]
20�����\223�^[\0266+j�\205U�k��B\v\214\226�\214�\215\203��=6\213��\022�+S
\214Ұ�\226\222A\215�b\210�\2224\216\234��Y��ZR�"..., error = 0}

--
Murphy


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to