bugmldonkey, a multi-networks file-sharing client - Bugs: bug #3989, Segfault after a BT commit

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #3989: Segfault after a BT commit

Submitter:  None
Submitted:  Sun 15 Jun 2003 09:46:39 PM UTC
   
 
Category:  Core Severity:  3 - Normal
Item Group:  Segmentation Fault Status:  None
Assigned to:  None Open/Closed:  Closed
Release:  None Release:  2.5.3
Operating System:  Linux Binaries Origin:  CVS / Self compiled
CPU type:  None

Tue 02 Dec 2003 07:16:32 PM UTC, comment #4: 

This bug has already been solved in the current version.
Please download it and report a new bug if the problem still exists
- spiralvoice

spiralvoice <spiralvoice>
Group administrator
Wed 05 Nov 2003 07:18:36 PM UTC, comment #3: 
Anonymous
Tue 04 Nov 2003 09:35:13 PM UTC, comment #2: 

(untested)
--- src/networks/bittorrent/bTInteractive.ml    9 Oct 2003 12:23:07 -00001.8
+++ src/networks/bittorrent/bTInteractive.ml    4 Nov 2003 21:21:21 -0000
@@ -74,6 +74,7 @@
         if file.file_files <> [] then
           let old_file = new_name ^ ".torrent" in
           Sys.rename new_name old_file;
+         set_file_disk_name file old_file;
           let old_fd = Unix32.create_ro old_file in
           List.iter (fun (filename, begin_pos, end_pos) ->
               let filename = Filename.concat new_name filename in

?

Anonymous
Tue 14 Oct 2003 09:56:11 PM UTC, comment #1: 

still in 2.5-4;

bittorrents consisting of just one file are ok. when i move them from the incoming, there's no problem.
however, when a bt file consists of multiple files, and i move the extra file dir that is created in the incoming/BT dir, or the .torrent file in the BT dir, mlnet crashes. after restarting, above mentioned behavior occurs.

but when i (re)move the files from within the newly created dir, without moving the dir itself, there's also no problem.

Anonymous
Sun 15 Jun 2003 09:46:39 PM UTC, original submission:  

This was my first BT attempt.
Everything went fine, file was committed (and split correctly), but few moments later core crashed with
Exception md4_safe_fd: Read failed: Is a directory in Select.loop
zsh: segmentation fault  ./mlnet -stdout

After restarting the core the file reappeared in the downloads, and resumed downloading, that time over 100%. So another bug may exist (like, "save" should be forced after any file commit)

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2003-12-02 spiralvoice Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.12