Probably race condition in accessing INI file

Post your bug reports here.
CaptainFlint
Posts: 8
Joined: Mon Sep 25, 2006 5:38 pm
Location: Moscow, Russia

Probably race condition in accessing INI file

Postby CaptainFlint » Mon May 17, 2010 1:08 pm

Rarely, but it happens that Compare It! completely resets all the settings. Today I finally seem to have found the reason: I opened two instances almost simultaneously (it happened because of temporary computer slowness). First instance opened correctly, but the second one was as if all the settings were dropped. Restarting did not help — settings just erased from the INI file, so I had to reconfigure everything from scratch (including registration). I suspect that when two Compare It! instances opened they tried to read/write the INI file simultaneously without blocking, thus interfering with each other.

Version is 4.2.2186 Unicode, OS is XP x64 SP2.

PS: One minor issue: copyright year in the About dialog is still 2009.

PPS: Maybe, it's worth moving the Russian forum here as a sub-forum and make redirect from the old location?

grigsoft
Site Admin
Posts: 1671
Joined: Tue Sep 23, 2003 7:37 pm

Re: Probably race condition in accessing INI file

Postby grigsoft » Mon May 17, 2010 1:25 pm

Thank you, I will check this. I have not thought about such case before.


Return to “Compare It: Bug reports”

Who is online

Users browsing this forum: No registered users and 1 guest