Bug #80359 Mac OS X (el capitan). Workbench 6.3 crashes when I try to add connection w/ SSH
Submitted: 13 Feb 2016 15:47 Modified: 25 Jan 2017 23:24
Reporter: Boaz Omanuti Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:6.3 OS:MacOS (El Capitan)
Assigned to: CPU Architecture:Any
Tags: SSH connection crash

[13 Feb 2016 15:47] Boaz Omanuti
Description:
When I open the connection manager and I click new connection >>
Select connection type
TCP with SSH
the application crashes. I have the same exact behaviour with Windows 8 and the same version of Mysql workbench

Here is the error
Process:               MySQLWorkbench [11611]
Path:                  /Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench
Identifier:            com.oracle.mysql.workbench
Version:               6.3.6.CE (1)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           MySQLWorkbench [11611]
User ID:               501

Date/Time:             2016-02-13 17:45:10.799 +0200
OS Version:            Mac OS X 10.11.3 (15D21)
Report Version:        11
Anonymous UUID:        13817B10-41AD-9E30-9134-99CD90511565

Sleep/Wake UUID:       AB0084F4-43D9-4306-A4AE-250B6C01EB59

Time Awake Since Boot: 17000 seconds
Time Since Wake:       620 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x00000000000000b0
Exception Note:        EXC_CORPSE_NOTIFY

VM Regions Near 0xb0:
--> 
    __TEXT                 000000010f921000-000000010f9a3000 [  520K] r-x/rwx SM=COW  /Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench

Application Specific Information:
Performing @selector(selectionChanged:) from sender PopupStyleSelector 0x7f93f4fc2fa0

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libwbpublic.be.dylib          	0x000000011015c3f8 grtui::DbConnectPanel::change_active_driver() + 428
1   libmforms.dylib               	0x0000000111cd282b boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type>, std::__1::__list_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::__1::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (), boost::function<void ()> >, boost::signals2::mutex> >, void*>, boost::signals2::detail::connection_body<std::__1::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (), boost::function<void ()> >, boost::signals2::mutex> >::dereference() const + 43
2   libmforms.dylib               	0x0000000111ced319 void boost::signals2::optional_last_value<void>::operator()<boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type>, std::__1::__list_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::__1::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (), boost::function<void ()> >, boost::signals2::mutex> >, void*>, boost::signals2::detail::connection_body<std::__1::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (), boost::function<void ()> >, boost::signals2::mutex> > >(boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type>, std::__1::__list_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::__1::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (), boost::function<void ()> >, boost::signals2::mutex> >, void*>, boost::signals2::detail::connection_body<std::__1::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (), boost::function<void ()> >, boost::signals2::mutex> >, boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type>, std::__1::__list_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::__1::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (), boost::function<void ()> >, boost::signals2::mutex> >, void*>, boost::signals2::detail::connection_body<std::__1::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (), boost::function<void ()> >, boost::signals2::mutex> >) const + 57
3   libmforms.dylib               	0x0000000111c5ab30 boost::signals2::detail::signal_impl<void (), boost::signals2::optional_last_value<void>, int, std::__1::less<int>, boost::function<void ()>, boost::function<void (boost::signals2::connection const&)>, boost::signals2::mutex>::operator()() + 448
4   libsystem_trace.dylib         	0x00007fff9ee6507a _os_activity_initiate + 75
5   com.apple.AppKit              	0x00007fff8fa0351d -[NSApplication sendAction:to:from:] + 460
6   com.apple.AppKit              	0x00007fff8fa18486 -[NSControl sendAction:to:] + 86
7   com.apple.AppKit              	0x00007fff8fa183b0 __26-[NSCell _sendActionFrom:]_block_invoke + 131
8   libsystem_trace.dylib         	0x00007fff9ee6507a _os_activity_initiate + 75
9   com.apple.AppKit              	0x00007fff8fa1830d -[NSCell _sendActionFrom:] + 144
10  libsystem_trace.dylib         	0x00007fff9ee6507a _os_activity_initiate + 75
11  com.apple.AppKit              	0x00007fff8fbb6e30 -[NSPopUpButtonCell _popUpItemAction:] + 92
12  libsystem_trace.dylib         	0x00007fff9ee6507a _os_activity_initiate + 75
13  com.apple.AppKit              	0x00007fff8fa0351d -[NSApplication sendAction:to:from:] + 460
14  com.apple.AppKit              	0x00007fff8fa032b7 -[NSMenuItem _corePerformAction] + 336
15  com.apple.AppKit              	0x00007fff8fa03017 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 114
16  libsystem_trace.dylib         	0x00007fff9ee6507a _os_activity_initiate + 75
17  com.apple.AppKit              	0x00007fff8fac31f0 -[NSMenu performActionForItemAtIndex:] + 131
18  com.apple.AppKit              	0x00007fff8fac3163 -[NSMenu _internalPerformActionForItemAtIndex:] + 35
19  com.apple.AppKit              	0x00007fff8fac2fbb -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 107
20  com.apple.AppKit              	0x00007fff8f9ebea1 NSSLMMenuEventHandler + 708
21  com.apple.HIToolbox           	0x00007fffa07e87be DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1231
22  com.apple.HIToolbox           	0x00007fffa07e7c48 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 404

