distriqt / airnativeextensions

DEPRECATED: Original repository of the distriqt native extensions and is no longer maintained. Please see our site for the latest ANEs
https://airnativeextensions.com
2 stars 0 forks source link

CameraRollExtended crashes when loading cropped images in iPad #245

Closed tantanix closed 8 years ago

tantanix commented 9 years ago

Hi,

First of all, great work with the extensions!

My problem concerns with the CameraRollExtended ANE crashing after selecting cropped images with an iPad.

Steps to replicate:

  1. Select a cropped photo (crop your photo first using iOS Photos app)
  2. Select Done Result: App crashes Expected: CameraRollExtendedEvent.ASSET_LOADED fires

Specs: iPad 3 - ios 7.1.2 AIR 4.0.0 (Air: 4.0, Asc: 2.0.0.354110)

Crash dump (replaced project name and company to XXXXXXX):

Incident Identifier: 9DF6250E-D108-4F33-911E-16E696E1EAB7 CrashReporter Key: 5779134c1211bbe30edec71911d9d09090b40c84 Hardware Model: iPad3,1 Process: xxxxxxx_Mobile [6359] Path: /var/mobile/Applications/E72A35CC-8851-4BB6-BE38-87DF17D3A9CF/XXXXXXXX Identifier: XXXXXXXXXXXX Version: 1.0.0 (1.0) Code Type: ARM (Native) Parent Process: launchd [1]

Date/Time: 2014-10-22 14:49:30.525 +0800 OS Version: iOS 7.1.2 (11D257) Report Version: 104

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x0845f000 Triggered by Thread: 0

Thread 0 Crashed: 0 XXXXXXX_Mobile 0x0067e48a 0xce000 + 5964938 1 xxxxxxx_Mobile 0x0067cd80 0xce000 + 5959040 2 xxxxxxx_Mobile 0x0067de54 0xce000 + 5963348 3 xxxxxxx_Mobile 0x004aed18 0xce000 + 4066584 4 xxxxxxx_Mobile 0x0032cf14 0xce000 + 2486036 5 xxxxxxx_Mobile 0x005fbeec 0xce000 + 5431020 6 xxxxxxx_Mobile 0x005fb562 0xce000 + 5428578 7 xxxxxxx_Mobile 0x005fb8c2 0xce000 + 5429442 8 xxxxxxx_Mobile 0x005fb65c 0xce000 + 5428828 9 xxxxxxx_Mobile 0x005fa864 0xce000 + 5425252 10 xxxxxxx_Mobile 0x005c57bc 0xce000 + 5207996 11 xxxxxxx_Mobile 0x005fb224 0xce000 + 5427748 12 xxxxxxx_Mobile 0x005fa864 0xce000 + 5425252 13 xxxxxxx_Mobile 0x005c57bc 0xce000 + 5207996 14 xxxxxxx_Mobile 0x005fb224 0xce000 + 5427748 15 xxxxxxx_Mobile 0x005cb4b8 0xce000 + 5231800 16 xxxxxxx_Mobile 0x005c2f16 0xce000 + 5197590 17 xxxxxxx_Mobile 0x005fa248 0xce000 + 5423688 18 xxxxxxx_Mobile 0x000d3818 0xce000 + 22552 19 xxxxxxx_Mobile 0x000d31bc 0xce000 + 20924 20 xxxxxxx_Mobile 0x000d2e84 0xce000 + 20100 21 xxxxxxx_Mobile 0x000d2e4c 0xce000 + 20044 22 xxxxxxx_Mobile 0x000d5f0c 0xce000 + 32524 23 xxxxxxx_Mobile 0x004af5d4 0xce000 + 4068820 24 xxxxxxx_Mobile 0x004af4d8 0xce000 + 4068568 25 xxxxxxx_Mobile 0x00199368 0xce000 + 832360 26 xxxxxxx_Mobile 0x001991bc 0xce000 + 831932 27 xxxxxxx_Mobile 0x000ea26c 0xce000 + 115308 28 Foundation 0x309bcc6e NSThreadPerformPerform + 382 29 CoreFoundation 0x2ff9e208 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 12 30 CoreFoundation 0x2ff9d6d6 CFRunLoopDoSources0 + 202 31 CoreFoundation 0x2ff9beca CFRunLoopRun + 618 32 CoreFoundation 0x2ff06eba CFRunLoopRunSpecific + 518 33 CoreFoundation 0x2ff06c9e CFRunLoopRunInMode + 102 34 GraphicsServices 0x34e2d65e GSEventRunModal + 134 35 UIKit 0x32853148 UIApplicationMain + 1132 36 xxxxxxx_Mobile 0x001d7cf0 0xce000 + 1088752 37 xxxxxxx_Mobile 0x00668cb8 0xce000 + 5876920

Thread 1: 0 libsystem_kernel.dylib 0x3b125808 kevent64 + 24 1 libdispatch.dylib 0x3b067078 _dispatch_mgr_invoke + 228 2 libdispatch.dylib 0x3b066dfe _dispatch_mgr_thread$VARIANT$mp + 34

Thread 2 name: BackgroundThread Thread 2: 0 libsystem_kernel.dylib 0x3b137f2c __psynch_cvwait + 24 1 libsystem_pthread.dylib 0x3b1a0f22 _pthread_cond_wait + 518 2 libsystem_pthread.dylib 0x3b1a1d60 pthread_cond_wait + 36 3 xxxxxxx_Mobile 0x003bce14 0xce000 + 3075604 4 xxxxxxx_Mobile 0x0026acd8 0xce000 + 1690840 5 xxxxxxx_Mobile 0x003bcc64 0xce000 + 3075172 6 xxxxxxx_Mobile 0x003bccb8 0xce000 + 3075256 7 xxxxxxx_Mobile 0x003bc9c4 0xce000 + 3074500 8 libsystem_pthread.dylib 0x3b1a1916 _pthread_body + 138 9 libsystem_pthread.dylib 0x3b1a1886 _pthread_start + 98 10 libsystem_pthread.dylib 0x3b19faa0 thread_start + 4

Thread 3 name: BackgroundThread Thread 3: 0 libsystem_kernel.dylib 0x3b137f2c __psynch_cvwait + 24 1 libsystem_pthread.dylib 0x3b1a0f22 _pthread_cond_wait + 518 2 libsystem_pthread.dylib 0x3b1a1d60 pthread_cond_wait + 36 3 xxxxxxx_Mobile 0x003bce14 0xce000 + 3075604 4 xxxxxxx_Mobile 0x0026acd8 0xce000 + 1690840 5 xxxxxxx_Mobile 0x003bcc64 0xce000 + 3075172 6 xxxxxxx_Mobile 0x003bccb8 0xce000 + 3075256 7 xxxxxxx_Mobile 0x003bc9c4 0xce000 + 3074500 8 libsystem_pthread.dylib 0x3b1a1916 _pthread_body + 138 9 libsystem_pthread.dylib 0x3b1a1886 _pthread_start + 98 10 libsystem_pthread.dylib 0x3b19faa0 thread_start + 4

