Crash on Kubuntu, caused by locale setting #43712

Closed
opened 2015-02-17 20:10:56 +01:00 by Midgard · 8 comments

System Information
Linux 3.13.0-45-generic #74-Ubuntu SMP x86_64 GNU/Linux, Kubuntu 14.04 with KDE 4.13.3

Blender Version
Broken: 2.73a bbf09d9
Worked: unknown

Short description of error
Upon trying to render anything

Exact steps for others to reproduce the error

  1. Go to KDE's System Settings. Under Common Appearance and Behavior, go to Locale. In the Country/Region & Language screen, go to the tab Country and set Country to Belgium. In the Languages tab, set American English as the only preferred language. Click Apply.
  2. Log out and back in to apply the locale settings.
  3. Open Blender.
  4. Leave the default cube to be and go to the Material pane (make sure you are on Cycles).
  5. Add a diffuse shader, select an Image Texture for color. Click Open and select an image file. Blender crashes.

The issue can be avoided if you make sure the texture does not get rendered:
1, 2, 3 as above
4. Fill the Blender window with a 3D Viewport and a node editor. (I think essentially you have to make sure you can't see a thumbnail of the material. Having a Material tab open makes Blender crash because of the small thumbnail.)
5. In the node editor, plug an Image Texture into a Diffuse shader, and the output of that shader into the Surface input of the Material Output.
6. In the Image Texture node, open an image. No crash!
7. Trigger a render (e.g. a normal F12), Blender crashes.

If I change my locale into United Kingdom and American English, everything works just fine. I can use Blender again but it seems stupid that such a small setting makes it utterly crash. It wasn't until today that I got the brilliant idea of having a look at the terminal output.

Terminal debug output

$ cd /home/###/Programs/blender/blender-2.73a-linux-glibc211-x86_64
$ ./blender --debug
Switching to fully guarded memory allocator.
Blender 2.73 (sub 0)
Build: 2015-01-20 18:19:01 Linux:64bit Release
argv- [x] = ./blender
argv- [x] = --debug
connect failed: No such file or directory

Note: No (valid) '/home/###/.config/blender/2.73/config/startup.blend' found, fall back to built-in default.

read file

Version 272 sub 2 date 1970-01-01 00:00 hash unknown

ordered
OBCube
OBLamp
OBCamera
read file /home/###/.config/blender/2.73/config/userpref.blend

Version 273 sub 0 date 1970-01-01 00:00 hash unknown

Read new prefs: /home/###/.config/blender/2.73/config/userpref.blend
found bundled python: /home/###/Programs/blender/blender-2.73a-linux-glibc211-x86_64/2.73/python
read file

Version 262 sub 3 date 1970-01-01 00:00 hash 

read file

Version 268 sub 5 date 1970-01-01 00:00 hash 

ED_undo_push: Blender Render ### Here I changed to Cycles
ED_undo_push: Node input modify ### In the Material tab, selecting the Image Texture
ED_undo_push: Open Image ### After selecting an image to use
terminate called after throwing an instance of 'std::runtime_error'

what():  locale::facet::_S_create_c_locale name not valid

Aborted (core dumped)

**System Information** Linux 3.13.0-45-generic #74-Ubuntu SMP x86_64 GNU/Linux, Kubuntu 14.04 with KDE 4.13.3 **Blender Version** Broken: 2.73a bbf09d9 Worked: unknown **Short description of error** Upon trying to render anything **Exact steps for others to reproduce the error** 1. Go to KDE's System Settings. Under Common Appearance and Behavior, go to Locale. In the Country/Region & Language screen, go to the tab Country and set Country to Belgium. In the Languages tab, set American English as the only preferred language. Click Apply. 2. Log out and back in to apply the locale settings. 3. Open Blender. 4. Leave the default cube to be and go to the Material pane (make sure you are on Cycles). 5. Add a diffuse shader, select an Image Texture for color. Click Open and select an image file. Blender crashes. The issue can be avoided if you make sure the texture does not get rendered: 1, 2, 3 as above 4. Fill the Blender window with a 3D Viewport and a node editor. (I think essentially you have to make sure you can't see a thumbnail of the material. Having a Material tab open makes Blender crash because of the small thumbnail.) 5. In the node editor, plug an Image Texture into a Diffuse shader, and the output of that shader into the Surface input of the Material Output. 6. In the Image Texture node, open an image. No crash! 7. Trigger a render (e.g. a normal F12), Blender crashes. If I change my locale into United Kingdom and American English, everything works just fine. I can use Blender again but it seems stupid that such a small setting makes it utterly crash. It wasn't until today that I got the brilliant idea of having a look at the terminal output. **Terminal debug output** $ cd /home/###/Programs/blender/blender-2.73a-linux-glibc211-x86_64 $ ./blender --debug Switching to fully guarded memory allocator. Blender 2.73 (sub 0) Build: 2015-01-20 18:19:01 Linux:64bit Release argv- [x] = ./blender argv- [x] = --debug connect failed: No such file or directory Note: No (valid) '/home/###/.config/blender/2.73/config/startup.blend' found, fall back to built-in default. read file ``` Version 272 sub 2 date 1970-01-01 00:00 hash unknown ``` ordered OBCube OBLamp OBCamera read file /home/###/.config/blender/2.73/config/userpref.blend ``` Version 273 sub 0 date 1970-01-01 00:00 hash unknown ``` Read new prefs: /home/###/.config/blender/2.73/config/userpref.blend found bundled python: /home/###/Programs/blender/blender-2.73a-linux-glibc211-x86_64/2.73/python read file ``` Version 262 sub 3 date 1970-01-01 00:00 hash ``` read file ``` Version 268 sub 5 date 1970-01-01 00:00 hash ``` ED_undo_push: Blender Render ### Here I changed to Cycles ED_undo_push: Node input modify ### In the Material tab, selecting the Image Texture ED_undo_push: Open Image ### After selecting an image to use terminate called after throwing an instance of 'std::runtime_error' ``` what(): locale::facet::_S_create_c_locale name not valid ``` Aborted (core dumped)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @Midgard

Added subscriber: @Midgard
Author

Sorry, let me do that again :p

Terminal debug output (but now in a block of code)

Text after ### on a rule is a comment by me.

$ cd /home/myusername/Programs/blender/blender-2.73a-linux-glibc211-x86_64
$ ./blender --debug
Switching to fully guarded memory allocator.
Blender 2.73 (sub 0)
Build: 2015-01-20 18:19:01 Linux:64bit Release
argv[0] = ./blender
argv[1] = --debug
connect failed: No such file or directory

Note: No (valid) '/home/myusername/.config/blender/2.73/config/startup.blend' found, fall back to built-in default.

read file 
  Version 272 sub 2 date 1970-01-01 00:00 hash unknown

ordered
 OBCube
 OBLamp
 OBCamera
read file /home/myusername/.config/blender/2.73/config/userpref.blend
  Version 273 sub 0 date 1970-01-01 00:00 hash unknown
Read new prefs: /home/myusername/.config/blender/2.73/config/userpref.blend
found bundled python: /home/myusername/Programs/blender/blender-2.73a-linux-glibc211-x86_64/2.73/python
read file 
  Version 262 sub 3 date 1970-01-01 00:00 hash 
read file 
  Version 268 sub 5 date 1970-01-01 00:00 hash 

ED_undo_push: Blender Render              ### Here I changed to Cycles
ED_undo_push: Node input modify           ### In the Material tab, selecting the Image Texture
ED_undo_push: Open Image                  ### After selecting an image to use
terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid
Aborted (core dumped)
Sorry, let me do that again :p **Terminal debug output (but now in a block of code)** Text after ### on a rule is a comment by me. ``` $ cd /home/myusername/Programs/blender/blender-2.73a-linux-glibc211-x86_64 $ ./blender --debug Switching to fully guarded memory allocator. Blender 2.73 (sub 0) Build: 2015-01-20 18:19:01 Linux:64bit Release argv[0] = ./blender argv[1] = --debug connect failed: No such file or directory Note: No (valid) '/home/myusername/.config/blender/2.73/config/startup.blend' found, fall back to built-in default. read file Version 272 sub 2 date 1970-01-01 00:00 hash unknown ordered OBCube OBLamp OBCamera read file /home/myusername/.config/blender/2.73/config/userpref.blend Version 273 sub 0 date 1970-01-01 00:00 hash unknown Read new prefs: /home/myusername/.config/blender/2.73/config/userpref.blend found bundled python: /home/myusername/Programs/blender/blender-2.73a-linux-glibc211-x86_64/2.73/python read file Version 262 sub 3 date 1970-01-01 00:00 hash read file Version 268 sub 5 date 1970-01-01 00:00 hash ED_undo_push: Blender Render ### Here I changed to Cycles ED_undo_push: Node input modify ### In the Material tab, selecting the Image Texture ED_undo_push: Open Image ### After selecting an image to use terminate called after throwing an instance of 'std::runtime_error' what(): locale::facet::_S_create_c_locale name not valid Aborted (core dumped) ```
Member

Added subscriber: @Blendify

Added subscriber: @Blendify

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Looks like a duplicate of #43544 which was fixed a while back.

Please try with a recent build.

Looks like a duplicate of #43544 which was fixed a while back. Please try with a recent build.
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Julian Eisel self-assigned this 2015-02-24 00:11:09 +01:00
Member

No answer for one week -> closed! Sorry, but we have to be very strict in order to keep our bug tracker organized. We can consider reopening after we've got the requested information.

No answer for one week -> closed! Sorry, but we have to be very strict in order to keep our bug tracker organized. We can consider reopening after we've got the requested information.
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
4 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#43712
No description provided.