Bug #112440 On MacOS 14 Sonoma system,The App crashes every time I open a model
Submitted: 23 Sep 4:03 Modified: 16 Oct 3:55
Reporter: YP Li Email Updates:
Status: Unsupported Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S3 (Non-critical)
Version:8.0.34, 8.0.26 OS:MacOS (14 Sonoma)
Assigned to: CPU Architecture:ARM (Apple M2)
Tags: crash, modeling, sonoma, workbench

[23 Sep 4:03] YP Li
Description:
On MacOS 14 Sonoma system,The App crashes every time I open a model

How to repeat:
On MacOS 14 Sonoma system,The App crashes every time I open a model
[25 Sep 12:50] MySQL Verification Team
Bug #112442 marked as duplicate of this one.
[26 Sep 12:18] MySQL Verification Team
Hello!

Thank you for the bug report.
Please note that MacOS 14 is not yet supported by MySQL Workbench.
For more info please see here https://www.mysql.com/support/supportedplatforms/database.html

Regards,
Ashwini Patil
[27 Sep 11:36] MySQL Verification Team
Bug #112533 marked as duplicate of this one.
[27 Sep 11:38] MySQL Verification Team
Bug #112536 marked as duplicate of this one.
[28 Sep 12:21] MySQL Verification Team
Bug #112547 marked as duplicate of this one.
[29 Sep 11:07] MySQL Verification Team
Bug #112565 marked as duplicate of this one.
[29 Sep 11:10] MySQL Verification Team
Bug #112573 marked as duplicate of this one.
[3 Oct 8:55] MySQL Verification Team
Bug #112578 marked as duplicate of this one.
[4 Oct 11:10] MySQL Verification Team
Bug #112610 marked as duplicate of this one.
[5 Oct 11:13] MySQL Verification Team
Bug #112624 marked as duplicate of this one.
[6 Oct 11:59] MySQL Verification Team
Bug #112638 marked as duplicate of this one.
[6 Oct 12:01] MySQL Verification Team
Bug #112637 marked as duplicate of this one.
[9 Oct 7:37] MySQL Verification Team
Bug #112652 marked as duplicate of this one.
[9 Oct 7:37] MySQL Verification Team
Bug #112658 marked as duplicate of this one.
[10 Oct 7:31] MySQL Verification Team
Bug #112671 marked as duplicate of this one.
[12 Oct 14:57] MySQL Verification Team
Bug #112706 marked as duplicate of this one.
[13 Oct 6:25] MySQL Verification Team
Bug #112709 marked as duplicate of this one.
[16 Oct 3:55] YP Li
When will this bug be fixed?
[16 Oct 7:44] MySQL Verification Team
Bug #112721 marked as duplicate of this one.
[16 Oct 11:46] MySQL Verification Team
Bug #112730 marked as duplicate of this one.
[16 Oct 11:56] MySQL Verification Team
Bug #112725 marked as duplicate of this one.
[16 Oct 11:58] MySQL Verification Team
Bug #112716 marked as duplicate of this one.
[18 Oct 5:53] MySQL Verification Team
Bug #112753 marked as duplicate of this one.
[18 Oct 5:54] MySQL Verification Team
Bug #112756 marked as duplicate of this one.
[18 Oct 10:48] Alison Alain de Oliveira
Error_message_M1

Attachment: error_message_M1.rtf (text/rtf), 82.18 KiB.

