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

Submitted by:  None
Submitted on:  Sun 15 Jun 2003 09:46:39 PM UTC  
 
Category: CoreSeverity: 3 - Normal
Item Group: Segmentation FaultStatus: None
Assigned to: NoneOpen/Closed: Closed
Release: 2.5.3Release: None
Operating System: LinuxBinaries 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>
Project Administrator
Wed 05 Nov 2003 07:18:36 PM UTC, comment #3:

See patch #2254

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

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Tue 02 Dec 2003 07:16:32 PM UTCspiralvoiceOpen/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1