You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After building ISIS on a MacOSX 10.15 Catalina system, none of the ISIS application GUIs would display anything. Every ISIS application ran would show the exec window in the dock but nothing would display. Meanwhile, the app would run at 100% and start consuming memory. Had to abort them after running for several minutes as this usage of CPU and memory would continue.
After some searching, I found a solution that worked for the me. It appears to be a bug in Qt, specifically 5.12.9, but seems to only affect Big Sur. I think this shows that it also affects Catalina under certain conditions.
Running conda list shows the following version of Qt installed on my system in the environment that was used to build ISIS:
qt 5.12.9 h2a607e2_5 conda-forge
The fix is to add export QT_MAC_WANTS_LAYER=1 to your shell environment prior to running ISIS applications. Doing that appears to have solved my problem.
Note that ISIS applications appear to run fine in batch mode and are apparently unaffected by this problem.
It looks like the problem has been fixed in version Qt 5.12.11 according to the Qt bug linked above. So I would suggest upgrading to a newer version of Qt.
How to reproduce
Build ISIS on MacOSX 10.15 and run any program in GUI mode.
Not sure if this can be consistently reproduced.
Possible Solution
Upgrade to qt>=5.12.11.
Additional context
The text was updated successfully, but these errors were encountered:
@KrisBecker Thank you for mentioning this. Some of the devs have known about this for a little while and it has been on our radar since updating to Big Sur. We were waiting for an updated version of qt to be pushed to conda-forge and it looks like 5.15 was pushed about two months ago:
You are correct that this is also an issue on Big Sur being a little more pronounced, resulting in Illegal Instruction errors when running apps like qview. This is something I have fought with for a while now, so thank you for bring it back to our attention!
ISIS version(s) affected: Unknown
Description
After building ISIS on a MacOSX 10.15 Catalina system, none of the ISIS application GUIs would display anything. Every ISIS application ran would show the
exec
window in the dock but nothing would display. Meanwhile, the app would run at 100% and start consuming memory. Had to abort them after running for several minutes as this usage of CPU and memory would continue.After some searching, I found a solution that worked for the me. It appears to be a bug in Qt, specifically 5.12.9, but seems to only affect Big Sur. I think this shows that it also affects Catalina under certain conditions.
Running
conda list
shows the following version of Qt installed on my system in the environment that was used to build ISIS:The fix is to add
export QT_MAC_WANTS_LAYER=1
to your shell environment prior to running ISIS applications. Doing that appears to have solved my problem.Note that ISIS applications appear to run fine in batch mode and are apparently unaffected by this problem.
It looks like the problem has been fixed in version Qt 5.12.11 according to the Qt bug linked above. So I would suggest upgrading to a newer version of Qt.
How to reproduce
Build ISIS on MacOSX 10.15 and run any program in GUI mode.
Not sure if this can be consistently reproduced.
Possible Solution
Upgrade to
qt>=5.12.11
.Additional context
The text was updated successfully, but these errors were encountered: