(gdb) p *parq_ul
$1 = {magic = 1782120609, flags = 0, position = 1, relative_position = 1,
has_slot = 0, had_slot = 0, eta = 0, expire = 1055509451,
retry = 1055509361, enter = 1055509301, updated = 1055509301,
ban_timeout = 0, disc_timeout = 0, last_queue_sent = 0, queue_sent = 0,
queue_refused = 0, is_alive = 1,
id = 0x1207cea20 "3e0990dcf1e3c57a073d4a5a54bb5808",
ip_and_name = 0x1207ce990 "2425053692 bush - comedown.mp3",
name = 0x1207ce99b "bush - comedown.mp3", remote_ip = 2425053692,
file_size = 3449808, ip = 0, port = 0, major = 0, minor = 1,
queue = 0x120c24e98, by_ip = 0x120b9a228}From: Jeroen Asselman <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: [Gtk-gnutella-users] Assert failure in parq.c
Date: 13 Jun 2003 18:33:02 +0200
MIME-Version: 1.0
Received: from mc1-f32.law16.hotmail.com ([65.54.236.39]) by mc1-s19.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, 13 Jun 2003 09:39:25 -0700
Received: from sc8-sf-list2.sourceforge.net ([66.35.250.206]) by mc1-f32.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, 13 Jun 2003 09:38:26 -0700
Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.13] helo=sc8-sf-list1.sourceforge.net)by sc8-sf-list2.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian))id 19QrVQ-0002ar-00; Fri, 13 Jun 2003 09:34:24 -0700
Received: from qn-213-73-160-188.quicknet.nl ([213.73.160.188] helo=linuxserver.nonamer.dyndns.org)by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian))id 19QrU8-0004u2-00for <[EMAIL PROTECTED]>; Fri, 13 Jun 2003 09:33:05 -0700
Received: (qmail 18240 invoked from network); 13 Jun 2003 16:33:02 -0000
Received: from unknown (HELO ?192.168.1.2?) (192.168.1.2) by 192.168.1.1 with SMTP; 13 Jun 2003 16:33:02 -0000
X-Message-Info: NDMZeIBu+srnd5k75gT6NIaxeLkdOAmt
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Organization: Message-Id: <[EMAIL PROTECTED]>
X-Mailer: Ximian Evolution 1.2.4- Sender: [EMAIL PROTECTED]
Errors-To: [EMAIL PROTECTED]
X-BeenThere: [EMAIL PROTECTED]
X-Mailman-Version: 2.0.9-sf.net
Precedence: bulk
List-Help: <mailto:[EMAIL PROTECTED]>
List-Post: <mailto:[EMAIL PROTECTED]>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-users>,<mailto:[EMAIL PROTECTED]>
List-Id: General Mailing list about Gtk-Gnutella <gtk-gnutella-users.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-users>,<mailto:[EMAIL PROTECTED]>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum=gtk-gnutella-users>
X-Original-Date: 13 Jun 2003 18:33:02 +0200
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 13 Jun 2003 16:38:26.0242 (UTC) FILETIME=[36679A20:01C331CA]
OK,
I am going to need more info. Can you select frame number 5 (just enter: frame 5) and print the contents of parq? (that is: print *parq_ul)
And yes, most bug reports are reported on the devel list You could also post it on sourceforge, I try to keep my fixes updated on sourceforge, so you should be able to track wether your problem is solved or needs more info there.
- Jeroen
Op vr 13-06-2003, om 14:33 schreef int 80:
> Here is the information asked for the for assert error. Should I email the
> dev group and / or post it in a bug report on sourceforge ? Let me know if
> you need more information.
> int
>
> / ********************************************** /
>
> Arch:
> Debian Linux 2.2.22
> Compaq Alpha
>
> / ********************************************** /
>
> The last line of gtkg/src/CVS/Entries :
> D
>
> / ********************************************** /
> I compiled it with the following options:
> CC=gcc-3.0 CFLAGS="-O0 -ggdb3 -mieee" ./configure
>
> / ********************************************** /
>
> Here is a tail from the log file:
> 03/06/13 07:50:14 (WARNING): file_info_retrieve_binary(): could not find
> trailer in /home/shane/gnutella/incomp/.listing
> 03/06/13 07:50:22 (WARNING): stopping "GET
> http://douglas.min.net/gwebcache/gcache.php?hostfile=1&client=GTKG&version=0.92u":
> HTTP 4
> 04 Not Found
> 03/06/13 07:50:22 (WARNING): stopping "GET
> http://douglas.min.net/gwebcache/gcache.php?urlfile=1&client=GTKG&version=0.92u":
> HTTP 40
> 4 Not Found
> 03/06/13 07:51:01 (WARNING): dropping query hit from hostile IP 66.28.45.138
> 03/06/13 07:51:01 (WARNING): dropping query hit from hostile IP
> 194.228.211.204
> 03/06/13 07:51:26 (WARNING): file
> 'urn:sha1:5WMP77MHRYY5SNEIVEYF6NWVLHZAY4P4' on 81.66.127.115:6346 (Shareaza
> 1.8.9.0): end byte sho
> rt: wanted 126204011, got 25927196 (continuing anyway)
>
> ** ERROR **: file parq.c: line 2180 (parq_upload_request): assertion failed:
> (parq_ul->eta - now > 0)
> aborting...
> search_init
>
> / ********************************************** /
>
> GDB backtrace:
> #0 0x20000720388 in kill () from /lib/libc.so.6.1
> No symbol table info available.
> #1 0x20000720178 in raise () from /lib/libc.so.6.1
> No symbol table info available.
> #2 0x20000722038 in abort () from /lib/libc.so.6.1
> No symbol table info available.
> #3 0x20000347ec0 in g_logv () from /usr/lib/libglib-1.2.so.0
> No symbol table info available.
> #4 0x20000347ff0 in g_log () from /usr/lib/libglib-1.2.so.0
> No symbol table info available.
> #5 0x120184214 in parq_upload_request (u=0x12058a120, handle=0x120537478,
> used_slots=0) at parq.c:2180
> parq_ul = (struct parq_ul_queued *) 0x120537478
> now = 1055509301
> org_retry = 1055509361
> #6 0x120133620 in upload_request (u=0x12058a120, header=0x120bfbbb0)
> at uploads.c:2091
> s = (struct gnutella_socket *) 0x120ac3590
> reqfile = (struct shared_file *) 0x1204bb990
> idx = 9
> skip = 0
> end = 86244
> upcount = 0
> fpath = (
> gchar *) 0x120582104 "/home/shane/gnutella/comp/bush - comedown.mp3"
> user_agent = (gchar *) 0x12099f570 "BearShare 4.2.5"
> buf = (gchar *) 0x12061e3c0 "bytes=0-86244"
> request = (
> gchar *) 0x12061ab20 "GET
> /uri-res/N2R?urn:sha1:KO2DZS3YCCXGZYFZKJBLE5L6RXOBKS6E HTTP/1.1"
> l = (struct _GSList *) 0x0
> head_only = 0
> has_end = 1
> statbuf = {st_dev = 4294967296, st_ino = 0, __pad1 = 0,
> st_mode = 3433780, st_nlink = 512, st_uid = 0, st_gid = 0,
> st_rdev = 2199031071680, st_size = 2199031993704, st_atime =
> 2199026689988,
> st_mtime = 2199026842368, st_ctime = 2199026670924, st_blocks = 545722256,
> __pad2 = 1, st_blksize = 3409012, st_flags = 512, st_gen = 3586816,
> __pad3 = 512, __unused = {2199026679056, 4836909896, 4844403856,
> 4844003928}}
> mtime = 2199026679088
> now = 1055509301
> cb_arg = {u = 0x20000342694, now = 4844403856, mtime = 4833127948,
> sf = 0x120a50bd0}
> cb_parq_arg = {u = 0x11ffff860, now = 0, mtime = 4844003904,
> sf = 0x120ac3626}
> http_code = -1
> http_msg = (const gchar *) 0x11ffff8b0 "@N\214 \001"
> hev = {{he_type = 98, u = {
> u_msg = 0x400000000056 <Address 0x400000000056 out of bounds>, u_cbk =
> {
> u_cb = 0x400000000056, u_arg = 0x1fffffe57}}}, {he_type = 536868960,
> u = {u_msg = 0x120b9a240 "", u_cbk = {u_cb = 0x120b9a240,
> u_arg = 0x100000056}}}, {he_type = 538431992, u = {
> u_msg = 0x120ac3590 ">", u_cbk = {u_cb = 0x120ac3590,
> u_arg = 0x12013bd7c}}}}
> hevcnt = 0
> sha1 = (guchar *) 0x1204bb9b8 "S�<�x\020�l�RB�u~\215�\025K�"
> is_followup = 0
> was_actively_queued = 0
> faked = 0
> token = (gchar *) 0x0
> parq_handle = (void *) 0x120537478
> #7 0x120130770 in call_upload_request (obj=0x12058a120, header=0x120bfbbb0)
> at uploads.c:851
> No locals.
> #8 0x12013b694 in io_header_parse (ih=0x120a05870) at ioheader.c:282
> s = (struct gnutella_socket *) 0x120ac3590
> getline = (struct getline *) 0x120b9a240
> header = (struct header *) 0x120bfbbb0
> parsed = 2
> error = 8
> #9 0x12013b978 in io_read_data (data=0x120a05870, source=62,
> cond=INPUT_EVENT_READ) at ioheader.c:356
> ih = (struct io_header *) 0x120a05870
> s = (struct gnutella_socket *) 0x120ac3590
> count = 4095
> r = 194
> #10 0x12017d104 in inputevt_dispatch (source=0x120bfbc70, condition=G_IO_IN,
> data=0x120b9a258) at inputevt.c:88
> cond = INPUT_EVENT_READ
> relay = (struct {...} *) 0x120b9a258
> #11 0x20000342230 in g_io_add_watch () from /usr/lib/libglib-1.2.so.0
> No symbol table info available.
> #12 0x20000344594 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
> No symbol table info available.
> warning: Hit heuristic-fence-post without finding
> warning: enclosing function for address 0x120870f90
> This warning occurs if you are debugging a function without any symbols
> (for example, in a stripped executable). In that case, you may wish to
> increase the size of the search with the `set heuristic-fence-post' command.
>
> Otherwise, you told GDB there was a function where there isn't one, or
> (more likely) you have encountered a bug in GDB.
>
> / ********************************************** /
>
> Frame 5 variables:
> (gdb) frame 5
> #5 0x120184214 in parq_upload_request (u=0x12058a120, handle=0x120537478,
> used_slots=0) at parq.c:2180
> 2180 g_assert(parq_ul->eta - now > 0);
> (gdb) p *parq_ul
> $1 = {magic = 1782120609, flags = 0, position = 1, relative_position = 1,
> has_slot = 0, had_slot = 0, eta = 0, expire = 1055509451,
> retry = 1055509361, enter = 1055509301, updated = 1055509301,
> ban_timeout = 0, disc_timeout = 0, last_queue_sent = 0, queue_sent = 0,
> queue_refused = 0, is_alive = 1,
> id = 0x1207cea20 "3e0990dcf1e3c57a073d4a5a54bb5808",
> ip_and_name = 0x1207ce990 "2425053692 bush - comedown.mp3",
> name = 0x1207ce99b "bush - comedown.mp3", remote_ip = 2425053692,
> file_size = 3449808, ip = 0, port = 0, major = 0, minor = 1,
> queue = 0x120c24e98, by_ip = 0x120b9a228}
>
> _________________________________________________________________
> The new MSN 8: advanced junk mail protection and 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by: eBay
> Great deals on office technology -- on eBay now! Click here:
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> _______________________________________________
> Gtk-gnutella-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-users
--
Jeroen Asselman <[EMAIL PROTECTED]>
<< signature.asc >>
_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail
------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Gtk-gnutella-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel
