Caught a bug in the hcache code, with cvs 12 1/2 days old.
The hcache version I have is 1.23, same as current public cvs.
I was shutting down, the timer went to 1, then hung for a while, then it segfaulted.
relevant gdb information: (gdb) bt #0 0x80c347b in stop_mass_update (hc=0x847bf80) at hcache.c:168 #1 0x80c4328 in hcache_remove_all (hc=0x847bf80) at hcache.c:700 #2 0x80c4e08 in hcache_free (hc=0x847bf80) at hcache.c:1123 #3 0x80c57b4 in hcache_close () at hcache.c:1478 #4 0x80d2a2b in gtk_gnutella_exit (n=0) at main.c:233 #5 0x8077a32 in quit (force=1) at main_cb.c:45 #6 0x8077b01 in on_button_really_quit_clicked (button=0x84740a8, user_data=0x0) at main_cb.c:104 [...]
(gdb) p*hc
$1 = {name = 0x81b27b7 "hosts.unstable", type = HCACHE_UNSTABLE, ip_only = 1,
hostlist = 0x0, hits = 662, misses = 24, host_count = 24,
reading = PROP_READING_HOSTFILE,
hosts_in_catcher = PROP_HOSTS_IN_BAD_CATCHER, mass_update = 0}
(gdb) p*caches
$3 = (hostcache_t *) 0x0
Just ask if you want more information.
It seems to me that the caches array has somehow already been freed in this situation. Couldn't find it myself...
Regards, Clayton
_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee� Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel
