Bug #61296 Crashes on startup
Submitted: 26 May 2011 5:52 Modified: 26 Aug 2011 6:15
Reporter: James Bromberger Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:5.2.34 (7780) OS:Windows (7 Home Premium, 64 bit, XP SP3 32-bit)
Assigned to: CPU Architecture:Any

[26 May 2011 5:52] James Bromberger
Description:
Just updated fro 5.2.33 to 5.2.34, and now when I launch it, I see the splash screen, then nothing. No error message, no debug, no home window; application just exits after splash screen.

Tried from cmd line and no other output. wb.log does not appear to be updated.

How to repeat:
Try launching Workbench from icon or command line.
[26 May 2011 7:00] Valeriy Kravchuk
Verified on 32-bit Windows XP.
[26 May 2011 7:25] John Nahlen
I second this bug... I have the same problem on Windows Home Server 2008 R2, 64 bit.
[26 May 2011 8:08] Alex Whitman
Also seeing this on Windows 7 Enterprise 32bit.  Used the MSI installer and installed over 5.2.33.

The only contents of wb.log after the process ends is:
09:03:15 [   Info][      wbprivate]: WbContext::init
[26 May 2011 8:49] James Bromberger
Work around: uninstall, then maually remove the files that are left behind after uninstall in "C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 CE" (this will be full of .pyc files, and folders containing .pyc files). You can either delete the folder, or rename it to something else. Then re-install 5.2.34. Preferences (connections) should be preserved (they were for me).
[26 May 2011 8:51] James Bromberger
Much thanks to eagles0513875, mlischk, whitman on #workbench IRC channel for your help.
[26 May 2011 9:09] James Bromberger
List of files that were left behind after uninstall:
C:\Program Files (x86)\MySQL>dir "MySQL Workbench 5.2 CE.old" /s /b
\db_utils.pyc
\grt_python_debugger.pyc
\mforms.pyc
\modules
\python
\wb.log.old
\wb.pyc
\modules\mysqldoclib.pyc
\modules\opts.pyc
\modules\sqlide_grt.pyc
\modules\sql_reformatter.pyc
\modules\sql_reformatter.py~
\modules\text_grt.pyc
\modules\wba_monitor_be.pyc
\modules\wba_ssh_ui.pyc
\modules\wb_admin_configuration.pyc
\modules\wb_admin_configuration_startup.pyc
\modules\wb_admin_config_file_be.pyc
\modules\wb_admin_config_file_ui.pyc
\modules\wb_admin_connections.pyc
\modules\wb_admin_control.pyc
\modules\wb_admin_export.pyc
\modules\wb_admin_export_options.pyc
\modules\wb_admin_grt.pyc

\modules\wb_admin_logs.pyc
\modules\wb_admin_main.pyc
\modules\wb_admin_monitor.pyc
\modules\wb_admin_security.pyc
\modules\wb_admin_security_be.pyc
\modules\wb_admin_ssh.pyc

\modules\wb_admin_ui_profile.pyc
\modules\wb_admin_utils.pyc
\modules\wb_admin_variables.pyc
\modules\wb_admin_variable_list.pyc
\modules\wb_common.pyc
\modules\wb_doclib_grt.pyc
\modules\wb_server_control.pyc
\modules\wb_server_management.pyc
\modules\wb_utils_grt.pyc

\python\abc.pyc
\python\atexit.pyc
\python\base64.pyc
\python\BaseHTTPServer.pyc
\python\bdb.pyc
\python\bisect.pyc
\python\cgi.pyc
\python\codecs.pyc
\python\collections.pyc
\python\copy.pyc
\python\copy_reg.pyc
\python\ctypes
\python\difflib.pyc
\python\encodings
\python\fnmatch.pyc
\python\functools.pyc
\python\genericpath.pyc
\python\getopt.pyc
\python\getpass.pyc
\python\hashlib.pyc
\python\heapq.pyc
\python\keyword.pyc
\python\lib
\python\linecache.pyc
\python\logging
\python\mimetools.pyc
\python\multiprocessing
\python\new.pyc
\python\ntpath.pyc
\python\nturl2path.pyc
\python\os.pyc
\python\platform.pyc
\python\pprint.pyc
\python\Queue.pyc
\python\random.pyc
\python\re.pyc
\python\rfc822.pyc
\python\shutil.pyc
\python\site-packages
\python\socket.pyc
\python\SocketServer.pyc
\python\sre_compile.pyc
\python\sre_constants.pyc

