FS#59861 - [mysql-workbench] Seg Fault when opening saved connection

Attached to Project: Community Packages
Opened by f (bakgwailo) - Wednesday, 29 August 2018, 14:49 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 17 May 2023, 21:28 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:


Additional info:
* package version(s)
mysql-workbench-8.0.12-4
* config and/or log files etc.
See attached


Steps to reproduce:

Open mysql-workbench
open one of my saved connections
Editor opens briefly, then seg faults and dies
This task depends upon

Closed by  Toolybird (Toolybird)
Wednesday, 17 May 2023, 21:28 GMT
Reason for closing:  No response
Comment by f (bakgwailo) - Wednesday, 29 August 2018, 16:17 GMT
As an update, I nuked my .mysql/workbench directory, reimported my saved connections, and things are working again (for now). Perhaps its really an upstream bug? The latest version seems to be very problematic.
Comment by C.D. (stophe) - Tuesday, 04 September 2018, 11:42 GMT
Hello,

I have same issue
Comment by Kevin Andrews (caffe1neadd1ct) - Thursday, 06 September 2018, 08:16 GMT
I've noticed two issues since updating from 6.3.10-6 to 8.0.12-4

1. Segfault when opening a saved connection. The query editor does come up for a few seconds with all the previous tabs open, then closes with a seg fault. I'm attaching my debug strace, my local MariaDB 10.2 database connected fine after nuking my ~/.mysql/workbench directory (same as f (bakgwailo))

2. Connecting to (some) remote MySQL servers gives an error similar to `ProxySQL Error: Access denied for user 'myuser'@'serverip' (using password: NO)` when definitely inputting a password or trying to use a saved password. This is due to MySQL Workbench 8 no longer supporting connections to older versions of MySQL Server. https://bugs.mysql.com/bug.php?id=91828 - Server 5.1 is not a supported MySQL version for Workbench. Supported versions are 5.5, 5.6, 5.7 and 8.0.

Not actionable just leaving a breadcrumb for anyone else with the issue... taken a while to work through both these issues and determine whats actually happening..
Comment by Emanuel Fernandes (efernandes) - Monday, 26 November 2018, 15:14 GMT
Hi,

I have the same problem.

A possible workaround is delete sql_workspace directory. rm -rf ~/.mysql/workbench/sql_workspaces
Comment by Toolybird (Toolybird) - Tuesday, 18 April 2023, 07:42 GMT
This is pretty old and stale. Still happening with latest pkgs?

Loading...