Menu

#203 Crash when resume after reconnecting in dial-up

closed-fixed
nobody
Usability (114)
5
2003-07-14
2003-05-17
No

I have a dial-up connection to Internet, which
occasionaly fails to keep connected. After a disconnect
and an immediate reconnect, i force resume to the last
active downloads before the hangup. In this moment the
program crashes. I have version 0.92b2 beta, on linux
2.4.18-14.

Discussion

  • Christian Biere

    Christian Biere - 2003-05-18

    Logged In: YES
    user_id=643728

    I can reproduce this by selecting as much downloads as
    possible and
    clicking on "Resume selected" when it becomes sensitive.

    ** ERROR **: file /cvs/gtk-gnutella-current/src/downloads.c:
    line 2186 (download_start): assertion failed:
    (d->file_info->lifecount <= d->file_info->refcount)

    (gdb) bt
    #0 0x48515bf6 in g_logv () from /usr/pkg/lib/libglib-2.0.so.200
    #1 0x48515df3 in g_log () from /usr/pkg/lib/libglib-2.0.so.200
    #2 0x0810102b in download_start (d=0x8696c80, check_allowed=1)
    at /cvs/gtk-gnutella-current/src/downloads.c:2186
    #3 0x08102ebf in download_resume (d=0x8696c80)
    at /cvs/gtk-gnutella-current/src/downloads.c:3148
    #4 0x080cfa9a in on_button_downloads_resume_clicked
    (button=0x83aa6d8,
    user_data=0x0) at
    /cvs/gtk-gnutella-current/src/downloads_cb.c:719

    (gdb) f 4
    #4 0x080cfa9a in on_button_downloads_resume_clicked
    (button=0x83aa6d8,
    user_data=0x0) at
    /cvs/gtk-gnutella-current/src/downloads_cb.c:719
    719 download_resume(d);
    (gdb) p *d
    $1 = {src_handle = 918,
    error_str = "Resuming data mismatch @ 1074948", '\0'
    <repeats 223 times>,
    status = 9, io_opaque = 0x0, bio = 0x0, server = 0x86933c0,
    list_idx = DL_LIST_STOPPED, file_info = 0x851f8e8,
    record_index = 4294967295,
    file_name = 0x8443a44
    "urn:sha1:-----------------------------",
    file_size = 7632763, size = 331, skip = 1075460, pos =
    1075460,
    range_end = 7632763, socket = 0x0, file_desc = -1,
    overlap_size = 512,
    start_date = 1053219825, last_update = 1053219830,
    last_gui_update = 1053219830, record_stamp = 1, retries = 0,
    timeout_delay = 0,
    remove_msg = 0x8696c84 "Resuming data mismatch @ 1074948",
    sha1 = 0x8469484 "-----------------------------",
    last_dmesh = 1053219749, ranges = 0x0, ranges_size = 0,
    sinkleft = 0,
    flags = 8, keep_alive = 1, visible = 1, push = 0,
    always_push = 0,
    queue_status = 0x0}

     
  • thomas kaeding

    thomas kaeding - 2003-06-01

    Logged In: YES
    user_id=779670

    For me, it crashes for any "resume" if there is a countdown
    to a retry.

     
  • Raphael Manfredi

    Logged In: YES
    user_id=13887

    Is this still happening with 0.92?

     
  • Anonymous

    Anonymous - 2003-06-21

    Logged In: YES
    user_id=780582

    yes, it still happens in version 0.92 stable

     
  • Christian Biere

    Christian Biere - 2003-06-25

    Logged In: YES
    user_id=643728

    I assume this is fixed in CVS with downloads.c,v 1.261
    2003/06/25.
    Anonymous CVS is out-of-sync, though.

     
  • Christian Biere

    Christian Biere - 2003-07-14
    • status: open --> closed-fixed
     
  • Christian Biere

    Christian Biere - 2003-07-14

    Logged In: YES
    user_id=643728

    This is fixed in current CVS.

     

Log in to post a comment.