incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Kimber (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-391) navigator.camera.getPicture() crashing on iOS after memory warning
Date Tue, 27 Mar 2012 13:16:33 GMT

     [ https://issues.apache.org/jira/browse/CB-391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Richard Kimber updated CB-391:
------------------------------

    Description: 
getPicture has become very unstable on previously working code, affecting both Phonegap 1.4.1
and Cordova 1.5.0. Contributing factors, since last working build I have upgraded Xcode to
4.3.2 (from whatever the last version was) and iPhone to iOS 5.1 from 5.0.1.

Memory warning is received on displaying camera, app crashes when you select 'use'. Restarting
device usually resolves problem for a limited amount of time. Problem is intermittent and
sometime difficult to replicate. Selecting from Photo library works fine.

Options used:

		var options = {
			quality: 40,
			sourceType: Camera.DestinationType.FILE_URI
		};

See https://groups.google.com/forum/?hl=en?hl%3Den&fromgroups#!topic/phonegap/ZLbw0s4JREs
for more details.

See attached for example crash log.

  was:
getPicture has become very unstable on previously working code, affecting both Phonegap 1.4.1
and Cordova 1.5.0. Contributing factors, since last working build I have upgraded Xcode to
4.3.2 (from whatever the last version was) and iPhone to iOS 5.1 from 5.0.1.

Memory warning is received on displaying camera, app crashes when you select 'use'. Restarting
device usually resolves problem for a limited amount of time. Problem is intermittent and
sometime difficult to replicate. Selecting from Photo library works fine.

Options used:

		var options = {
			quality: 40,
			sourceType: Camera.DestinationType.FILE_URI
		};

See https://groups.google.com/forum/?hl=en?hl%3Den&fromgroups#!topic/phonegap/ZLbw0s4JREs
for more details.

Example Crash Log:


Incident Identifier: 76BA99E9-DC70-4BDB-898C-DA2F0662A597
CrashReporter Key:   f8206caad96405e1fd15a30760ee183db657c544
Hardware Model:      iPhone4,1
Process:         Wulvern [8965]
Path:            /var/mobile/Applications/6BED7AC1-7D45-414A-8D5B-A092BBB09ECD/Wulvern.app/Wulvern
Identifier:      Wulvern
Version:         ??? (???)
Code Type:       ARM (Native)
Parent Process:  launchd [1]

Date/Time:       2012-03-27 14:10:33.131 +0100
OS Version:      iPhone OS 5.1 (9B179)
Report Version:  104

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x9001a709
Crashed Thread:  0

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libobjc.A.dylib               	0x358e1f78 objc_msgSend + 16
1   Wulvern                       	0x00008b28 0x1000 + 31528
2   UIKit                         	0x33cf8d40 -[UIImagePickerController _imagePickerDidCompleteWithInfo:]
+ 104
3   PhotoLibrary                  	0x30fee09e PLNotifyImagePickerOfImageAvailability + 38
4   PhotoLibrary                  	0x30fff7bc -[PLUICameraViewController cameraView:photoSaved:]
+ 124
5   PhotoLibrary                  	0x3102d900 -[PLCameraView cropOverlay:didFinishSaving:]
+ 220
6   PhotoLibrary                  	0x3102d7c0 -[PLCameraView cropOverlayWasOKed:] + 508
7   PhotoLibrary                  	0x30fd9b92 -[PLCropOverlay cropOverlayBottomBarDoneButtonClicked:]
+ 82
8   PhotoLibrary                  	0x3100433c -[PLCropOverlayBottomBar doneButtonClicked:]
+ 64
9   CoreFoundation                	0x3733b3f6 -[NSObject performSelector:withObject:withObject:]
+ 46
10  UIKit                         	0x33aa8fa8 -[UIApplication sendAction:to:from:forEvent:]
+ 56
11  UIKit                         	0x33aa8f64 -[UIApplication sendAction:toTarget:fromSender:forEvent:]
+ 24
12  UIKit                         	0x33aa8f42 -[UIControl sendAction:to:forEvent:] + 38
13  UIKit                         	0x33aa8cb2 -[UIControl(Internal) _sendActionsForEvents:withEvent:]
+ 486
14  UIKit                         	0x33aa95ea -[UIControl touchesEnded:withEvent:] + 470
15  UIKit                         	0x33aa7acc -[UIWindow _sendTouchesForEvent:] + 312
16  UIKit                         	0x33aa74ba -[UIWindow sendEvent:] + 374
17  UIKit                         	0x33a8d836 -[UIApplication sendEvent:] + 350
18  UIKit                         	0x33a8d0dc _UIApplicationHandleEvent + 5820
19  GraphicsServices              	0x32245224 PurpleEventCallback + 876
20  CoreFoundation                	0x373b551c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__
+ 32
21  CoreFoundation                	0x373b54be __CFRunLoopDoSource1 + 134
22  CoreFoundation                	0x373b430c __CFRunLoopRun + 1364
23  CoreFoundation                	0x3733749e CFRunLoopRunSpecific + 294
24  CoreFoundation                	0x37337366 CFRunLoopRunInMode + 98
25  GraphicsServices              	0x32244432 GSEventRunModal + 130
26  UIKit                         	0x33abbe76 UIApplicationMain + 1074
27  Wulvern                       	0x000021c0 0x1000 + 4544
28  Wulvern                       	0x00002170 0x1000 + 4464

Thread 1 name:  Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0   libsystem_kernel.dylib        	0x358503a8 kevent + 24
1   libdispatch.dylib             	0x3463af04 _dispatch_mgr_invoke + 708
2   libdispatch.dylib             	0x3463ac22 _dispatch_mgr_thread + 30

Thread 2 name:  WebThread
Thread 2:
0   libsystem_kernel.dylib        	0x358600d8 __psynch_mutexwait + 24
1   libsystem_c.dylib             	0x31963674 pthread_mutex_lock + 376
2   WebCore                       	0x32f53a2c _ZL17_WebTryThreadLockb + 208
3   WebCore                       	0x32f53d30 _ZL14WebRunLoopLockP19__CFRunLoopObservermPv
+ 24
4   CoreFoundation                	0x373b5b14 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__
+ 12
5   CoreFoundation                	0x373b3d50 __CFRunLoopDoObservers + 252
6   CoreFoundation                	0x373b416a __CFRunLoopRun + 946
7   CoreFoundation                	0x3733749e CFRunLoopRunSpecific + 294
8   CoreFoundation                	0x37337366 CFRunLoopRunInMode + 98
9   WebCore                       	0x32ff70f0 _ZL12RunWebThreadPv + 396
10  libsystem_c.dylib             	0x3196f72e _pthread_start + 314
11  libsystem_c.dylib             	0x3196f5e8 thread_start + 0

Thread 3 name:  com.apple.NSURLConnectionLoader
Thread 3:
0   libsystem_kernel.dylib        	0x35850004 mach_msg_trap + 20
1   libsystem_kernel.dylib        	0x358501fa mach_msg + 50
2   CoreFoundation                	0x373b53ec __CFRunLoopServiceMachPort + 120
3   CoreFoundation                	0x373b4124 __CFRunLoopRun + 876
4   CoreFoundation                	0x3733749e CFRunLoopRunSpecific + 294
5   CoreFoundation                	0x37337366 CFRunLoopRunInMode + 98
6   Foundation                    	0x37b8cbb2 +[NSURLConnection(Loader) _resourceLoadLoop:]
+ 302
7   Foundation                    	0x37b8ca7a -[NSThread main] + 66
8   Foundation                    	0x37c2058a __NSThread__main__ + 1042
9   libsystem_c.dylib             	0x3196f72e _pthread_start + 314
10  libsystem_c.dylib             	0x3196f5e8 thread_start + 0

Thread 4 name:  WebCore: CFNetwork Loader
Thread 4:
0   libsystem_kernel.dylib        	0x35850004 mach_msg_trap + 20
1   libsystem_kernel.dylib        	0x358501fa mach_msg + 50
2   CoreFoundation                	0x373b53ec __CFRunLoopServiceMachPort + 120
3   CoreFoundation                	0x373b4124 __CFRunLoopRun + 876
4   CoreFoundation                	0x3733749e CFRunLoopRunSpecific + 294
5   CoreFoundation                	0x37337366 CFRunLoopRunInMode + 98
6   WebCore                       	0x33020526 _ZN7WebCoreL15runLoaderThreadEPv + 122
7   libsystem_c.dylib             	0x3196f72e _pthread_start + 314
8   libsystem_c.dylib             	0x3196f5e8 thread_start + 0

Thread 5 name:  WebCore: LocalStorage
Thread 5:
0   libsystem_kernel.dylib        	0x35860068 __psynch_cvwait + 24
1   libsystem_c.dylib             	0x3196fa46 _pthread_cond_wait + 634
2   libsystem_c.dylib             	0x3196f7c2 pthread_cond_wait + 34
3   JavaScriptCore                	0x356b390e WTF::ThreadCondition::timedWait(WTF::Mutex&,
double) + 54
4   WebCore                       	0x33157de8 WTF::PassOwnPtr<WebCore::LocalStorageTask>
WTF::MessageQueue<WebCore::LocalStorageTask>::waitForMessageFilteredWithTimeout<bool
()(WebCore::LocalStorageTask*)>(WTF::MessageQueueWaitResult&, bool (&)(WebCore::LocalStorageTask*),
double) + 52
5   WebCore                       	0x33157d9e WebCore::LocalStorageThread::threadEntryPointCallback(void*)
+ 106
6   libsystem_c.dylib             	0x3196f72e _pthread_start + 314
7   libsystem_c.dylib             	0x3196f5e8 thread_start + 0

Thread 6 name:  Dispatch queue: com.apple.camera.avcapturesession
Thread 6:
0   libsystem_kernel.dylib        	0x35850004 mach_msg_trap + 20
1   libsystem_kernel.dylib        	0x358501fa mach_msg + 50
2   CoreFoundation                	0x373b53ec __CFRunLoopServiceMachPort + 120
3   CoreFoundation                	0x373b4124 __CFRunLoopRun + 876
4   CoreFoundation                	0x3733749e CFRunLoopRunSpecific + 294
5   CoreFoundation                	0x37337366 CFRunLoopRunInMode + 98
6   AVFoundation                  	0x368924d0 -[AVRunLoopCondition _waitInMode:untilDate:]
+ 348
7   AVFoundation                  	0x3689236c -[AVRunLoopCondition waitUntilDate:inMode:]
+ 20
8   AVFoundation                  	0x3687f13a -[AVCaptureSession _stopPreviewing] + 438
9   AVFoundation                  	0x3687f2d6 -[AVCaptureSession _setRunning:] + 166
10  AVFoundation                  	0x3687ee42 -[AVCaptureSession stopRunning] + 274
11  PhotoLibrary                  	0x30fdf610 __33-[PLCameraController stopPreview]_block_invoke_0
+ 96
12  libdispatch.dylib             	0x34637c52 _dispatch_call_block_and_release + 6
13  libdispatch.dylib             	0x34639d08 _dispatch_queue_drain + 268
14  libdispatch.dylib             	0x34639b6e _dispatch_queue_invoke$VARIANT$mp + 34
15  libdispatch.dylib             	0x3463a7e0 _dispatch_worker_thread2 + 204
16  libsystem_c.dylib             	0x31969df4 _pthread_wqthread + 288
17  libsystem_c.dylib             	0x31969cc8 start_wqthread + 0

Thread 7:
0   libsystem_kernel.dylib        	0x35860cd4 __workq_kernreturn + 8
1   libsystem_c.dylib             	0x31969f36 _pthread_wqthread + 610
2   libsystem_c.dylib             	0x31969cc8 start_wqthread + 0

Thread 8 name:  com.apple.coremedia.player.async
Thread 8:
0   libsystem_kernel.dylib        	0x35860068 __psynch_cvwait + 24
1   libsystem_c.dylib             	0x3196fa46 _pthread_cond_wait + 634
2   libsystem_c.dylib             	0x3196f7c2 pthread_cond_wait + 34
3   CoreMedia                     	0x341ff868 FigSemaphoreWaitRelative + 268
4   MediaToolbox                  	0x35a0c3e6 fpa_AsyncMovieControlThread + 22
5   CoreMedia                     	0x3421e8b4 figThreadMain + 168
6   libsystem_c.dylib             	0x3196f72e _pthread_start + 314
7   libsystem_c.dylib             	0x3196f5e8 thread_start + 0

Thread 9:
0   libsystem_kernel.dylib        	0x35860cd4 __workq_kernreturn + 8
1   libsystem_c.dylib             	0x31969f36 _pthread_wqthread + 610
2   libsystem_c.dylib             	0x31969cc8 start_wqthread + 0

Thread 0 crashed with ARM Thread State:
    r0: 0x001c02b0    r1: 0x0002c605      r2: 0x3f8a0548      r3: 0x373fbe98
    r4: 0x9001a701    r5: 0x0003d678      r6: 0x001c02b0      r7: 0x2fdfe5d8
    r8: 0x001bfa80    r9: 0x0000b181     r10: 0x0003dac4     r11: 0x003cbde0
    ip: 0x37337fd5    sp: 0x2fdfe580      lr: 0x00008b2f      pc: 0x358e1f78
  cpsr: 0x200f0030

Binary Images:
    0x1000 -    0x37fff +Wulvern armv7  <bc7bc4de0ac43286b1f6abb536366a38> /var/mobile/Applications/6BED7AC1-7D45-414A-8D5B-A092BBB09ECD/Wulvern.app/Wulvern
0x2feef000 - 0x2ff10fff  dyld armv7  <4a817f3e0def30d5ae2032157d889c1d> /usr/lib/dyld
0x3076d000 - 0x30770fff  libcompiler_rt.dylib armv7  <b2c05d8601c13be884097192dca4e187>
/usr/lib/system/libcompiler_rt.dylib
0x3079b000 - 0x307a2fff  MediaRemote armv7  <42dc1b43dabd3692b97d6aacfbdf0449> /System/Library/PrivateFrameworks/MediaRemote.framework/MediaRemote
0x307a3000 - 0x308a9fff  IMGSGX543GLDriver armv7  <a22da8177dc73bb895eb7a9f11e19d6a>
/System/Library/Extensions/IMGSGX543GLDriver.bundle/IMGSGX543GLDriver
0x308aa000 - 0x308b2fff  ProtocolBuffer armv7  <0e846afacf823d2b8c029cc3010a8253> /System/Library/PrivateFrameworks/ProtocolBuffer.framework/ProtocolBuffer
0x308ce000 - 0x308cefff  libkeymgr.dylib armv7  <ebd2dddf55d83cf48a18913968775960> /usr/lib/system/libkeymgr.dylib
0x308ef000 - 0x30947fff  CoreAudio armv7  <be335e8eb6f93594b028a6ddd503a183> /System/Library/Frameworks/CoreAudio.framework/CoreAudio
0x30948000 - 0x30a36fff  libiconv.2.dylib armv7  <2cfefe2ad1d335dd9549562910e7a2e2>
/usr/lib/libiconv.2.dylib
0x30a37000 - 0x30a85fff  CoreLocation armv7  <44550ebedf23334d85441d9743b74e03> /System/Library/Frameworks/CoreLocation.framework/CoreLocation
0x30a86000 - 0x30aa9fff  Bom armv7  <c3435ecd2e5839f89de51edad0e1bb00> /System/Library/PrivateFrameworks/Bom.framework/Bom
0x30b03000 - 0x30b04fff  libdyld.dylib armv7  <977b0ad6f2f433108b4a0324a57cd2ab> /usr/lib/system/libdyld.dylib
0x30b18000 - 0x30b32fff  TelephonyUI armv7  <6d9df4a85ca23acfa0799076fb8e5944> /System/Library/PrivateFrameworks/TelephonyUI.framework/TelephonyUI
0x30bc0000 - 0x30be9fff  ToneLibrary armv7  <7c1be74cc7833f3db25638fbc4ed55b8> /System/Library/PrivateFrameworks/ToneLibrary.framework/ToneLibrary
0x30bef000 - 0x30c63fff  MediaControlSender armv7  <87315c54b2293ab589950341ff91b45d>
/System/Library/PrivateFrameworks/MediaControlSender.framework/MediaControlSender
0x30c6c000 - 0x30c81fff  libresolv.9.dylib armv7  <66f7557fa4b43979b186e00271839fdb>
/usr/lib/libresolv.9.dylib
0x30c9b000 - 0x30cdafff  QuickLook armv7  <802b1092542a3017a0380632502610d4> /System/Library/Frameworks/QuickLook.framework/QuickLook
0x30f05000 - 0x30f84fff  libsqlite3.dylib armv7  <bf01f5ed47b033d8bde30d735ff44416>
/usr/lib/libsqlite3.dylib
0x30f98000 - 0x310bbfff  PhotoLibrary armv7  <7549c116c4d632a7b078cd8e7a28ac72> /System/Library/PrivateFrameworks/PhotoLibrary.framework/PhotoLibrary
0x310bc000 - 0x310bdfff  libsystem_sandbox.dylib armv7  <66e985f3eea03ef08afb7cf4c153f76e>
/usr/lib/system/libsystem_sandbox.dylib
0x310be000 - 0x310c5fff  AssetsLibraryServices armv7  <0703f561f9a038b6850d6e93bba7e5f4>
/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices
0x310c6000 - 0x31101fff  libCGFreetype.A.dylib armv7  <55941c96cf1f3b048e72a148c4496c16>
/System/Library/Frameworks/CoreGraphics.framework/Resources/libCGFreetype.A.dylib
0x3111a000 - 0x31139fff  libSystem.B.dylib armv7  <0c55744b6f7335eebba4ca2c3d10b43c>
/usr/lib/libSystem.B.dylib
0x3113a000 - 0x3114dfff  DataDetectorsCore armv7  <3f4596cbe1b13fdcb427d87de21df3f6>
/System/Library/PrivateFrameworks/DataDetectorsCore.framework/DataDetectorsCore
0x311e1000 - 0x311e9fff  MobileWiFi armv7  <b76c3e9fb78234c392058250d4620e72> /System/Library/PrivateFrameworks/MobileWiFi.framework/MobileWiFi
0x312bd000 - 0x312c9fff  libz.1.dylib armv7  <36ce86a3dc8c344596c8c325615f374b> /usr/lib/libz.1.dylib
0x312ca000 - 0x312d0fff  IAP armv7  <17eddbf5590d3cb88d4acbda27447f5b> /System/Library/PrivateFrameworks/IAP.framework/IAP
0x3152d000 - 0x31543fff  EAP8021X armv7  <fffe86a22bc434a6ae84f23bfecef9d6> /System/Library/PrivateFrameworks/EAP8021X.framework/EAP8021X
0x31545000 - 0x31545fff  vecLib armv7  <a2cfe25e77aa36bfb4a30b2d0d2dd465> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/vecLib
0x31546000 - 0x3154afff  IOMobileFramebuffer armv7  <42dbc26828e934acabb4f3b0a35d8250>
/System/Library/PrivateFrameworks/IOMobileFramebuffer.framework/IOMobileFramebuffer
0x3154b000 - 0x3154bfff  Accelerate armv7  <55b24cf91a8b3532bde6733c96f14c08> /System/Library/Frameworks/Accelerate.framework/Accelerate
0x31553000 - 0x315a9fff  GMM armv7  <6b2f7e1aa6be3d69b4c4cf54ed960602> /System/Library/PrivateFrameworks/GMM.framework/GMM
0x315aa000 - 0x315e1fff  Security armv7  <eea56f71fde83c2981f9281dc7823725> /System/Library/Frameworks/Security.framework/Security
0x315e2000 - 0x31788fff  CoreData armv7  <b0215b6d4d143859a2b313ecade095ec> /System/Library/Frameworks/CoreData.framework/CoreData
0x31789000 - 0x3178afff  libsystem_blocks.dylib armv7  <9fdc27af7350323bbc7d98e14e027907>
/usr/lib/system/libsystem_blocks.dylib
0x317ee000 - 0x31925fff  MusicLibrary armv7  <545ed15c56a53f5f9f893706c7af4ab7> /System/Library/PrivateFrameworks/MusicLibrary.framework/MusicLibrary
0x31961000 - 0x319edfff  libsystem_c.dylib armv7  <f859ce1ad1773f0ba98d7c6e135b7697>
/usr/lib/system/libsystem_c.dylib
0x31bd2000 - 0x31bd2fff  libCVMSPluginSupport.dylib armv7  <a80aaa9989483ce3a496a061fd1e9e0a>
/System/Library/Frameworks/OpenGLES.framework/libCVMSPluginSupport.dylib
0x31bd3000 - 0x31c43fff  CoreImage armv7  <86ac6f5a267637b6b7f8a831dfc7c64b> /System/Library/Frameworks/CoreImage.framework/CoreImage
0x31c44000 - 0x31c95fff  libstdc++.6.dylib armv7  <c352af5a742e3c7a8d4d7e5f6f454793>
/usr/lib/libstdc++.6.dylib
0x31d12000 - 0x31d98fff  CoreMotion armv7  <6a9355d5a8e238b5b8f193605d509e15> /System/Library/Frameworks/CoreMotion.framework/CoreMotion
0x31d9c000 - 0x31da9fff  libbsm.0.dylib armv7  <750a0de73a733019a77144b805d4d2f8> /usr/lib/libbsm.0.dylib
0x31e3a000 - 0x31e3afff  libgcc_s.1.dylib armv7  <eb82984fa36c329387aa518aa5205f3d>
/usr/lib/libgcc_s.1.dylib
0x31e77000 - 0x31e81fff  libbz2.1.0.dylib armv7  <40e4045fb79e382b8833707746cf28b1>
/usr/lib/libbz2.1.0.dylib
0x31ea7000 - 0x31f04fff  StoreServices armv7  <628fbbc73ed93730962c53bfbfde6794> /System/Library/PrivateFrameworks/StoreServices.framework/StoreServices
0x31f42000 - 0x31f5afff  ChunkingLibrary armv7  <c73a4b4b38ae3702bc1feae489d31634> /System/Library/PrivateFrameworks/ChunkingLibrary.framework/ChunkingLibrary
0x32002000 - 0x32007fff  libcopyfile.dylib armv7  <52e874396c393ed29099789ce702cfe2>
/usr/lib/system/libcopyfile.dylib
0x32068000 - 0x3208dfff  OpenCL armv7  <ec915bfc3f7633dda61b5fc87459119b> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
0x3208e000 - 0x3209ffff  libxpc.dylib armv7  <ccf25b1e49ce3b2fa58d8c8546755505> /usr/lib/system/libxpc.dylib
0x321c0000 - 0x32203fff  libcommonCrypto.dylib armv7  <95b49daf4cf038b6bea8010bba3a1e26>
/usr/lib/system/libcommonCrypto.dylib
0x32240000 - 0x3224afff  GraphicsServices armv7  <e21a6e61bdd136b6805a9e3abe2e3d1f>
/System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x32562000 - 0x32566fff  libGFXShared.dylib armv7  <998fccc16cf735dbb62324202995e193>
/System/Library/Frameworks/OpenGLES.framework/libGFXShared.dylib
0x325d6000 - 0x325dafff  libAccessibility.dylib armv7  <9a17d07b5a3b38cfafdf16f78c99b572>
/usr/lib/libAccessibility.dylib
0x326b6000 - 0x326b8fff  MobileInstallation armv7  <215d93dbb0f63cbf828f9126eb7b5349>
/System/Library/PrivateFrameworks/MobileInstallation.framework/MobileInstallation
0x32a46000 - 0x32a52fff  libCRFSuite.dylib armv7  <bdb2b4d1a78c39c1ba60d791207aed2a>
/usr/lib/libCRFSuite.dylib
0x32a57000 - 0x32a69fff  DataDetectorsUI armv7  <50ea319aaeb7307e92719980dd4b2953> /System/Library/PrivateFrameworks/DataDetectorsUI.framework/DataDetectorsUI
0x32b77000 - 0x32b7cfff  libsystem_dnssd.dylib armv7  <27bb5462450732e380f5a2c170546e93>
/usr/lib/system/libsystem_dnssd.dylib
0x32be6000 - 0x32be7fff  libdnsinfo.dylib armv7  <9aede8d6579d3430ac39ae5f95cce498>
/usr/lib/system/libdnsinfo.dylib
0x32c28000 - 0x32c2cfff  AggregateDictionary armv7  <3a3a33f3a05538988c6e2bb363dc46a8>
/System/Library/PrivateFrameworks/AggregateDictionary.framework/AggregateDictionary
0x32c2d000 - 0x32c37fff  libvMisc.dylib armv7  <e8248c797b9b363594bb652ddf7ce16d> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libvMisc.dylib
0x32c42000 - 0x32f03fff  libLAPACK.dylib armv7  <0e94e9a7e7a334649afaccae0f1215a2> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libLAPACK.dylib
0x32f04000 - 0x32f0afff  MobileIcons armv7  <ed1b46f917903c9b9baaa2be4392dafe> /System/Library/PrivateFrameworks/MobileIcons.framework/MobileIcons
0x32f4a000 - 0x32f4dfff  libmacho.dylib armv7  <e52b77623bd031bc807e77029566c777> /usr/lib/system/libmacho.dylib
0x32f4e000 - 0x3370cfff  WebCore armv7  <814351ff217e3425a8e532c2e2251f73> /System/Library/PrivateFrameworks/WebCore.framework/WebCore
0x3370d000 - 0x33790fff  MapKit armv7  <e39706ac199134a497954e1f1d6d7245> /System/Library/Frameworks/MapKit.framework/MapKit
0x33791000 - 0x33792fff  DataMigration armv7  <d77f0e8f39ee37f5a2ac713a3fd9e693> /System/Library/PrivateFrameworks/DataMigration.framework/DataMigration
0x337ae000 - 0x337f7fff  libc++.1.dylib armv7  <5b690e5dd5a43a7fb166ade9fe58a7a4> /usr/lib/libc++.1.dylib
0x337f8000 - 0x337fbfff  CaptiveNetwork armv7  <f5cc4b97ce9432da9426f12621453325> /System/Library/PrivateFrameworks/CaptiveNetwork.framework/CaptiveNetwork
0x33872000 - 0x3388ffff  libsystem_info.dylib armv7  <50863bcbf478323e96a8e5b1a83ea6f9>
/usr/lib/system/libsystem_info.dylib
0x33890000 - 0x338a4fff  PersistentConnection armv7  <65682d21486836a3aa3e17b9461e7b3a>
/System/Library/PrivateFrameworks/PersistentConnection.framework/PersistentConnection
0x338b1000 - 0x3395efff  libxml2.2.dylib armv7  <58d47f064e0232119f4b838ad659f9c1> /usr/lib/libxml2.2.dylib
0x33976000 - 0x3397bfff  ApplePushService armv7  <f424c0340de637c08bbeb4f3bd8c6eaf>
/System/Library/PrivateFrameworks/ApplePushService.framework/ApplePushService
0x33a7c000 - 0x33a7efff  libCoreFSCache.dylib armv7  <808518e0fbf539af8489f028ca5198c7>
/System/Library/Frameworks/OpenGLES.framework/libCoreFSCache.dylib
0x33a8a000 - 0x33f2cfff  UIKit armv7  <d72bcc68e76a3a55a963590cdcffe8cd> /System/Library/Frameworks/UIKit.framework/UIKit
0x34008000 - 0x3404bfff  ImageCapture armv7  <e21827dfb65032e1aa7fdf22a4f37fc4> /System/Library/PrivateFrameworks/ImageCapture.framework/ImageCapture
0x3404f000 - 0x3409bfff  CoreTelephony armv7  <e8eb52ca5fe33c7488a33efd222e7804> /System/Library/Frameworks/CoreTelephony.framework/CoreTelephony
0x3409c000 - 0x3416bfff  libGLProgrammability.dylib armv7  <49607ffe4ee9389494285a213e392924>
/System/Library/Frameworks/OpenGLES.framework/libGLProgrammability.dylib
0x341fd000 - 0x34245fff  CoreMedia armv7  <eb1f503312be3c93b07b2d0d25177000> /System/Library/Frameworks/CoreMedia.framework/CoreMedia
0x342bf000 - 0x342ebfff  ACTFramework armv7  <0bc67086eb7b31d090bb4c9c7a54bfb2> /System/Library/PrivateFrameworks/ACTFramework.framework/ACTFramework
0x342ec000 - 0x34305fff  Twitter armv7  <8fe6d77b99b43d2287e9c51bc4b22456> /System/Library/Frameworks/Twitter.framework/Twitter
0x34306000 - 0x3430cfff  libnotify.dylib armv7  <9406297de3e43742887890662a87ab53> /usr/lib/system/libnotify.dylib
0x3430d000 - 0x34312fff  CrashReporterSupport armv7  <2bb524b3bb3c3eb2932ce13b655b7c7c>
/System/Library/PrivateFrameworks/CrashReporterSupport.framework/CrashReporterSupport
0x34313000 - 0x34404fff  QuartzCore armv7  <a2afbe6483683d05ad51b106f98776e2> /System/Library/Frameworks/QuartzCore.framework/QuartzCore
0x3440e000 - 0x34424fff  libmis.dylib armv7  <258bc92be5823b239b4412dd42cb4807> /usr/lib/libmis.dylib
0x3443f000 - 0x3445dfff  BulletinBoard armv7  <6b4e1e4680c030cb9a0ced9ff69a711f> /System/Library/PrivateFrameworks/BulletinBoard.framework/BulletinBoard
0x344a4000 - 0x344d3fff  MMCS armv7  <527ed7a3b4753ead89e30be95dc3c590> /System/Library/PrivateFrameworks/MMCS.framework/MMCS
0x344f6000 - 0x3451ffff  AppleAccount armv7  <2ba44023410231fcb3f72f762ea3ce6e> /System/Library/PrivateFrameworks/AppleAccount.framework/AppleAccount
0x34563000 - 0x34567fff  Marco armv7  <8dea3e558fe534ff868fc92e215ce53b> /System/Library/PrivateFrameworks/Marco.framework/Marco
0x34568000 - 0x345b1fff  AddressBook armv7  <b17a2962e9043e0385c3c2c652155f2b> /System/Library/Frameworks/AddressBook.framework/AddressBook
0x345bd000 - 0x34636fff  ProofReader armv7  <6db611d8df6530d480f97a40bc519f70> /System/Library/PrivateFrameworks/ProofReader.framework/ProofReader
0x34637000 - 0x3464dfff  libdispatch.dylib armv7  <9ecfaef4110a3bf9a92d12f0fe8d1d78>
/usr/lib/system/libdispatch.dylib
0x3466d000 - 0x34699fff  libtidy.A.dylib armv7  <3aacc5b650e037c086a8ff6657d154bf> /usr/lib/libtidy.A.dylib
0x3469a000 - 0x34772fff  vImage armv7  <caf3648be2933384b6aa1ae7408ab4f0> /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/vImage
0x347b9000 - 0x347bbfff  OAuth armv7  <3ccc08bd120934baba4572552dc18ee4> /System/Library/PrivateFrameworks/OAuth.framework/OAuth
0x347bc000 - 0x347cdfff  AirTraffic armv7  <c9eb888c1bd1322cbda5b01d41be0c7d> /System/Library/PrivateFrameworks/AirTraffic.framework/AirTraffic
0x347cf000 - 0x347cffff  libunwind.dylib armv7  <e0a73a57795f3e1698a52ebe6fc07005> /usr/lib/system/libunwind.dylib
0x347d0000 - 0x3487afff  libBLAS.dylib armv7  <bf822cc1a3243ae7b104cf73ca22d352> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libBLAS.dylib
0x34896000 - 0x3489ffff  libMobileGestalt.dylib armv7  <4a15e845dc6f3a4a980de66c1cc44c42>
/usr/lib/libMobileGestalt.dylib
0x348a0000 - 0x348a7fff  MailServices armv7  <ab2388ce733e38b7a261273a401bbbf1> /System/Library/PrivateFrameworks/MailServices.framework/MailServices
0x34e24000 - 0x34e27fff  NetworkStatistics armv7  <7848d8ebad99367cb4f7f4e3fe88e5d6>
/System/Library/PrivateFrameworks/NetworkStatistics.framework/NetworkStatistics
0x34e2a000 - 0x34e43fff  libRIP.A.dylib armv7  <1828cddc5dd93c61afbefb59587d7f8a> /System/Library/Frameworks/CoreGraphics.framework/Resources/libRIP.A.dylib
0x34e44000 - 0x34e53fff  OpenGLES armv7  <e80acc691001301e96101bb89d940033> /System/Library/Frameworks/OpenGLES.framework/OpenGLES
0x34e5b000 - 0x34eedfff  HomeSharing armv7  <969a71b143ce3b84a41af74119131ebd> /System/Library/PrivateFrameworks/HomeSharing.framework/HomeSharing
0x34ef3000 - 0x34f13fff  libxslt.1.dylib armv7  <39348471007e39dab80af68b08390456> /usr/lib/libxslt.1.dylib
0x34f2b000 - 0x34f30fff  libGPUSupportMercury.dylib armv7  <3c1cc3175c403ace8fcbd3826bd43807>
/System/Library/PrivateFrameworks/GPUSupport.framework/libGPUSupportMercury.dylib
0x34f62000 - 0x34facfff  libvDSP.dylib armv7  <441b42aca07b3da39feab25f8349918f> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libvDSP.dylib
0x34fad000 - 0x34fb4fff  libc++abi.dylib armv7  <bab4dcbfc5943d3fbb637342d35e8045> /usr/lib/libc++abi.dylib
0x34fb5000 - 0x35085fff  WebKit armv7  <6ff2796c2f933050ac6ecdee9fc6a216> /System/Library/PrivateFrameworks/WebKit.framework/WebKit
0x3508a000 - 0x3508efff  FTClientServices armv7  <21de970d7ebb3e7fb502a0a5451b0806>
/System/Library/PrivateFrameworks/FTClientServices.framework/FTClientServices
0x3510c000 - 0x351ebfff  RawCamera armv7  <98fb7b5042b2314b86f4be8d2881bd04> /System/Library/CoreServices/RawCamera.bundle/RawCamera
0x351f7000 - 0x3520dfff  DictionaryServices armv7  <6ed2e967136f37d4a4b9b318d6c43b83>
/System/Library/PrivateFrameworks/DictionaryServices.framework/DictionaryServices
0x352a8000 - 0x353edfff  CoreGraphics armv7  <903545b89a7f311d95100ac7d1d44709> /System/Library/Frameworks/CoreGraphics.framework/CoreGraphics
0x353ee000 - 0x353f2fff  libcache.dylib armv7  <d6a7436ed8dc33d795c9b42baf864882> /usr/lib/system/libcache.dylib
0x35416000 - 0x3541afff  IOSurface armv7  <6ae77a40f8e93f28bc466ca93f5675d4> /System/Library/PrivateFrameworks/IOSurface.framework/IOSurface
0x3541b000 - 0x354ddfff  Celestial armv7  <2a59586b0ae937c3b25fe526924aa885> /System/Library/PrivateFrameworks/Celestial.framework/Celestial
0x355e0000 - 0x355e2fff  libCoreVMClient.dylib armv7  <d4d4aa3090c83e87bcb15ed00b93fd5c>
/System/Library/Frameworks/OpenGLES.framework/libCoreVMClient.dylib
0x355e3000 - 0x355eafff  SpringBoardUI armv7  <8f278b49685e3db68ac63c60011b14dd> /System/Library/PrivateFrameworks/SpringBoardUI.framework/SpringBoardUI
0x355ee000 - 0x35713fff  JavaScriptCore armv7  <2ffc6c87b94434288366bd53765ee267> /System/Library/PrivateFrameworks/JavaScriptCore.framework/JavaScriptCore
0x35714000 - 0x3571afff  MediaStream armv7  <99a5a80a06f5367c93a7911bf257bf20> /System/Library/PrivateFrameworks/MediaStream.framework/MediaStream
0x3571b000 - 0x35721fff  liblaunch.dylib armv7  <aa2bcba6fc7a36a191958fef2e995475> /usr/lib/system/liblaunch.dylib
0x35849000 - 0x3584cfff  libsystem_network.dylib armv7  <356cb66612e836968ef24e6e5c3364cc>
/usr/lib/system/libsystem_network.dylib
0x3584f000 - 0x35865fff  libsystem_kernel.dylib armv7  <7ac5560851ce3cb3981068092074b409>
/usr/lib/system/libsystem_kernel.dylib
0x35866000 - 0x35875fff  GenerationalStorage armv7  <d84c3fd0e7bd36e78c256f2f4c5a4e91>
/System/Library/PrivateFrameworks/GenerationalStorage.framework/GenerationalStorage
0x358de000 - 0x359a4fff  libobjc.A.dylib armv7  <90014d1bc583366d85622e43097df416> /usr/lib/libobjc.A.dylib
0x359b7000 - 0x359ecfff  SystemConfiguration armv7  <4464a4e3bb3f32f7abaa35ebf31fda49>
/System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration
0x35a08000 - 0x35c35fff  MediaToolbox armv7  <ec9bc89489763c6c93f86c5c490b2d69> /System/Library/PrivateFrameworks/MediaToolbox.framework/MediaToolbox
0x35d32000 - 0x35d41fff  SpringBoardServices armv7  <ca5b10014b473d2eaec5c48d89ee1b54>
/System/Library/PrivateFrameworks/SpringBoardServices.framework/SpringBoardServices
0x35d42000 - 0x35e08fff  GLEngine armv7  <6617f2b4ee283469a5595129889ff049> /System/Library/Frameworks/OpenGLES.framework/GLEngine.bundle/GLEngine
0x35f2e000 - 0x35f3afff  Accounts armv7  <79f22009b1173e1e81f70fc5c0410119> /System/Library/Frameworks/Accounts.framework/Accounts
0x35f91000 - 0x35fcdfff  AppSupport armv7  <311eac85b2a433a884dacba77217b49e> /System/Library/PrivateFrameworks/AppSupport.framework/AppSupport
0x35ff2000 - 0x36536fff  FaceCoreLight armv7  <f326d88709683520b251dc53cb847c11> /System/Library/PrivateFrameworks/FaceCoreLight.framework/FaceCoreLight
0x3658e000 - 0x365ccfff  IOKit armv7  <fcda71d29d6136dfbd84c1725f4998e5> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x365cd000 - 0x36609fff  IMFoundation armv7  <253125b9103c3d13b66923ac6893c25b> /System/Library/PrivateFrameworks/IMCore.framework/Frameworks/IMFoundation.framework/IMFoundation
0x36617000 - 0x36657fff  libGLImage.dylib armv7  <40448706190031f6b0d9636cc11ee81d>
/System/Library/Frameworks/OpenGLES.framework/libGLImage.dylib
0x36658000 - 0x36669fff  DataAccessExpress armv7  <e6144ba265da3bb7b9a263aa1a29b054>
/System/Library/PrivateFrameworks/DataAccessExpress.framework/DataAccessExpress
0x3666e000 - 0x36674fff  XPCObjects armv7  <dc568831fa5b3b22b673c62bc9d21d16> /System/Library/PrivateFrameworks/XPCObjects.framework/XPCObjects
0x36675000 - 0x36675fff  liblangid.dylib armv7  <644ff4bcfbf337b5b5859e3f0fc0a9a8> /usr/lib/liblangid.dylib
0x36682000 - 0x36759fff  CFNetwork armv7  <765a472c824830eea91b8f02d12867e4> /System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x3675e000 - 0x367affff  CoreText armv7  <5bfac4ee88d03d5b87a1f105abb7756c> /System/Library/Frameworks/CoreText.framework/CoreText
0x367e8000 - 0x3681bfff  CoreMediaStream armv7  <f5a0b436d07a3bcea37b43627249177b> /System/Library/PrivateFrameworks/CoreMediaStream.framework/CoreMediaStream
0x3681f000 - 0x368d5fff  AVFoundation armv7  <35cb7a0eb1dc3554a777c1cc11cb0415> /System/Library/Frameworks/AVFoundation.framework/AVFoundation
0x368d6000 - 0x368dcfff  MobileKeyBag armv7  <e1f06241ef0e3f0aae00f15df572077e> /System/Library/PrivateFrameworks/MobileKeyBag.framework/MobileKeyBag
0x368dd000 - 0x368e0fff  CoreTime armv7  <a398de5ba1e43a11b7008e9bb5a7f6fe> /System/Library/PrivateFrameworks/CoreTime.framework/CoreTime
0x36906000 - 0x3692afff  PrintKit armv7  <08509c7bc915358b953de6f5cbef5c56> /System/Library/PrivateFrameworks/PrintKit.framework/PrintKit
0x3692b000 - 0x3698efff  IMCore armv7  <046b6b615a743057b59d4aaba8a91d61> /System/Library/PrivateFrameworks/IMCore.framework/IMCore
0x3699e000 - 0x369a9fff  AccountSettings armv7  <373e59421d983c93931cfbad87b1ae35> /System/Library/PrivateFrameworks/AccountSettings.framework/AccountSettings
0x369aa000 - 0x369e2fff  VideoToolbox armv7  <9f25f38d1cd13a1daff99cfde8884410> /System/Library/PrivateFrameworks/VideoToolbox.framework/VideoToolbox
0x36a1d000 - 0x36a29fff  CoreVideo armv7  <364fa32d513f3c11b50970120545f1a8> /System/Library/Frameworks/CoreVideo.framework/CoreVideo
0x36a2a000 - 0x36b73fff  libicucore.A.dylib armv7  <b70646b63f1f3b33896dd8cb91b8dab1>
/usr/lib/libicucore.A.dylib
0x36b79000 - 0x36bc3fff  ManagedConfiguration armv7  <5e0a131bbfec305ea01f9e01f486da63>
/System/Library/PrivateFrameworks/ManagedConfiguration.framework/ManagedConfiguration
0x36bc4000 - 0x36c09fff  GeoServices armv7  <a26be2e76e8730ab91a16502aba376be> /System/Library/PrivateFrameworks/GeoServices.framework/GeoServices
0x36c0b000 - 0x36dc8fff  ImageIO armv7  <02e3578171fa3b6a969b244275fd2bab> /System/Library/Frameworks/ImageIO.framework/ImageIO
0x36dce000 - 0x36e81fff  iTunesStore armv7  <0b61336b65033857a22ce498c653636b> /System/Library/PrivateFrameworks/iTunesStore.framework/iTunesStore
0x37011000 - 0x37055fff  MobileCoreServices armv7  <757226927a873d5492be721908077b48>
/System/Library/Frameworks/MobileCoreServices.framework/MobileCoreServices
0x37075000 - 0x371e8fff  MediaPlayer armv7  <63cdf8f9c66d36e7a4e69e2f6cae854f> /System/Library/Frameworks/MediaPlayer.framework/MediaPlayer
0x3721e000 - 0x3721ffff  libremovefile.dylib armv7  <402f8956975d3b6fb86ab9b31a43242c>
/usr/lib/system/libremovefile.dylib
0x37226000 - 0x372ccfff  AddressBookUI armv7  <da424fecc66e3628ab03378ae80b38fc> /System/Library/Frameworks/AddressBookUI.framework/AddressBookUI
0x37328000 - 0x3743ffff  CoreFoundation armv7  <6d450fe923d7387f8b01845e0edd713d> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x37442000 - 0x37443fff  CoreSurface armv7  <7850befd26b630f183ee326aaadd7b34> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface
0x37451000 - 0x3748efff  FTServices armv7  <3f23418319a03a589dd5cac7df20e238> /System/Library/PrivateFrameworks/FTServices.framework/FTServices
0x37497000 - 0x37534fff  PhotoLibraryServices armv7  <da975ffd2e003b6a898a7d60b5273d0f>
/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices
0x375ad000 - 0x37791fff  AudioToolbox armv7  <c91e27850452330ea804db6408840fd2> /System/Library/Frameworks/AudioToolbox.framework/AudioToolbox
0x377a3000 - 0x377a9fff  liblockdown.dylib armv7  <9e45ce468a6f31e5b8263f2c224aa800>
/usr/lib/liblockdown.dylib
0x37b7c000 - 0x37cfafff  Foundation armv7  <c40ddb073142315bb4ebb214343d0b7f> /System/Library/Frameworks/Foundation.framework/Foundation


Removing crash log from description.
                
> navigator.camera.getPicture() crashing on iOS after memory warning
> ------------------------------------------------------------------
>
>                 Key: CB-391
>                 URL: https://issues.apache.org/jira/browse/CB-391
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.5.0
>         Environment: 2 x iPhone 4S, iOS 5.1. Can't replicate on simulator or iHone 3GS
with iOS 5.0.1
>            Reporter: Richard Kimber
>            Assignee: Shazron Abdullah
>         Attachments: Wulvern_2012-03-27-141033_Richs-iPhone.crash
>
>
> getPicture has become very unstable on previously working code, affecting both Phonegap
1.4.1 and Cordova 1.5.0. Contributing factors, since last working build I have upgraded Xcode
to 4.3.2 (from whatever the last version was) and iPhone to iOS 5.1 from 5.0.1.
> Memory warning is received on displaying camera, app crashes when you select 'use'. Restarting
device usually resolves problem for a limited amount of time. Problem is intermittent and
sometime difficult to replicate. Selecting from Photo library works fine.
> Options used:
> 		var options = {
> 			quality: 40,
> 			sourceType: Camera.DestinationType.FILE_URI
> 		};
> See https://groups.google.com/forum/?hl=en?hl%3Den&fromgroups#!topic/phonegap/ZLbw0s4JREs
for more details.
> See attached for example crash log.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message