fredericky123

Results 180 comments of fredericky123

FYI: maybe the app crashes due to an invalid memory access?

> The app hangs, I will try to learn "dtrace" to find out where exactly it hangs on.

``` cwd /Users/ll txt /Applications/myapp/myapp.app/Contents/MacOS/myapp txt /usr/local/Cellar/libfaketime/HEAD-f50664f/lib/faketime/libfaketime.1.dylib txt /Library/Preferences/Logging/.plist-cache.PXWnbwL1 txt /private/var/db/timezone/tz/2021a.3.0/icutz/icutz44l.dat txt /private/var/db/analyticsd/events.whitelist txt /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/SystemAppearance.car txt /private/var/folders/v3/zsqwb5j926d09y3ylhly90m40000gn/C/com.apple.IntlDataCache.le.kbdx txt /usr/lib/libobjc-trampolines.dylib txt /Library/Caches/com.apple.iconservices.store/728A5534-12A4-3DFE-8B87-821AC87CDB0F.isdata txt /Applications/myapp/myapp.app/Contents/Frameworks/Scintilla.framework/Versions/A/Scintilla txt /Applications/myapp/myapp.app/Contents/Resources/lib/libomp.dylib txt /usr/share/icu/icudt68l.dat txt /private/var/folders/v3/zsqwb5j926d09y3ylhly90m40000gn/0/com.apple.LaunchServices.dv/com.apple.LaunchServices-3027-v2.csstore txt...

While for the wrapper which works, the log is below: ``` cwd /Users/ll txt /Applications/myapp/myapp.app/Contents/MacOS/myapp txt /usr/local/Cellar/libfaketime/HEAD-f50664f/lib/faketime/libfaketime.1.dylib txt /Library/Preferences/Logging/.plist-cache.PXWnbwL1 txt /private/var/db/timezone/tz/2021a.3.0/icutz/icutz44l.dat txt /private/var/db/analyticsd/events.whitelist txt /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/SystemAppearance.car txt /Applications/myapp/utilities/java/macosx-x64/zulu-jdk11.0.14/zulu-11.jdk/Contents/Home/lib/libextnet.dylib txt /usr/lib/libobjc-trampolines.dylib txt...

I tracked the pid, is this helpful? For syntax: `` SYSCALL(args) = return workq_kernreturn(0x20, 0x0, 0x1) = 0 0 workq_kernreturn(0x20, 0x0, 0x1) = 0 0 workq_kernreturn(0x4, 0x0, 0x0) = 0...

For syntax that doesn't work: ``` Sampling process 41343 for 3 seconds with 1 millisecond of run time between samples Sampling completed, processing symbols... Analysis of sampling myapp (pid 41343)...

For faketime wrapper that works: ``` Sampling process 41427 for 3 seconds with 1 millisecond of run time between samples Sampling completed, processing symbols... Analysis of sampling myapp (pid 41427)...

> bash, zsh I have tried bash, zsh from Mac's terminal, and also terminal from Pycharm, all of this will cause the problem for the manual syntax. I hope I...