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

Crashes on launch for macOS 15 Beta #132

Open
veilofsecurity opened this issue Jun 11, 2024 · 5 comments
Open

Crashes on launch for macOS 15 Beta #132

veilofsecurity opened this issue Jun 11, 2024 · 5 comments

Comments

@veilofsecurity
Copy link

Describe the bug
I know it's very early but just reporting since noone else has yet. Crashes on launch for macOS 15 Beta. Relevant line from the log appears to be "Symbol not found: _DisplayServicesBrightnessChanged".

To Reproduce
Launch App

Crash Dump

Translated Report (Full Report Below)

Process: OnlySwitch [48524]
Path: /Applications/Only Switch.app/Contents/MacOS/OnlySwitch
Identifier: jacklandrin.OnlySwitch
Version: 2.5.1 (184)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2024-06-11 14:50:51.8780 -0700
OS Version: macOS 15.0 (24A5264n)
Report Version: 12
Anonymous UUID: BFCD0A23-4436-5D8F-F77C-0D009C5D2202

Time Awake Since Boot: 66000 seconds

System Integrity Protection: enabled

Crashed Thread: 0

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Termination Reason: Namespace DYLD, Code 4 Symbol missing
Symbol not found: _DisplayServicesBrightnessChanged
Referenced from: /Applications/Only Switch.app/Contents/MacOS/OnlySwitch
Expected in: /System/Library/PrivateFrameworks/DisplayServices.framework/Versions/A/DisplayServices
(terminated at launch; ignore backtrace)

Thread 0 Crashed:
0 dyld 0x19f6f0d64 __abort_with_payload + 8
1 dyld 0x19f6f80a8 abort_with_payload_wrapper_internal + 104
2 dyld 0x19f6f80dc abort_with_payload + 16
3 dyld 0x19f692130 dyld4::halt(char const*, dyld4::StructuredError const*) + 300
4 dyld 0x19f68eb0c dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3988
5 dyld 0x19f68db34 dyld4::start(dyld4::KernelArgs*, void*, void*)::$_0::operator()() const + 544
6 dyld 0x19f68d034 start + 2264

Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000006 x1: 0x0000000000000004 x2: 0x000000016d3115c0 x3: 0x00000000000000c5
x4: 0x000000016d3111c0 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000490
x8: 0x0000000000000020 x9: 0x000000016d31113f x10: 0x000000000000000a x11: 0x0000000000000000
x12: 0x0000000000000034 x13: 0x0000000000000000 x14: 0x0000000216bf2210 x15: 0x000000016d313c38
x16: 0x0000000000000209 x17: 0x000000019f68a354 x18: 0x0000000000000000 x19: 0x0000000000000000
x20: 0x000000016d3111c0 x21: 0x00000000000000c5 x22: 0x000000016d3115c0 x23: 0x0000000000000004
x24: 0x0000000000000006 x25: 0x0000000000001258 x26: 0x00000002049eb840 x27: 0x000000016d313140
x28: 0x000000016d313060 fp: 0x000000016d311190 lr: 0x000000019f6f80a8
sp: 0x000000016d311150 pc: 0x000000019f6f0d64 cpsr: 0x80001000
far: 0x0000000000000000 esr: 0x56000080 Address size fault

Binary Images:
0x102adc000 - 0x103027fff jacklandrin.OnlySwitch (2.5.1) /Applications/Only Switch.app/Contents/MacOS/OnlySwitch
0x19f687000 - 0x19f708c7b dyld () <94556bf3-ffa8-3dc8-aeae-d3d3a12c7f02> /usr/lib/dyld
0x0 - 0xffffffffffffffff ??? (
) <00000000-0000-0000-0000-000000000000> ???

External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 0
thread_create: 0
thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=589.4M resident=0K(0%) swapped_out_or_unallocated=589.4M(100%)
Writable regions: Total=8416K written=80K(1%) resident=80K(1%) swapped_out=0K(0%) unallocated=8336K(99%)

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
STACK GUARD 56.0M 1
Stack 8176K 1
VM_ALLOCATE 16K 1
__DATA 395K 3
__DATA_CONST 296K 2
__DATA_DIRTY 7K 1
__LINKEDIT 583.6M 2
__TEXT 5944K 2
__TPRO_CONST 272K 1
mapped file 416K 3
page table in kernel 80K 1
shared memory 32K 1
=========== ======= =======
TOTAL 654.9M 19


Full Report

