Hey'

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

Compiled from the official 0.92 source on Slackware-8.1 (x86).

CFLAGS="-g3 -O0" ./configure --prefix=/usr

~/src/test> ./run 
./run: line 11: 16382 Aborted                 (core dumped) gtk-gnutella
>gtk-gnutella.log 2>&1

Crashed after about 1d 8h up.  I was on a different virtual desktop at the
time but I noticed a SHA1 check in the log below.  I don't know if it's
relevent but I've never noticed this warning before: "[PARQ DL] Watch it!
Download already running" also in the log excert below.  As always, core
and executable are preserved and I await instructions.  

Log
==================

Verifying SHA1 digest for /home/evo/.gtk-gnutella/incomplete//The Goats -
Tricks Of The Shade - Uncle Scam's Shooting Gallery.mp3
----Sent Request (initial) to 216.19.22.118:6346:
GET /uri-res/N2R?urn:sha1:6ATWIID6RRIVY7JBF3BB77VJCNM77NMX HTTP/1.1
Host: 216.19.22.118:6346
User-Agent: gtk-gnutella/0.92 (15/06/2003; X11; Linux 2.4.21 i586)
X-Token: PvQRdYqz6gxuFAxjzJcXdWeAJT3hgNlwfS6I; vf1pKg==
X-Queue: 1.0
X-Queued: position=6; ID=4e9e905cb467a1c536ac12c840ab1aea
X-Node: 207.6.242.254:9346

----
----Got reply from 216.19.22.118:
HTTP/1.1 503 Queued (slot 4, ETA: 14h 2m)
Server: gtk-gnutella/0.92 (15/06/2003; X11; FreeBSD 4.8-STABLE i386)
X-Token: PvQzhA6myFuMVzaxTbMVDKtDiaKErzSCCnUY; H22NvQ==
X-Live-Since: Wed, 18 Jun 2003 13:36:37 -1100
Content-Length: 0
X-Queue: 1.0
X-Queued: position=4; ID=4e9e905cb467a1c536ac12c840ab1aea; length=1884;
ETA=50562; lifetime=285
Retry-After: 195
X-Gnutella-Content-Urn: urn:sha1:6ATWIID6RRIVY7JBF3BB77VJCNM77NMX
----
03/06/20 23:30:01 (WARNING): vendor string "gtk-gnutella/0.92 (15/06/2003;
X11; FreeBSD 4.8-STABLE i386)" has wrong token
"PvQzhA6myFuMVzaxTbMVDKtDiaKErzSCCnUY; H22NvQ==": Bad timestamp 
CLOCK skew=5768, precision=60, epsilon=-8719
Queue version: 1.0, position 4 out of 1884, retry in 195s within [195,
285]
dmesh entry created, name 0x8bc537c:
urn:sha1:6ATWIID6RRIVY7JBF3BB77VJCNM77NMX
--- Got QUEUE from 64.81.58.36:
QUEUE c58290dcc912546e49e67ae4d9cb94f7 64.81.58.36:6346
---
03/06/20 23:30:02 (WARNING): [PARQ DL] Watch it! Download already running.
BAD <MorpheusOS 1.9.1.0> query (53 bytes) [hops=1, TTL=6]: dup message ID
a2857561324d2743800fc04c25e9a6a6 from same node
--- Got QUEUE from 216.19.22.118:
QUEUE 9bbe905c817504b81e5a3ae105d578b3 216.19.22.118:6346
---

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

Backtrace
===================

(gdb) bt full
#0  0x4036b2f1 in kill () from /lib/libc.so.6
No symbol table info available.
#1  0x4036afbc in raise () from /lib/libc.so.6
No symbol table info available.
#2  0x4036c7cb in abort () from /lib/libc.so.6
No symbol table info available.
#3  0x4018f9de in g_logv () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#4  0x4018fa91 in g_log () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#5  0x0810e98f in download_verify_progress (d=0x8b834a8, hashed=1134592)
    at downloads.c:6381
No locals.
#6  0x0814b0cc in d_step_compute (h=0x83e3798, u=0x845f298, ticks=64)
    at verify.c:242
        vd = (struct verifyd *) 0x845f298
        r = 65536
        amount = 65536
        res = 0
        remain = 65536
        used = 16
#7  0x0814a78f in bg_sched_timer () at bg.c:987
        bt = (struct bgtask *) 0x83e3798
        remain = 150000
        target = 150000
        ticks = 64
        ret = BGR_MORE
#8  0x0811f7a2 in main_timer (p=0x0) at main.c:280
        now = 1056177003
#9  0x4018e17a in g_timeout_dispatch () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#10 0x4018d258 in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#11 0x4018d863 in g_main_iterate () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#12 0x4018d9fc in g_main_run () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#13 0x400af707 in gtk_main () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#14 0x080d7cf2 in main_gui_run () at main_gui.c:650
        coord = {0, 0, 1276, 989}
