Bug #68226 Crash when exporting to csv
Submitted: 30 Jan 2013 12:10 Modified: 10 Jun 2013 14:24
Reporter: basos g Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:5.2.45 OS:Linux (Debian)
Assigned to: CPU Architecture:Any
Tags: crash, export

[30 Jan 2013 12:10] basos g
Description:
After a query is executed press the "export recordset in an exteral file" button that is located on the resutls pane.

Crash

When run from console it ends with

** Message: overview.home built-in command is being overwritten
/usr/libexec/mysql-workbench-bin: symbol lookup error: /usr/lib/mysql-workbench/libwbpublic.so.0: undefined symbol: _ZN9ctemplate8Template11GetTemplateERKSsNS_5StripE

How to repeat:
Make a query
Press the "export recordset in an exteral file" button that is located on the resutls pane.
[30 Jan 2013 12:47] MySQL Verification Team
Not repeatable on CentOS 6.3. You have installed our package or compiled yourself?. Thanks.
[30 Jan 2013 17:02] basos g
Hello,
I have downloaded a binary distribution "mysql-workbench-gpl-5.2.45-1ubu1004-amd64.deb"
I am using Debian "wheezy" on x86_64.
[6 Feb 2013 1:39] MySQL Verification Team
Could you please try version 5.2.46. Thanks.
[7 Mar 2013 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
[21 May 2013 17:19] C Koepp
I have the same problem using the Ubuntu/Deb-Packages.

* 5.2.47 i386 + Ubuntu 10.04 - crash
* 5.2.36 i386 + Ubuntu 10.04 - NO crash.

* 5.2.47 i386 + Debian Squeeze - crash
* 5.2.44 i386 + Debian Squeeze - crash
* 5.2.36 i386 + Debian Squeeze - crash

* 5.2.47 AMD64 + Debian Squeeze - crash
* 5.2.36 AMD64 + Debian Squeeze - crash
[10 Jun 2013 14:24] MySQL Verification Team
I coudln't repeat with 5.2.47.
[28 Jun 2013 15:21] Sebastian Zamora
Hi, that's solved. I needed to update the ctemplate lib. This my environment:
Linux 3.8.0-25-generic #37-Ubuntu SMP Thu Jun 6 20:47:30 UTC 2013 i686 i686 i686 GNU/Linux (distro 13.04 32 bits)
MySQL Workbench 5.2.47rev10398

You can to download from https://code.google.com/p/ctemplate/downloads/list?redir=1 (libctemplate0_2.0-1_i386.deb in my case)
[15 Aug 2013 12:03] C Koepp
Updating the ctemplate lib did not solve the problem (in my environment: Debian Squeeze i686). Still crashing...
[27 Aug 2013 10:40] C Koepp
I could solve this by using the previous version of libctemplate0 (0.96 instead of 0.97) from ubuntu: http://packages.ubuntu.com/de/lucid/editors/libctemplate0 

Not nice, but works stable now (Debian Squeeze i686)