{"app_name":"OnlySwitch","timestamp":"2024-06-11 14:50:51.00 -0700","app_version":"2.5.1","slice_uuid":"d7e88a50-3abc-3f47-b775-dc8911873a76","build_version":"184","platform":1,"bundleID":"jacklandrin.OnlySwitch","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 15.0 (24A5264n)","roots_installed":0,"name":"OnlySwitch","incident_id":"077B1BB8-1E47-4FD0-B573-50DF888F8B68"}
{
"uptime" : 66000,
"procRole" : "Default",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "Mac13,2",
"coalitionID" : 6796,
"osVersion" : {
"train" : "macOS 15.0",
"build" : "24A5264n",
"releaseType" : "User"
},
"captureTime" : "2024-06-11 14:50:51.8780 -0700",
"codeSigningMonitor" : 1,
"incident" : "077B1BB8-1E47-4FD0-B573-50DF888F8B68",
"pid" : 48524,
"translated" : false,
"cpuType" : "ARM-64",
"roots_installed" : 0,
"bug_type" : "309",
"procLaunch" : "2024-06-11 14:50:51.5512 -0700",
"procStartAbsTime" : 1604010759335,
"procExitAbsTime" : 1604018590077,
"procName" : "OnlySwitch",
"procPath" : "/Applications/Only Switch.app/Contents/MacOS/OnlySwitch",
"bundleInfo" : {"CFBundleShortVersionString":"2.5.1","CFBundleVersion":"184","CFBundleIdentifier":"jacklandrin.OnlySwitch"},
"storeInfo" : {"deviceIdentifierForVendor":"C8567384-0BAA-5BC1-AF74-5939D1EA9BE9","thirdParty":true},
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "jacklandrin.OnlySwitch",
"crashReporterKey" : "BFCD0A23-4436-5D8F-F77C-0D009C5D2202",
"codeSigningID" : "jacklandrin.OnlySwitch",
"codeSigningTeamID" : "B22726TNGH",
"codeSigningFlags" : 570503953,
"codeSigningValidationCategory" : 6,
"codeSigningTrustLevel" : 4294967295,
"instructionByteStream" : {"beforePC":"5AAAACABAAAoAQAAMAEAADgBAABAAQAASAEAAGQBAAAwQYDSARAA1A==","atPC":"AwEAVH8jA9X9e7+p/QMAkTtk/pe/AwCR/XvBqP8PX9bAA1/WEC2A0g=="},
"bootSessionUUID" : "BA509C00-FB36-4B4D-89F6-48BF32EE1F04",
"sip" : "enabled",
"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
"termination" : {"code":4,"flags":518,"namespace":"DYLD","indicator":"Symbol missing","details":["(terminated at launch; ignore backtrace)"],"reasons":["Symbol not found: _DisplayServicesBrightnessChanged","Referenced from: /Applications/Only Switch.app/Contents/MacOS/OnlySwitch","Expected in: /System/Library/PrivateFrameworks/DisplayServices.framework/Versions/A/DisplayServices"]},
"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":1304787,"threadState":{"x":[{"value":6},{"value":4},{"value":6126900672},{"value":197},{"value":6126899648},{"value":0},{"value":0},{"value":1168},{"value":32},{"value":6126899519},{"value":10},{"value":0},{"value":52},{"value":0},{"value":8971559440},{"value":6126910520},{"value":521},{"value":6969402196,"symbolLocation":420,"symbol":"__simple_bprintf"},{"value":0},{"value":0},{"value":6126899648},{"value":197},{"value":6126900672},{"value":4},{"value":6},{"value":4696},{"value":8667445312,"symbolLocation":14320,"symbol":"dyld4::preallocator"},{"value":6126907712},{"value":6126907488}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6969852072},"cpsr":{"value":2147487744},"fp":{"value":6126899600},"sp":{"value":6126899536},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6969822564,"matchesCrashFrame":1},"far":{"value":0}},"frames":[{"imageOffset":433508,"symbol":"__abort_with_payload","symbolLocation":8,"imageIndex":1},{"imageOffset":463016,"symbol":"abort_with_payload_wrapper_internal","symbolLocation":104,"imageIndex":1},{"imageOffset":463068,"symbol":"abort_with_payload","symbolLocation":16,"imageIndex":1},{"imageOffset":45360,"symbol":"dyld4::halt(char const*, dyld4::StructuredError const*)","symbolLocation":300,"imageIndex":1},{"imageOffset":31500,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":3988,"imageIndex":1},{"imageOffset":27444,"symbol":"dyld4::start(dyld4::KernelArgs*, void*, void*)::$_0::operator()() const","symbolLocation":544,"imageIndex":1},{"imageOffset":24628,"symbol":"start","symbolLocation":2264,"imageIndex":1}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "arm64",
"base" : 4339908608,
"CFBundleShortVersionString" : "2.5.1",
"CFBundleIdentifier" : "jacklandrin.OnlySwitch",
"size" : 5554176,
"uuid" : "d7e88a50-3abc-3f47-b775-dc8911873a76",
"path" : "/Applications/Only Switch.app/Contents/MacOS/OnlySwitch",
"name" : "OnlySwitch",
"CFBundleVersion" : "184"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6969389056,
"size" : 531580,
"uuid" : "94556bf3-ffa8-3dc8-aeae-d3d3a12c7f02",
"path" : "/usr/lib/dyld",
"name" : "dyld"
},
{
"size" : 0,
"source" : "A",
"base" : 0,
"uuid" : "00000000-0000-0000-0000-000000000000"
}
],
"sharedCache" : {
"base" : 6968590336,
"size" : 4663967744,
"uuid" : "de835d74-5cd7-37e9-8c67-8aca9547413f"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=589.4M resident=0K(0%) swapped_out_or_unallocated=589.4M(100%)\nWritable regions: Total=8416K written=80K(1%) resident=80K(1%) swapped_out=0K(0%) unallocated=8336K(99%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nSTACK GUARD 56.0M 1 \nStack 8176K 1 \nVM_ALLOCATE 16K 1 \n__DATA 395K 3 \n__DATA_CONST 296K 2 \n__DATA_DIRTY 7K 1 \n__LINKEDIT 583.6M 2 \n__TEXT 5944K 2 \n__TPRO_CONST 272K 1 \nmapped file 416K 3 \npage table in kernel 80K 1 \nshared memory 32K 1 \n=========== ======= ======= \nTOTAL 654.9M 19 \n",
"legacyInfo" : {
"threadTriggered" : {

}
},
"logWritingSignature" : "a1d083b122796805c616d1b015a15434f83fb946",
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "632c763c58740028737bfdd2",
"factorPackIds" : {
"SIRI_DIALOG_ASSETS" : "64a57d23fa6fd41b2353e2ae"
},
"deploymentId" : 250000029
},
{
"rolloutId" : "654d8c0661e7447155256fcd",
"factorPackIds" : {
"SIRI_TEXT_TO_SPEECH" : "6646a008b6a75d3dc3299393"
},
"deploymentId" : 250000112
}
],
"experiments" : [
{
"treatmentId" : "2dffbe18-a39a-4f33-ada9-2cce30af39ca",
"experimentId" : "6384d56b96e8d228551ec182",
"deploymentId" : 400000032
},
{
"treatmentId" : "3dff9c91-a8fb-424e-a656-c8d6e6037574",
"experimentId" : "662152ede2d11d1408c4db33",
"deploymentId" : 400000015
}
]
}
}