Thread 4: 0 libsystem_kernel.dylib 0x3b138544 __semwait_signal + 24 1 libsystem_c.dylib 0x3b0a9988 nanosleep + 168 2 xxxxxxx_Mobile 0x003bca30 0xce000 + 3074608 3 xxxxxxx_Mobile 0x001f5484 0xce000 + 1209476 4 xxxxxxx_Mobile 0x001f5440 0xce000 + 1209408 5 xxxxxxx_Mobile 0x003bcc64 0xce000 + 3075172 6 xxxxxxx_Mobile 0x003bccb8 0xce000 + 3075256 7 xxxxxxx_Mobile 0x003bc9c4 0xce000 + 3074500 8 libsystem_pthread.dylib 0x3b1a1916 _pthread_body + 138 9 libsystem_pthread.dylib 0x3b1a1886 _pthread_start + 98 10 libsystem_pthread.dylib 0x3b19faa0 thread_start + 4

Thread 5 name: ScriptTimeout Thread 5: 0 libsystem_kernel.dylib 0x3b137f2c __psynch_cvwait + 24 1 libsystem_pthread.dylib 0x3b1a0f22 _pthread_cond_wait + 518 2 libsystem_pthread.dylib 0x3b1a1da0 pthread_cond_timedwait + 40 3 xxxxxxx_Mobile 0x003bce84 0xce000 + 3075716 4 xxxxxxx_Mobile 0x003684bc 0xce000 + 2729148 5 xxxxxxx_Mobile 0x003bcc64 0xce000 + 3075172 6 xxxxxxx_Mobile 0x003bccb8 0xce000 + 3075256 7 xxxxxxx_Mobile 0x003bc9c4 0xce000 + 3074500 8 libsystem_pthread.dylib 0x3b1a1916 _pthread_body + 138 9 libsystem_pthread.dylib 0x3b1a1886 _pthread_start + 98 10 libsystem_pthread.dylib 0x3b19faa0 thread_start + 4

Thread 6: 0 libsystem_kernel.dylib 0x3b125a58 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x3b125854 mach_msg + 44 2 CoreFoundation 0x2ff9d846 CFRunLoopServiceMachPort + 150 3 CoreFoundation 0x2ff9bf6c CFRunLoopRun + 780 4 CoreFoundation 0x2ff06eba CFRunLoopRunSpecific + 518 5 CoreFoundation 0x2ff4a9ae CFRunLoopRun + 94 6 CoreMotion 0x305c43a8 0x3058b000 + 234408 7 libsystem_pthread.dylib 0x3b1a1916 _pthread_body + 138 8 libsystem_pthread.dylib 0x3b1a1886 _pthread_start + 98 9 libsystem_pthread.dylib 0x3b19faa0 thread_start + 4

Thread 7: 0 libsystem_kernel.dylib 0x3b138544 __semwait_signal + 24 1 libsystem_c.dylib 0x3b0a9988 nanosleep + 168 2 xxxxxxx_Mobile 0x003bca30 0xce000 + 3074608 3 xxxxxxx_Mobile 0x0022ff3c 0xce000 + 1449788 4 xxxxxxx_Mobile 0x0022fd3c 0xce000 + 1449276 5 xxxxxxx_Mobile 0x003bcc64 0xce000 + 3075172 6 xxxxxxx_Mobile 0x003bccb8 0xce000 + 3075256 7 xxxxxxx_Mobile 0x003bc9c4 0xce000 + 3074500 8 libsystem_pthread.dylib 0x3b1a1916 _pthread_body + 138 9 libsystem_pthread.dylib 0x3b1a1886 _pthread_start + 98 10 libsystem_pthread.dylib 0x3b19faa0 thread_start + 4

Thread 8 name: com.apple.NSURLConnectionLoader Thread 8: 0 libsystem_kernel.dylib 0x3b125a58 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x3b125854 mach_msg + 44 2 CoreFoundation 0x2ff9d846 CFRunLoopServiceMachPort + 150 3 CoreFoundation 0x2ff9bf6c __CFRunLoopRun + 780 4 CoreFoundation 0x2ff06eba CFRunLoopRunSpecific + 518 5 CoreFoundation 0x2ff06c9e CFRunLoopRunInMode + 102 6 Foundation 0x30947082 +[NSURLConnection(Loader) _resourceLoadLoop:] + 314 7 Foundation 0x309bca5a NSThreadmain + 1058 8 libsystem_pthread.dylib 0x3b1a1916 _pthread_body + 138 9 libsystem_pthread.dylib 0x3b1a1886 _pthread_start + 98 10 libsystem_pthread.dylib 0x3b19faa0 thread_start + 4

Thread 9: 0 libsystem_kernel.dylib 0x3b138c70 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x3b19fbda _pthread_wqthread + 306 2 libsystem_pthread.dylib 0x3b19fa94 start_wqthread + 4

Thread 10 name: com.apple.CFSocket.private Thread 10: 0 libsystem_kernel.dylib 0x3b138434 select + 20 1 CoreFoundation 0x2ffa1708 CFSocketManager + 480 2 libsystem_pthread.dylib 0x3b1a1916 _pthread_body + 138 3 libsystem_pthread.dylib 0x3b1a1886 _pthread_start + 98 4 libsystem_pthread.dylib 0x3b19faa0 thread_start + 4

Thread 11: 0 libsystem_kernel.dylib 0x3b138c70 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x3b19fbda _pthread_wqthread + 306 2 libsystem_pthread.dylib 0x3b19fa94 start_wqthread + 4

Thread 12: 0 libsystem_kernel.dylib 0x3b138c70 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x3b19fbda _pthread_wqthread + 306 2 libsystem_pthread.dylib 0x3b19fa94 start_wqthread + 4

Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x0845ed98 r2: 0x00000268 r3: 0x00000000 r4: 0x0000009a r5: 0x0845f000 r6: 0x00000168 r7: 0x27d311fc r8: 0x00000000 r9: 0x05be9ea0 r10: 0x00083d98 r11: 0x27d312d0 ip: 0x00000000 sp: 0x27d311cc lr: 0x00000169 pc: 0x0067e48a cpsr: 0x00000030

