gpt4all icon indicating copy to clipboard operation
gpt4all copied to clipboard

GPT4All v3.6.1 Update & Uninstall Both Crash Due to Invalid Code Signature

Open adriano-di-giovanni opened this issue 9 months ago • 1 comments
trafficstars

Bug Report

GPT4All v3.6.1 Update & Uninstall Both Crash Due to Invalid Code Signature

Steps to Reproduce

Updating

  1. Launch GPT4All (v3.6.1).
  2. A modal appears at startup, indicating that a new version is available.
  3. Click on the Update button in the modal.
  4. The application crashes immediately.

Uninstalling

  1. Open the maintenancetool application located in ~/Applications/gpt4all.
  2. Select the option to uninstall GPT4All.
  3. The application crashes immediately.

Expected Behavior

  • Clicking the Update button should successfully download and install the new version without crashing.
  • Running the maintenancetool should fully remove GPT4All from the system without issues.

Your Environment

  • GPT4All version: 3.6.1
  • Operating System: 15.3.1 (Apple M4)

Crash details when updating:

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

Incident Identifier: 8BD89200-D58A-438B-9482-E8AE77D8DC15
CrashReporter Key:   842FB91C-CD61-2787-0D09-0259928417C5
Hardware Model:      Mac16,1
Process:             maintenancetool [87440]
Path:                /Applications/gpt4all/maintenancetool.app/Contents/MacOS/maintenancetool
Identifier:          com.yourcompany.installerbase
Version:             4.8.1 (4.8.1)
Code Type:           X86-64 (Native)
Role:                Unspecified
Parent Process:      launchd [1]
Coalition:           gpt4all [12252]
Responsible Process: gpt4all [87434]

Date/Time:           2025-02-19 21:33:47.7128 +0100
Launch Time:         2025-02-19 21:33:47.6994 +0100
OS Version:          macOS 15.3.1 (24D70)
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   main_executable_path_missing  	    0x7ff7ffbd7f7c 0x7ff7ffbd5000 + 12156


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000000  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x0000000000000000  rsi: 0x0000000000000000  rbp: 0x0000000000000000  rsp: 0x0000000000000000
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000000
  r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x0000000000000000
  rip: <unavailable>       rfl: 0x0000000000000203
 tmp0: 0x0000000000000000 tmp1: 0x0000000000000000 tmp2: 0x0000000000000000


Binary Images:
       0x206aff000 -        0x206b8afff dyld_path_missing (*) <f2913392-361a-304f-b30d-486be5639e2d> /dyld_path_missing
    0x7ff7ffbd5000 -     0x7ff7ffc04fff main_executable_path_missing (*) <11b18945-107e-3e0d-91fa-b5d5ada3c0c4> /main_executable_path_missing
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

Error Formulating Crash Report:
dyld_process_snapshot_get_shared_cache failed
PC register does not match crashing frame (0x0 vs 0x7FF7FFBD7F7C)

EOF

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

