bugmldonkey, a multi-networks file-sharing client - Bugs: bug #15440, config_files_space.tmp not used?

 
 

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

bug #15440: config_files_space.tmp not used?

Submitted by:  Mark-Oliver Wolter <m-o-w>
Submitted on:  Sat 14 Jan 2006 02:22:59 AM UTC  
 
Category: CoreSeverity: 3 - Normal
Item Group: Program malfunctionStatus: Postponed
Assigned to: NoneOpen/Closed: Closed
Release: 2.7.2Release: 2.7.2
Operating System: LinuxBinaries Origin: None
CPU type: Intel x86

Sat 14 Jan 2006 10:30:34 PM UTC, comment #1:

config_files_space.tmp is removed before writing ini files only
when the core properly shuts down, not during save_options_delay.

On startup MLDonkey checks if the dirs it uses are writable,
incoming/files/tmp_ymlmgvs_mld.tmp is a left-over of a failed
check, normally that check file is removed. Because it has the
same time like the ini files I guess the drive was full, MLDonkey
crashed and could not remove the temp file anymore.

One of the next patches I want to write is a HDD free space
checking patch which shuts down MLDonkey automatically if space
goes low, therefore closing this bug report.

spiralvoice <spiralvoice>
Project Administrator
Sat 14 Jan 2006 02:22:59 AM UTC, original submission:

... now I have to type it all again because bloody Savannah thought I was sending the same report twice. Thank you, braindead interface builders.

I discovered my mlnet died, apparently running out of disk space.
When I tried to restart after freeing some space, I got (end of log):

Syntax error while parsing file servers.ini at pos 247900:(Failure("float_of_string"))

Copied old servers.ini from old_config. Was:
798799 Jan 13 23:44 servers.ini
798794 Jan 13 23:29 old_config/servers.ini

Next try. Now I got:
2006/01/14 02:14:50 enabling networks: Donkey (loading sources .File file_sources.ini.tmp exists
An error may have occurred during previous configuration save.
Please, check your configurations files, and rename/remove this file
before restarting

478586 Jan 9 03:12 file_sources.ini
16384 Jan 13 23:44 file_sources.ini.tmp

Apparently mlnet ran out of disk space writing this file.
Shouldn't it in this case free the allocated config_files_space.tmp and retry and shut down cleanly instead of just bailing out leaving a mess?

Also I noticed there's a file incoming/files/tmp_ymlmgvs_mld.tmp with size 0, timestamp also 23:44. What's that for? I never noticed something like that before with 2.5-30.16, but that core still commited in incoming.

MOW

Mark-Oliver Wolter <m-o-w>

 

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):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 14 Jan 2006 10:30:34 PM UTCspiralvoiceStatusNone=>Postponed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1