Bug #112932 Crash When Cancelling CSV Import

Submitted: 1 Nov 2023 20:43 Modified: 2 Nov 2023 11:56
Reporter: Alex Catt Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:8.0 OS:Windows (11 Home 10.0 Build 22621)
Assigned to: CPU Architecture:x86

[1 Nov 2023 20:43] Alex Catt
Description:
When I start to import data from a CSV file into a table using the Import Wizard that violates one of the tables constraints, then try to cancel the import, the MySQL Workbench displays the error message "Cannot access a disposed object. Object name: _ProgressBar". When I close the error message, the Workbench is unresponsive and then crashes.

A video of me triggering the error is available at the link below.
https://drive.google.com/file/d/1Xy--R6wjwLnT9FRItApooFhU7pZhwvwa/view?usp=sharing

How to repeat:
Try to import a CSV file into a table with the Import Wizard that violates one of the tables constraints. When you start getting errors from the constraint being violated, click the cancel button. A popup will appear asking if you want to cancel, click yes. The same popup will appear for a second time, click yes again. Then the error message "Cannot access a disposed object. Object name: _ProgressBar" will appear in a popup, click the close button on that popup. The Workbench will be unresponsive to mouse clicks and will crash within a few seconds.

The bug partially appears on files that do not violate the table's constraints-- the error message about the progress bar will appear but the Workbench does not crash afterwards.
[2 Nov 2023 11:56] MySQL Verification Team
Hello Alex,

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

Regards,
Ashwini Patil

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

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