Bug #84908 Workbench crash with message: locale::facet::_S_create_c_locale name not valid

Submitted: 9 Feb 2017 13:42 Modified: 10 Apr 2017 21:40
Reporter: MARCIO ANTUNES Email Updates:
Status: Won't Fix Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S1 (Critical)
Version:6.3.9 OS:Linux ( x86_64)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[9 Feb 2017 13:42] MARCIO ANTUNES
Description:
Workbench crash on attempt to open an model created with de previous version.

Environment:
OS Antergos(arch) X86_64
Language pt_BR

Log Info:

11:23:01 [INF][   WBContext UI]: Initializing workbench context UI with these values:
	base dir: /usr/share/mysql-workbench
	plugin path: /usr/lib/mysql-workbench/plugins
	struct path: /usr/share/mysql-workbench/grt
	module path: /usr/lib/mysql-workbench/modules
	library path: /usr/share/mysql-workbench/libraries
	user data dir: /home/marcio/.mysql/workbench
	open at start: 
	open type: 
	run at startup: 
	run type: 
	Force SW rendering: No
	Force OpenGL: No
	quit when done: No
11:23:01 [INF][      WBContext]: WbContext::init
11:23:02 [INF][            WBA]: Looking for extension modules for WBA...
11:23:02 [INF][            WBA]: 0 extension modules found
11:23:02 [WRN][            grt]: /home/marcio/.mysql/workbench/connections.xml:26: link '5c02fabe-eeca-11e6-95f1-ecf4bbfaa6fc' <object GrtObject> key=owner could not be resolved
11:23:02 [INF][      WBContext]: System info:
 	MySQL Workbench Community (GPL) for Linux/Unix version 6.3.9 CE build 10690321 (64 bit)
	Configuration Directory: /home/marcio/.mysql/workbench
	Data Directory: /usr/share/mysql-workbench
	Cairo Version: 1.14.8
	OS:  x86_64
	CPU: 4x Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz (2799.951MHz) - 7.68GiB RAM
No video adapter info available
	Fips mode enabled: no

11:23:02 [INF][   ModelContext]: Found model auto-save /home/marcio/.mysql/workbench/db.mwbd, but it is empty. Deleting it...
11:23:02 [INF][    WQE backend]: Found auto-save workspace /home/marcio/.mysql/workbench/sql_workspaces/SaudeMaisRemoto2-1.autosave

How to repeat:
1: 
- Open Workbench
- Create new Model
- Attempt to save

2:
- Open Workbench
- Attempt to open your model
[9 Feb 2017 13:43] MARCIO ANTUNES
Display Message

Attachment: Sele��o_411.png (image/png, text), 10.44 KiB.

[21 Feb 2017 19:14] JUAN ANTONIO CLAVERO
I have the same problem, and it's not only when open a model created with a previous versión. When i try to save new model recive the same error message.
[28 Feb 2017 9:57] Rafał K
The same error, can't open anyting.

OS: Linux
Dist: Arch

Broken version:
sudo pacman -U mysql-workbench-6.3.9-1-x86_64.pkg.tar.xz 

Working version:
sudo pacman -U mysql-workbench-6.3.8-7-x86_64.pkg.tar.xz
[6 Mar 2017 19:13] Luis Lezcano Airaldi
I'm having the same problem.
Setting the environment variable LC_ALL=C or LANG=C doesn't work.
[15 Mar 2017 19:06] MARCIO ANTUNES
Hi, 

After long days and no soluction for this problem... 

I attempt to change my default language to english and.... He is live!

Go to the works fine for me:

1 - edit: /etc/locale.gen 
Find and uncoment line like this: 
#en_US.UTF-8 UTF-8

Save end close file

2 - run: sudo locale-gen
Generating locales...
  en_US.UTF-8... done
  pt_BR.UTF-8... done
Generation complete.

3 - nope, is only this!!

Mysql Workbench running without errors! I feel good!!
[15 Mar 2017 20:29] Luis Lezcano Airaldi
Thanks Marcio, it works!
This is still a bug though.
[10 Apr 2017 21:40] MySQL Verification Team
On Manjaro Linux:

