Bug #116184 MySQL Workbench Crashes when Updating Foreign Key via EER Diagram
Submitted: 20 Sep 2024 16:23 Modified: 24 Sep 2024 3:44
Reporter: Kenny Chen Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S3 (Non-critical)
Version:8.0.38 OS:Ubuntu (24.04)
Assigned to: CPU Architecture:x86 (amd64)
Tags: crash, EER Diagram, foriegn key

[20 Sep 2024 16:23] Kenny Chen
Description:
MySQL Workbench Crashes when Updating Foreign Key via EER Diagram

System Logs show:
(mysql-workbench-bin:391): Gtk-CRITICAL **: 15:38:11.163: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed
(mysql-workbench-bin:391): Gtk-CRITICAL **: 15:38:19.993: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed
(mysql-workbench-bin:391): Gtk-CRITICAL **: 15:38:36.273: gtk_tree_view_unref_tree_helper: assertion 'node != NULL' failed
(mysql-workbench-bin:391): GLib-GObject-CRITICAL **: 15:38:37.816: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(mysql-workbench-bin:391): Gtk-CRITICAL **: 15:38:49.570: gtk_tree_view_unref_tree_helper: assertion 'node != NULL' failed
(mysql-workbench-bin:391): GLib-GObject-CRITICAL **: 15:38:50.970: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(mysql-workbench-bin:391): Gtk-CRITICAL **: 15:39:00.559: gtk_tree_view_unref_tree_helper: assertion 'node != NULL' failed
(mysql-workbench-bin:391): GLib-GObject-CRITICAL **: 15:39:02.654: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
/usr/bin/mysql-workbench: line 108:   391 Aborted                 (core dumped) $MWB_BINARIES_DIR/mysql-workbench-bin "$@"

How to repeat:
On an EER Diagram:
1. Create 2 Tables 
2. Create a Many-to-Many Relationship between Table1 and Table2
3. Go to the newly created Relationship Table and update any Foreign Key using the dropdown.
[20 Sep 2024 16:25] Kenny Chen
Video Showing Crash

Attachment: 2024-09-05 14-38-16.mp4 (video/mp4, text), 1.21 MiB.

[20 Sep 2024 16:26] Kenny Chen
mysqlworkbench log

Attachment: wb.log (application/octet-stream, text), 2.30 KiB.

[20 Sep 2024 16:26] Kenny Chen
System Logs

Attachment: mysqlworkbench-system.log (application/octet-stream, text), 1.97 KiB.

[24 Sep 2024 3:44] MySQL Verification Team
Thank you for the report and feedback.