Bug #109732 | Workbench crashes with SIGILL on MacOS Ventura 13.1 on doing simple SELECT | ||
---|---|---|---|
Submitted: | 22 Jan 18:48 | Modified: | 24 Feb 18:01 |
Reporter: | Orin Eman | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Workbench | Severity: | S1 (Critical) |
Version: | OS: | MacOS (Ventura 13.1) | |
Assigned to: | CPU Architecture: | x86 (6-Core Intel Core i5, 3.3 GHz) |
[22 Jan 18:48]
Orin Eman
[22 Jan 18:50]
Orin Eman
NB: It doesn't crash if the SELECT fails.
[24 Jan 2:08]
Orin Eman
The problem is here in, lines 458 on in MResultsetViewer.mm. It is assuming aCell is an MQResultSetCell that has setIsNull and setIsBlob whereas in fact aCell is an MQIndicatorCell which has neither. Adding dummy setIsNull and setIsBlob methods to MQIndicatorCell prevents the crash. Whether aCell being an MQIndicatorCell is expected or not is unknown to me and needs further investigation. if (columnIndex >= 0) { [aCell setIsNull: (*mData)->is_field_null(rowIndex, columnIndex)]; [aCell setIsBlob: (*mData)->get_column_type(columnIndex) == bec::GridModel::BlobType]; } else { [aCell setIsNull: NO]; [aCell setIsBlob: NO]; }
[25 Jan 13:11]
MySQL Verification Team
Hello Orin Eman, Thank you for the bug report. Imho this is duplicate of Bug #109671, please see Bug #109671. Regards, Ashwini Patil
[25 Jan 20:22]
Orin Eman
Agreed on it being a duplicate of https://bugs.mysql.com/bug.php?id=109671 I didn't find https://bugs.mysql.com/bug.php?id=109671 when I searched for something similar. For the record, I added my investigation to https://bugs.mysql.com/bug.php?id=109671. This bug can be closed.
[26 Jan 16:39]
Liquid Monks
This bug affects me on MacOS (Ventura 13.2) - Apple M1 Max - 10 (8 performance and 2 efficiency), 32 Core GPU
[2 Feb 12:56]
JOHN YEARY
Error Report
Attachment: report.txt (text/plain), 36.02 KiB.
[24 Feb 17:52]
Adesh Katiyar
Hi Still getting the same issue. Please advise the fix. Thanks
[24 Feb 17:59]
Orin Eman
@Adesh Katiyar - try version 8.0.29 - unless you are really good with Xcode, in which case, get the Workbench code from GitHub and apply the above fix.
[24 Feb 18:01]
Orin Eman
@Adesh Katiyar - try version 8.0.29 - unless you are really good with Xcode, in which case, get the Workbench code from GitHub and apply the fix in bug # 109671.
[14 Apr 18:18]
Luis Zuniga
Just to confirm version 8.0.29 worked for me. I'm using Ventura 13.3.1 and the workbench crashed with latest version, had to downgrade.