sbooth/SFBAudioEngine — Issue #10: WAVE metadata bug in TagLib?
Author: indragiek
Created: 2012-01-30 00:19:58+00:00
State: open

I have another metadata bug report and this one seems to be in the TagLib library. Here's the strack trace:

```
Process: Sonora [35038]
Path: /Applications/Sonora.app/Contents/MacOS/Sonora
Identifier: com.iktm.Sonora
Version: 0.71 (0.71)
Code Type: X86-64 (Native)
Parent Process: launchd [188]

Date/Time: 2012-01-26 16:22:52.075 -0500
OS Version: Mac OS X 10.7.2 (11C74)
Report Version: 9

Crashed Thread: 5 Dispatch queue: com.apple.root.default-priority

Exception Type: EXC_ARITHMETIC (SIGFPE)
Exception Codes: EXC_I386_DIV (divide by zero)

Application Specific Information:
objc[35038]: garbage collection is OFF

......

Thread 5 Crashed:: Dispatch queue: com.apple.root.default-priority
0 org.kde.taglib	0x000000010bd22bea TagLib::RIFF::WAV::Properties::read(TagLib::ByteVector const&) + 362
1 org.kde.taglib	0x000000010bd22cb2 TagLib::RIFF::WAV::Properties::Properties(TagLib::ByteVector const&, unsigned int, TagLib::AudioProperties::ReadStyle) + 92
2 org.kde.taglib	0x000000010bd2273d TagLib::RIFF::WAV::File::read(bool, TagLib::AudioProperties::ReadStyle) + 675
3 org.kde.taglib	0x000000010bd22848 TagLib::RIFF::WAV::File::File(TagLib::IOStream*, bool, TagLib::AudioProperties::ReadStyle) + 116
4 org.sbooth.AudioEngine	0x000000010b8fae5f WAVEMetadata::ReadMetadata(__CFError**) + 153
5 org.sbooth.AudioEngine	0x000000010b8f3678 AudioMetadata::CreateMetadataForURL(__CFURL const*, __CFError**) + 754
```

And the offending file: http://dl.dropbox.com/u/65903/samplewav.wav. I'm using the TagLib build that's in the Frameworks.zip in SFBAudioEngine's downloads.