Bug #66162 crash on export
Submitted: 2 Aug 2012 15:07 Modified: 3 Nov 2012 13:52
Reporter: Alice Toklas Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S1 (Critical)
Version:5.2.44 OS:Linux (ubuntu 10.04)
Assigned to: CPU Architecture:Any

[2 Aug 2012 15:07] Alice Toklas
Description:
Workbench closes when trying to exporte in .csv format

How to repeat:
Execute a select query; hit "export resultset to an external file"; type a name for the file; hit "save".
[2 Aug 2012 22:38] Rafael Antonio Bedoy Torres
Hello Alice, thanks for your report

Can you please add more details about your query? (how many rows and how many columns did you have)

Also will be good if we know the details of your environment, can you please click on Workbench  Help -> System Info and paste what you get here?

Thanks in advance!
[3 Aug 2012 5:42] Alice Toklas
The query is:
select * from PU.operations;
The table operations has about 5000 rows.

System info:
MySQL Workbench CE for Linux/Unix version 5.2.41  revision 9727
Configuration Directory: /home/alice/.mysql/workbench
Data Directory: /usr/share/mysql-workbench
Cairo Version: 1.10.2
OS: Linux 2.6.38-15-generic
CPU: 2x Intel(R) Core(TM)2 Duo CPU     T7500  @ 2.20GHz 800.000 MHz, 1,9 GB RAM
Distribution: Ubuntu 11.04
[3 Aug 2012 5:43] Alice Toklas
and 37 columns.
[13 Aug 2012 23:16] MySQL Verification Team
Please try version 5.2.42. Thanks.
[23 Aug 2012 14:59] Craig Fowler
I'm going to chip in with a "me too" this one.  I am using Debian Testing (Squeeze + Wheezy) amd64 using the Workbench 5.2.42 .deb installer for Ubuntu 10.04.  It's worth noting that I could also reproduce this problem in 5.2.41 although I don't recall seeing it in 5.2.40.

I experience this crash immediately after pressing the 'save' button to save a resultset as CSV.

I have had a similar problem in the past and (over IRC) Alfredo was able to track it down to an issue/conflicting version of libctemplate - perhaps this crash is related in some way?

When Workbench crashes for me in this way, the last thing it spits out to STDOUT/STDERR is:

/usr/bin/mysql-workbench-bin: symbol lookup error: /usr/lib/mysql-workbench/libwbpublic.so.0: undefined symbol: _ZN9ctemplate8Template11GetTemplateERKSsNS_5StripE

(the lines proceeding that are informational messages relating to my TCP/IP-over-SSH server connection)

Some other pertinent information (if it really is related to libctemplate as I suspect) will be attached by txt file.

I can also verify that under Debian Testing (Squeeze + Wheezy) I don't have another versions of libctemplate available to install from my package manager.  Within the package manager they are listed as versions:

Version: 0.97-1 (provided by package libctemplate0 - available in Squeeze's repo)
Version: 2.2-3  (provided by package libctemplate2 - available in Wheezy's repo)
[23 Aug 2012 15:01] Craig Fowler
Some information about the version of libctemplate I have installed (may be useful?)

Attachment: libctemplate-info.txt (text/plain), 8.51 KiB.

[24 Aug 2012 16:17] Armando Lopez Valencia
Hello.
Can you please try WB 5.2.42 and confirm if it is fixed.
Thanks.
[25 Sep 2012 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".
[25 Sep 2012 8:22] Alice Toklas
Problem still there in 5.2.43
[1 Oct 2012 22:55] MySQL Verification Team
Please try version 5.2.44. Thanks.
[2 Oct 2012 11:48] Alice Toklas
still
[3 Oct 2012 13:52] Armando Lopez Valencia
Thanks for your report Alice.
Can you please provide a dump of the DB where you can reproduce this issue?
Thanks.
[4 Nov 2012 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".