Open BasicBaer opened 5 years ago
I am guessing that you are using an older mac ? See also comment for downloading osx dmg: "The other build is optimized for current CPUs. Older macintosh (older than 2011 and older OSX) please use homebew and compile txs yourself on your machine."
@sunderme I'm not an OSX expert, but would it be possible to detect older Macs and gracefully exit with an appropirate message?
i don‘t know how ...
Beforehand: The original assessment was correct, the problem was my rather old MacBook. Building TexStudio in macports solved the problem.
That, of course, isn't something anybody can do. But then I'd guess that those people also don't use TeX.
Could we check this https://apple.stackexchange.com/a/299540 in |main()|?
You could. Or use the sysctl (3) call to get the value. Question is if that helps anybody.
Maybe a better approachs would be so see if binaries compiled for old platforms would run without too much performance penalty on new systems. Because then a better solution would be to build with a command set limited to older CPUs and avoid the problem altogether.
You could. Or use the sysctl (3) call to get the value. Question is if that helps anybody.
At least, they would get the information that this TXS version executable is not meant to run on their CPU and can use build their own or use an older version of TXS. That's far better than just crashing.
I cannot judge on the feasibility and performance impact on the compilation for older platforms.
TexStudio crashes, somtimes spantaniously, but also when trying to use the internal PDF viewer.
Environment
Was using the DMG provided by the project.
Additional Information
See attached crash reports: texstudio-crashreports.tar.gz