Bug #14932 Crash after saving a scheme and then opening a new workbench
Submitted: 14 Nov 2005 23:45 Modified: 13 Apr 2006 14:38
Reporter: Christian Hedemann Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Preview Severity:S3 (Non-critical)
Version:1.0.2 alpha/1.0.5-beta OS:Windows (Windows XP SP2)
Assigned to: Mike Lischke CPU Architecture:Any

[14 Nov 2005 23:45] Christian Hedemann
Description:
After saving a database scheme, I wanted to open a new workbench and the new one does not open with the following two notices:

"file c:\dokumente und einstellungen\mike\eigene dateien\work\mysql-gui-common\library_grt\source\myx_grt_struct.c: line 369: assertion 'gstruct != NULL' failed"

"The runtime environment (GRT) could not be initialized. Please check your installation then try to restart the tool.

Error details:
Workbench.initWorkbench: Error Nr.10003

Shell output:
MySQL Generic Runtime Environment 2.0.10 beta

Type 'help' or '?' for help. Type 'quit' to exit the shell.
 Error while loading struct definitions (10001).
Initializing native loader...
Initializing PHP loader...
Initializing Lua loader...
Registered 3 builtin modules.
Cannot fing module directory ./php/modules.
Error while loading PHP modules (10001).
Cannot find module directory ./lua.
Error while loading Lua modules (10001).
Registered 1 Workbench module."

There is no folder named "c:\dokumente und einstellungen\mike" on my harddisk and when I close the first, still running MySQL Workbench, sometimes I get two access violations:

"Exception EAccessViolation in module MySQLWorkbench.exe at 000053D4.
Access violation at address 004053D4 in module 'MySQLWorkbench.exe'. Read of address 045C7DD4."

"Exception EAccessViolation in module MySQLWorkbench.exe at 00000000.
Access violation at address 00000000. Read of address 00000000."

How to repeat:
Start the program, save the scheme, open a new workbench and there it is.
[21 Nov 2005 17:23] Jorge del Conde
Hi!

Thanks for your bug report.  This problem seems to happen when there are more than 1 instances of WB running.
[6 Mar 2006 17:52] MySQL Verification Team
A crash still occurs in 1.0.5-beta when saving and opening another instance of WB.
[13 Apr 2006 14:38] Mike Lischke
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html