What would cause this error dialog to pop up?

I opened the entire "Black Sabbath" directory (1317 files). I thought that some files might have an incorrect genre. So I ran my Action to change the GENRE to "Metal" over the entire file set.

But I got five pop up warnings/errors that 5 files from one album could not set the GENRE to "Metal" - it was set to "Rock"

First time I have ever seen this. Seems odd that only 5 files out of the 10 that make up the entire album had this problem. I was able to change these 5 files in the Apple Music app.

I tend to doubt that there is some file permission issue.

To be clear...the other 1312 files processed just fine. Only 5 out of the 1317 had this problem and it was 5 songs on an album of 10 songs (the other 5 songs on that album processed with no issue).

There is a chance that these files may be corrupt. Worth checking for integrity.

Have you checked that the update was really written to the files or was it just stored in the player's database?

Hi, yes I have reloaded that directory of files into Mp3tag and those 5 songs are now listed with GENRE as "Metal". It appears that changing the Genre in Apple Music app has caused the GENRE tag to update.

In terms of corruption possibility, they all play fine, that's as far as any corruption testing I have done.

I have uploaded the file.

Thank you

(Let me check if one of my backups has the file before the GENRE change. If I have one I will upload as well.)

So I also uploaded the original file (not updated via Mp3tag). I loaded this file by itself into Mp3tag by itself (to rule out any of type of resource limit that I may have hit loading all 1317 files, I wasn't expecting that to be the cause though) and the problem is reproducible.

Oh, I'm sorry it's another thread with Florian where he asked me to upload the file. (I have now uploaded both versions of it - original which still causes the popup error and the "fixed" version via Apple Music app). I am very curious to hear what is found.

Thank you!

Thank you for the example files.

I've analyzed 10 Valhalla Original.m4a and it has, like @MotleyG already suspected, corrupted data starting at offset 9266176 with an invalid atom identifier 0x28 0x60 0x68 0xAF which translates to something like (`h¯. The size of this atom is reported as 949 MB, which also indicates data corruption.

The "fixed" version has the same problem, seems like Apple Music simply ignored the issue.

If you still have the CD, I'd suggest re-encoding the album.

Thank you for investigating. -Ray