How to repeat:
When I open the connection manager and I click new connection >>
Select connection type
TCP with SSH
the application crashes.
[13 Feb 2016 21:57] MySQL Verification Team
Thank you for the bug repot.

Process:               MySQLWorkbench [472]
Path:                  /Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench
Identifier:            com.oracle.mysql.workbench
Version:               6.3.6.CE (1)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           MySQLWorkbench [472]
User ID:               501

Date/Time:             2016-02-13 19:57:12.568 -0200
OS Version:            Mac OS X 10.11.3 (15D21)
Report Version:        11
Anonymous UUID:        B35D7DC5-2D8F-85C8-5144-2A863E67722D

Time Awake Since Boot: 130 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x00000000000000b0
Exception Note:        EXC_CORPSE_NOTIFY

VM Regions Near 0xb0:
--> 
    __TEXT                 000000010644a000-00000001064cc000 [  520K] r-x/rwx SM=COW  /Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench

Application Specific Information:
Performing @selector(selectionChanged:) from sender PopupStyleSelector 0x7fa12bf3dc90

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libwbpublic.be.dylib          	0x0000000106c8b3f8 grtui::DbConnectPanel::change_active_driver() + 428
1   libmforms.dylib               	0x000000010880382b boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type>, std::__1::__list_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::__1::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (), boost::function<void ()> >, boost::signals2::mutex> >, void*>, boost::signals2::detail::connection_body<std::__1::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (), boost::function<void ()> >, boost::signals2::mutex> >::dereference() const + 43
2   libmforms.dylib               	0x000000010881e319 void boost::signals2::optional_last_value<void>::operator()<boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type>, std::__1::__list_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::__1::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (), boost::function<void ()> >, boost::signals2::mutex> >, void*>, boost::signals2::detail::connection_body<std::__1::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (), boost::function<void ()> >, boost::signals2::mutex> > >(boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type>, std::__1::__list_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::__1::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (), boost::function<void ()> >, boost::signals2::mutex> >, void*>, boost::signals2::detail::connection_body<std::__1::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (), boost::function<void ()> >, boost::signals2::mutex> >, boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type>, std::__1::__list_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::__1::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (), boost::function<void ()> >, boost::signals2::mutex> >, void*>, boost::signals2::detail::connection_body<std::__1::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (), boost::function<void ()> >, boost::signals2::mutex> >) const + 57
3   libmforms.dylib               	0x000000010878bb30 boost::signals2::detail::signal_impl<void (), boost::signals2::optional_last_value<void>, int, std::__1::less<int>, boost::function<void ()>, boost::function<void (boost::signals2::connection const&)>, boost::signals2::mutex>::operator()() + 448
4   libsystem_trace.dylib         	0x00007fff8fec707a _os_activity_initiate + 75

