Opened 14 years ago
Closed 14 years ago
#2814 closed defect (fixed)
mp3 file causes lockup while scanning for new music
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | 0.21 |
Component: | mythmusic | Version: | head |
Severity: | medium | Keywords: | 12169 lockup scanning new music with attached mp3 |
Cc: | Ticket locked: | no |
Description
Hi,
the attached mp3 causes mythtv svn 12169 to hang on the updating database phase of scanning for new music, no errors are logged even with -l audio, but I was able to narrow it down to this file by using lsof to find which file mythfrontend had open at the time.
I cannot see anything wrong with the file myself, id3info and mp3info both return valid data.
Andy
Attachments (4)
Change History (9)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Hi,
I have uploaded the file to rapidshre, you should be able to get it from http://rapidshare.com/files/8036192/dave_angel-the_essential_mix-part_1-ms.mp3
andy
comment:3 Changed 14 years ago by
I can reproduce this, I'll take a stab at fixing it. But the file also seems to be corrupt, at least nothing I have can play it (guess that's also why locks up mythmusic). It's md5sum is ae6ee2b6c945516e4b7f34c9252446ec, is that correct ?
comment:4 Changed 14 years ago by
I've attached two fixes. I'm not sure about the first, might fail on legal files, although I doubt. The second is inspired by this email which describes the same problem, of course since we're not using mmap, we could fail twice in a row and the buffers could just happen to be in the same position ?
comment:5 Changed 14 years ago by
Milestone: | unknown → 0.21 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
This has probably been fixed by the switch to taglib. Re-open if you are able to reproduce with svn head.
the mp3 is too big to attach, can you give me somwhere to upload it ?
thanks andy