{"app_name":"maintenancetool","timestamp":"2025-02-19 21:33:47.00 +0100","app_version":"4.8.1","slice_uuid":"fe3e0a1d-c696-3f59-9778-adf4e8923b9f","build_version":"4.8.1","platform":0,"bundleID":"com.yourcompany.installerbase","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 15.3.1 (24D70)","roots_installed":0,"name":"maintenancetool","incident_id":"8BD89200-D58A-438B-9482-E8AE77D8DC15"}
{
  "uptime" : 90000,
  "procRole" : "Unspecified",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "Mac16,1",
  "coalitionID" : 12252,
  "osVersion" : {
    "train" : "macOS 15.3.1",
    "build" : "24D70",
    "releaseType" : "User"
  },
  "captureTime" : "2025-02-19 21:33:47.7128 +0100",
  "codeSigningMonitor" : 2,
  "incident" : "8BD89200-D58A-438B-9482-E8AE77D8DC15",
  "pid" : 87440,
  "translated" : true,
  "cpuType" : "X86-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2025-02-19 21:33:47.6994 +0100",
  "procStartAbsTime" : 2176189702448,
  "procExitAbsTime" : 2176190021339,
  "procName" : "maintenancetool",
  "procPath" : "\/Applications\/gpt4all\/maintenancetool.app\/Contents\/MacOS\/maintenancetool",
  "bundleInfo" : {"CFBundleShortVersionString":"4.8.1","CFBundleVersion":"4.8.1","CFBundleIdentifier":"com.yourcompany.installerbase"},
  "storeInfo" : {"deviceIdentifierForVendor":"9251B578-56FF-565D-B25F-6F321405A3DF","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "gpt4all",
  "crashReporterKey" : "842FB91C-CD61-2787-0D09-0259928417C5",
  "responsiblePid" : 87434,
  "responsibleProc" : "gpt4all",
  "codeSigningID" : "",
  "codeSigningTeamID" : "",
  "codeSigningFlags" : 16777216,
  "codeSigningValidationCategory" : 0,
  "codeSigningTrustLevel" : 4294967295,
  "bootSessionUUID" : "3C48AB6B-32C9-4D0B-B617-7987A476E9D8",
  "wakeTime" : 4212,
  "sleepWakeUUID" : "B5DD4C2A-5D1B-4FEC-A35D-FF9665B94462",
  "sip" : "enabled",
  "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":2109297,"threadState":{"flavor":"x86_THREAD_STATE","rbp":{"value":0},"r12":{"value":0},"rosetta":{"tmp2":{"value":0},"tmp1":{"value":0},"tmp0":{"value":0}},"rbx":{"value":0},"r8":{"value":0},"r15":{"value":0},"r10":{"value":0},"rdx":{"value":0},"rdi":{"value":0},"r9":{"value":0},"r13":{"value":0},"rflags":{"value":515},"rax":{"value":0},"rsp":{"value":0},"r11":{"value":0},"rcx":{"value":0},"r14":{"value":0},"rsi":{"value":0}},"frames":[{"imageOffset":12156,"imageIndex":1}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 8702128128,
    "size" : 573440,
    "uuid" : "f2913392-361a-304f-b30d-486be5639e2d",
    "path" : "\/dyld_path_missing",
    "name" : "dyld_path_missing"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 140703124246528,
    "size" : 196608,
    "uuid" : "11b18945-107e-3e0d-91fa-b5d5ada3c0c4",
    "path" : "\/main_executable_path_missing",
    "name" : "main_executable_path_missing"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  }
],
  "vmSummary" : "ReadOnly portion of Libraries: Total=1064K resident=0K(0%) swapped_out_or_unallocated=1064K(100%)\nWritable regions: Total=33.2M written=224K(1%) resident=224K(1%) swapped_out=0K(0%) unallocated=33.0M(99%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nSTACK GUARD                       56.0M        1 \nStack                             8176K        1 \nVM_ALLOCATE                       24.9M        7 \nVM_ALLOCATE (reserved)              80K        1         reserved VM address space (unallocated)\n__DATA                              76K        4 \n__DATA_CONST                        24K        1 \n__DATA_DIRTY                         8K        2 \n__LINKEDIT                         336K        4 \n__TEXT                             752K        2 \n__TPRO_CONST                       276K        1 \nmapped file                        8.9G       39 \npage table in kernel               224K        1 \n===========                     =======  ======= \nTOTAL                              9.0G       64 \nTOTAL, minus reserved VM space     9.0G       64 \n",
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "logWritingSignature" : "142b39aa6a1c0f47c418dc78cf98d3bc8bd1ee7e",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "5fb4245a1bbfe8005e33a1e1",
      "factorPackIds" : {

      },
      "deploymentId" : 240000021
    },
    {
      "rolloutId" : "64c025b28b7f0e739e4fbe58",
      "factorPackIds" : {
        "SIRI_UNDERSTANDING_CLASSIC_DEPRECATION" : "657ba0a39ec5da283662e9d2"
      },
      "deploymentId" : 240000032
    }
  ],
  "experiments" : [

  ]
},
  "reportNotes" : [
  "dyld_process_snapshot_get_shared_cache failed",
  "PC register does not match crashing frame (0x0 vs 0x7FF7FFBD7F7C)"
]
}

