Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app run crash on macos m1 pro #750

Closed
itzhoujun opened this issue Jul 8, 2024 · 2 comments
Closed

app run crash on macos m1 pro #750

itzhoujun opened this issue Jul 8, 2024 · 2 comments

Comments

@itzhoujun
Copy link

DebugProfile.entitlements:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>com.apple.security.cs.allow-jit</key>
	<true/>
	<key>com.apple.security.network.server</key>
	<true/>
	<key>com.apple.security.network.client</key>
    <true/>
    <key>keychain-access-groups</key>
    <array/>
</dict>
</plist>

crash log:

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Incident Identifier: 5F58D4C4-B4F5-47C3-A548-514B7BEF833E
CrashReporter Key:   A82DBB90-D20F-24D6-6E51-799DD173E2C9
Hardware Model:      MacBookPro18,1
Process:             newbby [65189]
Path:                /Users/USER/*/newbby.app/Contents/MacOS/newbby
Identifier:          com.javajun.newbby
Version:             1.0.0 (1)
Code Type:           ARM-64 (Native)
Role:                Unspecified
Parent Process:      dart [64649]
Coalition:           com.jetbrains.intellij [216256]
Responsible Process: idea [4290]

Date/Time:           2024-07-08 13:15:39.6023 +0800
Launch Time:         2024-07-08 13:15:39.5986 +0800
OS Version:          macOS 14.1 (23B74)
Release Type:        User
Report Version:      104

Exception Type:  EXC_CRASH (SIGKILL (Code Signature Invalid))
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: CODESIGNING 1 Taskgated Invalid Signature

Triggered by Thread:  0

Thread 0 Crashed:
0                                 	       0x101008b70 _dyld_start + 0


Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x0000000000000000
    x4: 0x0000000000000000   x5: 0x0000000000000000   x6: 0x0000000000000000   x7: 0x0000000000000000
    x8: 0x0000000000000000   x9: 0x0000000000000000  x10: 0x0000000000000000  x11: 0x0000000000000000
   x12: 0x0000000000000000  x13: 0x0000000000000000  x14: 0x0000000000000000  x15: 0x0000000000000000
   x16: 0x0000000000000000  x17: 0x0000000000000000  x18: 0x0000000000000000  x19: 0x0000000000000000
   x20: 0x0000000000000000  x21: 0x0000000000000000  x22: 0x0000000000000000  x23: 0x0000000000000000
   x24: 0x0000000000000000  x25: 0x0000000000000000  x26: 0x0000000000000000  x27: 0x0000000000000000
   x28: 0x0000000000000000   fp: 0x0000000000000000   lr: 0x0000000000000000
    sp: 0x000000016f16edc8   pc: 0x0000000101008b70 cpsr: 0x00001000
   far: 0x0000000000000000  esr: 0x00000000  Address size fault

Binary Images:
       0x101004000 -        0x10109bfff  (*) <ec7a3ba0-f9bf-3ab8-a0f4-8622e5606b20> ???
       0x100c90000 -        0x100c97fff  (*) <ca0b3211-b7b7-3359-ba62-7d896959891e> ???
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

Error Formulating Crash Report:
dyld_process_snapshot_get_shared_cache failed

EOF

-----------
Full Report
-----------

{"app_name":"newbby","timestamp":"2024-07-08 13:15:39.00 +0800","app_version":"1.0.0","slice_uuid":"ca0b3211-b7b7-3359-ba62-7d896959891e","build_version":"1","platform":0,"bundleID":"com.javajun.newbby","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 14.1 (23B74)","roots_installed":0,"name":"newbby","incident_id":"5F58D4C4-B4F5-47C3-A548-514B7BEF833E"}
{
  "uptime" : 1000000,
  "procRole" : "Unspecified",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro18,1",
  "coalitionID" : 216256,
  "osVersion" : {
    "train" : "macOS 14.1",
    "build" : "23B74",
    "releaseType" : "User"
  },
  "captureTime" : "2024-07-08 13:15:39.6023 +0800",
  "codeSigningMonitor" : 1,
  "incident" : "5F58D4C4-B4F5-47C3-A548-514B7BEF833E",
  "pid" : 65189,
  "translated" : false,
  "cpuType" : "ARM-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2024-07-08 13:15:39.5986 +0800",
  "procStartAbsTime" : 26060312141309,
  "procExitAbsTime" : 26060312214234,
  "procName" : "newbby",
  "procPath" : "\/Users\/USER\/*\/newbby.app\/Contents\/MacOS\/newbby",
  "bundleInfo" : {"CFBundleShortVersionString":"1.0.0","CFBundleVersion":"1","CFBundleIdentifier":"com.javajun.newbby"},
  "storeInfo" : {"deviceIdentifierForVendor":"F4B7564C-7999-5540-B837-561AD153934C","thirdParty":true},
  "parentProc" : "dart",
  "parentPid" : 64649,
  "coalitionName" : "com.jetbrains.intellij",
  "crashReporterKey" : "A82DBB90-D20F-24D6-6E51-799DD173E2C9",
  "responsiblePid" : 4290,
  "responsibleProc" : "idea",
  "codeSigningID" : "",
  "codeSigningTeamID" : "",
  "codeSigningFlags" : 16777216,
  "codeSigningValidationCategory" : 0,
  "codeSigningTrustLevel" : 4294967295,
  "instructionByteStream" : {"beforePC":"4AMA+UEEAPAhGC+R4AMUqi6iAZQoAIBSaAIAOfH\/\/xcAAAAAAAAAAA==","atPC":"4AMAkR\/sfJIdAIDSHgCA0goDABQfAACRQAAf1n8jA9X0T76p\/XsBqQ=="},
  "wakeTime" : 5181,
  "sleepWakeUUID" : "94E6CE13-D5FF-42F0-BA77-65FE314391AD",
  "sip" : "disabled",
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGKILL (Code Signature Invalid)"},
  "termination" : {"flags":66,"code":1,"namespace":"CODESIGNING","indicator":"Taskgated Invalid Signature"},
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":47206182,"threadState":{"x":[{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6158740936},"esr":{"value":0,"description":" Address size fault"},"pc":{"value":4311780208,"matchesCrashFrame":1},"far":{"value":0}},"frames":[{"imageOffset":19312,"symbol":"_dyld_start","symbolLocation":0,"imageIndex":0}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4311760896,
    "size" : 622592,
    "uuid" : "ec7a3ba0-f9bf-3ab8-a0f4-8622e5606b20",
    "name" : ""
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4308140032,
    "size" : 32768,
    "uuid" : "ca0b3211-b7b7-3359-ba62-7d896959891e",
    "name" : ""
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  }
],
  "vmSummary" : "ReadOnly portion of Libraries: Total=1072K resident=0K(0%) swapped_out_or_unallocated=1072K(100%)\nWritable regions: Total=8176K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8176K(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nSTACK GUARD                       56.0M        1 \nStack                             8176K        1 \n__DATA                              32K        2 \n__DATA_CONST                        48K        2 \n__DATA_DIRTY                        16K        1 \n__LINKEDIT                         432K        2 \n__TEXT                             640K        2 \n===========                     =======  ======= \nTOTAL                             65.1M       11 \n",
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "logWritingSignature" : "541c959f4d5f481649d759db5cdc9103c284b810",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "645c2d2f9e69a025b0a37e29",
      "factorPackIds" : {

      },
      "deploymentId" : 240000003
    },
    {
      "rolloutId" : "632c763c58740028737bfdd2",
      "factorPackIds" : {
        "SIRI_DIALOG_ASSETS" : "64a57d23fa6fd41b2353e2ae"
      },
      "deploymentId" : 240000034
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "3dff9c91-a8fb-424e-a656-c8d6e6037574",
      "experimentId" : "662152ede2d11d1408c4db33",
      "deploymentId" : 400000016
    },
    {
      "treatmentId" : "c47ab4cc-c9c3-4b5d-a87c-e2433ce02597",
      "experimentId" : "6639bc6ba73d460582162323",
      "deploymentId" : 400000006
    }
  ]
},
  "reportNotes" : [
  "dyld_process_snapshot_get_shared_cache failed"
]
}

Model: MacBookPro18,1, BootROM 10151.41.12, proc 10:8:2 processors, 16 GB, SMC 
Graphics: Apple M1 Pro, Apple M1 Pro, Built-In
Display: Color LCD, 3456 x 2234 Retina, Main, MirrorOff, Online
Display: DELL P2419H, 1920 x 1080 (1080p FHD - Full High Definition), MirrorOff, Online
Display: DELL P2419H, 1920 x 1080 (1080p FHD - Full High Definition), MirrorOff, Online
Memory Module: LPDDR5, Samsung
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4387), wl0: Sep  1 2023 19:46:07 version 20.10.1073.3.8.7.165 FWID 01-b66346c5
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: AX88772C, Ethernet, en7
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: USB3.0 Hub
USB Device: USB2.0 Hub
USB Device: USB-C multiport device
USB Device: AX88772C
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.

@IttaiBarkai
Copy link

@itzhoujun Did you find a solution to this?

@itzhoujun
Copy link
Author

@itzhoujun Did you find a solution to this?

Yes. My Apple Provisioning Profile was expired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants