Blender 2.93 Crashes on Launch on macOS Mojave 10.14.6 #89201

Closed
opened 2021-06-16 16:49:42 +02:00 by Staph. aureus · 11 comments

System Information
Operating system: Darwin-18.7.0-x86_64-i386-64bit 64 Bits
Graphics card: NVIDIA GeForce GT 750M OpenGL Engine NVIDIA Corporation 4.1 NVIDIA-12.0.24 355.11.10.50.10.103
More details regarding the hardware could be found on Apple's website: https://support.apple.com/kb/SP704 - This is the 2.5GHz 512G version.
System config that may matter: My locale is set to zh_TW.UTF-8. Provided due to locale mentioned in crash report.

Blender Version
Broken: version: 2.93.0 and version 2.93.1
Worked: version: 2.83.16, branch: master, commit date: 2021-06-15 08:46, hash: 051567553d

Short description of error
Blender crashes on launch with error of SIGABRT

libc++abi.dylib: terminating with uncaught exception of type boost::locale::conv::conversion_error: Conversion failed

Detailed crash report can be found on the following pages:

Exact steps for others to reproduce the error

  1. Launch Blender.
  2. Blender crashes.
**System Information** Operating system: Darwin-18.7.0-x86_64-i386-64bit 64 Bits Graphics card: NVIDIA GeForce GT 750M OpenGL Engine NVIDIA Corporation 4.1 NVIDIA-12.0.24 355.11.10.50.10.103 More details regarding the hardware could be found on Apple's website: https://support.apple.com/kb/SP704 - This is the 2.5GHz 512G version. System config that may matter: My locale is set to zh_TW.UTF-8. Provided due to locale mentioned in crash report. **Blender Version** Broken: version: 2.93.0 and version 2.93.1 Worked: version: 2.83.16, branch: master, commit date: 2021-06-15 08:46, hash: `051567553d` **Short description of error** Blender crashes on launch with error of SIGABRT ``` libc++abi.dylib: terminating with uncaught exception of type boost::locale::conv::conversion_error: Conversion failed ``` Detailed crash report can be found on the following pages: - 2.93.0: https://paste.aosc.io/paste/o6xc2Ooy1PZFJ7Yv3hRyLw - 2.93.1: https://paste.aosc.io/paste/nAGfgrGsZxZyRQZ13OD-9g **Exact steps for others to reproduce the error** 1. Launch Blender. 2. Blender crashes.
Author

Added subscriber: @Staph

Added subscriber: @Staph
Member

Added subscriber: @ankitm

Added subscriber: @ankitm
Member

Changed status from 'Needs Triage' to: 'Archived'

Changed status from 'Needs Triage' to: 'Archived'
Member

How to set locale ? I change it in system preferences -> language & region and move korean above English. Then restart. Despite this, LANG stays empty. And I cannot redo the crash on macOS 10.14.6.
image.png

#88877 (2.93: Crash on system with a non-English locale)