Model: Mac16,1, BootROM 11881.81.4, proc 10:4:6 processors, 24 GB, SMC 
Graphics: Apple M4, Apple M4, Built-In
Display: Color LCD, 3024 x 1964 Retina, Main, MirrorOff, Online
Display: LG HDR 4K, 6016 x 3384, MirrorOff, Online
Memory Module: LPDDR5, Hynix
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4388), wl0: Oct 31 2024 06:19:10 version 23.10.900.20.41.51.176 FWID 01-be2c8114
IO80211_driverkit-1345.10 "IO80211_driverkit-1345.10" Dec 14 2024 17:47:07
AirPort: 
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: AX88179A, Ethernet, en7
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: AX88179A
USB Device: USB31Bus
USB Device: hub_device
USB Device: HD Pro Webcam C920
USB Device: USB Controls
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.

Crash details when uninstalling

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

Incident Identifier: 2AC6ECBF-82C4-4DBE-B002-507281DB4577
CrashReporter Key:   842FB91C-CD61-2787-0D09-0259928417C5
Hardware Model:      Mac16,1
Process:             maintenancetool [87357]
Path:                /Applications/gpt4all/maintenancetool.app/Contents/MacOS/maintenancetool
Identifier:          com.yourcompany.installerbase
Version:             4.8.1 (4.8.1)
Code Type:           X86-64 (Native)
Role:                Default
Parent Process:      launchd [1]
Coalition:           com.yourcompany.installerbase [21911]

Date/Time:           2025-02-19 21:32:43.4204 +0100
Launch Time:         2025-02-19 21:32:43.3945 +0100
OS Version:          macOS 15.3.1 (24D70)
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   main_executable_path_missing  	    0x7ff7ffc20f7c 0x7ff7ffc1e000 + 12156


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000000  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x0000000000000000  rsi: 0x0000000000000000  rbp: 0x0000000000000000  rsp: 0x0000000000000000
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000000
  r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x0000000000000000
  rip: <unavailable>       rfl: 0x0000000000000203
 tmp0: 0x0000000000000000 tmp1: 0x0000000000000000 tmp2: 0x0000000000000000


Binary Images:
       0x2070f1000 -        0x20717cfff dyld_path_missing (*) <f2913392-361a-304f-b30d-486be5639e2d> /dyld_path_missing
    0x7ff7ffc1e000 -     0x7ff7ffc4dfff main_executable_path_missing (*) <11b18945-107e-3e0d-91fa-b5d5ada3c0c4> /main_executable_path_missing
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

Error Formulating Crash Report:
dyld_process_snapshot_get_shared_cache failed
PC register does not match crashing frame (0x0 vs 0x7FF7FFC20F7C)

EOF

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

