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

Docker: network unavailable on the container

Scenario

Network connectivity is available on the host.
Container is unable to make any out-connection.

Look out for the following message:

WARNING: IPv4 forwarding is disabled. Networking will not work.

If the above message occur, just restart the host machine. It is most likely due to fresh docker installation on the host that needs a restart.

Written with StackEdit.