[18 Oct 10:48] Alison Alain de Oliveira
Several MAC`s here where I work present unexpected closing of MySQLWorkkbench, both for ARM and Intel.
[21 Oct 11:26] Yasushi Abe
I have created a patch to address inaccurate data processing, which seems to be the cause of the crash. This patch might prevent the app from crashing.

It appears that setting autosaveName before restoreSidebarsFor causes splitViewDidResizeSubviews to be called first, thus accessing the NULL pointer.

diff --git a/frontend/mac/workbench/WBModelDiagramPanel.mm b/frontend/mac/workbench/WBModelDiagramPanel.mm
index bc52b5d7c..357144636 100644
--- a/frontend/mac/workbench/WBModelDiagramPanel.mm
+++ b/frontend/mac/workbench/WBModelDiagramPanel.mm
@@ -149,8 +149,6 @@ static void *backend_destroyed(void *ptr) {
 
       [self setRightSidebar: be->get_wb()->get_wb_options().get_int("Sidebar:RightAligned", 0)];
 
-      self.splitView.autosaveName = @"diagramSplitPosition";
-
       mSwitcherT.tabStyle = MSectionTabSwitcher;
       mSwitcherM.tabStyle = MSectionTabSwitcher;
       mSwitcherB.tabStyle = MSectionTabSwitcher;
@@ -178,6 +176,8 @@ static void *backend_destroyed(void *ptr) {
       }
       
       [self restoreSidebarsFor: "ModelDiagram" toolbar: _formBE->get_toolbar()];
+
+      self.splitView.autosaveName = @"diagramSplitPosition";
     }
   }
   return self;
diff --git a/frontend/mac/workbench/WBModelOverviewPanel.mm b/frontend/mac/workbench/WBModelOverviewPanel.mm
index 8cfd5ac39..68e53d1ef 100644
--- a/frontend/mac/workbench/WBModelOverviewPanel.mm
+++ b/frontend/mac/workbench/WBModelOverviewPanel.mm
@@ -72,9 +72,10 @@
 
       [overview performSelector: @selector(rebuildAll) withObject: nil afterDelay: 0.1];
 
+      [self restoreSidebarsFor: "ModelOverview" toolbar: wb::WBContextUI::get()->get_physical_overview()->get_toolbar()];
+
       self.splitView.autosaveName = @"modelSplitPosition";
 
-      [self restoreSidebarsFor: "ModelOverview" toolbar: wb::WBContextUI::get()->get_physical_overview()->get_toolbar()];
     }
   }
[21 Oct 12:15] Christo El Morr
Hi Yasushi
Where to add this code/patch? 

Thanks
Christo
[23 Oct 4:26] MySQL Verification Team
Bug #112789 marked as duplicate of this one.
[23 Oct 4:28] MySQL Verification Team
Bug #112791 marked as duplicate of this one.
[23 Oct 4:31] MySQL Verification Team
Bug #112793 marked as duplicate of this one.
[23 Oct 11:25] MySQL Verification Team
Bug #112797 marked as duplicate of this one.
[23 Oct 12:15] Zhen Fung Wong
Hello, i also having this issue, when mysql workbench can work on sonoma 14?
[25 Oct 2:54] Trump McDonaldz
Is it possible to provide the built app for the patch? I need it for school
[26 Oct 1:37] Yasushi Abe
The patch above only stopped crashing, the UI was broken.

Now that 8.0.35 has been added to the Release Notes page, I am hopeful that a supported version will be released soon.
[30 Oct 10:37] MySQL Verification Team
Bug #112878 marked as duplicate of this one.
[30 Oct 10:39] MySQL Verification Team
Bug #112875 marked as duplicate of this one.
[31 Oct 10:11] MySQL Verification Team
Bug #112810 marked as duplicate of this one.
[2 Nov 13:08] MySQL Verification Team
Bug #112939 marked as duplicate of this one.
[2 Nov 16:30] Radek Antoniuk
Why is this closed as Unsupported? It should be kept reopened until the new release is GA and/or fixVersion is set.
Unsupported means it's never going to be supported, while obviously in this case it doesn't apply.
[6 Nov 11:50] MySQL Verification Team
Bug #112956 marked as duplicate of this one.
[15 Nov 11:04] MySQL Verification Team
Bug #113074 marked as duplicate of this one.
[15 Nov 11:07] MySQL Verification Team
Bug #113081 marked as duplicate of this one.
[15 Nov 11:10] MySQL Verification Team
Bug #113082 marked as duplicate of this one.
[15 Nov 11:12] MySQL Verification Team
Bug #113083 marked as duplicate of this one.
[15 Nov 11:15] MySQL Verification Team
Bug #113085 marked as duplicate of this one.
[17 Nov 10:28] MySQL Verification Team
Bug #113101 marked as duplicate of this one.
[20 Nov 10:12] MySQL Verification Team
Bug #113128 marked as duplicate of this one.
[20 Nov 10:15] MySQL Verification Team
Bug #113133 marked as duplicate of this one.
[21 Nov 12:21] MySQL Verification Team
Bug #113157 marked as duplicate of this one.
[23 Nov 12:32] MySQL Verification Team
Bug #113195 marked as duplicate of this one.
[24 Nov 6:21] MySQL Verification Team
Bug #113204 marked as duplicate of this one.
[27 Nov 11:38] MySQL Verification Team
Bug #113223 marked as duplicate of this one.
[27 Nov 11:42] MySQL Verification Team
Bug #113220 marked as duplicate of this one.
[27 Nov 11:48] MySQL Verification Team
Bug #113221 marked as duplicate of this one.
[27 Nov 12:33] MySQL Verification Team
Bug #113224 marked as duplicate of this one.
[27 Nov 14:46] Jan Euklid
Why is the severity S3? It should be S1. Workbench can't be used anymore.
[27 Nov 15:11] Thilo Barth
Please fix this with high priority, can't edit my models anymore ..
Should be S1
[28 Nov 12:38] MySQL Verification Team
Bug #113238 marked as duplicate of this one.
[29 Nov 18:57] Jason Anderson
I agree, severity is incorrect, it should be 1.  we rely heavily on models and it has hindered development
[30 Nov 21:31] Dwain Bethel
Any idea when MacOS 14 will be supported?
[1 Dec 12:25] MySQL Verification Team
Bug #113297 marked as duplicate of this one.