#15 0x0811fc3b in main (argc=1, argv=0xbffff924, env=0xbffff92c) at
#main.c:463
        i = 256
#16 0x4035a17d in __libc_start_main () from /lib/libc.so.6
No symbol table info available.

(gdb) frame 5
#5  0x0810e98f in download_verify_progress (d=0x8b834a8, hashed=1134592)
    at downloads.c:6381
6381            g_assert(d->status == GTA_DL_VERIFYING);
(gdb) p *d
$1 = {src_handle = 24, 
  error_str = "Nothing more to get\0 ETA: 14h 1m", '\0' <repeats 223
times>, 
  status = GTA_DL_VERIFY_WAIT, io_opaque = 0x0, bio = 0x0, server =
0x871aef0, 
  list_idx = DL_LIST_STOPPED, file_info = 0x90ef438, 
  record_index = 4294967295, 
  file_name = 0x8cc6274 "CUP5W3LANVJAO5TVNRTO4X3DR43DYVIP", 
  file_size = 2675861, size = 2675861, skip = 0, pos = 2675861, 
  range_end = 2675861, socket = 0x0, file_desc = -1, overlap_size = 0, 
  start_date = 1056175517, last_update = 1056177002, 
  last_gui_update = 1056177002, record_stamp = 1056111264, retries = 0, 
  timeout_delay = 195, remove_msg = 0x8b834ac "Nothing more to get", 
  sha1 = 0x8a95674 "\025\037�m`mR\avulf�_c\2176<U\017 ", 
  last_dmesh = 1056175517, ranges = 0x0, ranges_size = 0, sinkleft = 0, 
  flags = 9, keep_alive = 0, visible = 1, push = 0, always_push = 0, 
  queue_status = 0x845e0a8}

(gdb) frame 6
#6  0x0814b0cc in d_step_compute (h=0x83e3798, u=0x845f298, ticks=64)
    at verify.c:242
242             download_verify_progress(vd->d, vd->hashed);
(gdb) p *vd
$2 = {magic = 930296, d = 0x8b834a8, fd = 44, start = 1056177001, 
  size = 2675861, hashed = 1134592, context = {Intermediate_Hash =
{584277534, 
      2802144682, 3915905910, 2868019022, 1591656066}, Length_Low =
9076736, 
    Length_High = 0, Message_Block_Index = 0, 
    Message_Block =
"&R�\220N\026dI`_J�!\206S*�8�\210P\234�\036�+*'\217\e�h\nT\212�w�\216X�j
X�\216�\r�\\\r����\r���\026\205,F\206", Computed = 0, 
    Corrupted = 0}, 
  buffer = 0x8460290
"}L�u��XP�k�a,v��us�\2217k�\204\003�E\n\004�\2362�.�V(Z��9\e��\222`�\200\
003�)�k\fz�I#[9\025)I\215��a��\213a\037\213m�\023\030�m��\027S��xT\031�Y�
\225�\006\204�\225\210CC\216'\a�\224\020)D�\0020�=\210uF�\031t�\001�\223
\027�z���ml�Z\2226��\210\233����?5�q�-\217\214k�`x�\233\035�Sc\224,U�\201
�B�\221>[EMAIL PROTECTED]@-�MIV��`��\211"..., error = 0}

(gdb) frame 7
#7  0x0814a78f in bg_sched_timer () at bg.c:987
987                     ret = (*bt->stepvec[bt->step])(bt, bt->ucontext, ticks);
(gdb) p *bt
$3 = {magic = -1160998115, flags = 2147483652, 
  name = 0x818c6e7 "SHA1 verification", step = 0, seqno = 18, 
  stepvec = 0x83e4530, stepcnt = 1, ucontext = 0x845f298, ctime = 0, 
  wtime = 70284, uctx_free = 0x814aa20 <d_free>, done_cb = 0, done_arg =
0x0, 
  exitcode = 0, signal = BG_SIG_ZERO, signals = 0x0, env = {{__jmpbuf = {
        1075441836, 141746376, 141812288, -1073744132, -1073744204, 
        135570881}, __mask_was_saved = 0, __saved_mask = {__val = {
          0 <repeats 32 times>}}}}, start = {tv_sec = 1056177003, 
    tv_usec = 64677}, ticks = 64, ticks_used = 16, prev_ticks = 16, 
  elapsed = 80439, tick_cost = 2049.87027343715, sigh = {0, 0, 0, 0}, 
  wq = 0x891cc90, start_cb = 0x814aad4 <d_start>, end_cb = 0x814ac9c
<d_end>, 
  item_free = 0, notify = 0x814aaa4 <d_notify>}

--
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