> I don't understand the purpose of this patch, and I think it could
> raise a disaster if applied: because if node_remove() is called
> whiilst in SHUTDOWN mode, the node will stay in SHUTDOWN mode,
> whereas most of its data structures have been cleared.
>
> Don't you agree?
I retrieved the source last night from CVS. I try to cancel a
download and delete the file (purge selected). I modified
"file_info_hash_remove" and inserted printfs [because I only know how
to do primitive debugging...] This is what is displayed on a console.
----------------- (1 bytes).
> GGEP (token=0) 3 bytes (ID="UP", COBS: no, deflate: no)
----------------- Payload:
Offset 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
0 01 17 06 ...
----------------- (3 bytes).
> GGEP (token=0) 5 bytes (ID="VC", COBS: no, deflate: no)
> Payload: LIME8
nodes_gui_node_added(4, Outgoing)
FILEINFO remove 0x8458e28 "Audio Book - Richard Feynman - Lectures on
Physics - The Shrodinger Equation In A Classical Context [1of1].mp3"
(0/17436525 bytes done) sha1=H2SKFLOEFB5QET6EJETCAVACHXMW66HT
> WJP: before event
I added this (and I suspect that printf is async...).
+ printf("WJP: before event\n");
event_trigger(
fi_events[EV_FI_REMOVED],
T_NORMAL(fi_listener_t, fi->fi_handle));
+ printf("WJP: after event\n");
file_info_drop_handle(fi->fi_handle);
+ printf("WJP: file_info_drop_handle returns\n");
How should I attempt to determine what the crash is from? I have a
"Segmentation fault" message, but I don't see a core dump.
Linux localhost.localdomain 2.4.25-rc1 #3 Sat Apr 3 02:03:05 EST 2004 i586
Should I recompile with -g and use GDB?
Thanks,
Bill Pringlemeir.
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel