Temporary files not deleted when disk full

Bug #322002 reported by kaiser
2
Affects Status Importance Assigned to Milestone
DC++
Confirmed
Low
Unassigned

Bug Description

Using version 0.7091 on XP:

1. DC++ configuration: \incomplete on C:, \downloads on D:
2. C: is low on disk space, one download is running, other downloads are unable to allocate disk space
3. The download finishes, file is copied from C:\...\incomplete to D:\...\downloads
4. Temporary file in \incomplete is not removed (it is also locked and can't be deleted manually)
5. No further downloads are possible

The only solution is to close DC++, delete the files manually and restart DC++. A rare condition, but darn annoying when it happens.

Tags: core
Revision history for this message
Charliebrownau (tafedude) wrote :

This has been a problem ever since I and others have used DC++
0261 674 and the new one 750

Also with 0261 and 674 I have often noticed DC++ stores MULTIPLE
incompete files on the hard drive NOT moving them across when competed
or storing multiple incompete files wasting valueable hdd space on the hard drive
blocking more incoming files.

eMTee (realprogger)
Changed in dcplusplus:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
eMTee (realprogger) wrote :

Even that the respective IOStream::File object for the unfinished file seems properly destroyed after the error, somehow a file handle leak happens here. With every download retry (and fail because still 'Not enough space in the disk') another RW file handle stays open for the unfinished file.

  410: File (RW-) H:\Unfinished\testfile.avi.VP3UIOZTWKWSUSRONKUATTKLMZ4DJTOBOUN4XGA.dctmp
  450: File (RW-) H:\Unfinished\testfile.avi.VP3UIOZTWKWSUSRONKUATTKLMZ4DJTOBOUN4XGA.dctmp
  464: File (RW-) H:\Unfinished\testfile.avi.VP3UIOZTWKWSUSRONKUATTKLMZ4DJTOBOUN4XGA.dctmp
  488: File (RW-) H:\Unfinished\testfile.avi.VP3UIOZTWKWSUSRONKUATTKLMZ4DJTOBOUN4XGA.dctmp
  4A8: File (RW-) H:\Unfinished\testfile.avi.VP3UIOZTWKWSUSRONKUATTKLMZ4DJTOBOUN4XGA.dctmp
  4C8: File (RW-) H:\Unfinished\testfile.avi.VP3UIOZTWKWSUSRONKUATTKLMZ4DJTOBOUN4XGA.dctmp

Doug Lomax (dlomax11)
description: updated
Fredrik Ullner (ullner)
tags: added: core
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.