\python\sre_parse.pyc
\python\ssl.pyc
\python\stat.pyc
\python\string.pyc
\python\struct.pyc
\python\subprocess.pyc
\python\tempfile.pyc
\python\textwrap.pyc
\python\threading.pyc
\python\traceback.pyc
\python\types.pyc
\python\urllib.pyc
\python\urlparse.pyc
\python\UserDict.pyc
\python\warnings.pyc
\python\weakref.pyc
\python\zipfile.pyc
\python\_abcoll.pyc
\python\__future__.pyc
\python\ctypes\_endian.pyc
\python\ctypes\__init__.pyc
\python\encodings\aliases.pyc
\python\encodings\ascii.pyc
\python\encodings\utf_8.pyc
\python\encodings\__init__.pyc
\python\lib\site.pyc
\python\logging\__init__.pyc
\python\multiprocessing\process.pyc
\python\multiprocessing\util.pyc
\python\multiprocessing\__init__.pyc
\python\site-packages\Crypto
\python\site-packages\paramiko
\python\site-packages\pysqlite2
\python\site-packages\Crypto\Cipher
\python\site-packages\Crypto\Hash
\python\site-packages\Crypto\PublicKey
\python\site-packages\Crypto\Util
\python\site-packages\Crypto\__init__.pyc
\python\site-packages\Crypto\Cipher\__init__.pyc
\python\site-packages\Crypto\Hash\HMAC.pyc
\python\site-packages\Crypto\Hash\MD5.pyc
\python\site-packages\Crypto\Hash\SHA.pyc
\python\site-packages\Crypto\Hash\__init__.pyc
\python\site-packages\Crypto\PublicKey\DSA.pyc
\python\site-packages\Crypto\PublicKey\pubkey.pyc
\python\site-packages\Crypto\PublicKey\RSA.pyc
\python\site-packages\Crypto\PublicKey\__init__.pyc
\python\site-packages\Crypto\Util\number.pyc
\python\site-packages\Crypto\Util\randpool.pyc
\python\site-packages\Crypto\Util\__init__.pyc
\python\site-packages\paramiko\agent.pyc
\python\site-packages\paramiko\auth_handler.pyc
\python\site-packages\paramiko\ber.pyc
\python\site-packages\paramiko\buffered_pipe.pyc
\python\site-packages\paramiko\channel.pyc
\python\site-packages\paramiko\client.pyc
\python\site-packages\paramiko\common.pyc
\python\site-packages\paramiko\compress.pyc
\python\site-packages\paramiko\config.pyc
\python\site-packages\paramiko\dsskey.pyc
\python\site-packages\paramiko\file.pyc
\python\site-packages\paramiko\hostkeys.pyc
\python\site-packages\paramiko\kex_gex.pyc
\python\site-packages\paramiko\kex_group1.pyc
\python\site-packages\paramiko\message.pyc
\python\site-packages\paramiko\packet.pyc
\python\site-packages\paramiko\pipe.pyc
\python\site-packages\paramiko\pkey.pyc
\python\site-packages\paramiko\primes.pyc
\python\site-packages\paramiko\resource.pyc
\python\site-packages\paramiko\rng.pyc
\python\site-packages\paramiko\rng_win32.pyc
\python\site-packages\paramiko\rsakey.pyc
\python\site-packages\paramiko\server.pyc
\python\site-packages\paramiko\sftp.pyc
\python\site-packages\paramiko\sftp_attr.pyc
\python\site-packages\paramiko\sftp_client.pyc
\python\site-packages\paramiko\sftp_file.pyc
\python\site-packages\paramiko\sftp_handle.pyc
\python\site-packages\paramiko\sftp_server.pyc
\python\site-packages\paramiko\sftp_si.pyc
\python\site-packages\paramiko\ssh_exception.pyc
\python\site-packages\paramiko\transport.pyc
\python\site-packages\paramiko\util.pyc
\python\site-packages\paramiko\win_pageant.pyc
\python\site-packages\paramiko\__init__.pyc
\python\site-packages\pysqlite2\dbapi2.pyc
\python\site-packages\pysqlite2\__init__.pyc
[26 May 2011 13:28] Scott Weigand
Verified crash on startup on Windows 7 Professional w/SP1 32-bit, upgraded form 5.2.33b to 5.2.34, using msi package.
[26 May 2011 15:59] Valeriy Kravchuk
Bug #61311 was marked as a duplicate of this one.
[27 May 2011 17:46] Scott Weigand
Thanks James for the fix! Manually uninstalling and deleting the contents of the Previous Workbench from the Program Files folder worked!
[2 Aug 2011 1:32] jon lee
Here are the things I've tried to do in Win7 64-bit Ult.

 - Run as Administrator
 - Tried downloading and running/installing from the MSI, and ZIP formats. Each time the splash screen comes up.  Here's the debug information I was able to glean.

System.AccessViolationException was unhandled
  Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
  Source=wbprivate.wr
  StackTrace:
       at wb.WBContextUI.init(WBContextUI* , WBFrontendCallbacks* , WBOptions* )
       at MySQL.Workbench.WbContext.init(AppImpl application, WbOptions options, VoidStrUIFormDelegate create_main_form_view)
       at MySQL.GUI.Workbench.Program.Main(String[] Args)
  InnerException: 

I'm now looking for a program to check my RAM...
[26 Aug 2011 6:15] Philip Olson
This is fixed as of 5.2.35:

+        On Microsoft Windows, installation of 5.3.34 over 5.3.33 would
+        sometimes fail due to file collisions, and would then crash at
+        startup.
[6 Oct 2011 17:13] Scott Jalbert
[quote][26 Aug 8:15] Philip Olson 
This is fixed as of 5.2.35:

+        On Microsoft Windows, installation of 5.3.34 over 5.3.33 would
+        sometimes fail due to file collisions, and would then crash at
+        startup.[/quote]

Doesn't seem to be fixed, I am still experiencing this on a new insall of 5.2.35. It works under the administrator account but another test account with administrator privilages will crash on startup like the above.
[14 Oct 2011 14:31] Mena Habib
I got the same problem on Windows 7
You can overcome the problem by just running the workbench as administrator