Bug #70309 Crash on start
Submitted: 12 Sep 2013 6:42 Modified: 13 Sep 2013 16:22
Reporter: Storm Kiernan Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:6.0 OS:Windows
Assigned to: CPU Architecture:Any
Tags: crash, remotingexception, workbench

[12 Sep 2013 6:42] Storm Kiernan
Description:
For the past couple of days MySQL Workbench has been working perfectly. I start it today, after no irregular use or updates to my machine (as far as I can tell), and it simply crashes upon start. I don't have a chance to do anything but report a bug. I ran it through the command line, and received this exception:

Unhandled Exception: System.Runtime.Remoting.RemotingException: Failed to read f
rom an IPC Port: The pipe has been ended.

Server stack trace:
   at System.Runtime.Remoting.Channels.Ipc.IpcPort.Read(Byte[] data, Int32 offse
t, Int32 length)
   at System.Runtime.Remoting.Channels.Ipc.PipeStream.Read(Byte[] buffer, Int32
offset, Int32 size)
   at System.Runtime.Remoting.Channels.SocketHandler.ReadFromSocket(Byte[] buffe
r, Int32 offset, Int32 count)
   at System.Runtime.Remoting.Channels.SocketHandler.Read(Byte[] buffer, Int32 o
ffset, Int32 count)
   at System.Runtime.Remoting.Channels.SocketHandler.ReadAndMatchFourBytes(Byte[
] buffer)
   at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadAndMatchPreamble
()
   at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadVersionAndOperat
ion(UInt16& operation)
   at System.Runtime.Remoting.Channels.Ipc.IpcClientHandler.ReadHeaders()
   at System.Runtime.Remoting.Channels.Ipc.IpcClientTransportSink.ProcessMessage
(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITranspor
tHeaders& responseHeaders, Stream& responseStream)
   at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMess
age(IMessage msg)

Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage req
Msg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgDa
ta, Int32 type)
   at MySQL.Workbench.InstanceProxy.SetCommandLineArgs(Boolean isFirstInstance,
String[] commandLineArgs)
   at MySQL.Workbench.ApplicationInstanceManager.UpdateRemoteObject(String uri)
   at MySQL.Workbench.ApplicationInstanceManager.CreateSingleInstance(String nam
e, String[] args, EventHandler`1 callback)
   at MySQL.GUI.Workbench.Program.Main(String[] Args)

How to repeat:
It's news to me, I have no idea what to do or how to configure it. Now it just happens on start - immediately throws an exception/crashes.

Suggested fix:
None
[12 Sep 2013 12:04] MySQL Verification Team
Please check the workaround mentioned in bug http://bugs.mysql.com/bug.php?id=70262 (folder rename). Thanks.
[13 Sep 2013 0:22] Storm Kiernan
The suggested fix worked. I renamed the folder, and when I started Workbench, it worked. It seems it auto-generated a new folder with the same name. I am guessing that I just had some bad data in there. I had to re-setup my connection again, but that was no big deal. Thanks for the quick help!
[13 Sep 2013 16:22] MySQL Verification Team
Thank you for the feedback.