Bug #90830 MySQL Workbench crashes (SEGFAULT) when trying to alter stored procedure
Submitted: 11 May 2018 6:42 Modified: 17 May 2018 22:36
Reporter: Klaus Hicke Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:8.0.11rc OS:CentOS (7.5)
Assigned to: CPU Architecture:x86
Tags: MySQL Workbench, segfault

[11 May 2018 6:42] Klaus Hicke
Description:
I tried to alter an existing stored procedure via right click contect menu "Alter Stored Procedure" and the Workbench crashes with SEGFAULT (modifiying via version 6.3 worked before upgrade).

CrashDump as attachment.

How to repeat:
- Start Workbench
- Open DB connection
- Select StoredProcedure
- RightClick and open context menu
- Select "Alter Storted Procedure"
- Crashes instantly
[11 May 2018 6:45] Klaus Hicke
crashdump of mysql workbench 8.0.11rc (SEGFAULT)

Attachment: mysql-workbench-crashdump.txt (text/plain), 109.33 KiB.

[11 May 2018 9:00] MySQL Verification Team
Thank you for the bug report. I couldn't repeat with a simple stored procedure taken from our Manual, if there a specif stored procedure please provide the sql script to create it. Thanks in advance.
[11 May 2018 10:40] MySQL Verification Team
Thank you for the feedback.
[miguel@centosvb ~]$ mysql-workbench 
Found /lib64/libproj.so.0
Ready.

Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
*** Segmentation fault
Register dump:

 RAX: 0000000000000000   RBX: 00000000034f9040   RCX: 000000000335a810
 RDX: 00007ffd511a3e10   RSI: 000000000335a810   RDI: 00007ffd511a3e38
 RBP: 00007ffd511a3c10   R8 : 00007ffd511a3e10   R9 : 00007f5d223aaea0
 R10: 0000000000000003   R11: 00007f5d1fe86550   R12: 00007f5d2e4a3672
 R13: 00007f5d223aed48   R14: 000000000335a810   R15: 00007ffd511a3ca0
 RSP: 00007ffd511a3bd0

 RIP: 00007f5cff861610   EFLAGS: 00010202

 CS: 0033   FS: 0000   GS: 0000

 Trap: 0000000e   Error: 00000004   OldMask: 00000000   CR2: 00000000

 <CUT>
[11 May 2018 10:41] Chiranjeevi Battula
Hello Klaus Hicke,

Thank you for the feedback.
Verified this behavior on MySQL Workbench in 8.0.11 version.

Thanks,
Chiranjeevi.
[11 May 2018 10:42] Chiranjeevi Battula
Screenshot

Attachment: Bug_90830.PNG (image/png, text), 129.83 KiB.

[17 May 2018 22:36] Christine Cole
Posted by developer:
 
Fixed as of the upcoming MySQL Workbench 8.0.12 release, and here's the changelog entry:

When Alter Stored Procedure was selected from the context menu, MySQL
Workbench stopped working.

Thank you for the bug report.