g gadget (node viewport, owner GtkViewport)
*** Segmentation fault
Register dump:

 RAX: 00007fff5e9d9450   RBX: 00000000000000f0   RCX: 00000000000000f0
 RDX: 00007fff5e9d9440   RSI: 00007fff5e9d96b0   RDI: 0000000000000000
 RBP: 00007fff5e9d96b0   R8 : 00000000035b8f40   R9 : 79726f6765746163
 R10: 0000000000000cfd   R11: 00007ff0c1ab45e0   R12: 00007fff5e9d9420
 R13: 00007fff5e9d9430   R14: 00007fff5e9d9190   R15: 00007fff5e9d9690
 RSP: 00007fff5e9d9050

 RIP: 00007ff0c1ab4600   EFLAGS: 00010206

 CS: 0033   FS: 0000   GS: 0000

 Trap: 0000000e   Error: 00000004   OldMask: 00000000   CR2: 000000f8

 FPUCW: 0000037f   FPUSW: 00000000   TAG: 00007ff0
 RIP: bc657fff   RDP: 5e9dafd8

 ST(0) 0000 0000000000000000   ST(1) 0000 0000000000000000
 ST(2) 0000 0000000000000000   ST(3) 0000 0000000000000000
 ST(4) 0000 0000000000000000   ST(5) ffff bc00000000000000
 ST(6) ffff bc00000000000000   ST(7) c200 c200000000000000
 mxcsr: 1fa6
 XMM0:  00000000000000000000000000000000 XMM1:  00000000000000000000000000000000
 XMM2:  00000000000000000000000000000000 XMM3:  00000000000000000000000000000000
 XMM4:  00000000000000000000000000000000 XMM5:  00000000000000000000000000000000
 XMM6:  00000000000000000000000000000000 XMM7:  00000000000000000000000000000000
 XMM8:  00000000000000000000000000000000 XMM9:  00000000000000000000000000000000
 XMM10: 00000000000000000000000000000000 XMM11: 00000000000000000000000000000000
 XMM12: 00000000000000000000000000000000 XMM13: 00000000000000000000000000000000
 XMM14: 00000000000000000000000000000000 XMM15: 00000000000000000000000000000000

Backtrace:
/usr/lib/mysql-workbench/libwbprivate.so.6.3.9(_ZN2wb16ModelDiagramForm17set_tool_argumentERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_+0x20)[0x7ff0c1ab4600]
/usr/lib/mysql-workbench/libwbprivate.so.6.3.9(_ZN2wb19WBComponentPhysical26get_command_dropdown_itemsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x641)[0x7ff0c1a61311]
/usr/lib/mysql-workbench/libwbprivate.so.6.3.9(_ZN2wb16ModelDiagramForm18get_dropdown_itemsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_RS6_+0x100)[0x7ff0c1aaaf00]
/usr/lib/mysql-workbench/libwbprivate.so.6.3.9(_ZN2wb16ModelDiagramForm22update_options_toolbarEv+0x615)[0x7ff0c1ab6885]
/usr/lib/mysql-workbench/libwbprivate.so.6.3.9(_ZN2wb16ModelDiagramForm19get_options_toolbarEv+0x9)[0x7ff0c1ab7639]
/usr/bin/mysql-workbench-bin(_ZN17ModelDiagramPanel18update_tool_cursorEv+0x10e)[0x4d89ee]
[24 May 2017 18:26] MySQL Verification Team
https://bugs.mysql.com/bug.php?id=86443 marked as duplicate of this one.
[11 Jul 2017 14:52] Maximilian Walter
I've had the exact same error on Arch i3. Switching my locale to en_US in /etc/locale.gen and running `locale-gen` solved it for me.
[8 Nov 2024 17:33] DIEGO SOUZA SILVA
Thank you MARCIO ANTUNES, your solution has worked for me too.
[14 Sep 18:03] Omer Barnir
Posted by developer:

This issue applies to the legacy MySQL Workbench 8.x implementation that is no longer supported or maintained.
MySQL Workbench 26.7 is a complete rewrite using a new technology stack and does not use the affected legacy implementation.
Therefore, this issue is not applicable to the current MySQL Workbench product and as such is closed.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.062 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.