<CUT>
[26 Feb 2016 16:11] MySQL Verification Team
http://bugs.mysql.com/bug.php?id=80534 marked as duplicate of this one.
[8 Mar 2016 20:38] MySQL Verification Team
http://bugs.mysql.com/bug.php?id=80661 marked as duplicate of this one.
[22 Mar 2016 16:10] MySQL Verification Team
http://bugs.mysql.com/bug.php?id=80825 marked as duplicate of this one.
[22 Mar 2016 17:25] MySQL Verification Team
bugs.mysql.com/bug.php?id=80816 marked as duplicate of this one.
[5 Apr 2016 10:35] MySQL Verification Team
http://bugs.mysql.com/bug.php?id=79461 marked as duplicate of this one.
[20 Jul 2016 17:04] Matt Wilkie
Same here, Win7 Pro x64 SP1.

New install, from http://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-workbench-community-6.3.7-winx64.ms...

Workbench >> Database >> Manage Connections >> select "Standard TCP/IP over SSH" --> instant crash

Windows problem details:

```
Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	MySQLWorkbench.exe
  Application Version:	6.3.7.0
  Application Timestamp:	5758217b
  Fault Module Name:	grt.dll
  Fault Module Version:	0.0.0.0
  Fault Module Timestamp:	5758165d
  Exception Code:	c0000005
  Exception Offset:	0000000000006ba9
  OS Version:	6.1.7601.2.1.0.256.48
  Locale ID:	4105
  Additional Information 1:	e494
  Additional Information 2:	e4944ad98b5e7e421aa8986f89b0c24b
  Additional Information 3:	3460
  Additional Information 4:	34604d780858ec55df6c7a28b885cac7

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt
```
[20 Jul 2016 17:16] Matt Wilkie
Curiously, this navigation path doesn't cause a crash, but the app does stall out on a spinny circle forever:

Workbench >> Database >> Connect to Database >> select "Standard TCP/IP over SSH":

   - fill out [Parameters]
      - add passwords to Vault
      - leave SSH Keyfile blank
      - leave Schema blank
   - leave [SSL] and [Advanced] alone

   ... >> Press [OK]

----

HOWEVER, on repeating the recipe above a 3rd time, it worked!

I'm quite sure I did the same thing each time, using the same values, but there's always a chance I made a typo in password entry or something.
[27 Jul 2016 9:33] Mike Harris
Same problem here on Windows 10. As soon as you select SSH option from dropdown menu app crashes. BUT on the third attempt it works fine!
[8 Aug 2016 16:09] MySQL Verification Team
http://bugs.mysql.com/bug.php?id=82493 marked as duplicate of this one.
[29 Aug 2016 11:41] Christopher Gross
Possible workarounds:

Solution 1: Uninstall Workbench 6.3, install Workbench 6.2. Add the SSH connection, then uninstall 6.2 and install 6.3 again.

Solution 2: Create a new connection (do not switch to SSH) and save it. Close MySQL workbench. Find your connections.xml file (Windows: %APPDATA%\MySQL\Workbench) and change the driver for your connection from "com.mysql.rdbms.mysql.driver.native" to "com.mysql.rdbms.mysql.driver.native_sshtun". Save the file. Open MySQL workbench. In the connections manager, the dropdown is now correctly set to the SSH options. You can now enter the remaining options for the connection.
[19 Oct 2016 21:18] MySQL Verification Team
http://bugs.mysql.com/bug.php?id=83448 marked as duplicate of this one.
[25 Jan 2017 23:24] Christine Cole
Posted by developer:
 
Fixed as of the upcoming MySQL Workbench 6.3.9 release, and here's the changelog entry:

New connections configured with the Standard TCP/IP over SSH connection
method failed and caused MySQL Workbench to become unresponsive or to
exit.

Thank you for the bug report.