Bug #113504 Workbench crashes every time I open the EER diagram editor

Submitted: 24 Dec 2023 17:03 Modified: 26 Dec 2023 6:24
Reporter: Lina Sarhan Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version: OS:MacOS (macbook pro 13 )
Assigned to: CPU Architecture:Other (m1)

[24 Dec 2023 17:03] Lina Sarhan
Description:
macOS (ARM, 64-bit), DMG Archive	8.0.34	121.8M	

Workbench 6.3.10 (latest version, downloaded and installed today) is crashing every time I attempt to open the EER editor.

I've attempted to open the EER editor two different ways and both ways produce a crash:

1. By creating a new model, and then clicking Add new diagram
2. By opening an existing model file, which automatically attempts to open the editor

How to repeat:
Process:               MySQLWorkbench [10041]
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-12-24 18:51:47.8094 +0200
OS Version:            macOS 14.0 (23A344)
Report Version:        12
Anonymous UUID:        80E79947-579D-60BA-4ADD-AAE4EF12AFD3

Sleep/Wake UUID:       345252D8-4135-4F98-9833-C1AB953DA0D0

Time Awake Since Boot: 100000 seconds
Time Since Wake:       84 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 [10041]

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

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libmforms.dylib               	       0x1048d0098 mforms::ToolBar::find_item(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) + 28
1   libmforms.dylib               	       0x1048d0344 mforms::ToolBar::get_item_checked(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) + 12
2   WBExtras                      	       0x1036dba50 -[WBSidebarPanel splitViewDidResizeSubviews:] + 360
3   CoreFoundation                	       0x18ab00780 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 148
4   CoreFoundation                	       0x18ab949a8 ___CFXRegistrationPost_block_invoke + 88
5   CoreFoundation                	       0x18ab948f0 _CFXRegistrationPost + 440
6   CoreFoundation                	       0x18aacf434 _CFXNotificationPost + 764
7   Foundation                    	       0x18bbc0c74 -[NSNotificationCenter postNotificationName:object:userInfo:] + 88
8   AppKit                        	       0x18eaa1354 -[NSSplitView _sendDidResizeNotificationsIfNecessary] + 256
9   AppKit                        	       0x18eaa015c -[NSSplitView _restoreFromAutosaveName] + 236
10  AppKit                        	       0x18e3cd5d4 -[NSSplitView setAutosaveName:] + 96
11  MySQLWorkbench                	       0x102c40aa0 -[WBModelOverviewPanel init] + 556
12  MySQLWorkbench                	       0x102c3f6d8 -[MainWindowController(MainWindowControllerModel) handleModelCreated] + 28
13  MySQLWorkbench                	       0x102c13730 -[MainWindowController refreshGUI:argument1:argument2:] + 376
14  MySQLWorkbench                	       0x102c1fd8c 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         	       0x105739040 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         	       0x105738e24 wb::WBContext::flush_idle_tasks(bool) + 288
17  MySQLWorkbench                	       0x102c214f4 -[WBMainController flushIdleTasks:] + 68
18  Foundation                    	       0x18bcc37bc __NSFirePerformWithOrder + 296
19  CoreFoundation                	       0x18ab0b0cc __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36
20  CoreFoundation                	       0x18ab0afb8 __CFRunLoopDoObservers + 532
21  CoreFoundation                	       0x18ab0a5e8 __CFRunLoopRun + 776
22  CoreFoundation                	       0x18ab09c2c CFRunLoopRunSpecific + 608
23  HIToolbox                     	       0x195062448 RunCurrentEventLoopInMode + 292
24  HIToolbox                     	       0x195062284 ReceiveNextEventCommon + 648
25  HIToolbox                     	       0x195061fdc _BlockUntilNextEventMatchingListInModeWithFilter + 76
26  AppKit                        	       0x18e2e4f90 _DPSNextEvent + 660
27  AppKit                        	       0x18eab8b94 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 716
28  AppKit                        	       0x18e5181e0 -[NSApplication _doModalLoop:peek:] + 216
29  AppKit                        	       0x18e5170e8 __35-[NSApplication runModalForWindow:]_block_invoke_2 + 56
30  AppKit                        	       0x18e517094 __35-[NSApplication runModalForWindow:]_block_invoke + 108
31  AppKit                        	       0x18e516960 _NSTryRunModal + 100
32  AppKit                        	       0x18e516820 -[NSApplication runModalForWindow:] + 292
33  libmforms.dylib               	       0x104861838 wizard_run_modal(mforms::Wizard*) + 124
34  libwbpublic.be.dylib          	       0x1040d61c4 grtui::WizardForm::run_modal() + 72
35  libwbpublic.be.dylib          	       0x1040f6028 grtui::WizardPlugin::run_wizard() + 20
36  db.mysql.wbp.dylib            	       0x119962b94 MySQLDbModuleImpl::runDbImportWizard(grt::Ref<db_Catalog>) + 92
37  db.mysql.wbp.dylib            	       0x119963d90 grt::ModuleFunctor1<int, MySQLDbModuleImpl, grt::Ref<db_Catalog>>::perform_call(grt::BaseListRef const&) + 132
38  libwbpublic.be.dylib          	       0x10405047c bec::PluginManagerImpl::open_standalone_plugin_main(grt::Ref<app_Plugin> const&, grt::BaseListRef const&) + 272
39  libwbpublic.be.dylib          	       0x10404f0d8 bec::PluginManagerImpl::open_gui_plugin(grt::Ref<app_Plugin> const&, grt::BaseListRef const&, bec::GUIPluginFlags) + 632
40  libwbprivate.be.dylib         	       0x10573ee2c wb::WBContext::execute_plugin_grt(grt::Ref<app_Plugin> const&, grt::BaseListRef const&) + 452
41  libwbprivate.be.dylib         	       0x10573e72c wb::WBContext::execute_plugin(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, bec::ArgumentPool const&) + 900
42  libwbprivate.be.dylib         	       0x10592a8b0 wb::WBContextUI::handle_home_action(mforms::HomeScreenAction, base::any const&) + 4360
43  libmforms.dylib               	       0x10484b00c mforms::DocumentsSection::handle_command(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) + 216
44  libmforms.dylib               	       0x10487b940 mforms::Menu::handle_action(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) + 44
45  libmforms.dylib               	       0x1048b8ae4 -[MFMenuImpl handleCommand:] + 84
46  AppKit                        	       0x18e48a68c -[NSApplication(NSResponder) sendAction:to:from:] + 460
47  AppKit                        	       0x18e55490c -[NSMenuItem _corePerformAction] + 372
48  AppKit                        	       0x18eae2370 _NSMenuPerformActionWithHighlighting + 152
49  AppKit                        	       0x18e58cc2c -[NSMenu performActionForItemAtIndex:] + 200
50  AppKit                        	       0x18e58cb4c -[NSMenu _internalPerformActionForItemAtIndex:] + 76
51  AppKit                        	       0x18ead9468 +[NSCocoaMenuImpl _performActionForMenuItem:] + 60
52  AppKit                        	       0x18e905a08 -[NSMenuTrackingSession _performPostTrackingDismissalActions] + 264
53  AppKit                        	       0x18e9057b4 -[NSMenuTrackingSession startRunningMenuEventLoop:] + 684
54  AppKit                        	       0x18f035304 -[NSContextMenuTrackingSession startMonitoringEventsInMode:] + 76
55  AppKit                        	       0x18e8bf1fc +[NSContextMenuImpl presentPopup:fromView:withContext:animated:] + 640
56  AppKit                        	       0x18eae3ac0 _NSPopUpMenu + 1988
57  AppKit                        	       0x18eae3228 -[NSCocoaMenuImpl popUpMenu:atLocation:width:view:selectedItemIndexProvider:font:positioningRect:flags:options:] + 432
58  AppKit                        	       0x18e5b5e5c -[NSPopUpButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 616
59  libmforms.dylib               	       0x1048b8990 +[NSMenu(MForms) popUpMenu:forView:atLocation:pullsDown:] + 192
60  libmforms.dylib               	       0x1048b908c menu_popup_at(mforms::Menu*, mforms::Object*, int, int) + 188
61  libmforms.dylib               	       0x10484c0f4 mforms::DocumentsSection::mouse_click(mforms::MouseButton, int, int) + 416
62  libmforms.dylib               	       0x10485a3d8 -[NSView(MForms) handleMouseUp:owner:] + 196
63  libmforms.dylib               	       0x104872ca0 -[MFDrawBoxImpl mouseUp:] + 56
64  AppKit                        	       0x18edfde24 _routeMouseUpEvent + 132
65  AppKit                        	       0x18e410b80 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 384
66  AppKit                        	       0x18e41082c -[NSWindow(NSEventRouting) sendEvent:] + 284
67  AppKit                        	       0x18eab7c08 -[NSApplication(NSEventRouting) sendEvent:] + 1556
68  AppKit                        	       0x18e70b1bc -[NSApplication _handleEvent:] + 60
69  AppKit                        	       0x18e2d8460 -[NSApplication run] + 512
70  AppKit                        	       0x18e2af708 NSApplicationMain + 880
71  dyld                          	       0x18a6b5058 start + 2224

Thread 1:: GRTDispatcher
0   libsystem_kernel.dylib        	       0x18a9f20ac __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x18aa2f628 _pthread_cond_wait + 1272
2   libglib-2.0.0.dylib           	       0x1039ceab0 g_cond_wait_until + 128
3   libglib-2.0.0.dylib           	       0x10394acbc g_async_queue_pop_intern_unlocked + 180
4   libglib-2.0.0.dylib           	       0x10394ae28 g_async_queue_timeout_pop + 56
5   libwbpublic.be.dylib          	       0x1040194f4 bec::GRTDispatcher::worker_thread(void*) + 204
6   libglib-2.0.0.dylib           	       0x1039a6064 g_thread_proxy + 68
7   libsystem_pthread.dylib       	       0x18aa2f034 _pthread_start + 136
8   libsystem_pthread.dylib       	       0x18aa29e3c thread_start + 8

Thread 2:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	       0x18a9ee8b4 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x18aa00d30 mach_msg2_internal + 80
2   libsystem_kernel.dylib        	       0x18a9f74f0 mach_msg_overwrite + 476
3   libsystem_kernel.dylib        	       0x18a9eec38 mach_msg + 24
4   CoreFoundation                	       0x18ab0bed0 __CFRunLoopServiceMachPort + 160
5   CoreFoundation                	       0x18ab0a798 __CFRunLoopRun + 1208
6   CoreFoundation                	       0x18ab09c2c CFRunLoopRunSpecific + 608
7   AppKit                        	       0x18e40e8e0 _NSEventThread + 144
8   libsystem_pthread.dylib       	       0x18aa2f034 _pthread_start + 136
9   libsystem_pthread.dylib       	       0x18aa29e3c thread_start + 8

Thread 3:
0   libsystem_kernel.dylib        	       0x18a9f1ea8 __semwait_signal + 8
1   libsystem_c.dylib             	       0x18a8d54c4 nanosleep + 220
2   libglib-2.0.0.dylib           	       0x1039a788c g_usleep + 72
3   libwbbase.dylib               	       0x1031e3d3c ThreadedTimer::main_loop() + 88
4   libwbbase.dylib               	       0x1031e3aac ThreadedTimer::start(void*) + 12
5   libglib-2.0.0.dylib           	       0x1039a6064 g_thread_proxy + 68
6   libsystem_pthread.dylib       	       0x18aa2f034 _pthread_start + 136
7   libsystem_pthread.dylib       	       0x18aa29e3c thread_start + 8

Thread 4:: pool-spawner
0   libsystem_kernel.dylib        	       0x18a9f20ac __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x18aa2f5fc _pthread_cond_wait + 1228
2   libglib-2.0.0.dylib           	       0x1039ce8a8 g_cond_wait + 44
3   libglib-2.0.0.dylib           	       0x10394ac98 g_async_queue_pop_intern_unlocked + 144
4   libglib-2.0.0.dylib           	       0x1039a6690 g_thread_pool_spawn_thread + 88
5   libglib-2.0.0.dylib           	       0x1039a6064 g_thread_proxy + 68
6   libsystem_pthread.dylib       	       0x18aa2f034 _pthread_start + 136
7   libsystem_pthread.dylib       	       0x18aa29e3c thread_start + 8

Thread 5:: GRTDispatcher
0   libsystem_kernel.dylib        	       0x18a9f20ac __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x18aa2f628 _pthread_cond_wait + 1272
2   libglib-2.0.0.dylib           	       0x1039ceab0 g_cond_wait_until + 128
3   libglib-2.0.0.dylib           	       0x10394acbc g_async_queue_pop_intern_unlocked + 180
4   libglib-2.0.0.dylib           	       0x10394ae28 g_async_queue_timeout_pop + 56
5   libwbpublic.be.dylib          	       0x1040194f4 bec::GRTDispatcher::worker_thread(void*) + 204
6   libglib-2.0.0.dylib           	       0x1039a6064 g_thread_proxy + 68
7   libsystem_pthread.dylib       	       0x18aa2f034 _pthread_start + 136
8   libsystem_pthread.dylib       	       0x18aa29e3c thread_start + 8

Thread 6:: GRTDispatcher
0   libsystem_kernel.dylib        	       0x18a9f20ac __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x18aa2f628 _pthread_cond_wait + 1272
2   libglib-2.0.0.dylib           	       0x1039ceab0 g_cond_wait_until + 128
3   libglib-2.0.0.dylib           	       0x10394acbc g_async_queue_pop_intern_unlocked + 180
4   libglib-2.0.0.dylib           	       0x10394ae28 g_async_queue_timeout_pop + 56
5   libwbpublic.be.dylib          	       0x1040194f4 bec::GRTDispatcher::worker_thread(void*) + 204
6   libglib-2.0.0.dylib           	       0x1039a6064 g_thread_proxy + 68
7   libsystem_pthread.dylib       	       0x18aa2f034 _pthread_start + 136
8   libsystem_pthread.dylib       	       0x18aa29e3c thread_start + 8

Thread 7:: GRTDispatcher
0   libsystem_kernel.dylib        	       0x18a9f20ac __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x18aa2f628 _pthread_cond_wait + 1272
2   libglib-2.0.0.dylib           	       0x1039ceab0 g_cond_wait_until + 128
3   libglib-2.0.0.dylib           	       0x10394acbc g_async_queue_pop_intern_unlocked + 180
4   libglib-2.0.0.dylib           	       0x10394ae28 g_async_queue_timeout_pop + 56
5   libwbpublic.be.dylib          	       0x1040194f4 bec::GRTDispatcher::worker_thread(void*) + 204
6   libglib-2.0.0.dylib           	       0x1039a6064 g_thread_proxy + 68
7   libsystem_pthread.dylib       	       0x18aa2f034 _pthread_start + 136
8   libsystem_pthread.dylib       	       0x18aa29e3c thread_start + 8

Thread 8:
0   libsystem_pthread.dylib       	       0x18aa29e28 start_wqthread + 0

Thread 9:
0   libsystem_pthread.dylib       	       0x18aa29e28 start_wqthread + 0

Thread 10::  Dispatch queue: NSTextCheckingOperationQueue (QOS: USER_INTERACTIVE)
0   libobjc.A.dylib               	       0x18a670638 class_getSuperclass + 44
1   Foundation                    	       0x18bbc81a4 _classOverridesSelector + 48
2   Foundation                    	       0x18bbc8130 -[NSCoder validateClassSupportsSecureCoding:] + 340
3   Foundation                    	       0x18bbfe7bc _encodeObject + 356
4   Foundation                    	       0x18c3deaf8 -[NSTextCheckingKeyEvent encodeWithCoder:] + 124
5   Foundation                    	       0x18bbfeaf8 _encodeObject + 1184
6   Foundation                    	       0x18bbff974 -[NSKeyedArchiver _encodeArrayOfObjects:forKey:] + 464
7   Foundation                    	       0x18bbefdf0 -[NSArray(NSArray) encodeWithCoder:] + 588
8   Foundation                    	       0x18bbfeaf8 _encodeObject + 1184
9   Foundation                    	       0x18bbff974 -[NSKeyedArchiver _encodeArrayOfObjects:forKey:] + 464
10  Foundation                    	       0x18bbffd84 -[NSDictionary(NSDictionary) encodeWithCoder:] + 576
11  Foundation                    	       0x18bbfeaf8 _encodeObject + 1184
12  Foundation                    	       0x18bbfe088 +[NSKeyedArchiver archivedDataWithRootObject:requiringSecureCoding:error:] + 92
13  AppKit                        	       0x18ea9353c -[NSSpellChecker candidatesForSelectedRange:inString:types:options:offset:orthography:inSpellDocumentWithTag:] + 2396
14  AppKit                        	       0x18e4a16c0 NSSpellCheckerCheckString + 1316
15  AppKit                        	       0x18ee9b1e4 -[NSTextCandidateOperation main] + 208
16  Foundation                    	       0x18bbf57c0 __NSOPERATION_IS_INVOKING_MAIN__ + 16
17  Foundation                    	       0x18bbf4b68 -[NSOperation start] + 648
18  Foundation                    	       0x18bbf48d8 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ + 16
19  Foundation                    	       0x18bbf47c8 __NSOQSchedule_f + 172
20  libdispatch.dylib             	       0x18a87fcb8 _dispatch_call_block_and_release + 32
21  libdispatch.dylib             	       0x18a881910 _dispatch_client_callout + 20
22  libdispatch.dylib             	       0x18a884dc8 _dispatch_continuation_pop + 600
23  libdispatch.dylib             	       0x18a884478 _dispatch_async_redirect_invoke + 732
24  libdispatch.dylib             	       0x18a8931f4 _dispatch_root_queue_drain + 392
25  libdispatch.dylib             	       0x18a893a04 _dispatch_worker_thread2 + 156
26  libsystem_pthread.dylib       	       0x18aa2b0d8 _pthread_wqthread + 228
27  libsystem_pthread.dylib       	       0x18aa29e30 start_wqthread + 8

Thread 11:
0   libsystem_pthread.dylib       	       0x18aa29e28 start_wqthread + 0

Thread 12:
0   libsystem_pthread.dylib       	       0x18aa29e28 start_wqthread + 0

Thread 13:
0   libsystem_pthread.dylib       	       0x18aa29e28 start_wqthread + 0

Thread 14:
0   libsystem_pthread.dylib       	       0x18aa29e28 start_wqthread + 0

Thread 15:
0   libsystem_pthread.dylib       	       0x18aa29e28 start_wqthread + 0

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x000000016d1f0ba8   x2: 0x0000000000000000   x3: 0x000000016d1f0bb8
    x4: 0x0000000000000069   x5: 0x0000000000000046   x6: 0x7261626564695365   x7: 0x0000000000000550
    x8: 0x0000000000000000   x9: 0x00000001da81af83  x10: 0x0000000117cdf013  x11: 0x00000000000003ff
   x12: 0x0000000000000383  x13: 0x000000012c9f1810  x14: 0x16000001e1d2bf97  x15: 0x00000001e1d2bf90
   x16: 0x00000001048d0338  x17: 0x000000000000002a  x18: 0x0000000000000000  x19: 0x000060000325f940
   x20: 0x0000600000a482d0  x21: 0x0000600000a482f8  x22: 0x0000000000000000  x23: 0x0000000000000000
   x24: 0x000000012ffac960  x25: 0x0000000000041400  x26: 0x00000001036fe000  x27: 0x0000062d00000343
   x28: 0x0000000000000060   fp: 0x000000016d1f0b70   lr: 0x00000001048d0344
    sp: 0x000000016d1f0b10   pc: 0x00000001048d0098 cpsr: 0x60001000
   far: 0x00000000000000e0  esr: 0x92000006 (Data Abort) byte read Translation fault

  

Suggested fix:
Would be great if it didn't crash.
[26 Dec 2023 6:24] MySQL Verification Team
Hello Lina Sarhan,

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

Regards,
Ashwini Patil

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

Page generated in 0.046 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.