Appboy / appboy-ios-sdk

Public repo for the Braze iOS SDK
https://www.braze.com
Other
164 stars 142 forks source link

[Bug]: 0x1b4ea62b8 __CFBinaryPlistWriteOrPresize + 556 #366

Closed hzh137940556 closed 5 months ago

hzh137940556 commented 8 months ago

Platform

iOS

Platform Version

iPhone OS 17.0.3

Braze SDK Version

4.5

Xcode Version

xcode 14

Integration Method

Carthage

Computer Processor

Intel

Repro Rate

uncertain

Steps To Reproduce

Example: launch and crash

Expected Behavior

launch successfully

Actual Incorrect Behavior

launch crashed

Verbose Logs

{"roots_installed":"0","app_cohort":"2|date=1698571800000&sf=143441&tid=69c5200acd1281fcfbc110829a85dd0ade869b2f70bf913124de0aaabcf79e3d&ttype=i","app_name":"App","app_version":"1.0.53","timestamp":"2023-10-29 21:41:36.00 -0700","slice_uuid":"daedddc3-5cc0-3cf5-8e0e-66011a4b1b9c","adam_id":"1521375720","build_version":"62310290846","platform":"2","bundleID":"ai.brain.natural","share_with_app_devs":"0","is_first_party":"0","bug_type":"309","os_version":"iPhone OS 17.0.3 (21A360)","incident_id":"9D96658B-6CF6-437B-8184-2A73402D839B","name":"App","is_beta":"1"}
{
  "uptime": 220000,
  "procRole": "Background",
  "version": 2,
  "userID": 501,
  "deployVersion": 210,
  "modelCode": "iPhone16,1",
  "coalitionID": 1523,
  "osVersion": {
    "isEmbedded": true,
    "train": "iPhone OS 17.0.3",
    "releaseType": "User",
    "build": "21A360"
  },
  "captureTime": "2023-10-29 21:41:35.2443 -0700",
  "codeSigningMonitor": 2,
  "incident": "9D96658B-6CF6-437B-8184-2A73402D839B",
  "pid": 8400,
  "cpuType": "ARM-64",
  "roots_installed": 0,
  "bug_type": "309",
  "procLaunch": "2023-10-29 21:41:24.9669 -0700",
  "procStartAbsTime": 5418924384608,
  "procExitAbsTime": 5419170856857,
  "procName": "App",
  "procPath": "/private/var/containers/Bundle/Application/1A4CE780-AB00-49AC-8FA7-8D5119D803DB/App.app/App",
  "bundleInfo": {
    "CFBundleShortVersionString": "1.0.53",
    "CFBundleVersion": "62310290846",
    "CFBundleIdentifier": "ai.brain.natural",
    "DTAppStoreToolsBuild": "15A240a"
  },
  "storeInfo": {
    "itemID": "1521375720",
    "storeCohortMetadata": "2|date=1698571800000&sf=143441&tid=69c5200acd1281fcfbc110829a85dd0ade869b2f70bf913124de0aaabcf79e3d&ttype=i",
    "entitledBeta": true,
    "deviceIdentifierForVendor": "615B710A-A950-454E-9F25-60B7D8D51778",
    "softwareVersionExternalIdentifier": "123792931",
    "applicationVariant": "1:iPhone16,1:17",
    "thirdParty": true
  },
  "parentProc": "launchd",
  "parentPid": 1,
  "coalitionName": "ai.brain.natural",
  "isBeta": 1,
  "lowPowerMode": 1,
  "wasUnlockedSinceBoot": 1,
  "isLocked": 0,
  "codeSigningID": "ai.brain.natural",
  "codeSigningTeamID": "3H6QPJUZ9X",
  "codeSigningFlags": 570434305,
  "codeSigningValidationCategory": 2,
  "codeSigningTrustLevel": 4,
  "instructionByteStream": {
    "beforePC": "4QMZqj4JAJQaAIDSCPt/0+kjAJEpQTXL9wMVKjgRAJEfBQDxG8Wfmg==",
    "atPC": "IXt6+JYBALT/CwC54AMWqswSAJQICMBa6AsAueADFKrhAxiq4gMXqg=="
  },
  "basebandVersion": "1.00.03",
  "exception": {
    "codes": "0x0000000000000000, 0x0000000000000000",
    "rawCodes": [
      0,
      0
    ],
    "type": "EXC_CRASH",
    "signal": "SIGKILL"
  },
  "termination": {
    "code": 2343432205,
    "flags": 6,
    "namespace": "FRONTBOARD",
    "reasons": [
      "<RBSTerminateContext| domain:10 code:0x8BADF00D explanation:scene-create watchdog transgression: app<ai.brain.natural(F7A0241C-D9EF-43FA-955A-1EACC3ED0126)>:8400 exhausted real (wall clock) time allowance of 10.00 seconds",
      "ProcessVisibility: Background",
      "ProcessState: Running",
      "WatchdogEvent: scene-create",
      "WatchdogVisibility: Foreground",
      "WatchdogCPUStatistics: (",
      "\"Elapsed total CPU time (seconds): 28.790 (user 21.070, system 7.720), 48% CPU\",",
      "\"Elapsed application CPU time (seconds): 11.777, 20% CPU\"",
      ") reportType:CrashLog maxTerminationResistance:Interactive>"
    ]
  },
  "ktriageinfo": "VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter\nVM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter\nVM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter\nVM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter\nVM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter\n",
  "faultingThread": 0,

Additional Information

image
hzh137940556 commented 8 months ago

@hokstuff Please take a look at the specific reasons, thanks

jacksonemiller commented 8 months ago

Hi @hzh137940556, thank you for bringing this to our attention. We were wondering if you might able to give us a little more information on the conditions surrounding the crash.

We will continue our involvement in this support thread. Officially, we have deprecated our Objective-C SDK and have scheduled its end-of-life date as March 1, 2024. We would encourage you look into migrating to our newer Swift SDK as a potential, more immediately available option for resolving this issue.

hokstuff commented 5 months ago

I am closing out this public issue due to its possible staleness and encourage you to migrate to our Braze Swift SDK (see migration guide here). We are under a month away from the end-of-life of our legacy AppboyKit ObjC SDK and are not actively developing for this SDK. Also, since the Swift SDK was written from the ground up, this issue is should not be present on that repo.

Thanks!