Why is MATLAB crashing on Mac 10.15.7 or later when I interact with or mouse over figure content?

40 views (last 30 days)
I recently installed an Apple security update 2021-007 for MacOS 10.15.7 or later.  Now, when I interact with certain figures using my mouse, I get a MATLAB crash.  The crash log includes lines with "glReadPixels", "gpumInitializeIOData.cold.1", "gpumCreateComputeContext", "gpusKillClientExt", and/or "AppleIntelHD4000GraphicsGLDriver". I see similar crashes when using other software such as Firefox, Safari, and my VPN client.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 19 Nov 2021
This is a bug originating in the Apple security update.  It affects users with the Intel HD4000 graphics driver.  To confirm that you are seeing this bug, execute the following command in the Mac terminal immediately after the crash occurs.
log show --debug --info --last 5m | grep IOA
If the output looks like the following, particularly with the 0xfffffffb error code, then the crash is related to this known bug.
2021-11-09 15:03:10.236583-0500 0x1a1fa0 Fault 0x0 0 0 kernel: (IOAcceleratorFamily2) void IOAccelContext2::setContextError(uint32_t): stream error found. token_id was 0x9800 token_size was 0x0008
2021-11-09 15:03:10.236753-0500 0x1a1fa0 Default 0x0 0 0 kernel: (IOAcceleratorFamily2) The graphics driver has encountered internal error 0x0, 0xfffffffb.
For most situations, upgrading to MATLAB R2021b should solve the issue.  If you are still encountering this issue in MATLAB R2021b, or you are seeing a different error code when you run the steps above, please contact MathWorks Technical Support .

More Answers (0)

Tags

No tags entered yet.

Products


Release

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!