Binary Images: 0xce000 - 0x7c4fff xxxxxxx_Mobile armv7 /var/mobile/Applications/E72A35CC-8851-4BB6-BE38-87DF17D3A9CF/xxxxxxx_Mobile.app/xxxxxxx_Mobile 0x2beae000 - 0x2becefff dyld armv7 <651a31c39f71311f965f8ac44de02c88> /usr/lib/dyld 0x2ed41000 - 0x2ee48fff IMGSGX543GLDriver armv7 <08ba82f206b73f6c9da7c5ff7dafa9e8> /System/Library/Extensions/IMGSGX543GLDriver.bundle/IMGSGX543GLDriver 0x2ee52000 - 0x2ef54fff AVFoundation armv7 <2bb988ba37473ce087d10d9a50f47327> /System/Library/Frameworks/AVFoundation.framework/AVFoundation 0x2ef55000 - 0x2ef7dfff libAVFAudio.dylib armv7 <88a2ed6c453432868f8faa84748a861a> /System/Library/Frameworks/AVFoundation.framework/libAVFAudio.dylib 0x2ef7e000 - 0x2ef7efff Accelerate armv7 <0424978b39f037a7b3bf9aad5b34a5b3> /System/Library/Frameworks/Accelerate.framework/Accelerate 0x2ef88000 - 0x2f154fff vImage armv7 /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/vImage 0x2f155000 - 0x2f22efff libBLAS.dylib armv7 /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libBLAS.dylib 0x2f22f000 - 0x2f4e5fff libLAPACK.dylib armv7 <65970a4fea383446b0b4b87e634b8dfd> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libLAPACK.dylib 0x2f4e6000 - 0x2f554fff libvDSP.dylib armv7 <174c13fd605a39efbb7f1314a6d1fdbe> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libvDSP.dylib 0x2f555000 - 0x2f566fff libvMisc.dylib armv7 <5a8317adbade34a9b415e44ab8c64eb6> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libvMisc.dylib 0x2f567000 - 0x2f567fff vecLib armv7 <7b2718a5a22c36e6ab943b2e4bea9123> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/vecLib 0x2f568000 - 0x2f588fff Accounts armv7 /System/Library/Frameworks/Accounts.framework/Accounts 0x2f589000 - 0x2f589fff AdSupport armv7 <3b665e5a345235d7bd2cc47bf84973e8> /System/Library/Frameworks/AdSupport.framework/AdSupport 0x2f58a000 - 0x2f5f1fff AddressBook armv7 /System/Library/Frameworks/AddressBook.framework/AddressBook 0x2f709000 - 0x2f71afff AssetsLibrary armv7 /System/Library/Frameworks/AssetsLibrary.framework/AssetsLibrary 0x2f85d000 - 0x2fb76fff AudioToolbox armv7 <84c0f38107e93f0a8b5b5e27a42f971e> /System/Library/Frameworks/AudioToolbox.framework/AudioToolbox 0x2fb77000 - 0x2fc95fff CFNetwork armv7 <32c4f521ed6338bf96139f76cf3f609e> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x2fc96000 - 0x2fcf1fff CoreAudio armv7 <10173be0d8bc39aca273f270ec6265d8> /System/Library/Frameworks/CoreAudio.framework/CoreAudio 0x2fcf2000 - 0x2fd09fff CoreBluetooth armv7 /System/Library/Frameworks/CoreBluetooth.framework/CoreBluetooth 0x2fd0a000 - 0x2fefefff CoreData armv7 <694f017c380c36e79d8372e4b8800b1b> /System/Library/Frameworks/CoreData.framework/CoreData 0x2feff000 - 0x30041ff0 CoreFoundation armv7 <4f5fe18d15f2330bb4759690b5d2e575> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 0x30042000 - 0x30165fff CoreGraphics armv7 <011601c0f5613306846b94a7c8c841da> /System/Library/Frameworks/CoreGraphics.framework/CoreGraphics 0x30167000 - 0x301a2fff libCGFreetype.A.dylib armv7 <9fb5104155563a4cb319c2d39acd6972> /System/Library/Frameworks/CoreGraphics.framework/Resources/libCGFreetype.A.dylib 0x301a4000 - 0x301aefff libCMSBuiltin.A.dylib armv7 <293a66777dfb3bf5a8877694abd4d76b> /System/Library/Frameworks/CoreGraphics.framework/Resources/libCMSBuiltin.A.dylib 0x30393000 - 0x303adfff libRIP.A.dylib armv7 <4f0d735448153b52a5e593a027eae891> /System/Library/Frameworks/CoreGraphics.framework/Resources/libRIP.A.dylib 0x303ae000 - 0x30487fff CoreImage armv7 <4d57e424137a39a2b4ff192f4ceb6d9f> /System/Library/Frameworks/CoreImage.framework/CoreImage 0x30488000 - 0x304d7fff CoreLocation armv7 <1a32fefcfcac3237aa4ea5fab2b85120> /System/Library/Frameworks/CoreLocation.framework/CoreLocation 0x3050f000 - 0x3058afff CoreMedia armv7 /System/Library/Frameworks/CoreMedia.framework/CoreMedia 0x3058b000 - 0x30633fff CoreMotion armv7 /System/Library/Frameworks/CoreMotion.framework/CoreMotion 0x30634000 - 0x3068cfff CoreTelephony armv7 <9e2ae41b084135baba20bc14a0eb938c> /System/Library/Frameworks/CoreTelephony.framework/CoreTelephony 0x3068d000 - 0x3071dfff CoreText armv7 /System/Library/Frameworks/CoreText.framework/CoreText 0x3071e000 - 0x3072dfff CoreVideo armv7 <490d0406923830dfaa7ec16a3bb82187> /System/Library/Frameworks/CoreVideo.framework/CoreVideo 0x308ee000 - 0x30ad9fff Foundation armv7 <8b34e834206d3d75b8c0ba6acbee7280> /System/Library/Frameworks/Foundation.framework/Foundation 0x30cbb000 - 0x30d11fff IOKit armv7 /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit 0x30d12000 - 0x30f22fff ImageIO armv7 <68e088d928123efabf846c5d9cdb7fea> /System/Library/Frameworks/ImageIO.framework/ImageIO 0x30f23000 - 0x3116bfff JavaScriptCore armv7 /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore 0x3121c000 - 0x31220fff MediaAccessibility armv7 /System/Library/Frameworks/MediaAccessibility.framework/MediaAccessibility 0x3141f000 - 0x31724fff MediaToolbox armv7 <78e66ef0952f333290c553872415c3b1> /System/Library/Frameworks/MediaToolbox.framework/MediaToolbox 0x317d1000 - 0x31834fff MobileCoreServices armv7 <69108a456cf33dfcbd558b14687b1b6a> /System/Library/Frameworks/MobileCoreServices.framework/MobileCoreServices 0x3219f000 - 0x3226efff GLEngine armv7 <1a7bfb99cd35369a94486639dd0b5a4b> /System/Library/Frameworks/OpenGLES.framework/GLEngine.bundle/GLEngine 0x3226f000 - 0x32277fff OpenGLES armv7 <093444e2377c3bdaa89101c44c93da7a> /System/Library/Frameworks/OpenGLES.framework/OpenGLES 0x32279000 - 0x32279fff libCVMSPluginSupport.dylib armv7 <4160c7889e203462bdfe31aa45fd9169> /System/Library/Frameworks/OpenGLES.framework/libCVMSPluginSupport.dylib 0x3227a000 - 0x3227dfff libCoreFSCache.dylib armv7 <9fd9d2449e4a34ad91b942043642f443> /System/Library/Frameworks/OpenGLES.framework/libCoreFSCache.dylib 0x3227e000 - 0x32281fff libCoreVMClient.dylib armv7 /System/Library/Frameworks/OpenGLES.framework/libCoreVMClient.dylib 0x32282000 - 0x32289fff libGFXShared.dylib armv7 /System/Library/Frameworks/OpenGLES.framework/libGFXShared.dylib 0x3228a000 - 0x322c8fff libGLImage.dylib armv7 <1e247052e47436548415ab280cc11c79> /System/Library/Frameworks/OpenGLES.framework/libGLImage.dylib 0x322c9000 - 0x323fefff libGLProgrammability.dylib armv7 /System/Library/Frameworks/OpenGLES.framework/libGLProgrammability.dylib 0x32461000 - 0x325a7fff QuartzCore armv7 /System/Library/Frameworks/QuartzCore.framework/QuartzCore 0x32601000 - 0x32643fff Security armv7 /System/Library/Frameworks/Security.framework/Security 0x32644000 - 0x326bbfff Social armv7 /System/Library/Frameworks/Social.framework/Social 0x3277e000 - 0x32792fff StoreKit armv7 /System/Library/Frameworks/StoreKit.framework/StoreKit 0x32793000 - 0x327e2fff SystemConfiguration armv7 <3b71117feef432fc81b0fa5fade30fa4> /System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration 0x327e5000 - 0x32f58fff UIKit armv7 /System/Library/Frameworks/UIKit.framework/UIKit 0x32f59000 - 0x32fa6fff VideoToolbox armv7 <4ccd9c8d42ac3682ac1650c169b55cef> /System/Library/Frameworks/VideoToolbox.framework/VideoToolbox 0x331ec000 - 0x331f5fff AOSNotification armv7 <4353ed1adf4a3242bba1f4150002c90a> /System/Library/PrivateFrameworks/AOSNotification.framework/AOSNotification 0x3331b000 - 0x3331ffff AggregateDictionary armv7 <622857a298f4300f888011527320fce2> /System/Library/PrivateFrameworks/AggregateDictionary.framework/AggregateDictionary 0x33977000 - 0x339b5fff AppSupport armv7 <78c7141f2ac93b7dbf135aa577805c38> /System/Library/PrivateFrameworks/AppSupport.framework/AppSupport 0x339b6000 - 0x339edfff AppleAccount armv7 <24b68385b2d1334fa6833d8bf952bc85> /System/Library/PrivateFrameworks/AppleAccount.framework/AppleAccount 0x33a9b000 - 0x33aabfff ApplePushService armv7 /System/Library/PrivateFrameworks/ApplePushService.framework/ApplePushService 0x33aac000 - 0x33ab2fff AppleSRP armv7 <0960396e58323b29a09aeb9650829f5a> /System/Library/PrivateFrameworks/AppleSRP.framework/AppleSRP 0x33adf000 - 0x33aecfff AssetsLibraryServices armv7 /System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices 0x33b36000 - 0x33b39fff BTLEAudioController armv7 <597ddbf539b43ebaa6d7ff5632953b74> /System/Library/PrivateFrameworks/BTLEAudioController.framework/BTLEAudioController 0x33b3a000 - 0x33b5ffff BackBoardServices armv7 /System/Library/PrivateFrameworks/BackBoardServices.framework/BackBoardServices 0x33b62000 - 0x33b68fff BluetoothManager armv7 <2ddb16c0bcdf3a4e800fd8be1f391877> /System/Library/PrivateFrameworks/BluetoothManager.framework/BluetoothManager 0x33b69000 - 0x33b8dfff Bom armv7 /System/Library/PrivateFrameworks/Bom.framework/Bom 0x33c2e000 - 0x33c36fff CaptiveNetwork armv7 /System/Library/PrivateFrameworks/CaptiveNetwork.framework/CaptiveNetwork 0x33c37000 - 0x33d12fff Celestial armv7 /System/Library/PrivateFrameworks/Celestial.framework/Celestial 0x33d1f000 - 0x33d24fff CertUI armv7 <5a3487647d1e35ad9a99c6268c13deba> /System/Library/PrivateFrameworks/CertUI.framework/CertUI 0x33df1000 - 0x33e12fff ChunkingLibrary armv7 <767f2fad1a1639b6bcc3e56ec389394a> /System/Library/PrivateFrameworks/ChunkingLibrary.framework/ChunkingLibrary 0x33e63000 - 0x33e6efff CommonUtilities armv7 <757437b86d8f31299fd1ac1c30a69cd7> /System/Library/PrivateFrameworks/CommonUtilities.framework/CommonUtilities 0x33e6f000 - 0x33e73fff CommunicationsFilter armv7 <15910b7ac8c53a7f87b05f2ead994df1> /System/Library/PrivateFrameworks/CommunicationsFilter.framework/CommunicationsFilter 0x33f05000 - 0x33f07fff ConstantClasses armv7 /System/Library/PrivateFrameworks/ConstantClasses.framework/ConstantClasses 0x33f47000 - 0x33f49fff CoreAUC armv7 <2807429bc5a63ab9a72af73bfe61ea2d> /System/Library/PrivateFrameworks/CoreAUC.framework/CoreAUC 0x33fea000 - 0x340e9fff CoreMediaStream armv7 <9cfe3d6980b03ae8827afd2224fba8dc> /System/Library/PrivateFrameworks/CoreMediaStream.framework/CoreMediaStream 0x341dd000 - 0x341fbfff CoreServicesInternal armv7 <3225429d38503c28a45844cf20da5118> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/CoreServicesInternal 0x341fc000 - 0x341fdfff CoreSurface armv7 <99788346c24335a9841971c2f59456e0> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface 0x342a4000 - 0x34300fff CoreUI armv7 <2223abab101d3f5b95810c26f00baec7> /System/Library/PrivateFrameworks/CoreUI.framework/CoreUI 0x34301000 - 0x34354fff CoreUtils armv7 <512ab0cfcfab3cc9a43d46c8f66501bf> /System/Library/PrivateFrameworks/CoreUtils.framework/CoreUtils 0x34355000 - 0x3435afff CrashReporterSupport armv7 <702819044e50369bb385f39f8a8f459e> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/CrashReporterSupport 0x34527000 - 0x3453dfff DataAccessExpress armv7 <05a91911a3263f9eb0dfc04fbcb01e92> /System/Library/PrivateFrameworks/DataAccessExpress.framework/DataAccessExpress 0x34578000 - 0x3457cfff DataMigration armv7 <81241cd0796c349cb62b15c0a412ba0d> /System/Library/PrivateFrameworks/DataMigration.framework/DataMigration 0x34581000 - 0x34582fff DiagnosticLogCollection armv7 /System/Library/PrivateFrameworks/DiagnosticLogCollection.framework/DiagnosticLogCollection 0x34583000 - 0x3459dfff DictionaryServices armv7 <76bd0946ffd9363f986b85d837589ff2> /System/Library/PrivateFrameworks/DictionaryServices.framework/DictionaryServices 0x345bc000 - 0x345d9fff EAP8021X armv7 <7f96a2f142b63883b62a4f38acb07467> /System/Library/PrivateFrameworks/EAP8021X.framework/EAP8021X 0x345e2000 - 0x345edfff ExFAT armv7 /System/Library/PrivateFrameworks/ExFAT.framework/ExFAT 0x34602000 - 0x3462cfff FTServices armv7 /System/Library/PrivateFrameworks/FTServices.framework/FTServices 0x3462d000 - 0x34a48fff FaceCore armv7 /System/Library/PrivateFrameworks/FaceCore.framework/FaceCore 0x34a7b000 - 0x34a81fff libGPUSupportMercury.dylib armv7 /System/Library/PrivateFrameworks/GPUSupport.framework/libGPUSupportMercury.dylib 0x34c6b000 - 0x34c77fff GenerationalStorage armv7 <269b6156ee053f278506a669a1139c5a> /System/Library/PrivateFrameworks/GenerationalStorage.framework/GenerationalStorage 0x34c78000 - 0x34e23fff GeoServices armv7 <5672c446f155346d9abe23bdaf0af406> /System/Library/PrivateFrameworks/GeoServices.framework/GeoServices 0x34e24000 - 0x34e3afff GraphicsServices armv7 <78c2c4fd5c6535cfb73da15b290270fc> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices 0x34fc3000 - 0x34ff7fff IDS armv7 <4dc24a1de10d374ebbbeed9c883f6bd1> /System/Library/PrivateFrameworks/IDS.framework/IDS 0x35067000 - 0x35078fff IDSFoundation armv7 <4f334defe29b3e7bb19eb8769b720a49> /System/Library/PrivateFrameworks/IDSFoundation.framework/IDSFoundation 0x351eb000 - 0x35245fff IMFoundation armv7 /System/Library/PrivateFrameworks/IMFoundation.framework/IMFoundation 0x3524c000 - 0x3524efff IOAccelerator armv7 <6a375dbd238b31c580d0a59d29ffe7d6> /System/Library/PrivateFrameworks/IOAccelerator.framework/IOAccelerator 0x3524f000 - 0x35256fff IOMobileFramebuffer armv7 <3eec4ccff3193502b6316f3439ab3afd> /System/Library/PrivateFrameworks/IOMobileFramebuffer.framework/IOMobileFramebuffer 0x35257000 - 0x3525cfff IOSurface armv7 /System/Library/PrivateFrameworks/IOSurface.framework/IOSurface 0x352ce000 - 0x352dafff Librarian armv7 <0961437856a33402a87c1dfead65a092> /System/Library/PrivateFrameworks/Librarian.framework/Librarian 0x35315000 - 0x35352fff MMCS armv7 <264e77d28bd83234ab3c67b494a61506> /System/Library/PrivateFrameworks/MMCS.framework/MMCS 0x3535b000 - 0x35366fff MailServices armv7 <81ef7a9141b036e68cf5ef26336e9ea8> /System/Library/PrivateFrameworks/MailServices.framework/MailServices 0x3539a000 - 0x35415fff ManagedConfiguration armv7 <0ab4df405afb356182c30add7a4752a5> /System/Library/PrivateFrameworks/ManagedConfiguration.framework/ManagedConfiguration 0x35416000 - 0x35417fff Marco armv7 <7cb18ff3df8f3b90a61b81820fef86bf> /System/Library/PrivateFrameworks/Marco.framework/Marco 0x35418000 - 0x35490fff MediaControlSender armv7 /System/Library/PrivateFrameworks/MediaControlSender.framework/MediaControlSender 0x354cf000 - 0x354dcfff MediaRemote armv7 <3533eef67ac735fcb4351f3d08c6e608> /System/Library/PrivateFrameworks/MediaRemote.framework/MediaRemote 0x354dd000 - 0x354f5fff MediaStream armv7 <3eaff50c938b372887441019067e36e1> /System/Library/PrivateFrameworks/MediaStream.framework/MediaStream 0x35633000 - 0x35635fff MessageSupport armv7 <385d8cee193f31b6a87743c0c2bf290b> /System/Library/PrivateFrameworks/MessageSupport.framework/MessageSupport 0x35641000 - 0x3564dfff MobileAsset armv7 <78bd6fbf778f3c4f9ec2313ec5186d08> /System/Library/PrivateFrameworks/MobileAsset.framework/MobileAsset 0x35671000 - 0x35679fff MobileBluetooth armv7 /System/Library/PrivateFrameworks/MobileBluetooth.framework/MobileBluetooth 0x35694000 - 0x35697fff MobileInstallation armv7 <2dfdede78083348c848177887e6146e1> /System/Library/PrivateFrameworks/MobileInstallation.framework/MobileInstallation 0x35698000 - 0x356a2fff MobileKeyBag armv7 <61151535a91d3ea2974ea6a06166747e> /System/Library/PrivateFrameworks/MobileKeyBag.framework/MobileKeyBag 0x356ca000 - 0x356cdfff MobileSystemServices armv7 /System/Library/PrivateFrameworks/MobileSystemServices.framework/MobileSystemServices 0x356ec000 - 0x356f7fff MobileWiFi armv7 <2689696719d7358f87cd3526bd92fbea> /System/Library/PrivateFrameworks/MobileWiFi.framework/MobileWiFi 0x35992000 - 0x35997fff Netrb armv7 /System/Library/PrivateFrameworks/Netrb.framework/Netrb 0x35998000 - 0x3599dfff NetworkStatistics armv7 /System/Library/PrivateFrameworks/NetworkStatistics.framework/NetworkStatistics 0x359c3000 - 0x359c5fff OAuth armv7 <219223002672398d96b9b7319a82c432> /System/Library/PrivateFrameworks/OAuth.framework/OAuth 0x3611d000 - 0x36158fff OpenCL armv7 /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL 0x366fd000 - 0x36724fff PersistentConnection armv7 <9d26150d24bf381db7e9941721ff30ea> /System/Library/PrivateFrameworks/PersistentConnection.framework/PersistentConnection 0x36871000 - 0x369eafff PhotoLibraryServices armv7 /System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices 0x36b40000 - 0x36b73fff PhysicsKit armv7 <38e5c1f9753d3a5daddda25fd331c15b> /System/Library/PrivateFrameworks/PhysicsKit.framework/PhysicsKit 0x36b74000 - 0x36b77fff PowerLog armv7 <4f1fcdc25bcb3fa2b3819cca6a6e0eac> /System/Library/PrivateFrameworks/PowerLog.framework/PowerLog 0x36c6a000 - 0x36ca1fff PrintKit armv7 <5e906c574ea63dff8e231abb3a369504> /System/Library/PrivateFrameworks/PrintKit.framework/PrintKit 0x36ca5000 - 0x36d2bfff ProofReader armv7 <5127dc9d030235e6a19a786852e11617> /System/Library/PrivateFrameworks/ProofReader.framework/ProofReader 0x36d2c000 - 0x36d36fff ProtocolBuffer armv7 /System/Library/PrivateFrameworks/ProtocolBuffer.framework/ProtocolBuffer 0x36d68000 - 0x36ddcfff Quagga armv7 /System/Library/PrivateFrameworks/Quagga.framework/Quagga 0x370a2000 - 0x370b7fff SpringBoardServices armv7 /System/Library/PrivateFrameworks/SpringBoardServices.framework/SpringBoardServices 0x372fc000 - 0x3741dfff StoreServices armv7 /System/Library/PrivateFrameworks/StoreServices.framework/StoreServices 0x374ce000 - 0x374d0fff TCC armv7 /System/Library/PrivateFrameworks/TCC.framework/TCC 0x37524000 - 0x37545fff TelephonyUtilities armv7 /System/Library/PrivateFrameworks/TelephonyUtilities.framework/TelephonyUtilities 0x37b6e000 - 0x37ba1fff TextInput armv7 /System/Library/PrivateFrameworks/TextInput.framework/TextInput 0x37e25000 - 0x37ee5fff UIFoundation armv7 <9eb899e4a11e3692aaa25553bb8ba25d> /System/Library/PrivateFrameworks/UIFoundation.framework/UIFoundation 0x37ee6000 - 0x37efcfff Ubiquity armv7 <602f20982e9f352b938a9681c8705bbc> /System/Library/PrivateFrameworks/Ubiquity.framework/Ubiquity 0x37efd000 - 0x37f00fff UserFS armv7 <13209e5d1fea31d9b48c9dad7871fe76> /System/Library/PrivateFrameworks/UserFS.framework/UserFS 0x3839f000 - 0x38e47fff WebCore armv7 /System/Library/PrivateFrameworks/WebCore.framework/WebCore 0x38e48000 - 0x38f08fff WebKit armv7 <81b2c7768c3b3a638ad2a697cfcbf218> /System/Library/PrivateFrameworks/WebKit.framework/WebKit 0x3904c000 - 0x39052fff XPCKit armv7 /System/Library/PrivateFrameworks/XPCKit.framework/XPCKit 0x39053000 - 0x3905bfff XPCObjects armv7 <278385b224443259bcda55693ace3bcd> /System/Library/PrivateFrameworks/XPCObjects.framework/XPCObjects 0x3a05a000 - 0x3a061fff libAccessibility.dylib armv7 /usr/lib/libAccessibility.dylib 0x3a168000 - 0x3a17efff libCRFSuite.dylib armv7 /usr/lib/libCRFSuite.dylib 0x3a192000 - 0x3a193fff libMobileCheckpoint.dylib armv7 /usr/lib/libMobileCheckpoint.dylib 0x3a194000 - 0x3a1a9fff libMobileGestalt.dylib armv7 /usr/lib/libMobileGestalt.dylib 0x3a1c7000 - 0x3a1c8fff libSystem.B.dylib armv7 <89c8b9badf4e3d5594391736841b2f25> /usr/lib/libSystem.B.dylib 0x3a237000 - 0x3a265fff libTelephonyUtilDynamic.dylib armv7 <79c60debf82c32e3b39e7b4b019ad981> /usr/lib/libTelephonyUtilDynamic.dylib 0x3a3b4000 - 0x3a3c0fff libbsm.0.dylib armv7 /usr/lib/libbsm.0.dylib 0x3a3c1000 - 0x3a3cafff libbz2.1.0.dylib armv7 <3a4d64c44c283997b46efa5712f9c2d1> /usr/lib/libbz2.1.0.dylib 0x3a3cb000 - 0x3a416fff libc++.1.dylib armv7 /usr/lib/libc++.1.dylib 0x3a417000 - 0x3a431fff libc++abi.dylib armv7 /usr/lib/libc++abi.dylib 0x3a441000 - 0x3a448fff libcupolicy.dylib armv7 <239ab9540e43378e88001f43f1d797ad> /usr/lib/libcupolicy.dylib 0x3a474000 - 0x3a474fff libgcc_s.1.dylib armv7 <5adc2932566937829dac6190137ff948> /usr/lib/libgcc_s.1.dylib 0x3a5a1000 - 0x3a68efff libiconv.2.dylib armv7 <3faa29f3ddf53187b51e155344592e1b> /usr/lib/libiconv.2.dylib 0x3a68f000 - 0x3a7e0fff libicucore.A.dylib armv7 <2878f2bd470530c88fdb8911abea73e8> /usr/lib/libicucore.A.dylib 0x3a7e8000 - 0x3a7e8fff liblangid.dylib armv7 <8bb499713b5632adb09d7bb3a7b77a71> /usr/lib/liblangid.dylib 0x3a7e9000 - 0x3a7f3fff liblockdown.dylib armv7 <5c6bed6567d8332baeba16b0b9fa325d> /usr/lib/liblockdown.dylib 0x3ab35000 - 0x3ab49fff libmis.dylib armv7 /usr/lib/libmis.dylib 0x3ab72000 - 0x3ad11fff libobjc.A.dylib armv7 /usr/lib/libobjc.A.dylib 0x3add9000 - 0x3adeefff libresolv.9.dylib armv7 <9d15aa14d7773e599e6cee134be9ebd0> /usr/lib/libresolv.9.dylib 0x3ae17000 - 0x3aeadfff libsqlite3.dylib armv7 <74e96bf0e7463b71a151bd580edc8aee> /usr/lib/libsqlite3.dylib 0x3aeae000 - 0x3aefbfff libstdc++.6.dylib armv7 <60d2a9f34296398bb7c057e01fde6afc> /usr/lib/libstdc++.6.dylib 0x3aefc000 - 0x3af22fff libtidy.A.dylib armv7 <1038b4aac4c9322fb6fc14b57e71ab02> /usr/lib/libtidy.A.dylib 0x3af26000 - 0x3afd9fff libxml2.2.dylib armv7 <610d9be70005338f9db94dbcaf1b6459> /usr/lib/libxml2.2.dylib 0x3afda000 - 0x3affbfff libxslt.1.dylib armv7 /usr/lib/libxslt.1.dylib 0x3affc000 - 0x3b008fff libz.1.dylib armv7 <76b41c58034a30dabe6ad9be1e637644> /usr/lib/libz.1.dylib 0x3b009000 - 0x3b00dfff libcache.dylib armv7 /usr/lib/system/libcache.dylib 0x3b00e000 - 0x3b016fff libcommonCrypto.dylib armv7 /usr/lib/system/libcommonCrypto.dylib 0x3b017000 - 0x3b01bfff libcompiler_rt.dylib armv7 <29f589388cbd3290b650304eadc980ce> /usr/lib/system/libcompiler_rt.dylib 0x3b01c000 - 0x3b022fff libcopyfile.dylib armv7 <236a4387651534e9a9dd670ca9db02bb> /usr/lib/system/libcopyfile.dylib 0x3b023000 - 0x3b05bfff libcorecrypto.dylib armv7 <912e56f196943500877e1aba46efcb78> /usr/lib/system/libcorecrypto.dylib 0x3b05c000 - 0x3b080fff libdispatch.dylib armv7 /usr/lib/system/libdispatch.dylib 0x3b081000 - 0x3b082fff libdyld.dylib armv7 /usr/lib/system/libdyld.dylib 0x3b083000 - 0x3b083fff libkeymgr.dylib armv7 /usr/lib/system/libkeymgr.dylib 0x3b084000 - 0x3b08afff liblaunch.dylib armv7 <1efc4b3c146d347cb586fce80e8acdcb> /usr/lib/system/liblaunch.dylib 0x3b08b000 - 0x3b08efff libmacho.dylib armv7 <0ffeb9459e8d3ba99467a159b8c23d78> /usr/lib/system/libmacho.dylib 0x3b08f000 - 0x3b090fff libremovefile.dylib armv7 /usr/lib/system/libremovefile.dylib 0x3b091000 - 0x3b09efff libsystem_asl.dylib armv7 <6569ced4c68b3a119b89f3a8f48564be> /usr/lib/system/libsystem_asl.dylib 0x3b09f000 - 0x3b09ffff libsystem_blocks.dylib armv7 <0178b6f1a9bf362d9672641076a42ee2> /usr/lib/system/libsystem_blocks.dylib 0x3b0a0000 - 0x3b101fff libsystem_c.dylib armv7 <371f0e1854f03b05ba143619e4eac99f> /usr/lib/system/libsystem_c.dylib 0x3b102000 - 0x3b104fff libsystem_configuration.dylib armv7 <3e82bcb352f53951b5bce186bf9c30f7> /usr/lib/system/libsystem_configuration.dylib 0x3b105000 - 0x3b10bfff libsystem_dnssd.dylib armv7 /usr/lib/system/libsystem_dnssd.dylib 0x3b10c000 - 0x3b124fff libsystem_info.dylib armv7 <2996bfe2d4833c20b428a1b7b4db3c52> /usr/lib/system/libsystem_info.dylib 0x3b125000 - 0x3b13dfff libsystem_kernel.dylib armv7 /usr/lib/system/libsystem_kernel.dylib 0x3b13e000 - 0x3b15dfff libsystem_m.dylib armv7 /usr/lib/system/libsystem_m.dylib 0x3b15e000 - 0x3b16ffff libsystem_malloc.dylib armv7 /usr/lib/system/libsystem_malloc.dylib 0x3b170000 - 0x3b190fff libsystem_network.dylib armv7 /usr/lib/system/libsystem_network.dylib 0x3b191000 - 0x3b198fff libsystem_notify.dylib armv7 <932b71a166a3302f92405c0e77031b11> /usr/lib/system/libsystem_notify.dylib 0x3b199000 - 0x3b19efff libsystem_platform.dylib armv7 <12ec95161bda391c8db84f7255b85501> /usr/lib/system/libsystem_platform.dylib 0x3b19f000 - 0x3b1a4fff libsystem_pthread.dylib armv7 /usr/lib/system/libsystem_pthread.dylib 0x3b1a5000 - 0x3b1a6fff libsystem_sandbox.dylib armv7 /usr/lib/system/libsystem_sandbox.dylib 0x3b1a7000 - 0x3b1a9fff libsystem_stats.dylib armv7 <0f72cd8b79ad3600b2eb01c4391b2f53> /usr/lib/system/libsystem_stats.dylib 0x3b1aa000 - 0x3b1aafff libunwind.dylib armv7 <45c29718368e3d1c8821911ab5953080> /usr/lib/system/libunwind.dylib 0x3b1ab000 - 0x3b1c5fff libxpc.dylib armv7 <399deef84c9e3570a39520230faa3216> /usr/lib/system/libxpc.dylib