{"app_name":"maintenancetool","timestamp":"2025-02-19 21:32:43.00 +0100","app_version":"4.8.1","slice_uuid":"fe3e0a1d-c696-3f59-9778-adf4e8923b9f","build_version":"4.8.1","platform":0,"bundleID":"com.yourcompany.installerbase","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 15.3.1 (24D70)","roots_installed":0,"name":"maintenancetool","incident_id":"2AC6ECBF-82C4-4DBE-B002-507281DB4577"}
{
  "uptime" : 90000,
  "procRole" : "Default",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "Mac16,1",
  "coalitionID" : 21911,
  "osVersion" : {
    "train" : "macOS 15.3.1",
    "build" : "24D70",
    "releaseType" : "User"
  },
  "captureTime" : "2025-02-19 21:32:43.4204 +0100",
  "codeSigningMonitor" : 2,
  "incident" : "2AC6ECBF-82C4-4DBE-B002-507281DB4577",
  "pid" : 87357,
  "translated" : true,
  "cpuType" : "X86-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2025-02-19 21:32:43.3945 +0100",
  "procStartAbsTime" : 2174646380687,
  "procExitAbsTime" : 2174646998620,
  "procName" : "maintenancetool",
  "procPath" : "\/Applications\/gpt4all\/maintenancetool.app\/Contents\/MacOS\/maintenancetool",
  "bundleInfo" : {"CFBundleShortVersionString":"4.8.1","CFBundleVersion":"4.8.1","CFBundleIdentifier":"com.yourcompany.installerbase"},
  "storeInfo" : {"deviceIdentifierForVendor":"9251B578-56FF-565D-B25F-6F321405A3DF","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "com.yourcompany.installerbase",
  "crashReporterKey" : "842FB91C-CD61-2787-0D09-0259928417C5",
  "codeSigningID" : "",
  "codeSigningTeamID" : "",
  "codeSigningFlags" : 16777216,
  "codeSigningValidationCategory" : 0,
  "codeSigningTrustLevel" : 4294967295,
  "bootSessionUUID" : "3C48AB6B-32C9-4D0B-B617-7987A476E9D8",
  "wakeTime" : 4147,
  "sleepWakeUUID" : "B5DD4C2A-5D1B-4FEC-A35D-FF9665B94462",
  "sip" : "enabled",
  "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":2107625,"threadState":{"flavor":"x86_THREAD_STATE","rbp":{"value":0},"r12":{"value":0},"rosetta":{"tmp2":{"value":0},"tmp1":{"value":0},"tmp0":{"value":0}},"rbx":{"value":0},"r8":{"value":0},"r15":{"value":0},"r10":{"value":0},"rdx":{"value":0},"rdi":{"value":0},"r9":{"value":0},"r13":{"value":0},"rflags":{"value":515},"rax":{"value":0},"rsp":{"value":0},"r11":{"value":0},"rcx":{"value":0},"r14":{"value":0},"rsi":{"value":0}},"frames":[{"imageOffset":12156,"imageIndex":1}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 8708362240,
    "size" : 573440,
    "uuid" : "f2913392-361a-304f-b30d-486be5639e2d",
    "path" : "\/dyld_path_missing",
    "name" : "dyld_path_missing"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 140703124545536,
    "size" : 196608,
    "uuid" : "11b18945-107e-3e0d-91fa-b5d5ada3c0c4",
    "path" : "\/main_executable_path_missing",
    "name" : "main_executable_path_missing"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  }
],
  "vmSummary" : "ReadOnly portion of Libraries: Total=1064K resident=0K(0%) swapped_out_or_unallocated=1064K(100%)\nWritable regions: Total=33.2M written=224K(1%) resident=224K(1%) swapped_out=0K(0%) unallocated=33.0M(99%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nSTACK GUARD                       56.0M        1 \nStack                             8176K        1 \nVM_ALLOCATE                       24.9M        7 \nVM_ALLOCATE (reserved)              80K        1         reserved VM address space (unallocated)\n__DATA                              76K        4 \n__DATA_CONST                        24K        1 \n__DATA_DIRTY                         8K        2 \n__LINKEDIT                         336K        4 \n__TEXT                             752K        2 \n__TPRO_CONST                       276K        1 \nmapped file                        8.9G       39 \npage table in kernel               224K        1 \n===========                     =======  ======= \nTOTAL                              9.0G       64 \nTOTAL, minus reserved VM space     9.0G       64 \n",
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "logWritingSignature" : "142b39aa6a1c0f47c418dc78cf98d3bc8bd1ee7e",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "5fb4245a1bbfe8005e33a1e1",
      "factorPackIds" : {

      },
      "deploymentId" : 240000021
    },
    {
      "rolloutId" : "64c025b28b7f0e739e4fbe58",
      "factorPackIds" : {
        "SIRI_UNDERSTANDING_CLASSIC_DEPRECATION" : "657ba0a39ec5da283662e9d2"
      },
      "deploymentId" : 240000032
    }
  ],
  "experiments" : [

  ]
},
  "reportNotes" : [
  "dyld_process_snapshot_get_shared_cache failed",
  "PC register does not match crashing frame (0x0 vs 0x7FF7FFC20F7C)"
]
}

Model: Mac16,1, BootROM 11881.81.4, proc 10:4:6 processors, 24 GB, SMC 
Graphics: Apple M4, Apple M4, Built-In
Display: Color LCD, 3024 x 1964 Retina, Main, MirrorOff, Online
Display: LG HDR 4K, 6016 x 3384, MirrorOff, Online
Memory Module: LPDDR5, Hynix
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4388), wl0: Oct 31 2024 06:19:10 version 23.10.900.20.41.51.176 FWID 01-be2c8114
IO80211_driverkit-1345.10 "IO80211_driverkit-1345.10" Dec 14 2024 17:47:07
AirPort: 
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: AX88179A, Ethernet, en7
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: AX88179A
USB Device: USB31Bus
USB Device: hub_device
USB Device: HD Pro Webcam C920
USB Device: USB Controls
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.

adriano-di-giovanni avatar Feb 19 '25 20:02 adriano-di-giovanni