Model: Mac13,2, BootROM 11881.0.80.0.2, proc 20:16:4 processors, 64 GB, SMC
Graphics: Apple M1 Ultra, Apple M1 Ultra, Built-In
Display: LG HDR 4K, 6016 x 3384, Main, MirrorOff, Online
Display: SAMSUNG, 6016 x 3384, MirrorOff, Online
Display: LG HDR 4K, 6016 x 3384, MirrorOff, Online
Display: LG HDR 4K, 6016 x 3384, MirrorOff, Online
Memory Module: LPDDR5, Hynix
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4387), wl0: Apr 22 2024 07:24:59 version 20.10.1110.0.8.7.176 FWID 01-9bbe88a8
IO80211_driverkit-1302.55 "IO80211_driverkit-1302.55" May 30 2024 20:56:50
AirPort:
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Network Service: Wi-Fi, AirPort, en1
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: USB3.0 Hub
USB Device: USB3.0 Hub
USB Device: ASM225
USB Device: USB2.0 Hub
USB Device: RTL9210B-CG
USB Device: USB2.0 Hub
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: Stream Deck MK.2
USB Device: USB2.1 Hub
USB Device: USB2.1 Hub
USB Device: Sound BlasterX Katana
USB Device: Back-UPS BGM1500 FW:31316S12-31320S10
USB Device: YubiKey OTP+FIDO+CCID
USB Device: USB Receiver
USB Device: USB PnP Audio Device
USB Device: G815 RGB MECHANICAL GAMING KEYBOARD
USB Device: USB3.1 Hub
USB Device: USB3.1 Hub
USB Device: Logitech BRIO
Thunderbolt Bus: Mac Studio, Apple Inc.
Thunderbolt Bus: Mac Studio, Apple Inc.
Thunderbolt Bus: Mac Studio, Apple Inc.
Thunderbolt Bus: Mac Studio, Apple Inc.
Thunderbolt Bus: Mac Studio, Apple Inc.
Thunderbolt Bus: Mac Studio, Apple Inc.

@jacklandrin
Copy link
Owner

Thanks for the report!
TBH, I don't use any beta 1 generally, since there are often many bugs and they usually can be fixed in next beta by Apple. I will update my development device to the latest beta and check it.

@veilofsecurity
Copy link
Author

So far most of the previews have been stable with only minor UI glitches. macOS has been least stable with OnlySwitch not working and a couple other apps randomly crashing but nothing super crazy. Happy to test if you get a beta version going.

@JackYe200
Copy link

在macOS 15 beta2测试组新版本仍然不行,期待修复
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Termination Reason: Namespace DYLD, Code 4 Symbol missing
Symbol not found: _DisplayServicesBrightnessChanged
谢谢

@jacklandrin
Copy link
Owner

Seems the private API of brightness doesn't work in macOS 15. Will provide a beta version to hide the dim screen switch temporally to avoid this crash.

@JackYe200
Copy link

谢谢大佬

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

3 participants