Bug #61084 MySQL Workbench crashes when selecting a database under an SSH tunnel
Submitted: 6 May 2011 20:02 Modified: 28 May 2011 11:05
Reporter: Sergio Bobillier Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.2.33 rev 7508 OS:Linux (Ubuntu 10.10 and 11.04)
Assigned to: CPU Architecture:Any
Tags: crash, ssh, tunnel, ubuntu, workbench

[6 May 2011 20:02] Sergio Bobillier
Description:
When selecting a database using the USE command MySQL workbench crashes if the connection to the MySQL Server is established through an SSH tunnel created outside of MySQL Workbench.

How to repeat:
1. Create an SSH tunnel to a mysql server using the ssh command like this:

	ssh -L3307:localhost:3306 myhost

2. Open MySQL Workbench and connect to the MySQL Server as you would normally do (keeping in mind to set the port to 3307 which is the port that has been forwarded)

 -- The connection is established without any problem --

3. Use the USE command to change the active database, like this:

	USE my_other_database;

-- MySQL Workbench Crashes --

--> Segmentation Fault
[16 May 2011 14:06] Valeriy Kravchuk
I wonder what exact version of MySQL server, x.y.z, are you working with this way?
[19 May 2011 1:20] Sergio Bobillier
MySQL Server:
5.1.41-3ubuntu12.10 (Ubuntu)
[27 May 2011 4:55] Alexey Kishkin
just tested against workbench 5.2.24 (that is GA now) - cannot reproduce this crash.

Sergio, could you please check the latest workbeanch, if this crash persists in case of workbench 5.2.24 in your envvironment?
[27 May 2011 7:08] Sergio Bobillier
@Alexey Kishkin

Tested against 5.2.34 rev 7780 and the bug doesn't happen anymore. I guess this one is fixed.

Thanks a lot.
[28 May 2011 11:05] Valeriy Kravchuk
Not repeatable with 5.2.34.