Bug #107118 Workbench crashes when you close a tab while it is processing
Submitted: 25 Apr 2022 10:53 Modified: 25 Apr 2022 12:58
Reporter: Alper Soylemez Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S2 (Serious)
Version:8.0.28 OS:Windows (11)
Assigned to: CPU Architecture:Any
Tags: tabs closing

[25 Apr 2022 10:53] Alper Soylemez
Description:
This bug is ancient and I dont understand why it isn't fixed. I have experienced the error since 2014 and it can be easily repeated. I experienced the issue on all systems that I have used since that time. Basically, whenever you close a tab while a query is executing on another tab, the program crashes. You have to use task manager to kill Workbench, and then restart. 
It can easily be avoided by learning yourself not closing the tab, but sometimes it still happens and then I wonder why it still hasn't been fixed. Surely I am not the only one doing this?

The database i am connecting to is remote (NAS), mariaDB10. Not sure if this matters.

How to repeat:
Open three tabs. In the third tab, run a query that takes a few second.
Then close the first tab, and view the second tab.
Once the first query (in the third tab) is completed, you will get a crash.

Workbench is still active though, but nothing responds. You need to kill it with task manager.

Note that if you run the query in the first tab, and then close the second while viewing the third, it seems to be working. Maybe this has been resolved because I remember it always crashing. Maybe someone was already working on it, but did not fix it completely?

Suggested fix:
probably something to do with tab identification numbers.
[25 Apr 2022 12:58] MySQL Verification Team
Hello Alper Soylemez,

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

Regards,
Ashwini Patil