How to set locale ? I change it in system preferences -> language & region and move korean above English. Then restart. Despite this, `LANG` stays empty. And I cannot redo the crash on macOS 10.14.6. ![image.png](https://archive.blender.org/developer/F10175547/image.png) #88877 (2.93: Crash on system with a non-English locale)
Member

I tried forcing export LANG=zh_TW.UTF-8 and opened blender in the same terminal window. It opened fine, I changed language selection from English to automatic and it changed the language. Subsequent launches were fine too.

I tried forcing `export LANG=zh_TW.UTF-8` and opened blender in the same terminal window. It opened fine, I changed language selection from English to automatic and it changed the language. Subsequent launches were fine too.
Author

I dug a little bit further on my system and am not sure if this helps...

It seems that Blender is doing something other than reading environmental variables to determine the locale of the OS.

When I changed my system locale by dragging English to top from the Preferences, Blender works just fine, even though the locale variables on the terminal still remains the same.

> locale

LANG="zh_TW.UTF-8"
LC_COLLATE="zh_TW.UTF-8"
LC_CTYPE="zh_TW.UTF-8"
LC_MESSAGES="zh_TW.UTF-8"
LC_MONETARY="zh_TW.UTF-8"
LC_NUMERIC="zh_TW.UTF-8"
LC_TIME="zh_TW.UTF-8"
LC_ALL=

> ./Blender

# Blender runs just fine.

When I changed my system locale by dragging English to my current location (3rd location, with zh_TW and zh_CN above it), Blender crashes with the error mentioned above, even though the locale variables are set to represent an OS in English.

> locale

LANG=
LC_COLLATE="C"
LC_CTYPE="UTF-8"
LC_MESSAGES="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_ALL=

> ./Blender

libc++abi.dylib: terminating with uncaught exception of type boost::locale::conv::conversion_error: Conversion failed
zsh: abort      ./Blender
I dug a little bit further on my system and am not sure if this helps... It seems that Blender is doing something other than reading environmental variables to determine the locale of the OS. When I changed my system locale by dragging English to top from the Preferences, Blender works just fine, even though the locale variables on the terminal still remains the same. ``` > locale LANG="zh_TW.UTF-8" LC_COLLATE="zh_TW.UTF-8" LC_CTYPE="zh_TW.UTF-8" LC_MESSAGES="zh_TW.UTF-8" LC_MONETARY="zh_TW.UTF-8" LC_NUMERIC="zh_TW.UTF-8" LC_TIME="zh_TW.UTF-8" LC_ALL= > ./Blender # Blender runs just fine. ``` When I changed my system locale by dragging English to my current location (3rd location, with zh_TW and zh_CN above it), Blender crashes with the error mentioned above, even though the locale variables are set to represent an OS in English. ``` > locale LANG= LC_COLLATE="C" LC_CTYPE="UTF-8" LC_MESSAGES="C" LC_MONETARY="C" LC_NUMERIC="C" LC_TIME="C" LC_ALL= > ./Blender libc++abi.dylib: terminating with uncaught exception of type boost::locale::conv::conversion_error: Conversion failed zsh: abort ./Blender ```
Author

So on my OS Blender crashes when the System Preferences -> Language and Region has zh_TW above English, and Blender runs fine when English is at the top of the list.

I may have another suspect that I also have MacPorts installed on my laptop, but I highly doubt it will do anything to Blender... Unless it provides a buggy libc++abi.dylib or Boost and Blender tried to use that instead.

So on my OS Blender crashes when the System Preferences -> Language and Region has zh_TW above English, and Blender runs fine when English is at the top of the list. I may have another suspect that I also have MacPorts installed on my laptop, but I highly doubt it will do anything to Blender... Unless it provides a buggy libc++abi.dylib or Boost and Blender tried to use that instead.
Member

Boost is statically linked afaik. The dynamic ones can be seen at otool -L Blender2.93.0.app/Contents/MacOS/Blender
I tried removing English, setting japanese korean and chinese in System Preferences -> Language and Region as well as editing bash profile to set LANG and LC_ALL. Still launches fine.
I'll close it as duplicate of the other task now. If you find something, please post there.
I was seeing big sur as the common OS in the reports so far, but maybe that's because a lot of people just upgraded.

Boost is statically linked afaik. The dynamic ones can be seen at `otool -L Blender2.93.0.app/Contents/MacOS/Blender` I tried removing English, setting japanese korean and chinese in System Preferences -> Language and Region as well as editing bash profile to set LANG and LC_ALL. Still launches fine. I'll close it as duplicate of the other task now. If you find something, please post there. I was seeing big sur as the common OS in the reports so far, but maybe that's because a lot of people just upgraded.
Member

Closed as duplicate of #88877

Closed as duplicate of #88877

Added subscriber: @Unfold

Added subscriber: @Unfold

Hi all,

I'm having the same issue. Blender 2.93.4 crashes on boot on a 11.5.2 system with Dutch set as language. I can confirm that dragging English to the top of the list in system preferences (language & region I believe in English) solves the issue. But this is a workaround as I don't want to set my system to English permanently. I hoped adding Blender to the Apps tab in language & region and setting it to English would work but I can't as Blender doesn't support multiple languages, or at least not using the default alternative language mechanisms.

Hi all, I'm having the same issue. Blender 2.93.4 crashes on boot on a 11.5.2 system with Dutch set as language. I can confirm that dragging English to the top of the list in system preferences (language & region I believe in English) solves the issue. But this is a workaround as I don't want to set my system to English permanently. I hoped adding Blender to the Apps tab in language & region and setting it to English would work but I can't as Blender doesn't support multiple languages, or at least not using the default alternative language mechanisms.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#89201
No description provided.