I am working on a macOS app. The app is already live on the mac App store.
Some of my users are reporting that they can not open the app. To find out the exact reason, I reached out to one of the user and asked him to start dtruss and then open app so that I can check the low level logs using this command,
sudo dtruss -n APPNAME
After checking the logs, this is where it gets stuck,
69180/0x3c9468: stat64("/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/3902/Libraries/libmetal_timestamp.dylib\0", 0x7FFEE457C4D0, 0x0) = 0 0
69180/0x3c9468: open_nocancel("/System/Library/Frameworks/CoreImage.framework/Resources/ci_stdlib.metallib\0", 0x0, 0x1B6) = 5 0
69180/0x3c9468: fstat64(0x5, 0x7FFEE457CC28, 0x0) = 0 0
69180/0x3c9468: lseek(0x5, 0x0, 0x1) = 0 0
69180/0x3c9468: lseek(0x5, 0x0, 0x0) = 0 0
dtrace: error on enabled probe ID 2187 (ID 951: syscall::read_nocancel:return): invalid kernel access in action #13 at DIF offset 68
69180/0x3c9468: lseek(0x5, 0xFFFFFFFFFFFFF058, 0x1) = 88 0
69180/0x3c9468: fstat64(0x5, 0x7FFEE457CD10, 0x0) = 0 0
69180/0x3c9468: lseek(0x5, 0x1B000, 0x0) = 110592 0
dtrace: error on enabled probe ID 2187 (ID 951: syscall::read_nocancel:return): invalid kernel access in action #13 at DIF offset 68
69180/0x3c9468: lseek(0x5, 0x0, 0x0) = 0 0
dtrace: error on enabled probe ID 2187 (ID 951: syscall::read_nocancel:return): invalid kernel access in action #13 at DIF offset 68
69180/0x3c9468: lseek(0x5, 0xFFFFFFFFFFFFF058, 0x1) = 88 0
69180/0x3c9468: lseek(0x5, 0x0, 0x0) = 0 0
dtrace: error on enabled probe ID 2187 (ID 951: syscall::read_nocancel:return): invalid kernel access in action #13 at DIF offset 68
69180/0x3c9468: lseek(0x5, 0xFFFFFFFFFFFFF05C, 0x1) = 92 0
dtrace: error on enabled probe ID 2187 (ID 951: syscall::read_nocancel:return): invalid kernel access in action #13 at DIF offset 68
69180/0x3c9468: lseek(0x5, 0xFFFFFFFFFFFFF035, 0x1) = 145 0
69180/0x3c9468: lseek(0x5, 0x0, 0x0) = 0 0
The same repeated error is getting logged and app does not open at all. I would really appreciate if anyone can get help me get rid of this issue.