aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Bug on deleting files currently being downloaded  (Read 3009 times)

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Bug on deleting files currently being downloaded
« on: January 17, 2004, 03:15:15 PM »

Hey, this is quite an old bug (I've seen it for a while, but since it wasn't fatal, I never got around to rapport it).

Often, if I delete a file while it is actively being downloaded, I get an error dialog with the caption "EMule Error" and the message "can't find length of file on file descriptor -1 (error 9: Bad file descriptor)".
At the same time, "Error in lseek: Bad file descriptor" will be printed in the console window.

Further deletes will not trigger the error dialog, but will cause more "Error in [...]" to be printed.

I'm currently running a cvs checkout of aMule (from the 14th this month).

As I said, this isn't fatal, aMule does not crash, however it is fairly annoying. ;)
Logged

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
RE: Bug on deleting files currently being downloaded
« Reply #1 on: January 17, 2004, 03:26:44 PM »

Same trouble here too. Once out of two, cancel a fiule in downloads gives that error.

Another trouble too : I swap from CVS from 2003-12-23 (Very stable for me) and recent CVS (since january).
Somewhere there has been some bug entered in chunk downlmading : whatever the file, I get 5 to 15% corrupt chunks.

And aMule still eats memory and CPU  ;(
I need to stop it after 30h eats 100+ mem, and 50%+ CPU usage
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
Re: Bug on deleting files currently being downloaded
« Reply #2 on: January 21, 2004, 12:30:07 AM »

Whe, cancelling a download, I always get this error. In the log I find this :

2004-01-21 00:22:09: ERROR while saving partfile: .part file not found (002.part.met => xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)

Using CVS of Jan 19th
« Last Edit: January 21, 2004, 12:30:46 AM by OldFrog »
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
hmmm
« Reply #3 on: January 22, 2004, 10:30:55 PM »

hey there I have also basically the same error. also my amule crashes when I delete the second file. first one is fine without any problem but hte second one kills it totally.
have a nice little backtrace hope it helps  ;)

bybye  8)

PS. I am using the CVS version from the berlios CVS from Jan.22.
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."