marchbold commented 9 years ago

Cheers, Could you add the output from the console log? Any ideas on the pixel dimensions of the image you are trying to load?

tantanix commented 9 years ago

Hi,

The pixel dimensions are correct (cropped dimensions), but the image is wrong. It's not the same as the cropped image in photos. It's showing off the wrong part of the image.

I'll post the console logs in a while.

tantanix commented 9 years ago

Here it is. I had to figure out where the damn console is in Xcode 6. @_@

Oct 22 17:56:16 CHRISTIANs-iPad xxxxxxxxx_Mobile[6604] : com.distriqt.CameraRollExtended::CameraRollExtendedBrowseForImage Oct 22 17:56:16 CHRISTIANs-iPad xxxxxxxxx_Mobile[6604] : com.distriqt.CameraRollExtended::browseForImage Oct 22 17:56:24 CHRISTIANs-iPad xxxxxxxxx_Mobile[6604] : com.distriqt.CameraRollExtended::didFinishPickingMediaWithAssets: 1 Oct 22 17:56:25 CHRISTIANs-iPad xxxxxxxxx_Mobile[6604] : com.distriqt.CameraRollExtended::CameraRollExtendedLoadAssetByURL Oct 22 17:56:25 CHRISTIANs-iPad xxxxxxxxx_Mobile[6604] : com.distriqt.CameraRollExtended::loadAssetByURL: assets-library://asset/asset.JPG?id=970D2D51-B231-48A5-AFA6-346D70B0048E&ext=JPG representation: thumbnail:aspect:ratio Oct 22 17:56:25 CHRISTIANs-iPad xxxxxxxxx_Mobile[6604] : [MobileDistriqtCameraAPI] Images selected: IMG_1747.JPG Oct 22 17:56:25 CHRISTIANs-iPad xxxxxxxxx_Mobile[6604] : com.distriqt.CameraRollExtended::loadAsset result Oct 22 17:56:25 CHRISTIANs-iPad xxxxxxxxx_Mobile[6604] : com.distriqt.CameraRollExtended::CameraRollExtendedGetAssetBitmapData Oct 22 17:56:25 CHRISTIANs-iPad xxxxxxxxx_Mobile[6604] : com.distriqt.CameraRollExtended::getAssetBitmapData: assets-library://asset/asset.JPG?id=970D2D51-B231-48A5-AFA6-346D70B0048E&ext=JPG representation: thumbnail:aspect:ratio Oct 22 17:56:25 CHRISTIANs-iPad xxxxxxxxx_Mobile[6604] : com.distriqt.CameraRollExtended::drawUIImageToBitmapData (360 x 374) Oct 22 17:56:25 CHRISTIANs-iPad ReportCrash[6620] : ReportCrash acting against PID 6604 Oct 22 17:56:25 CHRISTIANs-iPad ReportCrash[6620] : Formulating crash report for process xxxxxxxxx_Mobile[6604] Oct 22 17:56:25 CHRISTIANs-iPad ReportCrash[6620] : Saved crashreport to /var/mobile/Library/Logs/CrashReporter/xxxxxxxxx_Mobile_2014-10-22-175625_CHRISTIANs-iPad.ips using uid: 0 gid: 0, synthetic_euid: 501 egid: 0 Oct 22 17:56:26 CHRISTIANs-iPad com.apple.launchd1 : (UIKitApplication:com.xxxxxxxxx.xxxxxxxxx[0xd7a1]) Job appears to have crashed: Segmentation fault: 11 Oct 22 17:56:26 CHRISTIANs-iPad backboardd[29] : Application 'UIKitApplication:com.xxxxxxxxx.xxxxxxxxx[0xd7a1]' exited abnormally with signal 11: Segmentation fault: 11

