Hi,
I've noticed that GtkG will crash on my FreeBSD 4.7 system whenever my
ADSL internet connection goes down and back up (my ISP disconnects me
every 24 hours). When the error occurs the connection might be in a
state where it is up but nothing can be sent yet. Maybe this is a
FreeBSD-specific or PPPoE-specific behaviour.
---
03/11/22 21:24:33 (WARNING): would have to sink twice during session from
81.100.42.131:13341 <Shareaza 1.8.9.17>
03/11/22 21:24:55 (WARNING): server "Shareaza 1.8.9.34" at 80.48.121.84:13097 might be
banning us
03/11/22 21:26:03 (WARNING): would have to sink twice during session from
62.195.32.213:6346 <LimeWire/3.6.12>
03/11/22 21:26:05 (WARNING): would have to sink twice during session from
81.100.42.131:13341 <Shareaza 1.8.9.17>
03/11/22 21:26:15 (WARNING): Unable to connect to 81.53.18.239:27989: (No route to
host)
03/11/22 21:26:15 (WARNING): Unable to connect to 217.44.126.198:6346: (No route to
host)
03/11/22 21:26:16 (WARNING): Unable to connect to 68.105.173.119:18407: (No route to
host)
03/11/22 21:26:18 (WARNING): Unable to connect to 217.136.144.231:26480: (Permission
denied)
03/11/22 21:26:18 (WARNING): Unable to connect to 195.36.189.104:6346: (Permission
denied)
** ERROR **: Sat Nov 22 21:26:18 2003
gtk-gnutella: tx_link_write: write failed on fd #24 with unexpected errno: 13
(Permission denied)
aborting...
Abort (core dumped)
Exit 134
---
Will the following patch solve my problem without causing problems elsewhere?
*** tx_link.old.c Sat Nov 22 21:57:42 2003
--- tx_link.c Sat Nov 22 22:02:46 2003
***************
*** 155,160 ****
--- 155,161 ----
case ENETDOWN:
case ENETUNREACH:
case ETIMEDOUT:
+ case EACCES:
node_shutdown(tx->node, "Write failed: %s", g_strerror(errno));
return -1;
default:
Greetings,
Thomas.
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel