Opened 17 years ago

Last modified 17 years ago

#3291 closed Bug report

XML write error when closing multiple instances

Reported by: bmaiken Owned by: Tim Kosse
Priority: high Component: FileZilla Client
Keywords: Cc: bmaiken, Tim Kosse
Component version: Operating system type:
Operating system version:


OS: Windows XP SP2
FileZilla version: 3.0.1
Repeatable: Always

Description of problem:
If you close multiple copies of Filezilla quickly or simultaneously, you get an error.

Steps to repeat:

  1. Open two instances of Filezilla. You do not need to connect to any sites. Opening the application is enough.
  1. Close them quickly. The easiest way to do that is to Ctrl-click each button on the task bar for each instance of FileZilla, then right-click and Close Group.
  1. You should get two errors:
  2. "Failed to create backup copy of xml file"
  3. "Failed to copy the file '%appdata%\FileZilla\filezilla.xml' to '%appdata%\FileZilla\filezilla.xml~' (error 32: the process cannot access the file because it is being used by another process.)"

[Note that %appdata% above means the path to the user's Application Data folder.]

It looks like an error with filename collision for temporary files.

Change History (2)

comment:1 by Tim Kosse, 17 years ago

Confirmed. I wonder why this is happening, access to filezilla.xml should be protected by a mutex object.

comment:2 by Tim Kosse, 17 years ago

Thanks for reporting. This issue has been fixed in the SVN
repository and will be available with the next version.

Note: See TracTickets for help on using tickets.