marchbold commented 9 years ago

Could you try passing the AssetRepresentation.FULL_RESOLUTION in your loadAssetByURL call?

tantanix commented 9 years ago

I'm already using it. BTW, this only crashes in iPad. Works fine in iPhone4 so far with the devices i've tested.

public function loadImage(a:Asset):void { _cameraRoll.addEventListener(CameraRollExtendedEvent.ASSET_LOADED, onAssetLoaded); _cameraRoll.loadAssetByURL(a.url, AssetRepresentation.FULL_RESOLUTION); }

tantanix commented 9 years ago

Hi @marchbold ,

Were you able to replicate the issue? We have a release this coming thursday and this is the only pending bug we have left. :(

marchbold commented 9 years ago

Hi, I've been trying to identify the issue, but haven't been able to as yet. I'm checking in a version that fixes some of the iOS 8 issues, wonder if you could try it with this new version.

Also you might want to update your AIR version. You won't get into the AppStore without the latest v15 beta at the moment I believe?

tantanix commented 9 years ago

"I'm checking in a version that fixes some of the iOS 8 issues, wonder if you could try it with this new version."

"Also you might want to update your AIR version. You won't get into the AppStore without the latest v15 beta at the moment I believe?"

marchbold commented 9 years ago

It's in the repository now, so if you could update and let me know how you go?

tantanix commented 9 years ago

Done testing. I could not replicate the crash anymore with cropped images in my ipad. However, the cropped images showing wrong part of the image is still reproducible.

tantanix commented 9 years ago

I've just tested it with an iphone5 and it still crashes on some cropped photos. I think it depends on how the photo was cropped and on which area. The cropped photos that doesn't crash are the ones that show the wrong area of the image. Hope this helps. Based on my observations, the reason why it is showing the wrong area or sometimes crashes is because the rect area of the crop is applied to the raw photo. I think you have to "normalize" the photo first (flip it or rotate base on its orientation) before cropping it. I'm not sure if that made any sense. :)

Here's a scenario: Photo Dimensions [ w=1500, h=1500, orientation = 6] Cropped Dimensions [ x=0, y=0, w=1000, h=1000 ] - top left square Final image from ANE [ x=500, y=0, w=1000, h=1000 ] - top right square

I'll post more tests later with different orientation.

marchbold commented 9 years ago

Can you describe the process you are going through to crop the images?

tantanix commented 9 years ago

I'm not cropping the images. I tried loading the images using the ANE and not applying anything at all and it's already showing the wrong area. If you're not cropping on your end then it must be something else. I have no idea what it is. How do you process the bitmapData returned anyway?

marchbold commented 9 years ago

We just load the UIImage resource from the asset library and convert that to a bitmap. We don't do any cropping.

I thought you said in the main issue that you were cropping the image and then attempting to load it? Are you doing something different now?

tantanix commented 9 years ago

No. The process is still the same. I crop the image using the Photos app in iOS and then loading that photo in my AIR app using your ANE shows up wrong part of the image. I think the issue happens when you convert the UImage to a bitmap. Were you able to reproduce the issue?

marchbold commented 9 years ago

Hi, Yeah, that's what I mean, can you describe how you crop the image so I can replicate that? I haven't been able to reproduce the issue yet. Cheers

tantanix commented 9 years ago

Take a photo in portrait mode. Crop it in a square fashion where the frame is at x=0, y=0 coordinate (top left). ios 7.1.2 ipad 3