Bug #113221 Workbench Model Module Crashes After Upgrading macOS to 14.1.1
Submitted: 25 Nov 2023 18:59 Modified: 27 Nov 2023 11:47
Reporter: ww chen Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:8.0.34 build 3263449 CE (64 bits) Commun OS:MacOS (14.1.1)
Assigned to: CPU Architecture:ARM (m1)
Tags: crash, macOS Sonoma, workbench

[25 Nov 2023 18:59] ww chen
Description:
After upgrading my macOS to 14.1.1, I encountered an issue with the Model function in Workbench. Whenever I attempt to create a 'New Model,' Workbench crashes and closes abruptly.

How to repeat:
On a MacBook Pro with an M1 chip running macOS 14.1.1, follow these steps:

1.Open Workbench.
2.Click on 'File' in the menu bar.
3.Select 'New Model.'"

Suggested fix:
Translated Report (Full Report Below)
-------------------------------------

Process:               MySQLWorkbench [99320]
Path:                  /Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench
Identifier:            com.oracle.workbench.MySQLWorkbench
Version:               8.0.34.CE (1)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2023-11-25 13:57:34.1021 -0500
OS Version:            macOS 14.1.1 (23B81)
Report Version:        12
Anonymous UUID:        90812EFA-EF6A-ABA4-120E-D6CE999331E2

Sleep/Wake UUID:       707518C7-5886-441A-A355-F3259AA6B102

Time Awake Since Boot: 240000 seconds
Time Since Wake:       9576 seconds

System Integrity Protection: enabled

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 [99320]

VM Region Info: 0xe0 is not in any region.  Bytes before following region: 4302962464
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                      1007a0000-1007f4000    [  336K] r-x/r-x SM=COW  ...ySQLWorkbench

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libmforms.dylib               	       0x102468098 mforms::ToolBar::find_item(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) + 28
1   libmforms.dylib               	       0x102468344 mforms::ToolBar::get_item_checked(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) + 12
2   WBExtras                      	       0x101273a50 -[WBSidebarPanel splitViewDidResizeSubviews:] + 360
3   CoreFoundation                	       0x180836820 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 148
4   CoreFoundation                	       0x1808ca8ec ___CFXRegistrationPost_block_invoke + 88
5   CoreFoundation                	       0x1808ca834 _CFXRegistrationPost + 440
6   CoreFoundation                	       0x18080548c _CFXNotificationPost + 764
7   Foundation                    	       0x1818f7030 -[NSNotificationCenter postNotificationName:object:userInfo:] + 88
8   AppKit                        	       0x1847d95c4 -[NSSplitView _sendDidResizeNotificationsIfNecessary] + 256
9   AppKit                        	       0x1847d83cc -[NSSplitView _restoreFromAutosaveName] + 236
10  AppKit                        	       0x1841030c4 -[NSSplitView setAutosaveName:] + 96
11  MySQLWorkbench                	       0x1007d8aa0 -[WBModelOverviewPanel init] + 556
12  MySQLWorkbench                	       0x1007d76d8 -[MainWindowController(MainWindowControllerModel) handleModelCreated] + 28
13  MySQLWorkbench                	       0x1007ab730 -[MainWindowController refreshGUI:argument1:argument2:] + 376
14  MySQLWorkbench                	       0x1007b7d8c windowRefreshGui(wb::RefreshType, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, void*, MainWindowController*) + 28
15  libwbprivate.be.dylib         	       0x1032d1040 std::__1::function<void (wb::RefreshType, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, void*)>::operator()(wb::RefreshType, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, void*) const + 48
16  libwbprivate.be.dylib         	       0x1032d0e24 wb::WBContext::flush_idle_tasks(bool) + 288
17  MySQLWorkbench                	       0x1007b94f4 -[WBMainController flushIdleTasks:] + 68
18  Foundation                    	       0x1819f9aac __NSFirePerformWithOrder + 296
19  CoreFoundation                	       0x1808410a0 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36
20  CoreFoundation                	       0x180840f8c __CFRunLoopDoObservers + 532
21  CoreFoundation                	       0x1808405bc __CFRunLoopRun + 776
22  CoreFoundation                	       0x18083fc5c CFRunLoopRunSpecific + 608
23  HIToolbox                     	       0x18adbc448 RunCurrentEventLoopInMode + 292
24  HIToolbox                     	       0x18adbc284 ReceiveNextEventCommon + 648
25  HIToolbox                     	       0x18adbbfdc _BlockUntilNextEventMatchingListInModeWithFilter + 76
26  AppKit                        	       0x18401ac54 _DPSNextEvent + 660
27  AppKit                        	       0x1847f0ebc -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 716
28  AppKit                        	       0x18400e100 -[NSApplication run] + 476
29  AppKit                        	       0x183fe53cc NSApplicationMain + 880
30  dyld                          	       0x1803e90e0 start + 2360

