| Bug #55554 | Crash when exporting SELECT results to file | ||
|---|---|---|---|
| Submitted: | 26 Jul 2010 11:38 | Modified: | 2 Dec 2011 23:17 | 
| Reporter: | Craig Fowler | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Workbench: SQL Editor | Severity: | S3 (Non-critical) | 
| Version: | 5.2.25 | OS: | Linux (Debian Squeeze 32-bit/Ubuntu 9.10 .deb package) | 
| Assigned to: | Alfredo Kojima | CPU Architecture: | Any | 
| Tags: | crash, csv, export | ||
   [26 Jul 2010 11:38]
   Craig Fowler        
  
 
   [26 Jul 2010 14:30]
   MySQL Verification Team        
  Not repeatable on Windows.
   [27 Jul 2010 16:42]
   MySQL Verification Team        
  Not repeatable on Fedora X86_64 too.
   [27 Jul 2010 21:10]
   Alfredo Kojima        
  This was a packaging error
   [18 Aug 2010 16:22]
   Alfredo Kojima        
  This has been fixed.
   [25 Aug 2010 11:46]
   Johannes Taxacher        
  fix confirmed in repository
   [8 Sep 2010 15:01]
   Tony Bedford        
  An entry has been added to the 5.2.27 changelog: MySQL Workbench crashed when using the Export recordset to an external file command button on the result pane of the SQL Editor.
   [2 Dec 2011 23:00]
   MartÃn Rosso        
  I have the same problem on version 5.2.35. The command line output: ** Message: query.explain built-in command is being overwritten /usr/bin/mysql-workbench-bin: symbol lookup error: /usr/lib/mysql-workbench/libwbpublic.so.0: undefined symbol: _ZN9ctemplate8Template11GetTemplateERKSsNS_5StripE Is there something wrong with me? or the bug has came back?
   [2 Dec 2011 23:17]
   Craig Fowler        
  I have a vague recollection of speaking with Alfredo Kojima over IRC some months ago whilst troubleshooting an incredibly similar issue, since this fix. It turned out that the version of ctemplate I had installed was out of date and had caused the inconsistency. This would also look to be the case with your crash (looking at your backtrace). I don't remember the exact explanation but I have a feeling that there was some kind of difficulty in specifying the required ctemplate version as a dependency in the .deb file. IIRC Alfredo suggested that ctemplate could be very 'touchy' :) Anyway - it would probably be worth trying updating your version of ctemplate installed on your system (and then perhaps reporting here if it worked). On Debian the package is "libctemplate0". I have version 0.97-3 (Debian Testing) currently installed on my machine and WB is working (I cannot reproduce this crash). I see that version 1.0-1 is available in aptitude but not installed on my machine yet. I don't have the "-dev" package installed by the way (in case you wondered if it was needed).

