Bug #54891 SQL Editor Database overview tab panel coredumps when lots of DB's
Submitted: 29 Jun 2010 9:20 Modified: 2 Aug 2010 16:37
Reporter: Marc Gracia Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S2 (Serious)
Version:5.2.24 OS:Linux (Ubuntu 10.04)
Assigned to: Alfredo Kojima CPU Architecture:Any
Tags: SQL Editor Database Tabs

[29 Jun 2010 9:20] Marc Gracia
Description:
When you have a server with a lot of databases, the tabs on the Database Overview do not fit on the panel and an arrow button appears on the right.
When you press the scroll arrow button to scroll right, almost always the full SQL Workbench coredumps.
Happens more often when the last tab is selected, but can happen anytime.
Sometimes happens also on selecting a tab, but only when there are more tabs than the visible ones.

How to repeat:
Open a server with a lot of databases on SQL Editor. On the Database Overview tabs, press the arrow button on the right. When selection arrives to the last visible tab, the application coredumps.
Sometimes happens before the last tab. And sometimes also happens only selecting a tab.
[29 Jun 2010 10:41] Susanne Ebrecht
script to create lots of schemas

Attachment: create_databases.sql (text/x-sql), 661 bytes.

[29 Jun 2010 10:44] Susanne Ebrecht
Many thanks for writing a bug report.

Verified as described.

$ mysql < create_databases.sql

Open Workbench

Open connection to start querying

Press arrow button to scroll through the schemas.

Workbench will crash.
It is reproducable.

Unfortunately the core dump is not saying much.
[30 Jul 2010 16:12] Johannes Taxacher
fixed in release
[2 Aug 2010 16:37] Tony Bedford
An entry has been added to the 5.2.26 changelog:

In the Overview tab of the SQL Editor, if there was a large number of schemata, and an attempt was made to use the arrow buttons in the interface to scroll through them, then MySQL Workbench crashed, usually on the last schema in the list.