Thread 1:
0   libsystem_pthread.dylib       	       0x18075fe28 start_wqthread + 0

Thread 2:
0   libsystem_pthread.dylib       	       0x18075fe28 start_wqthread + 0

Thread 3:
0   libsystem_pthread.dylib       	       0x18075fe28 start_wqthread + 0

Thread 4:
0   libsystem_pthread.dylib       	       0x18075fe28 start_wqthread + 0

Thread 5:: GRTDispatcher
0   libsystem_kernel.dylib        	       0x1807280ac __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x180765628 _pthread_cond_wait + 1272
2   libglib-2.0.0.dylib           	       0x101566ab0 g_cond_wait_until + 128
3   libglib-2.0.0.dylib           	       0x1014e2cbc g_async_queue_pop_intern_unlocked + 180
4   libglib-2.0.0.dylib           	       0x1014e2e28 g_async_queue_timeout_pop + 56
5   libwbpublic.be.dylib          	       0x101bb14f4 bec::GRTDispatcher::worker_thread(void*) + 204
6   libglib-2.0.0.dylib           	       0x10153e064 g_thread_proxy + 68
7   libsystem_pthread.dylib       	       0x180765034 _pthread_start + 136
8   libsystem_pthread.dylib       	       0x18075fe3c thread_start + 8

Thread 6:
0   libsystem_pthread.dylib       	       0x18075fe28 start_wqthread + 0

Thread 7:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	       0x1807248b4 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x180736d30 mach_msg2_internal + 80
2   libsystem_kernel.dylib        	       0x18072d4f0 mach_msg_overwrite + 476
3   libsystem_kernel.dylib        	       0x180724c38 mach_msg + 24
4   CoreFoundation                	       0x180841ea4 __CFRunLoopServiceMachPort + 160
5   CoreFoundation                	       0x18084076c __CFRunLoopRun + 1208
6   CoreFoundation                	       0x18083fc5c CFRunLoopRunSpecific + 608
7   AppKit                        	       0x184144404 _NSEventThread + 144
8   libsystem_pthread.dylib       	       0x180765034 _pthread_start + 136
9   libsystem_pthread.dylib       	       0x18075fe3c thread_start + 8

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x000000016f65cd78   x2: 0x0000000000000000   x3: 0x000000016f65cd88
    x4: 0x0000000000000069   x5: 0x0000000000000046   x6: 0x7261626564695365   x7: 0x0000000000000550
    x8: 0x0000000000000000   x9: 0x00000001cf4101e6  x10: 0x000000015af0c656  x11: 0x00000000000001ff
   x12: 0x00000000000001e6  x13: 0x0000000143259640  x14: 0x15000001d694bfb7  x15: 0x00000001d694bfb0
   x16: 0x0000000102468338  x17: 0x0000000000000028  x18: 0x0000000000000000  x19: 
  ...
[27 Nov 2023 11:47] MySQL Verification Team
Hello!

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

Regards,
Ashwini Patil