arturgrigor / AGImagePickerController

MIT License
418 stars 160 forks source link

Crash #10

Open turboz747 opened 12 years ago

turboz747 commented 12 years ago

Here's the information for debugger. I have about 1600 images in CameraRoll and 384 images in PhotoStream.

2012-07-20 13:57:29.467 AGImagePickerController Demo[537:707] Info: ( "ALAsset - Type:Photo, URLs:{\n \"public.jpeg\" = \"assets-library://asset/asset.JPG?id=4D256C93-B9E7-480D-A946-12594C46CDDF&ext=JPG\";\n}", "ALAsset - Type:Photo, URLs:{\n \"public.jpeg\" = \"assets-library://asset/asset.JPG?id=09553D39-DC4B-44D7-8C04-5088537A6C55&ext=JPG\";\n}" ) 2012-07-20 13:57:52.618 AGImagePickerController Demo[537:707] * Terminating app due to uncaught exception 'NSGenericException', reason: '* Collection <__NSArrayM: 0x191e40> was mutated while being enumerated.' *\ First throw call stack: (0x376db88f 0x353e0259 0x376db3b3 0x3763a05d 0x353dc175 0x7a75 0x353dc175 0x3140e3d5 0x3140dfa1 0x3140dcbb 0x3140da2f 0x313c4aab 0x313ca3d5 0x37825c2f 0x30806e91 0x376ae2ad 0x376314a5 0x3763136d 0x33df0439 0x313ddcd5 0x2f63 0x2ef8) terminate called throwing an exception(gdb)

turboz747 commented 12 years ago

I found the crash happen when loading assets (show loading in title), then if you press Albums, the program will crash on

}

BAD_ADDRESS error.

Please solving it, I will help test, of course I will also try solving it.