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?

Submitter:  Mark-Oliver Wolter <m-o-w>
Submitted:  Sat 14 Jan 2006 02:22:59 AM UTC
   
 
Category:  Core Severity:  3 - Normal
Item Group:  Program malfunction Status:  Postponed
Assigned to:  None Open/Closed:  Closed
Release:  2.7.2 Release:  2.7.2
Operating System:  Linux Binaries 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>
Group 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-01-14 spiralvoice StatusNone Postponed
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code