Bilalh/Tagger — Issue #8: Crash on some (invaild?) mp3
Author: Bilalh
Created: 2012-01-30 15:23:57+00:00
State: open
Labels: Bugs

Null checking is needed for checking for (invaild?) mp3. The user said the files were mp3 from iTunes, or ripped from a CD, but I can not reproduce the bug (full crash log at https://gist.github.com/d6a327d855f7a4fc6945)

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000

VM Regions Near 0:
-->
__TEXT 0000000100000000-0000000100047000 [ 284K] r-x/rwx SM=COW /Applications/Tagger.app/Contents/MacOS/Tagger

Application Specific Information:
objc[12070]: garbage collection is ON

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 Bilal.Tagger 0x000000010001b94a -[Tags initFields] + 739
1 Bilal.Tagger 0x0000000100019a62 -[MPEGTags initFields] + 49
2 Bilal.Tagger 0x0000000100019fb7 -[MPEGTags initWithFilename:] + 183
3 Bilal.Tagger 0x000000010000b965 -[FileSystemNode initWithURL:] + 330
4 Bilal.Tagger 0x000000010000b111 -[FileSystemNode children] + 214
5 Bilal.Tagger 0x0000000100013adc -[MainController _vgmdbEnable] + 160
6 Bilal.Tagger 0x000000010001275c -[MainController awakeFromNib] + 201