Mac OS iTerm2 validateTextureDimensions: failed assertion

I was playing with font sizes on iTerm2 on Mac OS (Mojave) and suddenly iTerm2 started to crash uncontrollably. In spite of uninstall/new install, the crash persisted.
The panic string was:

validateTextureDimensions:1081: failed assertion
`MTLTextureDescriptor has width (78728) greater
than the maximum allowed size of 16384.'

However, trying to start iTerm2 would open an empty terminal and its menu bar. I thought of checking the iTerm2 settings and found font size value of 5000.

The value might have changed while I was trying to update font size. iTerm could never recover after seeing such a huge value as rendering them would need more memory that could fit in its buffers.

Fix

  • Just make sure you have a reasonable font size (< 20 ?) value. That is all.

What iTerm versions are affected?

  • Build 3.3.20190430-nightly

Written with StackEdit.

Advertisements

Published by

Vishal

A voyager on the journey to technology and art of software development. Pursuing arts, music, photography, and ways to live life on the edge

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.