[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-bugs] [bug #21172] mlnet[pidnumber] general protection rip:504

From: spiralvoice
Subject: [Mldonkey-bugs] [bug #21172] mlnet[pidnumber] general protection rip:50498d rsp:7377cc error:0
Date: Sun, 04 Nov 2007 20:21:05 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv: Gecko/20071004 Iceweasel/ (Debian-

Follow-up Comment #28, bug #21172 (project mldonkey):

Updated crash_debug.patch

I changed the way the client is disconnected after receiving
data for an already finished file, see the patch in

@@ -301,8 +348,12 @@
 (*                connection_delay c.client_connection_control; *)
                 match c.client_source.DonkeySources.source_sock with
                   Connection sock ->
+lprintf_nl "debug get_from_client, disconnect %s" (full_client_identifier
+                    disconnect_client c (Closed_for_error (Printf.sprintf
"No file to download from %s" (full_client_identifier c)));
                     TcpBufferedSocket.close sock
-                      (Closed_for_error "No file to download");
+                      (Closed_for_error (Printf.sprintf "No file to download
from %s" (full_client_identifier c)));
                 | _ -> ()

Here I am using function "disconnect_client" instead of
TcpBufferedSocket.close. I do not know if this fixes the bug,
which is not present when using Ocaml < 3.10, but its worth a try.

(file #14296)

Additional Item Attachment:

File name: crash_debug.patch              Size:16 KB


Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]