Bug #112706 MySQLWorkbench crashes on starting a new model
Submitted: 12 Oct 2023 13:15 Modified: 12 Oct 2023 14:57
Reporter: Jurgen Doreleijers Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S1 (Critical)
Version:8.0.34 OS:MacOS (Sonoma (14.0))
Assigned to: CPU Architecture:ARM (Same with intel)
Tags: WBBugReporter

[12 Oct 2023 13:15] Jurgen Doreleijers
Description:
15:02:26 [INF][      Workbench]: Starting up Workbench
15:02:26 [INF][   WBContext UI]: Initializing workbench context UI with these values:
	base dir: /Applications/MySQLWorkbench.app/Contents/Resources
	plugin path: /Applications/MySQLWorkbench.app/Contents/PlugIns
	struct path: /Applications/MySQLWorkbench.app/Contents/Resources/grt
	module path: /Applications/MySQLWorkbench.app/Contents/PlugIns:/Applications/MySQLWorkbench.app/Contents/Resources/plugins
	library path: /Applications/MySQLWorkbench.app/Contents/Resources/libraries
	user data dir: /Users/jd/Library/Application Support/MySQL/Workbench
	open at start: 
	open type: 
	run at startup: 
	run type: 
	Force SW rendering: No
	Force OpenGL: No
	quit when done: No
15:02:26 [INF][      WBContext]: WbContext::init
15:02:26 [INF][            WBA]: Looking for extension modules for WBA...
15:02:26 [INF][            WBA]: 0 extension modules found
15:02:27 [WRN][            grt]: Duplicate plugin name wb.tools.cmdlineClient	There is more than one plugin with the name wb.tools.cmdlineClient (in PyWbUtils and PyWbUtils).
15:02:27 [WRN][            grt]: /Users/jd/Library/Application Support/MySQL/Workbench/server_instances.xml:5: link 'D65862AB-BBA8-4052-A03A-721513E7E7C2' <object db.mgmt.Connection> key=connection could not be resolved
15:02:27 [WRN][            grt]: /Users/jd/Library/Application Support/MySQL/Workbench/server_instances.xml:15: link '706DACA5-93DD-4C61-AEF1-7DB1205FDF1D' <object GrtObject> key=owner could not be resolved
15:02:27 [WRN][            grt]: Duplicate plugin name wb.tools.cmdlineClient	There is more than one plugin with the name wb.tools.cmdlineClient (in PyWbUtils and PyWbUtils).
15:02:27 [INF][      WBContext]: System info:
 	MySQL Workbench Community (GPL) for macOS version 8.0.31 CE build 2235049 (64 bit)
	Configuration Directory: /Users/jd/Library/Application Support/MySQL/Workbench
	Data Directory: /Applications/MySQLWorkbench.app/Contents/Resources
	Cairo Version: 1.17.4
	OS: unknown
	CPU: 10x Apple M1 Pro - 16.00GiB RAM
No video adapter info available

15:02:27 [INF][   ModelContext]: Found model auto-save /Users/jd/Library/Application Support/MySQL/Workbench/newmodel.mwbd, but it is empty. Deleting it...
15:02:27 [WRN][         mforms]: Resource file not found: wb_tile_sakila_light@2x.png
15:02:27 [WRN][         mforms]: Resource file not found: wb_tile_manage_light@2x.png
15:02:27 [WRN][         mforms]: Resource file not found: wb_tile_folder@2x.png
15:02:27 [WRN][         mforms]: Resource file not found: wb_tile_network_light@2x.png
15:02:27 [WRN][         mforms]: Resource file not found: wb_tile_plus_light@2x.png
15:02:27 [WRN][         mforms]: Resource file not found: wb_tile_user_light@2x.png
15:02:27 [WRN][         mforms]: Resource file not found: wb_tile_plus_light@2x.png
15:02:27 [WRN][         mforms]: Resource file not found: wb_doc_sql@2x.png
15:02:27 [WRN][         mforms]: Resource file not found: wb_tile_number_light@2x.png
15:02:27 [WRN][         mforms]: Resource file not found: wb_close@2x.png
15:02:27 [WRN][         mforms]: Resource file not found: wb_tile_open_light@2x.png
15:02:27 [WRN][         mforms]: Resource file not found: wb_tile_more_light@2x.png
15:02:27 [WRN][         mforms]: Resource file not found: wb_tile_sakila_light@2x.png
15:02:27 [WRN][         mforms]: Resource file not found: wb_tile_manage_light@2x.png
15:02:27 [WRN][         mforms]: Resource file not found: wb_tile_folder@2x.png
15:02:27 [WRN][         mforms]: Resource file not found: wb_tile_network_light@2x.png
15:02:27 [WRN][         mforms]: Resource file not found: wb_tile_plus_light@2x.png
15:02:27 [WRN][         mforms]: Resource file not found: wb_tile_user_light@2x.png
15:02:27 [WRN][         mforms]: Resource file not found: wb_tile_plus_light@2x.png
15:02:27 [WRN][         mforms]: Resource file not found: wb_doc_sql@2x.png
15:02:27 [WRN][         mforms]: Resource file not found: wb_tile_number_light@2x.png
15:02:27 [WRN][         mforms]: Resource file not found: wb_close@2x.png
15:02:27 [WRN][         mforms]: Resource file not found: wb_tile_open_light@2x.png
15:02:27 [WRN][         mforms]: Resource file not found: wb_tile_more_light@2x.png
15:02:27 [WRN][       WBModule]: OS detection failed, skipping OS support check. OS string: 'unknown'

---

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               MySQLWorkbench [2813]
Path:                  /Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench
Identifier:            com.oracle.workbench.MySQLWorkbench
Version:               8.0.31.CE (1)
Code Type:             X86-64 (Translated)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2023-10-12 15:01:26.6170 +0200
OS Version:            macOS 14.0 (23A344)
Report Version:        12
Anonymous UUID:        83D130B3-1602-6D62-A00E-EB7F39640DD2

Sleep/Wake UUID:       88F2F037-D675-485F-BEA6-E9FDD304F705

Time Awake Since Boot: 4200 seconds
Time Since Wake:       1654 seconds

System Integrity Protection: enabled

Notes:
PC register does not match crashing frame (0x0 vs 0x10BE512A3)

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x00000000000000e0
Exception Codes:       0x0000000000000001, 0x00000000000000e0

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [2813]

VM Region Info: 0xe0 is not in any region.  Bytes before following region: 140722872418080
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      mapped file              7ffc98d28000-7ffcbe448000 [599.1M] r-x/r-x SM=COW  ...t_id=cd9889b3
---

Graphics: Apple M1 Pro, Apple M1 Pro, Built-In
Display: Color LCD, 3456 x 2234 Retina, Main, MirrorOff, Online
Memory Module: LPDDR5, Samsung
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4387), wl0: Aug  8 2023 04:27:44 version 20.10.1062.3.8.7.162 FWID 01-8e237e8f
AirPort: 
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: USB31Bus
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.

How to repeat:
Simply start WB 8.0.34 on new macOS Sonoma (14.0)
Select from the menu: File > New Model
This results in a crash.

Tried workarounds with different versions 8.0.31 and arm or intel but all show the same crash.

Suggested fix:
N/A
[12 Oct 2023 14:57] MySQL Verification Team
Hello Jurgen,

Thank you for the bug report.
Imho this is duplicate of Bug #112440, please see Bug #112440.

Regards,
Ashwini Patil