doug-m / CollectorAuroraTesting

Manage testing feedback for Collector holistic testing.
0 stars 7 forks source link

Launching Collector via Workforce using integration crashes the app #90

Closed sarahmaisel closed 5 years ago

sarahmaisel commented 6 years ago

Issue

When you integrate Collector with a Workforce project at workforce.arcgis.com, choosing "Collect at assignment" will launch Collector but crash before it loads the map.

The level of integration does not matter. Standard integration without passing any parameters crashes the app Setting up the integration to pass parameters (ID, GlobalID, or Description) also crashes the app It will crash whether you point the integration to a main feature layer or a related table

Expected Behavior

It should not crash :-)

Map and Credentials

Steps to Reproduce

image

Workforce Field : ID >>> pass to any layer >>> choose any field that is listed (only fields with the appropriate field type will appear)

Launch the Workforce app > Start assignment > Collect at assignment Make sure you do not have Collector classic installed - ONLY Collector beta > It will launch the beta, then immediately crash

http://www.screencast.com/t/A0kB9zhJ

No crash log was generated Workforce does not crash

Device Information

kyliedonia commented 6 years ago

Might be SF #869

li2504 commented 6 years ago

@sbubka94 I can repro the crash following your exact steps. I saw the same happened on my iPhone 6+ as what you posted in the screen cast. Thank you for the detailed instruction.

Following is the crash log.

{"app_name":"Collector","timestamp":"2018-05-10 14:50:08.06 -0700","app_version":"0.1","slice_uuid":"7b73a482-f4b8-39f7-94da-ca7506bd78f9","adam_id":0,"build_version":"2238","bundleID":"com.esri.aurora","share_with_app_devs":false,"is_first_party":false,"bug_type":"109","os_version":"iPhone OS 11.2.6 (15D100)","incident_id":"F0868437-F377-40A8-BC9D-227A4837C42D","name":"Collector"}
Incident Identifier: F0868437-F377-40A8-BC9D-227A4837C42D
CrashReporter Key:   3c806c45b36c9324b330ead0a1ef4c58aab2bcb4
Hardware Model:      iPhone7,1
Process:             Collector [815]
Path:                /private/var/containers/Bundle/Application/7FBD1A05-1CFB-43B4-A045-B0F81C04D4E8/Collector.app/Collector
Identifier:          com.esri.aurora
Version:             2238 (0.1)
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.esri.aurora [511]

Date/Time:           2018-05-10 14:50:07.0761 -0700
Launch Time:         2018-05-10 13:00:49.5771 -0700
OS Version:          iPhone OS 11.2.6 (15D100)
Baseband Version:    6.30.04
Report Version:      104

Exception Type:  EXC_BAD_ACCESS (SIGKILL)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
VM Region Info: 0 is not in any region.  Bytes before following region: 4306763776
      REGION TYPE                      START - END             [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                 0000000100b40000-0000000100c98000 [ 1376K] r-x/r-x SM=COW  ...app/Collector

Termination Reason: Namespace SPRINGBOARD, Code 0x8badf00d
Termination Description: SPRINGBOARD, scene-update watchdog transgression: com.esri.aurora exhausted real (wall clock) time allowance of 10.00 seconds |  | ProcessVisibility: Foreground | ProcessState: Running | WatchdogEvent: scene-update | WatchdogVisibility: Foreground | WatchdogCPUStatistics: ( | "Elapsed total CPU time (seconds): 13.920 (user 13.920, system 0.000), 69% CPU", | "Elapsed application CPU time (seconds): 9.928, 50% CPU" | )
Triggered by Thread:  0

Filtered syslog:
None found

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libobjc.A.dylib               
0x0000000181784410 0x181770000 + 82960
1   CoreFoundation                
0x000000018253d060 0x1823ec000 + 1380448
2   CoreFoundation                
0x00000001824c864c 0x1823ec000 + 902732
3   CoreFoundation                
0x000000018240687c 0x1823ec000 + 108668
4   Foundation                    
0x0000000182e680b0 0x182e1d000 + 307376
5   UIKit                         
0x000000018c76f000 0x18bada000 + 13193216
6   UIKit                         
0x000000018c76f0a0 0x18bada000 + 13193376
7   UIKit                         
0x000000018bb52f10 0x18bada000 + 495376
8   UIKit                         
0x000000018bbf07e8 0x18bada000 + 1140712
9   UIKit                         
0x000000018bbf08dc 0x18bada000 + 1140956
10  UIKit                         
0x000000018bbf070c 0x18bada000 + 1140492
11  UIKit                         
0x000000018bc021a8 0x18bada000 + 1212840
12  CoreFoundation                
0x00000001824c113c 0x1823ec000 + 872764
13  CoreFoundation                
0x00000001824c06dc 0x1823ec000 + 870108
14  CoreFoundation                
0x00000001824c0440 0x1823ec000 + 869440
15  CoreFoundation                
0x000000018253de24 0x1823ec000 + 1383
Kevin-GIS commented 5 years ago

This issue has been addressed. Closing this issue.