Bug #61323 Segfault on new duplicated connection
Submitted: 27 May 2011 12:07 Modified: 24 Dec 2013 18:30
Reporter: Daniël van Eeden Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:5.2.34 OS:Linux (Ubuntu 11.04)
Assigned to: CPU Architecture:Any

[27 May 2011 12:07] Daniël van Eeden
Description:
I've got 1 connection using SSH and with passwords stored in keyring.

Duplicate the connection and change the host to a different host.

Connect…

Crash.

It might be necessary to clear the passwords and then drop the connection if you try it the second time.

How to repeat:
See description
[27 May 2011 12:08] Daniël van Eeden
Backtrace

Attachment: wb_log.txt (text/plain), 63.86 KiB.

[30 May 2011 6:20] Alexey Kishkin
Just for clarification - you made duplicate of connection when you are already connected to mysql?
[30 May 2011 8:12] Daniël van Eeden
No, when I'm not yet connected to any db.

1. Start wb
2. Duplicate an stored connection which uses SSH
[31 May 2011 8:37] Valeriy Kravchuk
Probably I do something wrong but I can not repeat this on 32-bit Ubuntu 10.04.
[31 May 2011 12:09] Daniël van Eeden
Maybe it's only on 11.04 or only on 64-bit systems?
[31 May 2011 17:03] Rafael Antonio Bedoy Torres
Hello Daniël,

I'm trying to reproduce your bug, I'm checking it on Ubuntu 11.04, but just can't reproduce it.

May you please clarify how you duplicate the connection?

And when you mentioned that you've got 1 connection using SSH and with passwords stored in keyring.

are you using the ssh authentication method of keys or you saved the password on workbench clicking in the option "save password in keychain"?

Thanks in advance!
[22 Jun 2011 15:08] Ceri Williams
Hi,

I'm getting intermittent segmentation faults too.
It's been a while since I set up my connections, but I'm pretty sure that I didn't duplicate any to populate the list.

I've had it happen with each of standard TCP/IP, TCP/IP over SSH and TCP/IP using SSL. I've only managed to capture TCP/IP and TCP/IP over SSH failures with strace, but not an SSL one yet.

I tried to upload the archived logs, but the FTP site seems to be down.
[5 Jul 2011 18:50] Alfredo Kojima
Daniel and/or Valeriy, please send your connections.xml file (after anonymizing any data you may not want to share), containing the connection that causes the crash.
[5 Jul 2011 20:43] Ceri Williams
Alfredo, I have tried to upload strace output from the seg faults that I have experienced on 64-bit Ubuntu 11.04, but I can't seem to access the FTP site and the file upload form errors whilst posting the data. Is there a problem that you know of?
[6 Jul 2011 3:39] Alfredo Kojima
Could you try uploading here, using the Files "tab"?
[6 Jul 2011 7:17] Daniël van Eeden
connections.xml

Attachment: connections_anonimized.xml (text/xml), 5.25 KiB.

[6 Jul 2011 9:42] Ceri Williams
Alfredo, using the files tab I keep getting the following error:

"The web page at http://bugs.mysql.com/bug.php?id=61323&files=2 might be temporarily down or it may have moved permanently to a new web address."

Error 101 (net::ERR_CONNECTION_RESET): The connection was reset.
[5 Dec 2013 20:08] Alfredo Kojima
Can anyone still repeat this in 6.0.8?
[7 Dec 2013 13:50] Daniël van Eeden
With 6.0.8 it does crash, but I'm not completely sure it's the exact same issue.

I've duplicted a connection which uses a SSH tunnel. The I try to connect to it and when asked I enter the correct password for the SSH tunnel. The I click 'Cance' and then WB crashes.
[23 Dec 2013 20:07] Alfredo Kojima
Daniel,

The new bug you mention sounds like #70332, could you confirm? If so, that's different from this and I'd like to close this one as fixed.
[24 Dec 2013 8:47] Daniël van Eeden
> The new bug you mention sounds like #70332, could you confirm? If so, that's 
> different from this and I'd like to close this one as fixed.
I don't think that's the same issue. This crash is in the phase where the SSH connection is made, for #70332 the crash is in the phase where the MySQL connection (through the tunnel) is made.
[24 Dec 2013 18:30] Alfredo Kojima
Closing as original reporter can't repeat anymore.
[25 Dec 2013 8:20] Daniël van Eeden
> Closing as original reporter can't repeat anymore.
I do not agree. I am not sure the crash is the same crash, but it could be the same thing.
[8 Jan 2014 19:06] Alfredo Kojima
Daniel, FYI the crash when canceling mysql connection in a ssh tunnel connection is fixed in repository and will be in the next version