Here is the last of stderr,

14:11:31 (WARNING): being promoted to Ultrapeer status
14:15:41 (WARNING): found 2 possible targets for GIV from GUID 
C6B6B37EF71585DC6C9FE02266EB69BB at 213.84.196.28
14:15:42 (WARNING): found 2 possible targets for GIV from GUID 
B2742C573936C0DF7EA8DC7BB7F21828 at 24.128.233.146
14:17:33 (WARNING): found 2 possible targets for GIV from GUID 
74617A968117215B616919DDF83DBA94 at 213.84.196.28
14:18:00 (WARNING): found 2 possible targets for GIV from GUID 
C1E3CBD6E10CE2E8FCD3C8B3EBB42F9B at 24.128.233.146
14:19:48 (WARNING): discarded GIV "GIV 0:50E31290CAE49408A4AE1182A8513990/" 
from 86.22.118.28
14:21:02 (WARNING): discarded GIV "GIV 0:90481E20BFEEF4C44D34062477568F15/" 
from 196.36.236.210
14:46:17 (WARNING): found 2 possible targets for GIV from GUID 
C1E3CBD6E10CE2E8FCD3C8B3EBB42F9B at 24.128.233.146
14:50:16 (WARNING): discarded GIV "GIV 0:50E31290CAE49408A4AE1182A8513990/" 
from 86.22.118.28
14:51:59 (WARNING): discarded GIV "GIV 0:2045057F412A34BC19532438FC684D9C/" 
from 65.191.191.21
14:52:12 (WARNING): discarded GIV "GIV 0:50E31290CAE49408A4AE1182A8513990/" 
from 86.22.118.28

** ERROR **: file ../if/core/downloads.h: line 344 (download_check): assertion 
failed: (DOWNLOAD_MAGIC == d->magic)
aborting...
06-08-24 10:46:12 (WARNING): adns_do_transfer (read): EOF

The core file confirms this,

#0  0x408c0671 in kill () from /lib/libc.so.6
#1  0x40bedf9b in pthread_kill () from /lib/libpthread.so.0
#2  0x40bee350 in raise () from /lib/libpthread.so.0
#3  0x408c0353 in raise () from /lib/libc.so.6
#4  0x408c180b in abort () from /lib/libc.so.6
#5  0x4051b193 in IA__g_logv (log_domain=) at gmessages.c:497
#6  0x4051b1bb in IA__g_log (log_domain=) at gmessages.c:517
#7  0x4051b20f in IA__g_assert_warning (log_domain=) at gmessages.c:552
#8  0x08089abb in download_store ()
#9  0x08089ed7 in download_store_if_dirty ()
#10 0x08058121 in main_timer ()
#11 0x40513122 in g_timeout_dispatch (source=) at gmain.c:3420
#12 0x40512b61 in IA__g_main_context_dispatch (context=) at gmain.c:2043
#13 0x40515c86 in g_main_context_iterate (context=) at gmain.c:2675
#14 0x40515ff7 in IA__g_main_loop_run (loop=) at gmain.c:2879
#15 0x4014372c in IA__gtk_main () at gtkmain.c:1000
#16 0x081c96e3 in main_gui_run ()
#17 0x08055852 in main ()

I guess this is not that helpful?  I updated from SVN this morning
(after GTKG notified of a new version).  I had several downloads
running and was an Ultra node.  I was switching focus between Emacs
and gtkg, but I was just looking at the downloads.  A download had
just completed (I beleive).  My machine had CPU near 100%.

I suspect that I *had* problems with some new DRAM chips I installed.
However, I have not been experiencing problems with other applications
that I was previously and I reconfigured the SDRAM contoller to be
less aggresive in the BIOS [before and after memtest86 was ok with the
configuration].  Too bad magic wasn't logged?  Ie, was it deleted or
did a bit flip or something?

It was also the first time in many days that I had been downloading
multiple files.  For some reason, I had many responses to SHA1
searches as an Ultra with this build/run.  So I think it may be a
legitimate problem; but what do I know...

Also, GCC 4.1 seems to be removing the RCSID macro due to pruning of
unused static functions.  I don't know if the "used" attribute is in
versions lower than 4.1.  This seems to keep the RCSID in my generated
binary.

[patch to common.h]

*** common.h.~11715~    2006-08-24 15:46:01.000000000 -0400
--- common.h    2006-08-24 15:46:01.000000000 -0400
***************
*** 345,350 ****
--- 345,364 ----
        }                                       \
  } G_STMT_END
  
+ #if defined(__GNUC__) && defined(__GNUC_MINOR__)
+ #define HAVE_GCC(major, minor) \
+       ((__GNUC__ > (major)) || \
+        (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))
+ #else
+ #define HAVE_GCC(major, minor) 0
+ #endif
+ 
+ #if HAVE_GCC(4,1)
+ #define KEEP_FUNCTION  __attribute__((used))
+ #else
+ #define KEEP_FUNCTION  /* Nothing. */
+ #endif
+ 
  /**
   * Stores a RCS ID tag inside the object file. Every .c source file should
   * use this macro once as `RCSID("<dollar>Id$")' on top. The ID tag is
***************
*** 353,359 ****
   * `ident' or `strings'. See also rcs(1) and ident(1).
   */
  #define RCSID(x) \
! static inline const char *    \
  get_rcsid(void)               \
  {     \
        static const char rcsid[] = "@(#) " x;  \
--- 367,373 ----
   * `ident' or `strings'. See also rcs(1) and ident(1).
   */
  #define RCSID(x) \
! KEEP_FUNCTION static inline const char *      \
  get_rcsid(void)               \
  {     \
        static const char rcsid[] = "@(#) " x;  \
***************
*** 365,377 ****
        return s;       \
  }
  
- #if defined(__GNUC__) && defined(__GNUC_MINOR__)
- #define HAVE_GCC(major, minor) \
-       ((__GNUC__ > (major)) || \
-        (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))
- #else
- #define HAVE_GCC(major, minor) 0
- #endif
  
  /*
   * If functions have this attribute GCC warns if it one of the specified
--- 379,384 ----

[end patch to common.h]

Fwiw,
Bill Pringlemeir.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Gtk-gnutella-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to