ReplayGain tagging is setting off NTFS dirty bit
2009-12-23 21:51:08
On my Windows 7 system, running a ReplayGain scan on a set of files with 0.9.6.9 will frequently trip the dirty bit of whichever volume that the files are on, prompting a chkdsk scan on the next restart. This happens much more often if I set foobar to automatically RG scan files after conversion, but also happens on straight RG scans. This seems to be happening when the tags are being written. Whenever this happens, I get an error message saying that the source file is corrupt the first time I try to apply the RG settings, and the tagging process aborts. This is in the form:Could not update tags (The file is corrupted) on: "F:\User Files\Datana\Documents\Output\Lossy\Foreigner - The Definitive Collection\Disc 2\07 - Midnight Blue.mp3" If I run the scan a second time, this message goes away and it proceeds normally. chkdsk on an affected volume reveals no errors, and SMART data indicate that the drive has no issues, so I don't think that the physical drives are an issue (I have a four HD configuration). To confirm that it was foobar causing this, I ran fsutil immediately before and immediately after a RG scan, and confirmed a clean state before and a dirty state after. I repeated this a few times, running chkdsk in-between in order to unset the dirty bit. At first, I thought that this was due to mishandling of Unicode filenames, as it was happening primarily to Japanese language rips, but I've confirmed that it happens with fully ASCII filenames as well. I've managed to reproduce this behavior on both my normal configuration as well as a completely wiped, fresh foobar configuration, and I'm not sure what could be causing it. Pasting my configuration files over to my Vista and XP machines results in neither one exhibiting this behavior. Am I overlooking something here? As for installed components, I have:Core (2009-08-22 02:25:22) foobar2000 core 0.9.6.9 foo_abx.dll (2009-06-07 04:25:26) ABX Comparator 1.3.4 foo_ac3.dll (2009-05-09 16:27:36) AC3 decoder 0.9.3 foo_adpcm.dll (2009-05-09 16:28:04) ADX decoder 1.8 BRR decoder and converter 0.7 GCN DSP decoder 1.3 Interplay ACM decoder 1.0 kode's ADPCM decoders 1.2 OKI-ADPCM decoder 0.14 RAC decoder 1.0 XA ADPCM decoder 1.3 foo_albumlist.dll (2009-08-22 02:23:44) Album List 4.3.1 foo_cdda.dll (2009-08-22 02:23:34) CD Audio Decoder 2.1.4 foo_channel_mixer.dll (2008-03-12 01:37:47) Channel Mixer 0.9.6.5 foo_converter.dll (2009-08-22 02:23:26) Converter 1.2.1 foo_dsp_fsurround.dll (2009-01-24 21:40:28) FreeSurround 0.3.5 foo_dsp_std.dll (2009-08-22 02:23:48) Standard DSP Array 1.0 foo_fileops.dll (2009-08-22 02:22:36) File Operations 2.1.2 foo_freedb2.dll (2009-08-22 02:22:52) freedb Tagger 0.6.1 foo_gep.dll (2009-05-09 16:29:16) Game Emu Player 1.64 foo_input_alac.dll (2009-03-22 14:15:46) ALAC Decoder 1.0.3 foo_input_dts.dll (2009-12-13 23:01:38) DTS decoder 0.2.7 foo_input_monkey.dll (2009-05-01 13:40:52) Monkey's Audio Decoder 2.1.4 foo_input_std.dll (2009-08-22 02:23:28) Standard Input Array 1.0 foo_input_tak.dll (2008-04-08 12:16:06) TAK Decoder 0.4.2 foo_input_tta.dll (2008-12-02 14:03:40) TTA Audio Decoder (unofficial) 2.4.2 foo_masstag.dll (2009-03-29 19:53:12) Masstagger 1.8 foo_midi.dll (2009-08-31 19:13:32) MIDI synthesizer host 1.94 foo_out_asio.dll (2009-03-22 14:15:46) ASIO support 1.2.7 foo_out_wasapi.dll (2009-05-19 21:45:18) WASAPI output support 2.1 foo_playcount.dll (2009-04-29 19:09:32) Playback Statistics 2.1.9 foo_psf.dll (2009-02-07 17:04:32) Highly Experimental 2.0.6 foo_rgscan.dll (2009-08-22 02:23:20) ReplayGain Scanner 2.0.9 foo_texttools.dll (2009-01-31 13:23:38) Text Tools 1.0.3 foo_ui_columns.dll (2007-07-22 14:36:02) Columns UI 0.2.0 beta 1 foo_ui_std.dll (2009-08-22 02:23:54) Default User Interface 0.9.5 foo_unpack.dll (2009-08-22 02:22:20) RAR reader 1.2 ZIP/GZIP reader 1.0 EDIT1: List means of isolating foobar as the culprit. EDIT2: List an example error message. [!--sizeo:1--][span style=\"font-size:8pt;line-height:100%\"][!--/sizeo--]Moderation: Codeboxed the components list. [/size]