Bug #41151 crash on opening project using recent
Submitted: 1 Dec 2008 14:27 Modified: 30 Apr 2009 21:45
Reporter: Markus Gschwendt Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.1.5 OS:Linux (Ubuntu 8.10 64bit)
Assigned to: CPU Architecture:Any
Tags: crash, recent

[1 Dec 2008 14:27] Markus Gschwendt
Description:
Workbench crashes when i try to open a recently used project using the menu Files->Open Recent.
Opening the same project via the Files->Open dialog has no problems.

How to repeat:
Open recently used project using the menu Files->Open Recent.
[1 Dec 2008 14:48] Susanne Ebrecht
Many thanks for writing a bug report.

For a deeper analysation we need the following from you:

1) core dump
or better output from backtrace of gdb from the core dump

2) which mysql client library do you use?

3) exact version of your mysql server
[1 Dec 2008 15:00] Markus Gschwendt
:~$ mysql-workbench/usr/local/bin/mysql-workbench

(mysql-workbench-bin:11118): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
** Message: Trying to load module '/home/marco69/mysql-workbench/usr/local/lib/mysql-workbench/modules/db.mysql.sqlparser.grt.so' (cpp)

** (mysql-workbench-bin:11118): WARNING **: Native C++ module classes must have the suffix Impl to avoid confusion between implementation and wrapper classes (MysqlSqlFacade)
** Message: Trying to load module '/home/marco69/mysql-workbench/usr/local/lib/mysql-workbench/modules/dbutils.grt.so' (cpp)
** Message: Trying to load module '/home/marco69/mysql-workbench/usr/local/lib/mysql-workbench/modules/db.mysql.grt.so' (cpp)
** Message: Trying to load module '/home/marco69/mysql-workbench/usr/local/lib/mysql-workbench/modules/wb.model.grt.so' (cpp)
** Message: Trying to load module '/home/marco69/mysql-workbench/usr/local/lib/mysql-workbench/modules/wb.model.editors.wbp.so' (cpp)
** Message: Trying to load module '/home/marco69/mysql-workbench/usr/local/lib/mysql-workbench/modules/wb.mysql.import.grt.so' (cpp)
** Message: WARNING: Could not open module /home/marco69/mysql-workbench/usr/local/lib/mysql-workbench/modules/wb.mysql.import.grt.so (/home/marco69/mysql-workbench/usr/local/lib/mysql-workbench/modules/wb.mysql.import.grt.so: undefined symbol: _ZN19Mysql_sql_parser_feC1Ev)    
** Message: WARNING: Could not load wb.mysql.import.grt.so: Cannot open /home/marco69/mysql-workbench/usr/local/lib/mysql-workbench/modules/wb.mysql.import.grt.so    
** Message: Trying to load module '/home/marco69/mysql-workbench/usr/local/lib/mysql-workbench/modules/forms.grt.so' (cpp)
** Message: Trying to load module '/home/marco69/mysql-workbench/usr/local/lib/mysql-workbench/modules/db.mysql.editors.wbp.so' (cpp)
** Message: WARNING: Could not open module /home/marco69/mysql-workbench/usr/local/lib/mysql-workbench/modules/db.mysql.editors.wbp.so (/home/marco69/mysql-workbench/usr/local/lib/mysql-workbench/modules/db.mysql.editors.wbp.so: undefined symbol: _ZTV16Mysql_sql_facade)    
** Message: WARNING: Could not load db.mysql.editors.wbp.so: Cannot open /home/marco69/mysql-workbench/usr/local/lib/mysql-workbench/modules/db.mysql.editors.wbp.so    
** Message: Trying to load module '/home/marco69/mysql-workbench/usr/local/lib/mysql-workbench/plugins/wb.model.editors.wbp.so' (cpp)
** Message: WARNING: Could not load wb.model.editors.wbp.so: Duplicate module WbEditorsModule    
** Message: Trying to load module '/home/marco69/mysql-workbench/usr/local/lib/mysql-workbench/plugins/db.mysql.editors.wbp.so' (cpp)
** Message: Trying to load module '/home/marco69/mysql-workbench/usr/local/lib/mysql-workbench/plugins/db.wbp.so' (cpp)
** Message: Trying to load module '/home/marco69/mysql-workbench/usr/local/lib/mysql-workbench/plugins/db.mysql.wbp.so' (cpp)

(mysql-workbench-bin:11118): Gtk-CRITICAL **: gtk_tree_view_unref_tree_helper: assertion `node != NULL' failed
** Message: item_activated: 0x2b12c30 -> 'plugin:wb.file.openRecentModel:2'
** Message: UNCOMMENT: main_form.cpp:645

** (mysql-workbench-bin:11118): WARNING **: skipping element 'link' in unserialized document, line 6107
** Message: UNCOMMENT: main_form.cpp:645

glibmm-ERROR **: 
unhandled exception (type std::exception) in signal handler:
what: cairo error: out of memory

aborting...
mysql-workbench/usr/local/bin/mysql-workbench: line 16: 11118 Aborted                 $bindirname/mysql-workbench-bin $*
[1 Dec 2008 15:10] Markus Gschwendt
actually there is no mysql-client installed and also no mysql-sever.
mysql-common is 5.0.67-0ubuntu6
but opening via the normal open dialog works fine, so this might not be the problem.
and because normal opening works it is not a critcal bug.
[1 Dec 2008 22:17] MySQL Verification Team
Thank you for the bug report.
[4 Dec 2008 22:43] Alfredo Kojima
Does that happen with any model? If not, can you attach one of the models that cause the crash?
[13 Dec 2008 20:08] Markus Gschwendt
i still have a similar issue on wb 5.1.5.
but now it crashes not only on projects which have been moved and are not at the old location.
sometimes wb crashes, sometimes i get a dialogbox which (correctly) says:
Cannot open document '/.../database-model.mwb'.
Could not open file /.../database-model.mwb: No such file or directory
[30 Mar 2009 21:45] Alfredo Kojima
Hi 

Please try again with 5.1.9 beta and reopen the bug if the bug is still present.
[30 Apr 2009 23: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".