Bug #61304 undefined symbol in db.mysql.diff.reporting.wbp.so
Submitted: 26 May 2011 11:26 Modified: 27 Jan 2012 4:37
Reporter: Daniël van Eeden Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.2.34-1ubu1010 OS:Linux
Assigned to: CPU Architecture:Any
Triage: Needs Triage: D4 (Minor)

[26 May 2011 11:26] Daniël van Eeden
Description:
$ mysql-workbench --verbose
** Message: Trying to load module '/usr/lib/mysql-workbench/modules/wb.mysql.import.grt.so' (cpp)
** Message: Trying to load module '/usr/lib/mysql-workbench/modules/wb_utils_grt.py' (python)
** Message: Trying to load module '/usr/lib/mysql-workbench/modules/wb_admin_grt.py' (python)
** Message: Trying to load module '/usr/lib/mysql-workbench/modules/db.mysql.sqlide.grt.so' (cpp)
** Message: Trying to load module '/usr/lib/mysql-workbench/modules/text_grt.py' (python)
** Message: Trying to load module '/usr/lib/mysql-workbench/modules/dbutils.grt.so' (cpp)
** Message: Trying to load module '/usr/lib/mysql-workbench/modules/sqlide_grt.py' (python)
** Message: Trying to load module '/usr/lib/mysql-workbench/modules/catalog_utils.grt.lua' (lua)
** Message: Initialized Lua module /usr/lib/mysql-workbench/modules/catalog_utils.grt.lua (WbUtils)
** Message: Trying to load module '/usr/lib/mysql-workbench/modules/tools.grt.lua' (lua)
** Message: Initialized Lua module /usr/lib/mysql-workbench/modules/tools.grt.lua (WbTools)
** Message: Trying to load module '/usr/lib/mysql-workbench/modules/wb.model.grt.so' (cpp)
** Message: Trying to load module '/usr/lib/mysql-workbench/modules/table_utils.grt.lua' (lua)
** Message: Initialized Lua module /usr/lib/mysql-workbench/modules/table_utils.grt.lua (WbTableUtils)
** Message: Trying to load module '/usr/lib/mysql-workbench/modules/wb_doclib_grt.py' (python)
** Message: Trying to load module '/usr/lib/mysql-workbench/modules/db.mysql.sqlparser.grt.so' (cpp)
** Message: Trying to load module '/usr/lib/mysql-workbench/modules/forms.grt.so' (cpp)
** Message: Trying to load module '/usr/lib/mysql-workbench/modules/wb_dev_utils_grt.py' (python)
** Message: Trying to load module '/usr/lib/mysql-workbench/modules/db.mysql.grt.so' (cpp)
** Message: Trying to load module '/usr/lib/mysql-workbench/modules/db.mysql.query.grt.so' (cpp)
** Message: Trying to load module '/usr/lib/mysql-workbench/plugins/db.checks.wbp.so' (cpp)
** Message: Trying to load module '/usr/lib/mysql-workbench/plugins/db.mysql.diff.reporting.wbp.so' (cpp)
** Message: WARNING: Could not open module /usr/lib/mysql-workbench/plugins/db.mysql.diff.reporting.wbp.so (/usr/lib/mysql-workbench/plugins/db.mysql.diff.reporting.wbp.so: undefined symbol: _ZTV9Wb_plugin)    
** Message: WARNING: Could not load db.mysql.diff.reporting.wbp.so: Cannot open /usr/lib/mysql-workbench/plugins/db.mysql.diff.reporting.wbp.so    
** Message: Trying to load module '/usr/lib/mysql-workbench/plugins/db.mysql.wbp.so' (cpp)
** Message: Trying to load module '/usr/lib/mysql-workbench/plugins/wb.model.editors.wbp.so' (cpp)
** Message: Trying to load module '/usr/lib/mysql-workbench/plugins/wb.printing.wbp.so' (cpp)
** Message: Trying to load module '/usr/lib/mysql-workbench/plugins/db.mysql.editors.wbp.so' (cpp)
** Message: Trying to load module '/usr/lib/mysql-workbench/plugins/wb.model.snippets.wbp.so' (cpp)
Log levels '0111000'
Ready.

SystemError: null argument to internal routine
dveeden@daniel-thinkpad:~$ ls -l /usr/lib/mysql-workbench/plugins/db.mysql.diff.reporting.wbp.so
lrwxrwxrwx 1 root root 36 2011-05-26 09:27 /usr/lib/mysql-workbench/plugins/db.mysql.diff.reporting.wbp.so -> db.mysql.diff.reporting.wbp.so.0.0.0
dveeden@daniel-thinkpad:~$ ls -l /usr/lib/mysql-workbench/plugins/db.mysql.diff.reporting.wbp.so.0.0.0
-rw-r--r-- 1 root root 232792 2011-05-24 16:34 /usr/lib/mysql-workbench/plugins/db.mysql.diff.reporting.wbp.so.0.0.0
dveeden@daniel-thinkpad:~$ sha1sum /usr/lib/mysql-workbench/plugins/db.mysql.diff.reporting.wbp.so.0.0.0
5bab8861b3dc79a32a3790d63ef5c1e86d4a93eb  /usr/lib/mysql-workbench/plugins/db.mysql.diff.reporting.wbp.so.0.0.0
dveeden@daniel-thinkpad:~$ dpkg -l mysql-workbench-gpl
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                   Version                                Description
+++-======================================-======================================-============================================================================================
ii  mysql-workbench-gpl                    5.2.34-1ubu1010                        MySQL Workbench
dveeden@daniel-thinkpad:~$ lsb_release -d
Description:	Ubuntu 11.04
dveeden@daniel-thinkpad:~$ file /usr/lib/mysql-workbench/plugins/db.mysql.diff.reporting.wbp.so.0.0.0
/usr/lib/mysql-workbench/plugins/db.mysql.diff.reporting.wbp.so.0.0.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped

