[Resolved 1.2.1] Topaz Video (& Video AI) crashes on startup if LC_NUMERIC or LC_ALL is not set to C.UTF-8 (macOS)

OS & Topaz Video version

I have LC_ALL=en_US.UTF-8 set in my GUI session (using EnvPane) for reasons I won’t get in to here. This causes Topaz Video to crash on startup, with the following stdout when running from the terminal:

objc[83759]: Class AVFFrameReceiver is implemented in both /Applications/Topaz Video.app/Contents/Frameworks/libavdevice.62.2.100.dylib (0x106f807a8) and /Applications/Topaz Video.app/Contents/Frameworks/libavdevice.61.4.100.dylib (0x11d7ec7a8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[83759]: Class AVFAudioReceiver is implemented in both /Applications/Topaz Video.app/Contents/Frameworks/libavdevice.62.2.100.dylib (0x106f807f8) and /Applications/Topaz Video.app/Contents/Frameworks/libavdevice.61.4.100.dylib (0x11d7ec7f8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
Non-C locale detected. This is not supported.
Call 'setlocale(LC_NUMERIC, "C");' in your code.
libc++abi: terminating due to uncaught exception of type std::runtime_error: could not create mpv context
zsh: abort      /Applications/Topaz\ Video.app/Contents/MacOS/Topaz\ Video

Either removing LC_ALL from my env (which I’d rather not do since I need the env definition to make another application work right) or running Video from the terminal with.

LC_ALL=C.UTF-8 /Applications/Topaz\ Video.app/Contents/MacOS/Topaz\ Video

fixes the issue.

Apparently libmpv requires LC_NUMERIC=C (although for whatever reason, starting Video with LC_NUMERIC=C doesn’t work. Likely gets overridden by LC_ALL?)

Reproduction

  1. open the terminal
  2. type the following and hit enter:
LC_ALL=en_US.UTF-8 /Applications/Topaz\ Video.app/Contents/MacOS/Topaz\ Video

The same has been happening to me where it just doesn’t open and I’ve uninstalled it and nothing.

Sent a note to the devs with your full details to see if they can look into this.

Apologies on the delay. Trying to get back through the forums and address issues.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.