Closed ram2386 closed 10 years ago
same this for me. I can not be ready to submit the app for ios7 until this will be fixed. when can I expect this to happen?
@ram2386 @ketanparekh Thanks for reporting this. A couple questions:
Hi romk1n,
A) Can you please list steps to reproduce the same behaviour?
Step 1. Click on “Buy a T-Shirt” and go to Payment screen. Step 2. Click on “Camera” button then it open the camera view for scan card. Step 3. Click on Cancel then camera view close. Step 4. Repeat step 2 and 3 for six to eight times.
Note : On Camera View screen, application consume more memory when it holds for 10 to 15 minute steady and some time device’s flashlight is ON or OFF. Average memory consume : 1 to 2 mb. Max memory consume : 5 to 6 mb.
B) In the above screenshot you selected to show "All Objects Created" in the Allocation Lifespan. Would you mind running another test with "Created & Still Living"?
Please see the attached screenshot for that.
C) What device, OS version and library version are you using ?
Device : iPhone 5 iOS : 7.0.4 Library : 1.4.2
D) Do you have crash stack trace ?
I had a crash report. Please find the below crash log.
Incident Identifier: 373C04EE-B417-4E5F-B671-811BDD546CE2 CrashReporter Key: fe645e684b2287fc22382447f5cac085e8b3ec2a Hardware Model: iPhone5,2 Process: PayPal-iOS-SDK-Sample-App [981] Path: /var/mobile/Applications/AC1EF7BF-6E24-4385-8533-874FF5F15C38/PayPal-iOS-SDK-Sample-App.app/PayPal-iOS-SDK-Sample-App Identifier: zz.mycompany.PayPal-iOS-SDK-Sample-App Version: 1.4.2 (1.4.2) Code Type: ARM (Native) Parent Process: launchd [1]
Date/Time: 2013-12-06 13:38:34.895 +0530 OS Version: iOS 7.0.4 (11B554a) Report Version: 104
Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Triggered by Thread: 6
Thread 0: 0 libsystem_kernel.dylib 0x3b869a84 0x3b869000 + 2692 1 libsystem_kernel.dylib 0x3b86987c 0x3b869000 + 2172 2 CoreFoundation 0x30f3a554 0x30e9b000 + 652628 3 CoreFoundation 0x30f38cba 0x30e9b000 + 646330 4 CoreFoundation 0x30ea346c 0x30e9b000 + 33900 5 CoreFoundation 0x30ea324e 0x30e9b000 + 33358 6 GraphicsServices 0x35bdd2e6 0x35bd6000 + 29414 7 UIKit 0x33758840 0x336e9000 + 456768 8 PayPal-iOS-SDK-Sample-App 0x000e3482 0xdf000 + 17538 9 libdyld.dylib 0x3b7c5ab4 0x3b7c4000 + 6836
Thread 1: 0 libsystem_kernel.dylib 0x3b869838 0x3b869000 + 2104 1 libdispatch.dylib 0x3b7b80d0 0x3b7b0000 + 32976 2 libdispatch.dylib 0x3b7b261e 0x3b7b0000 + 9758
Thread 2: 0 libsystem_kernel.dylib 0x3b87cc7c 0x3b869000 + 81020 1 libsystem_pthread.dylib 0x3b8e0e06 0x3b8e0000 + 3590 2 libsystem_pthread.dylib 0x3b8e0cc0 0x3b8e0000 + 3264
Thread 3: 0 libsystem_kernel.dylib 0x3b87cc7c 0x3b869000 + 81020 1 libsystem_pthread.dylib 0x3b8e0e06 0x3b8e0000 + 3590 2 libsystem_pthread.dylib 0x3b8e0cc0 0x3b8e0000 + 3264
Thread 4: 0 libsystem_kernel.dylib 0x3b87cc7c 0x3b869000 + 81020 1 libsystem_pthread.dylib 0x3b8e0e06 0x3b8e0000 + 3590 2 libsystem_pthread.dylib 0x3b8e0cc0 0x3b8e0000 + 3264
Thread 5: 0 libsystem_kernel.dylib 0x3b87cc7c 0x3b869000 + 81020 1 libsystem_pthread.dylib 0x3b8e0e06 0x3b8e0000 + 3590 2 libsystem_pthread.dylib 0x3b8e0cc0 0x3b8e0000 + 3264
Thread 6 name: com.apple.NSURLConnectionLoader Thread 6 Crashed: 0 libsystem_kernel.dylib 0x3b87c1fc 0x3b869000 + 78332 1 libsystem_pthread.dylib 0x3b8e3a4e 0x3b8e0000 + 14926 2 libsystem_c.dylib 0x3b82d028 0x3b7e3000 + 303144 3 CFNetwork 0x30c0a942 0x30b30000 + 895298 4 CFNetwork 0x30c0a7e4 0x30b30000 + 894948 5 CFNetwork 0x30bac53c 0x30b30000 + 509244 6 CoreFoundation 0x30f39e9a 0x30e9b000 + 650906 7 CoreFoundation 0x30e9fe2c 0x30e9b000 + 20012 8 CoreFoundation 0x30f18ab6 0x30e9b000 + 514742 9 CoreFoundation 0x30e9fe2c 0x30e9b000 + 20012 10 CFNetwork 0x30bad838 0x30b30000 + 514104 11 CoreFoundation 0x30f3af1c 0x30e9b000 + 655132 12 CoreFoundation 0x30f3a3e2 0x30e9b000 + 652258 13 CoreFoundation 0x30f38bd2 0x30e9b000 + 646098 14 CoreFoundation 0x30ea346c 0x30e9b000 + 33900 15 CoreFoundation 0x30ea324e 0x30e9b000 + 33358 16 Foundation 0x318de4bc 0x31886000 + 361660 17 Foundation 0x31953c32 0x31886000 + 842802 18 libsystem_pthread.dylib 0x3b8e2c5a 0x3b8e0000 + 11354 19 libsystem_pthread.dylib 0x3b8e2bca 0x3b8e0000 + 11210 20 libsystem_pthread.dylib 0x3b8e0ccc 0x3b8e0000 + 3276
Thread 7: 0 libsystem_kernel.dylib 0x3b87cc7c 0x3b869000 + 81020 1 libsystem_pthread.dylib 0x3b8e0e06 0x3b8e0000 + 3590 2 libsystem_pthread.dylib 0x3b8e0cc0 0x3b8e0000 + 3264
Thread 6 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x00000000 r3: 0x00002060 r4: 0x00000006 r5: 0x02cc9000 r6: 0x01002b80 r7: 0x02cc7ce0 r8: 0x145bf744 r9: 0x00000001 r10: 0x145bf744 r11: 0x3ba847e0 ip: 0x00000148 sp: 0x02cc7cd4 lr: 0x3b8e3a53 pc: 0x3b87c1fc cpsr: 0x00000010
Binary Images:
0xdf000 - 0x20efff PayPal-iOS-SDK-Sample-App armv7s
Hi romk1n,
Please find the attached screen shot for instrument.
![Uploading Screen Shot 2013-12-06 at 1.29.51 pm.png . . .]() ![Uploading Screen Shot 2013-12-06 at 1.30.35 pm.png . . .]() ![Uploading Screen Shot 2013-12-06 at 1.30.59 pm.png . . .]() ![Uploading Screen Shot 2013-12-06 at 1.30.26 pm.png . . .]() ![Uploading Screen Shot 2013-12-06 at 1.30.53 pm.png . . .]() ![Uploading Screen Shot 2013-12-06 at 1.30.05 pm.png . . .]() ![Uploading Screen Shot 2013-12-06 at 1.31.37 pm.png . . .]()
Please provide your email id so that I can email the screen shot of instrument as GitHub might not load the image properly.
@ram2386 thanks for the detailed information! please send screenshots to roman[AT]x.com
@romk1n I had email all the screenshot to roman[AT]x.com.
Hi. We have spent time some time investigating the issue on both iPhone 4S and iPhone 5.
@ketanparekh, the above-reported crashing scenarios (re-opening the scanning view many times, or leaving the scanning view active for 15 minutes) are not likely to occur in actual use. While we would like to track down and eliminate all crashes associated with our SDK, and are happy to work with any developers to do so, the current situation doesn't seem to warrant any concern about shipping your app. Note that many, many apps have already shipped with this SDK.
@romk1n
Thanks for reply.
Actually app is freeze when I open camera view more time to scan credit card. Is it happened with all app or there is s some issue in my app ?
I will send you video of my application.
@ram2386 and @ketanparekh, we have just posted a new release 1.4.3. We are hoping that a fix included in this new release will fix the problems you have both been encountering.
Please give it a try, and let us know the results. Thanks for your help!
@ram2386 and @ketanparekh Please feel free to re-open the issue if the problem persists.
Hi PayPal Team,
We are facing memory issue in one of our application. So we have reviewed sample application provided by you and checked under instrument tool. We are using iPhone 5 to review the application.
Below is the scenario for getting the issue.
While going to "Payment" screen in application, after going to camera option then application continuously consuming memory.
For reference I had tested the application in instrument and also share the screenshot for the same please find the attached image.
Please let me know if you required any more information from my side to track above issue.
.