How to repeat:
See Description
[26 May 2011 11:41] Daniël van Eeden
From ~/.mysql/workbench/wb.log:
13:38:09 [   Info][      wbprivate]: WbContext::init
13:38:09 [Warning][               ]: Could not load db.mysql.diff.reporting.wbp.so: Cannot open /usr/lib/mysql-workbench/plugins/db.mysql.diff.reporting.wbp.so
[26 May 2011 11:50] Daniël van Eeden
$ c++filt _ZTV9Wb_plugin
vtable for Wb_plugin
[26 May 2011 18:01] Godofredo Miguel Solorzano
Thank you for the bug report.

miguel@lempa:~$ mysql-workbench --verbose
** Message: Trying to load module '/usr/lib/mysql-workbench/modules/db.mysql.grt.so' (cpp)
<cut>
** Message: Trying to load module '/usr/lib/mysql-workbench/plugins/db.mysql.diff.reporting.wbp.so' (cpp)
** Message: WARNING: Could not open module /usr/lib/mysql-workbench/plugins/db.mysql.diff.reporting.wbp.so (/usr/lib/mysql-workbench/plugins/db.mysql.diff.reporting.wbp.so: undefined symbol: _ZTV9Wb_plugin)    
** Message: WARNING: Could not load db.mysql.diff.reporting.wbp.so: Cannot open /usr/lib/mysql-workbench/plugins/db.mysql.diff.reporting.wbp.so
[3 Aug 2011 20:15] Roberto Grelas
Same on Debian Squeeze 64.
I built it from sources, 

me@lenovo:~$ mysql-workbench --verbose
** Message: Gnome keyring daemon seems to not be available. Stored passwords will be lost once quit
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/db.mysql.grt.so' (cpp)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/dbutils.grt.so' (cpp)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/db.mysql.query.grt.so' (cpp)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/wb_admin_grt.py' (python)
/usr/lib/python2.6/dist-packages/Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This application uses RandomPool, which is BROKEN in older releases.  See http://www.pycrypto.org/randpool-broken
  RandomPool_DeprecationWarning)
/bin/sh: ifconfig: not found
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/table_utils.grt.lua' (lua)
** Message: Initialized Lua module /usr/local/lib/mysql-workbench/modules/table_utils.grt.lua (WbTableUtils)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/wb_doclib_grt.py' (python)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/text_grt.py' (python)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/wb_utils_grt.py' (python)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/tools.grt.lua' (lua)
** Message: Initialized Lua module /usr/local/lib/mysql-workbench/modules/tools.grt.lua (WbTools)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/db.mysql.sqlparser.grt.so' (cpp)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/catalog_utils.grt.lua' (lua)
** Message: Initialized Lua module /usr/local/lib/mysql-workbench/modules/catalog_utils.grt.lua (WbUtils)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/sqlide_grt.py' (python)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/wb_dev_utils_grt.py' (python)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/forms.grt.so' (cpp)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/wb.model.grt.so' (cpp)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/wb.mysql.import.grt.so' (cpp)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/db.mysql.sqlide.grt.so' (cpp)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/plugins/db.checks.wbp.so' (cpp)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/plugins/wb.printing.wbp.so' (cpp)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/plugins/wb.model.snippets.wbp.so' (cpp)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/plugins/db.mysql.editors.wbp.so' (cpp)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/plugins/wb.model.editors.wbp.so' (cpp)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/plugins/db.mysql.diff.reporting.wbp.so' (cpp)
** Message: WARNING: Could not open module /usr/local/lib/mysql-workbench/plugins/db.mysql.diff.reporting.wbp.so (/usr/local/lib/mysql-workbench/plugins/db.mysql.diff.reporting.wbp.so: undefined symbol: _ZTV9Wb_plugin)    
** Message: WARNING: Could not load db.mysql.diff.reporting.wbp.so: Cannot open /usr/local/lib/mysql-workbench/plugins/db.mysql.diff.reporting.wbp.so    
** Message: Trying to load module '/usr/local/lib/mysql-workbench/plugins/db.mysql.wbp.so' (cpp)
Ready.

it is really S3 (Non-critical) ?... Cant get working the 2.34! ..
[4 Nov 2011 17:30] Patricia Gañán
Please, what will be the solution for this? I can launch the application.
Thanks.
[4 Nov 2011 17:31] Patricia Gañán
Please, what will be the solution for this? I cannot launch the application.
Thanks
[27 Jan 2012 4:37] Philip Olson
Fixed as of 5.2.36:

On Linux, Workbench would fail to open, because it could not
load the MySQL Diff Reporting module.