wailsapp / wails

Create beautiful applications using Go
https://wails.io
MIT License
25.11k stars 1.21k forks source link

Wails stopped to work after the OSX Update #3842

Open bluszcz opened 1 week ago

bluszcz commented 1 week ago

Description

After the update to Sonoma 14.7 Wails stopped to work:

Process:               CamCa [3446]
Path:                  /private/tmp/*/CamCa.app/Contents/MacOS/CamCa
Identifier:            com.wails.CamCa
Version:               1.0.0 (1.0.0)
Code Type:             ARM-64 (Native)
Parent Process:        wails [3276]
Responsible:           iTerm2 [845]
User ID:               501

Date/Time:             2024-10-20 12:14:27.4260 +0200
OS Version:            macOS 14.7 (23H124)
Report Version:        12
Anonymous UUID:        48B602ED-E547-9D4A-6138-9BE08B221E18

Sleep/Wake UUID:       082988FE-ED47-41FA-8903-C0A7BB4766C2

Time Awake Since Boot: 1400 seconds
Time Since Wake:       940 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid))
Exception Codes:       UNKNOWN_0x32 at 0x0000000102541b90
Exception Codes:       0x0000000000000032, 0x0000000102541b90

Termination Reason:    Namespace CODESIGNING, Code 2 Invalid Page

VM Region Info: 0x102541b90 is in 0x10253c000-0x10362c000;  bytes after start: 23440  bytes before end: 17736815
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  __TEXT                      10253c000-10362c000    [ 16.9M] r-x/r-x SM=COW  /tmp/*/CamCa.app/Contents/MacOS/CamCa
      __DATA_CONST                10362c000-1039b8000    [ 3632K] r--/rw- SM=COW  /tmp/*/CamCa.app/Contents/MacOS/CamCa

Kernel Triage:
VM - (arg = 0x0) A memory corruption was found in executable text

To Reproduce

wails dev should run the app

Expected behaviour

Application is running

Screenshots

image

Attempted Fixes

No response

System Details

Wails Doctor

# Wails
Version | v2.9.2

# System
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
| OS           | MacOS                                                                                                                       |
| Version      | 14.7                                                                                                                        |
| ID           | 23H124                                                                                                                      |
| Go Version   | go1.21.4                                                                                                                    |
| Platform     | darwin                                                                                                                      |
| Architecture | arm64                                                                                                                       |
| CPU          | Apple M2 Pro                                                                                                                |
| GPU          | Chipset Model: Apple M2 Pro Type: GPU Bus: Built-In Total Number of Cores: 16 Vendor: Apple (0x106b) Metal Support: Metal 3 |
| Memory       | 32GB                                                                                                                        |
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

# Dependencies
┌────────────────────────────────────────────────────────────────┐
| Dependency                | Package Name | Status    | Version |
| Xcode command line tools  | N/A          | Installed | 2408    |
| Nodejs                    | N/A          | Installed | 20.18.0 |
| npm                       | N/A          | Installed | 10.8.2  |
| *Xcode                    | N/A          | Available |         |
| *upx                      | N/A          | Available |         |
| *nsis                     | N/A          | Available |         |
└─────────────────── * - Optional Dependency ────────────────────┘

# Diagnosis
Optional package(s) installation details:
  - Xcode: Available at https://apps.apple.com/us/app/xcode/id497799835
  - upx : Available at https://upx.github.io/
  - nsis : More info at https://wails.io/docs/guides/windows-installer/```

Additional context

No response

leaanthony commented 6 days ago

I believe updating to the latest version of Go is needed for this. There's some disparity between the Go output and the latest macOS.