[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mldonkey-bugs] [bug #3989] Segfault after a BT commit
From: |
nobody |
Subject: |
[Mldonkey-bugs] [bug #3989] Segfault after a BT commit |
Date: |
Tue, 04 Nov 2003 16:35:13 -0500 |
User-agent: |
Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U; ) Gecko/20021220 Debian/1.2.7-5 |
=================== BUG #3989: LATEST MODIFICATIONS ==================
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=3989&group_id=1409
Changes by: Anonymous user Date: mar 04.11.2003 à 16:35
------------------ Additional Follow-up Comments ----------------------------
(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
?
=================== BUG #3989: FULL BUG SNAPSHOT ===================
Signalé par: None Projet: mldonkey, a free e-Donkey client
Signalé le: dim 15.06.2003 à 17:46
Category: Core Severity: 5 - Major
Bug Group: Segmentation Fault Resolution: None
Assigned to: None Status: Open
Release: None Release: 2.5.3
Platform Version: Linux i386-i686 Binaries Origin: Compiled From CVS
Summary: Segfault after a BT commit
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)
Follow-up Comments
*******************
-------------------------------------------------------
Date: mar 04.11.2003 à 16:35 By: None
(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
?
-------------------------------------------------------
Date: mar 14.10.2003 à 17:56 By: None
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.
La liste CC est vide
Il n'y a aucun fichier attaché actuellement
For detailed info, follow this link:
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=3989&group_id=1409
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [Mldonkey-bugs] [bug #3989] Segfault after a BT commit,
nobody <=